/* Success Mind Academy - Custom Styles v3 */

/* Hero Section Styles */
.sm-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 26, 92, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%), url('../img/hero-new.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: auto;
    padding: 6rem 0 4rem 0;
    display: flex;
    align-items: center;
}

.sm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(220, 53, 69, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.sm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: "🎓";
    font-size: 16px;
}

.sm-hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-gradient-text {
    background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.sm-hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.sm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.sm-hero-actions .btn {
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.sm-hero-actions .btn:hover {
    transform: translateY(-2px);
}

.btn-primary-modern {
    background: #ffffff;
    color: #002592;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary-modern:hover {
    background: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #002592;
    transform: translateY(-2px);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nextjs-stats-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 40px rgba(0, 102, 255, 0.2);
}

.nextjs-stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, transparent, #007bff, #0099ff, transparent);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nextjs-stats-card::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: conic-gradient(from var(--angle, 0deg), transparent 0%, #007bff 20%, #0099ff 40%, #00b4d8 60%, #007bff 80%, transparent 100%);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 1;
    animation: rotate 4s linear infinite;
}

.nextjs-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.6), 0 0 60px rgba(0, 102, 255, 0.3), 0 10px 25px rgba(0, 102, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes rotate {
    0% { --angle: 0deg; }
    100% { --angle: 360deg; }
}


.stats-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stats-icon i {
    font-size: 2rem;
    color: #0066ff;
}

.nextjs-stats-card:hover .stats-icon {
    transform: scale(1.1);
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.2);
}

.nextjs-stats-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0066ff;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066ff;
    text-align: center;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -1px;
}

/* Teacher Section */
.teacher-section {
    background: #ffffff;
    padding: 4rem 0;
    position: relative;
}


.teacher-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.6;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.teacher-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.title-divider {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #002592, #007bff, #dc3545);
    border-radius: 2px;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.teacher-carousel {
    overflow: hidden;
    position: relative;
}

.teacher-track {
    display: flex;
    animation: slide 30s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

.teacher-item {
    flex: 0 0 auto;
    width: 200px;
    padding: 15px;
    text-align: center;
}

.teacher-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #002592;
    transition: all 0.3s ease;
    display: block;
}

.teacher-item:hover .teacher-image {
    transform: scale(1.1);
    border-color: #007bff;
}

.teacher-name {
    color: #002592;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.teacher-role {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Header Logo Styles */
.header-logo-img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Footer Logo Styles */
.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
}

/* Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 37, 146, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem 0;
}

.footer-section h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.footer-contact-item:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 37, 146, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 37, 146, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(0, 37, 146, 0.3);
    border-color: rgba(0, 37, 146, 0.5);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Next.js Inspired About Page */
.nextjs-container {
    min-height: 100vh;
    background: #ffffff;
}

.nextjs-hero-section {
    padding: 80px 0 40px;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.nextjs-hero-content {
    text-align: center;
    margin-top: 2rem;
}

.nextjs-hero-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.nextjs-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.2;
    color: #000000;
    margin: 0 0 1rem 0;
}

.nextjs-subtitle {
    font-size: 1.25rem;
    color: #666666;
    font-weight: 400;
    margin: 0;
}

.nextjs-content-section {
    padding: 60px 0;
}

.nextjs-image-wrapper {
    margin-bottom: 40px;
    text-align: center;
}

.nextjs-main-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nextjs-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.nextjs-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #333333;
    margin: 0;
}

.nextjs-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 3rem 0;
    text-align: center;
    color: #000000;
}

.nextjs-team-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
}

.nextjs-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.nextjs-team-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nextjs-team-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: rgba(0,0,255,0.1);
}

.nextjs-team-avatar {
    width: 180px;
    height: 200px;
    border-radius: 0;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
}

.nextjs-team-role {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nextjs-team-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #0000ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    background: rgba(0,0,255,0.05);
    border-radius: 50px;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,255,0.1);
}

.nextjs-team-phone:hover {
    background: rgba(0,0,255,0.1);
    transform: scale(1.02);
    text-decoration: none;
    color: #0000ff;
}

.nextjs-contact-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
}

.nextjs-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.nextjs-contact-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.nextjs-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0000ff, #dc3545, #000000);
}

.nextjs-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.nextjs-contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.5rem;
}

.nextjs-contact-card:nth-child(1) .nextjs-contact-icon {
    background: linear-gradient(135deg, #0000ff 0%, #0066ff 100%);
}

.nextjs-contact-card:nth-child(2) .nextjs-contact-icon {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.nextjs-contact-card:nth-child(3) .nextjs-contact-icon {
    background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
}

.nextjs-contact-card:nth-child(4) .nextjs-contact-icon {
    background: linear-gradient(135deg, #0000ff 0%, #0066ff 100%);
}

.nextjs-contact-card:nth-child(5) .nextjs-contact-icon {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.nextjs-contact-card:nth-child(6) .nextjs-contact-icon {
    background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%);
}

.nextjs-contact-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nextjs-contact-card p {
    margin: 0.5rem 0;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.5;
}

.nextjs-contact-card a {
    color: #0000ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.25rem 0;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nextjs-contact-card a:hover {
    border-bottom-color: #0000ff;
    transform: translateX(4px);
}

.nextjs-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.nextjs-social-links a {
    background: rgba(0,0,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0,0,255,0.2);
    transition: all 0.2s ease;
}

.nextjs-social-links a:hover {
    background: rgba(0,0,255,0.15);
    transform: scale(1.05);
    border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .header-logo-img {
        max-width: 180px;
    }
    .footer-logo-img {
        max-width: 160px;
    }
}

@media (max-width: 992px) {
    .header-logo-img {
        max-width: 160px;
    }
    .footer-logo-img {
        max-width: 140px;
    }
}

@media (max-width: 768px) {
    .header-logo-img {
        max-width: 140px;
    }
    .footer-logo-img {
        max-width: 120px;
    }
    
    .sm-hero {
        padding: 4rem 0 3rem 0;
    }

    .sm-hero-content {
        padding: 1.5rem;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .sm-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .sm-hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .nextjs-stats-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stats-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .stats-icon i {
        font-size: 1.7rem;
    }

    .nextjs-stats-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .teacher-item {
        width: 180px;
        padding: 12px;
    }
    
    .teacher-image {
        width: 130px;
        height: 130px;
    }
    
    .teacher-track {
        animation: slide 15s linear infinite;
    }
}

@media (max-width: 576px) {
    .header-logo-img {
        max-width: 120px;
    }
    .footer-logo-img {
        max-width: 100px;
    }
    
    .nextjs-stats-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }
    
    .stats-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
    
    .stats-icon i {
        font-size: 1.5rem;
    }
    
    .nextjs-stats-card h3 {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .stats-number {
        font-size: 1.8rem;
    }
    
    .teacher-item {
        width: 160px;
        padding: 10px;
    }
    
    .teacher-image {
        width: 110px;
        height: 110px;
    }
    
    .teacher-name {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .header-logo-img {
        max-width: 100px;
    }
    .footer-logo-img {
        max-width: 80px;
    }
}