/* ===========================
   GLOBAL STYLES
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #f59e0b;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: 0.4s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 60px;
    font-weight: 700;
}

/* ===========================
   NAVBAR
=========================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo h2 {
    color: var(--secondary);
    font-size: 1.8rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn {
    background: var(--secondary);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    background: #1d4ed8;
}

/* ===========================
   HERO
=========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: linear-gradient(135deg,
            #eff6ff,
            #ffffff);
}

.hero-content {
    flex: 1;
}

.tagline {
    display: inline-block;
    background: #dbeafe;
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: .9rem;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    background: var(--secondary);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.primary-btn:hover {
    transform: translateY(-4px);
}

.secondary-btn {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.secondary-btn:hover {
    background: var(--secondary);
    color: white;
}

.hero-image {
    position: relative;

    width: 100%;
    max-width: 400px;

    margin: 0 auto;

    isolation: isolate;

    animation: heroImageReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}


/* =========================
   BACKGROUND GLOW
   ========================= */

.hero-image::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -45px;
    right: -45px;

    border-radius: 50%;

    background: #2563eb;

    opacity: 0.12;

    filter: blur(10px);

    z-index: -2;

    animation: heroGlow 5s ease-in-out infinite;
}


/* =========================
   DECORATIVE CIRCLE
   ========================= */

.hero-image::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    bottom: -25px;
    left: -25px;

    border-radius: 50%;

    border: 3px solid #f59e0b;

    opacity: 0.7;

    z-index: -1;

    animation: heroCircleFloat 4s ease-in-out infinite;
}


/* =========================
   IMAGE WRAPPER EFFECT
   ========================= */

.hero-image img {
    position: relative;

    width: 100%;
    height: 560px;

    object-fit: cover;

    border-radius: 30px;

    display: block;

    box-shadow:
        0 25px 60px rgba(15, 23, 42, 0.18);

    transform: translateY(0) scale(1);

    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s ease;

    animation: heroImageFloat 6s ease-in-out infinite;
}


/* =========================
   SHINE EFFECT
   ========================= */

.hero-image img {
    /* keeps the image clean */
    backface-visibility: hidden;
}


/* =========================
   HOVER
   ========================= */

.hero-image:hover img {
    transform: translateY(-10px) scale(1.025);

    box-shadow:
        0 35px 80px rgba(15, 23, 42, 0.25);
}


/* =========================
   IMAGE REVEAL
   ========================= */

@keyframes heroImageReveal {

    from {
        opacity: 0;

        transform:
            translateX(60px) scale(0.92);
    }

    to {
        opacity: 1;

        transform:
            translateX(0) scale(1);
    }
}


/* =========================
   FLOATING IMAGE
   ========================= */

@keyframes heroImageFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================
   BLUE GLOW
   ========================= */

@keyframes heroGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);

        opacity: 0.10;
    }

    50% {
        transform: translate(-15px, 15px) scale(1.15);

        opacity: 0.18;
    }
}


/* =========================
   GOLD CIRCLE
   ========================= */

@keyframes heroCircleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(10deg);
    }
}

/* ===========================
   STATS
=========================== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: white;
}

.stat-box {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-box h2 {
    color: var(--secondary);
    font-size: 3rem;
}

.stat-box p {
    font-weight: 600;
}

/* ===========================
   ABOUT
=========================== */

.about {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.7rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

/* ===========================
   COURSES
=========================== */

/* =====================================================
   OUR COURSES SECTION
===================================================== */

.courses {
    position: relative;
    padding: 110px 8%;
    background: #f8fafc;
    overflow: hidden;
}


/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.courses::before {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    top: -200px;
    right: -180px;

    background: rgba(37, 99, 235, 0.06);

    border-radius: 50%;

    filter: blur(5px);

    pointer-events: none;
}


.courses::after {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    bottom: -180px;
    left: -150px;

    background: rgba(30, 58, 138, 0.05);

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.courses .section-title {
    position: relative;
    z-index: 2;

    max-width: 800px;

    margin: 0 auto 65px;

    text-align: center;
}


.courses .section-label {
    display: inline-block;

    margin-bottom: 15px;

    padding: 8px 18px;

    border-radius: 50px;


    color: black;

    font-size: 40px;

    font-weight: 800;

    letter-spacing: 2px;
}


.courses .section-title h2 {
    margin-bottom: 20px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    color: #111827;
}


.courses .section-title p {
    max-width: 720px;

    margin: 10px auto;

    color: #6b7280;

    font-size: 16px;

    line-height: 1.8;
}


/* =====================================================
   COURSES GRID
===================================================== */

.courses-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1400px;

    margin: 0 auto;
}


/* =====================================================
   COURSE CARD
===================================================== */

.course-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 390px;

    padding: 32px 28px;

    background: #ffffff;

    border: 1px solid rgba(17, 24, 39, 0.07);

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* =====================================================
   CARD TOP LINE
===================================================== */

.course-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: linear-gradient(90deg,
            #1e3a8a,
            #2563eb);

    transition: width 0.45s ease;
}


.course-card:hover::before {
    width: 100%;
}


/* =====================================================
   CARD HOVER
===================================================== */

.course-card:hover {
    transform: translateY(-10px);

    border-color: rgba(37, 99, 235, 0.15);

    box-shadow:
        0 25px 55px rgba(15, 23, 42, 0.12);
}


/* =====================================================
   COURSE NUMBER
===================================================== */

.course-number {
    position: absolute;

    top: 18px;
    right: 22px;

    font-size: 48px;

    font-weight: 900;

    line-height: 1;

    color: rgba(37, 99, 235, 0.055);

    pointer-events: none;

    transition:
        color 0.4s ease,
        transform 0.4s ease;
}


.course-card:hover .course-number {
    color: rgba(37, 99, 235, 0.12);

    transform: translateY(-4px);
}


/* =====================================================
   COURSE ICON
===================================================== */

.course-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            #1e3a8a,
            #2563eb);

    color: #ffffff;

    font-size: 25px;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.20);

    transition:
        transform 0.4s ease,
        border-radius 0.4s ease,
        box-shadow 0.4s ease;
}


.course-card:hover .course-icon {
    transform: rotate(-5deg) scale(1.08);

    border-radius: 22px;

    box-shadow:
        0 15px 30px rgba(37, 99, 235, 0.28);
}


/* =====================================================
   COURSE CONTENT
===================================================== */

.course-content {
    flex: 1;
}


/* =====================================================
   COURSE TAG
===================================================== */

.course-tag {
    display: inline-block;

    margin-bottom: 10px;

    color: #2563eb;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =====================================================
   COURSE TITLE
===================================================== */

.course-card h3 {
    margin: 0 0 15px;

    color: #111827;

    font-size: 20px;

    line-height: 1.4;

    font-weight: 750;

    transition: color 0.3s ease;
}


.course-card h3 span {
    display: inline-block;

    margin-top: 5px;

    color: #4b5563;

    font-size: 14px;

    line-height: 1.6;

    font-weight: 500;
}


.course-card:hover h3 {
    color: #2563eb;
}


/* =====================================================
   COURSE DESCRIPTION
===================================================== */

.course-card p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.75;
}


/* =====================================================
   COURSE LINK
===================================================== */

.course-link {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    width: fit-content;

    margin-top: 25px;

    color: #2563eb;

    font-size: 14px;

    font-weight: 750;

    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}


.course-link i {
    font-size: 12px;

    transition:
        transform 0.3s ease;
}


.course-link:hover {
    gap: 14px;

    color: #1e3a8a;
}


.course-link:hover i {
    transform: translateX(4px);
}


/* =====================================================
   CARD SHINE EFFECT
===================================================== */

.course-card::after {
    content: "";

    position: absolute;

    top: -120%;
    left: -80%;

    width: 60%;
    height: 300%;

    background: rgba(255, 255, 255, 0.45);

    transform: rotate(25deg);

    transition: left 0.7s ease;

    pointer-events: none;
}


.course-card:hover::after {
    left: 130%;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1200px) {

    .courses {
        padding: 90px 6%;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 900px) {

    .courses {
        padding: 80px 5%;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }

    .course-card {
        min-height: 370px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .courses {
        padding: 70px 5%;
    }

    .courses .section-title {
        margin-bottom: 45px;
    }

    .courses .section-title h2 {
        font-size: 31px;
    }

    .courses .section-title p {
        font-size: 14px;
    }

    .courses-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .course-card {
        min-height: auto;

        padding: 30px 25px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 380px) {

    .courses {
        padding-left: 4%;
        padding-right: 4%;
    }

    .course-card {
        padding: 27px 22px;
    }

    .course-icon {
        width: 60px;
        height: 60px;

        font-size: 22px;
    }

    .course-card h3 {
        font-size: 18px;
    }

}

/* ===========================
   TEACHERS
=========================== */

.teacher-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: white;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 20px;
}

.teacher-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.teacher-card p {
    color: var(--secondary);
}

/* ===========================
   FEATURES
=========================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.feature {
    background: white;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--secondary);
}

/* ===========================
   CONTACT
=========================== */

.contact-form {
    max-width: 700px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 1rem;
    outline: none;
}

.contact-form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: #1d4ed8;
}

/* ===========================
   FOOTER
=========================== */

footer {
    background: var(--primary);
    color: white;
    padding: 70px 10% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    margin-bottom: 20px;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box a {
    color: #cbd5e1;
}

.footer-box a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.social-icons i:hover {
    background: var(--secondary);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }

    .about {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* =====================================================
   MOBILE NAVIGATION
===================================================== */

/* Mobile menu button - hidden on desktop */
.mobile-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 12px;

    background: var(--primary);
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--secondary);
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.25);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}


/* =====================================================
   MOBILE BREAKPOINT
===================================================== */

@media (max-width: 768px) {

    /* -------------------------
       NAVBAR
    ------------------------- */

    .navbar {
        position: relative;

        width: 100%;

        display: flex;
        flex-direction: row;

        justify-content: space-between;
        align-items: center;

        gap: 0;

        padding: 14px 6%;
    }


    /* -------------------------
       LOGO
    ------------------------- */

    .logo {
        display: flex;
        align-items: center;

        gap: 8px;

        flex-shrink: 0;
    }

    .logo img {
        width: 48px;
        height: 48px;
    }

    .logo h2 {
        font-size: 1.35rem;
    }


    /* -------------------------
       MOBILE MENU BUTTON
    ------------------------- */

    .mobile-menu-toggle {
        display: flex;

        flex-shrink: 0;

        z-index: 1100;
    }


    /* -------------------------
       NAVIGATION DROPDOWN
    ------------------------- */

    .nav-links {
        position: absolute;

        top: calc(100% + 10px);
        left: 5%;
        right: 5%;

        width: 90%;

        display: flex;
        flex-direction: column;

        gap: 0;

        padding: 10px;

        background: rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(15, 23, 42, 0.08);

        border-radius: 18px;

        box-shadow:
            0 20px 50px rgba(15, 23, 42, 0.15);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-12px) scale(0.98);

        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        z-index: 1050;
    }


    /* OPEN STATE */

    .nav-links.active {
        opacity: 1;

        visibility: visible;

        transform: translateY(0) scale(1);

        pointer-events: auto;
    }


    /* -------------------------
       NAVIGATION ITEMS
    ------------------------- */

    .nav-links li {
        width: 100%;
    }


    .nav-links li a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: 50px;

        padding: 12px 16px;

        border-radius: 12px;

        color: var(--primary);

        font-size: 15px;

        font-weight: 600;

        transition:
            background 0.25s ease,
            color 0.25s ease,
            transform 0.25s ease;
    }


    .nav-links li a:hover {
        background: #eff6ff;

        color: var(--secondary);

        transform: translateX(4px);
    }


    /* -------------------------
       REGISTER BUTTON
    ------------------------- */

    .nav-register {
        display: none;
    }


    /* -------------------------
       MENU BUTTON ICON
    ------------------------- */

    .mobile-menu-toggle i {
        transition:
            transform 0.3s ease;
    }

    .mobile-menu-toggle.active i {
        transform: rotate(90deg);
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {

    .navbar {
        padding: 12px 5%;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo h2 {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        width: 43px;
        height: 43px;

        font-size: 18px;
    }

    .nav-links {
        left: 4%;

        right: 4%;

        width: 92%;
    }

}


/* ===========================
   LOGO WRAPPER
=========================== */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===========================
   LOGO IMAGE
=========================== */

.logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: rotate(5deg) scale(1.1);
}

/* ===========================
   LOGO TEXT (FIXED STABLE STYLE)
=========================== */

.logo h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;

    /* Gradient Shine Effect */
    background: linear-gradient(90deg,
            #2563eb,
            #60a5fa,
            #f59e0b,
            #2563eb);

    background-size: 300% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: logoShine 5s linear infinite;
    transition: 0.3s ease;
}

/* Hover effect */
.logo h2:hover {
    transform: scale(1.05);
    letter-spacing: 1px;
}

/* ===========================
   SHINE ANIMATION
=========================== */

@keyframes logoShine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}


/* ===========================
   STATS (CLEAN ORIGINAL STYLE UPGRADE)
=========================== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--white);
    padding: 100px 10%;
}

/* CARD */
.stat-box {
    text-align: center;
    padding: 40px 25px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* hover (simple + clean) */
.stat-box:hover {
    transform: translateY(-10px);
}

/* NUMBER */
.stat-box h2 {
    color: var(--secondary);
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

/* TEXT */
.stat-box p {
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}

/* subtle top accent line */
.stat-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 10px;
}

/* ===========================
   OWNER / FOUNDER SECTION
=========================== */

.owner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    max-width: 1100px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* soft glow background */
.owner-card::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(37, 99, 235, 0.08);
    filter: blur(120px);
    top: -200px;
    left: -200px;
    z-index: 0;
}

/* image container */
.owner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.owner-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--secondary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease;
}

.owner-image img:hover {
    transform: scale(1.05);
}

/* text content */
.owner-content {
    flex: 1;
    z-index: 1;
}

.owner-content h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.owner-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.owner-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text);
}

/* responsive */
@media(max-width: 900px) {
    .owner-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .owner-image img {
        width: 250px;
        height: 250px;
    }
}

/* ===========================
   CLASS TYPES SECTION
=========================== */

.class-types {
    background: #f8fafc;
}

.class-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* base card */
.class-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: 0.4s ease;
    overflow: hidden;
}

/* hover effect */
.class-card:hover {
    transform: translateY(-12px) scale(1.03);
}

/* icon */
.class-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* title */
.class-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* text */
.class-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

/* tag badge */
.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e2e8f0;
}

/* ===========================
   SPECIAL STYLES
=========================== */

/* VIP */
.class-card.vip {
    border: 2px solid gold;
}

.class-card.vip i {
    color: gold;
}

/* MINI GROUP */
.class-card.mini {
    border: 2px solid #2563eb;
}

/* GROUP */
.class-card.group {
    border: 2px solid #10b981;
}

/* KIDS */
.class-card.kids {
    border: 2px solid #f59e0b;
}

.class-card.kids i {
    color: #f59e0b;
}

/* ===========================
   CONTACT SECTION (UPGRADED)
=========================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* map */
.contact-map iframe {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* info box */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* lines */
.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* icons */
.contact-info i {
    color: var(--secondary);
}

/* social icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons i {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icons i:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

/* responsive */
@media(max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CONTACT SECTION (UPGRADED)
=========================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

/* map */
.contact-map iframe {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* info box */
.contact-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* lines */
.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* icons */
.contact-info i {
    color: var(--secondary);
}

/* social icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons i {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icons i:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-5px);
}

/* responsive */
@media(max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icons a {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    text-decoration: none;
    transition: .3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Icon Colors */

.facebook i {
    color: #1877F2;
}

.instagram i {
    color: #E1306C;
}

.telegram i {
    color: #229ED9;
}

.linkedin i {
    color: #0A66C2;
}

.tiktok i {
    color: #000;
}

.youtube i {
    color: #FF0000;
}

.footer-title {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    letter-spacing: 1px;
    cursor: default;
    transition: color 0.3s ease;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.footer-title:hover {
    color: #00c6ff;
}

.footer-title:hover::after {
    width: 100%;
}

/* Quick Links */

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.footer-links li {
    margin: 15px 0;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #d8d8d8;
    font-size: 16px;
    font-weight: 500;
    transition: all .35s ease;
}

.footer-links li a i {
    color: #00c6ff;
    transition: all .35s ease;
}

.footer-links li a:hover {
    color: #00c6ff;
    transform: translateX(12px);
}

.footer-links li a:hover i {
    transform: translateX(6px);
}

/* Logo */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    cursor: default;
}

.footer-logo i {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
    font-size: 26px;
    transition: .4s;
    box-shadow: 0 0 18px rgba(0, 198, 255, .35);
}

.footer-logo:hover i {
    transform: rotate(15deg) scale(1.15);
    box-shadow: 0 0 30px rgba(0, 198, 255, .7);
}

.footer-description {
    color: #c8d0d8;
    line-height: 1.8;
    font-size: 15px;
    max-width: 320px;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px 10%;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #d9d9d9;
    font-size: 15px;
    flex-wrap: wrap;
}

.copyright i {
    color: #00c6ff;
}

.copyright span {
    color: #00c6ff;
    font-weight: 600;
}

.separator {
    color: rgba(255, 255, 255, .4) !important;
    font-weight: normal;
}

.telegram-link {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

.telegram-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00c6ff;
}

.separator {
    color: rgba(255, 255, 255, .4);
    margin: 0 10px;
}

.copyright .fa-laptop-code {
    color: #00c6ff;
    font-size: 20px;
    margin-right: 8px;
    text-shadow: 0 0 10px rgba(0, 198, 255, .6);
    animation: floatGlow 2.5s ease-in-out infinite;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0);
        text-shadow: 0 0 8px rgba(0, 198, 255, .5);
    }

    50% {
        transform: translateY(-6px);
        text-shadow:
            0 0 10px #00c6ff,
            0 0 20px #00c6ff,
            0 0 30px #00c6ff;
    }
}

/*================ COURSES HEADER ================*/

.courses {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    display: inline-block;
    color: black;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
}

.section-title span::before,
.section-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45px;
    height: 2px;
    background: black;
}

.section-title span::before {
    left: -60px;
}

.section-title span::after {
    right: -60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 12px;

    font-family: "Poppins", sans-serif;
    font-size: 3 rem;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: #2563eb;
}

.section-label::before {
    content: "";

    width: 28px;
    height: 2px;

    border-radius: 10px;

    background: #f59e0b;
}

.about-image {
    opacity: 0;
    transform: translateX(80px) scale(0.9);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.about-image {
    opacity: 0;
    transform: translateX(80px) scale(0.9);
    animation: aboutImageReveal 1.2s ease-out forwards;
    animation-delay: 0.3s;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    animation: logoFloat 4s ease-in-out infinite;
}

/* Entrance animation */
@keyframes aboutImageReveal {
    0% {
        opacity: 0;
        transform: translateX(80px) scale(0.9);
    }

    60% {
        opacity: 1;
        transform: translateX(-10px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Gentle floating effect */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Quote */
.hero-quote {
    position: absolute;
    bottom: 35px;
    left: 35px;

    color: white;
    z-index: 2;

    max-width: 400px;

    animation: quoteReveal 1s ease-out forwards;
}

.hero-quote span {
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 0;
    opacity: 0.8;
}

.hero-quote p {
    margin: 12px 0 0;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;

    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

/* Entrance animation */
@keyframes quoteReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   WHY CHOOSE US SECTION
===================================================== */

.why-us {
    position: relative;

    padding: 110px 8%;

    background: #f8fafc;

    overflow: hidden;
}


/* =====================================================
   BACKGROUND DECORATION
===================================================== */

.why-us::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -200px;
    left: -180px;

    background: rgba(37, 99, 235, 0.06);

    border-radius: 50%;

    filter: blur(5px);

    pointer-events: none;
}


.why-us::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    bottom: -180px;
    right: -150px;

    background: rgba(30, 58, 138, 0.05);

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.why-us .section-title {
    position: relative;

    z-index: 2;

    max-width: 800px;

    margin: 0 auto 65px;

    text-align: center;
}


/* =====================================================
   SECTION LABEL
===================================================== */

.why-us .section-title span {
    display: inline-block;

    margin-bottom: 15px;

    padding: 8px 18px;

    color: blck;

    font-size: 40px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.why-us .section-title h2 {
    margin-bottom: 20px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    color: #111827;
}


/* =====================================================
   SECTION DESCRIPTION
===================================================== */

.why-us .section-title p {
    max-width: 720px;

    margin: 10px auto;

    color: #6b7280;

    font-size: 16px;

    line-height: 1.8;
}


/* =====================================================
   FEATURES GRID
===================================================== */

.features {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1400px;

    margin: 0 auto;
}


/* =====================================================
   FEATURE CARD
===================================================== */

.feature {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 300px;

    padding: 32px 28px;

    background: #ffffff;

    border: 1px solid rgba(17, 24, 39, 0.07);

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}


/* =====================================================
   CARD TOP LINE
===================================================== */

.feature::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;

    height: 4px;

    background: linear-gradient(90deg,
            #1e3a8a,
            #2563eb);

    transition: width 0.45s ease;
}


.feature:hover::before {
    width: 100%;
}


/* =====================================================
   CARD HOVER
===================================================== */

.feature:hover {
    transform: translateY(-10px);

    border-color: rgba(37, 99, 235, 0.15);

    box-shadow:
        0 25px 55px rgba(15, 23, 42, 0.12);
}


/* =====================================================
   FEATURE ICON
===================================================== */

.feature i {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 18px;

    background: linear-gradient(135deg,
            #1e3a8a,
            #2563eb);

    color: #ffffff;

    font-size: 25px;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.20);

    transition:
        transform 0.4s ease,
        border-radius 0.4s ease,
        box-shadow 0.4s ease;
}


/* =====================================================
   ICON HOVER
===================================================== */

.feature:hover i {
    transform: rotate(-5deg) scale(1.08);

    border-radius: 22px;

    box-shadow:
        0 15px 30px rgba(37, 99, 235, 0.28);
}


/* =====================================================
   FEATURE TITLE
===================================================== */

.feature h3 {
    margin: 0 0 15px;

    color: #111827;

    font-size: 20px;

    line-height: 1.4;

    font-weight: 750;

    transition: color 0.3s ease;
}


/* =====================================================
   TITLE HOVER
===================================================== */

.feature:hover h3 {
    color: #2563eb;
}


/* =====================================================
   FEATURE DESCRIPTION
===================================================== */

.feature p {
    margin: 0;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.75;
}


/* =====================================================
   FEATURE NUMBER
===================================================== */

.feature::after {
    content: "";

    position: absolute;

    right: 18px;

    bottom: 12px;

    width: auto;

    height: auto;

    content: "01";

    font-size: 55px;

    font-weight: 900;

    line-height: 1;

    color: rgba(37, 99, 235, 0.055);

    pointer-events: none;

    transition:
        color 0.4s ease,
        transform 0.4s ease;
}


/* =====================================================
   DIFFERENT NUMBERS
===================================================== */

.feature:nth-child(2)::after {
    content: "02";
}

.feature:nth-child(3)::after {
    content: "03";
}

.feature:nth-child(4)::after {
    content: "04";
}

.feature:nth-child(5)::after {
    content: "05";
}

.feature:nth-child(6)::after {
    content: "06";
}

.feature:nth-child(7)::after {
    content: "07";
}

.feature:nth-child(8)::after {
    content: "08";
}


/* =====================================================
   NUMBER HOVER
===================================================== */

.feature:hover::after {
    color: rgba(37, 99, 235, 0.12);

    transform: translateY(-4px);
}


/* =====================================================
   CARD SHINE EFFECT
===================================================== */

.feature .shine {
    display: none;
}


.feature {
    isolation: isolate;
}


.feature>* {
    position: relative;

    z-index: 2;
}


.feature {
    --shine-position: -80%;
}


.feature:hover {
    --shine-position: 130%;
}


.feature {
    background-image:
        linear-gradient(110deg,
            transparent 40%,
            rgba(255, 255, 255, 0.45) 50%,
            transparent 60%);

    background-size: 250% 100%;

    background-position:
        var(--shine-position) center;

    background-repeat: no-repeat;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background-position 0.7s ease;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1200px) {

    .why-us {
        padding: 90px 6%;
    }


    .features {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =====================================================
   SMALL TABLET
===================================================== */

@media (max-width: 900px) {

    .why-us {
        padding: 80px 5%;
    }


    .features {
        grid-template-columns: repeat(2, 1fr);

        gap: 20px;
    }


    .feature {
        min-height: 290px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .why-us {
        padding: 70px 5%;
    }


    .why-us .section-title {
        margin-bottom: 45px;
    }


    .why-us .section-title h2 {
        font-size: 31px;
    }


    .why-us .section-title p {
        font-size: 14px;
    }


    .features {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .feature {
        min-height: auto;

        padding: 30px 25px;
    }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 380px) {

    .why-us {
        padding-left: 4%;

        padding-right: 4%;
    }


    .feature {
        padding: 27px 22px;
    }


    .feature i {
        width: 60px;

        height: 60px;

        font-size: 22px;
    }


    .feature h3 {
        font-size: 18px;
    }

}

/* =====================================================
   ABOUT US SECTION
===================================================== */

.about {
    position: relative;

    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: 80px;

    padding: 100px 8%;

    background: #ffffff;

    overflow: hidden;
}


/* =====================================================
   ABOUT CONTENT
===================================================== */

.about-content {
    max-width: 650px;
}


.about-content .section-label {
    display: inline-block;

    margin-bottom: 18px;

    padding: 8px 18px;

    border-radius: 50px;

    background: rgba(37, 99, 235, 0.08);

    color: #2563eb;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =====================================================
   ABOUT TITLE
===================================================== */

.about-content h2 {
    margin: 0 0 22px;

    color: #111827;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.05;

    font-weight: 800;
}


.about-content h2 span {
    color: #2563eb;
}


/* =====================================================
   ABOUT TEXT
===================================================== */

.about-content p {
    max-width: 600px;

    margin: 0 0 12px;

    color: #6b7280;

    font-size: 16px;

    line-height: 1.8;
}


/* =====================================================
   ABOUT BUTTON
===================================================== */

.about-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 18px;

    padding: 13px 22px;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.20);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        gap 0.3s ease;
}


.about-btn:hover {
    transform: translateY(-3px);

    background: #1e3a8a;

    gap: 14px;
}


/* =====================================================
   ABOUT HIGHLIGHTS
===================================================== */

.about-highlights {
    display: flex;

    flex-direction: column;

    gap: 16px;
}


/* =====================================================
   HIGHLIGHT CARD
===================================================== */

.about-highlight {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #f8fafc;

    border: 1px solid rgba(17, 24, 39, 0.06);

    border-radius: 16px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.about-highlight:hover {
    transform: translateX(8px);

    border-color: rgba(37, 99, 235, 0.15);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}


/* =====================================================
   HIGHLIGHT ICON
===================================================== */

.about-highlight i {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(135deg,
            #1e3a8a,
            #2563eb);

    color: #ffffff;

    font-size: 19px;
}


/* =====================================================
   HIGHLIGHT TEXT
===================================================== */

.about-highlight strong {
    display: block;

    margin-bottom: 4px;

    color: #111827;

    font-size: 15px;
}


.about-highlight span {
    display: block;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.5;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .about {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 80px 6%;
    }

    .about-content {
        max-width: 700px;
    }

}


@media (max-width: 600px) {

    .about {
        padding: 70px 5%;
    }

    .about-content h2 {
        font-size: 38px;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-highlight {
        padding: 16px;
    }

}

/* =====================================================
   FLOATING WHATSAPP BUTTON
===================================================== */

.whatsapp-float {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    z-index: 1200;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.6;
    animation: whatsappPing 2.2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappPing {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* =====================================================
   LIGHT / DARK MODE
===================================================== */

/* ---------- NAV ACTIONS ---------- */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}


/* ---------- THEME BUTTON ---------- */

.theme-toggle {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;

    background: #ffffff;
    color: #0f172a;

    font-size: 18px;

    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.08);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Hover */

.theme-toggle:hover {
    transform: translateY(-3px) rotate(8deg);

    background: #0f172a;
    color: #fbbf24;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.18);
}


/* Click */

.theme-toggle:active {
    transform: scale(0.9);
}


/* Icon animation */

.theme-toggle i {
    transition:
        transform 0.4s ease,
        opacity 0.25s ease;
}


/* =====================================================
   SMOOTH THEME TRANSITIONS
===================================================== */

body,
header,
section,
.stats,
.about,
.courses,
.why-us,
.class-types,
.teacher-card,
.feature,
.course-card,
.class-card,
.testimonial-card,
.contact-info,
.owner-card,
.about-highlight,
.contact-form input,
.contact-form textarea {
    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* =====================================================
   DARK MODE
===================================================== */

html[data-theme="dark"] body {
    background: #0b1120;
    color: #cbd5e1;
}


/* ---------- HEADER ---------- */

html[data-theme="dark"] header {
    background: rgba(11, 17, 32, 0.96);
    box-shadow:
        0 2px 20px rgba(0, 0, 0, 0.35);
}


/* ---------- NAVIGATION ---------- */

html[data-theme="dark"] .nav-links a {
    color: #f8fafc;
}

html[data-theme="dark"] .nav-links a:hover {
    color: #60a5fa;
}


/* ---------- LOGO ---------- */

html[data-theme="dark"] .logo h2 {
    background:
        linear-gradient(90deg,
            #60a5fa,
            #93c5fd,
            #fbbf24,
            #60a5fa);

    background-size: 300% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ---------- THEME BUTTON DARK ---------- */

html[data-theme="dark"] .theme-toggle {
    background: #111827;
    color: #fbbf24;

    border-color:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3);
}


html[data-theme="dark"] .theme-toggle:hover {
    background: #fbbf24;
    color: #0f172a;
}


/* =====================================================
   HERO
===================================================== */

html[data-theme="dark"] .hero {
    background:
        linear-gradient(135deg,
            #0b1120,
            #111827);
}


html[data-theme="dark"] .hero h1 {
    color: #f8fafc;
}


html[data-theme="dark"] .hero p {
    color: #cbd5e1;
}


/* =====================================================
   STATS
===================================================== */

html[data-theme="dark"] .stats {
    background: #111827;
}


html[data-theme="dark"] .stat h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .stat p {
    color: #94a3b8;
}


/* =====================================================
   ABOUT
===================================================== */

html[data-theme="dark"] .about {
    background: #0b1120;
}


html[data-theme="dark"] .about h2,
html[data-theme="dark"] .about h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .about p {
    color: #cbd5e1;
}


html[data-theme="dark"] .about-highlight {
    background: #111827;
}


/* =====================================================
   COURSES
===================================================== */

html[data-theme="dark"] .courses {
    background: #0f172a;
}


html[data-theme="dark"] .course-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


html[data-theme="dark"] .course-card h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .course-card p {
    color: #94a3b8;
}


/* =====================================================
   TEACHERS
===================================================== */

html[data-theme="dark"] .teacher-card {
    background: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


html[data-theme="dark"] .teacher-card h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .teacher-card p {
    color: #94a3b8;
}


/* =====================================================
   WHY US
===================================================== */

html[data-theme="dark"] .why-us {
    background: #0f172a;
}


html[data-theme="dark"] .feature {
    background: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


html[data-theme="dark"] .feature h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .feature p {
    color: #94a3b8;
}


/* =====================================================
   CLASS TYPES
===================================================== */

html[data-theme="dark"] .class-types {
    background: #0b1120;
}


html[data-theme="dark"] .class-card {
    background: #111827;
}


html[data-theme="dark"] .class-card h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .class-card p {
    color: #94a3b8;
}


/* =====================================================
   TESTIMONIALS
===================================================== */

html[data-theme="dark"] .testimonials {
    background: #0f172a;
}


html[data-theme="dark"] .testimonial-card {
    background: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


html[data-theme="dark"] .testimonial-card h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .testimonial-card p {
    color: #cbd5e1;
}


/* =====================================================
   CONTACT
===================================================== */

html[data-theme="dark"] .contact {
    background: #0b1120;
}


html[data-theme="dark"] .contact-info {
    background: #111827;
}


html[data-theme="dark"] .contact-form {
    background: #111827;
}


html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea {
    background: #0f172a;
    color: #f8fafc;

    border-color:
        rgba(255, 255, 255, 0.08);
}


html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
    color: #64748b;
}


/* =====================================================
   FOUNDER / OWNER
===================================================== */

html[data-theme="dark"] .owner-card {
    background: #111827;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}


html[data-theme="dark"] .owner-card h3 {
    color: #f8fafc;
}


html[data-theme="dark"] .owner-card p {
    color: #94a3b8;
}


/* =====================================================
   SECTION TITLES
===================================================== */

html[data-theme="dark"] .section-title {
    color: #f8fafc;
}


html[data-theme="dark"] .section-description {
    color: #94a3b8;
}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

html[data-theme="dark"] .nav-links {
    background: rgba(17, 24, 39, 0.98);

    border-color:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);
}


html[data-theme="dark"] .nav-links li a {
    color: #f8fafc;
}


html[data-theme="dark"] .nav-links li a:hover {
    background: #1e293b;
    color: #60a5fa;
}


/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

html[data-theme="dark"] .mobile-menu-toggle {
    background: #111827;
    color: #f8fafc;
}


/* =====================================================
   FOOTER
===================================================== */

html[data-theme="dark"] footer {
    background: #020617;
}

/* =====================================================
   DARK MODE - SECTION HEADINGS
===================================================== */

/* Main section headings */

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .section-title h2,
html[data-theme="dark"] section h2,
html[data-theme="dark"] section h3 {
    color: black;
}


/* Make the highlighted/colored part of headings brighter */

html[data-theme="dark"] .section-title span {
    color: #60a5fa;
}


/* Section labels above headings */

html[data-theme="dark"] .section-label {
    color: #60a5fa;
}


/* Paragraph underneath headings */

html[data-theme="dark"] .section-description {
    color: #94a3b8;
}


/* =====================================================
   SPECIFIC SECTION HEADINGS
===================================================== */

/* Our Courses */

html[data-theme="dark"] #courses h2,
html[data-theme="dark"] #courses .section-title {
    color: #60a5fa;
}


/* School Leadership */

html[data-theme="dark"] #founder h2,
html[data-theme="dark"] #founder .section-title {
    color: #f8fafc;
}


/* Why My English */

html[data-theme="dark"] #why-us h2,
html[data-theme="dark"] #why-us .section-title {
    color: #f8fafc;
}


/* Get In Touch */

html[data-theme="dark"] #contact h2,
html[data-theme="dark"] #contact .section-title {
    color: #60a5fa;
}


/* Contact My English */

html[data-theme="dark"] #contact h3 {
    color: #f8fafc;
}

/* Contact information card - Dark Mode */

html[data-theme="dark"] .contact-info {
    background: #111827 !important;
}

html[data-theme="dark"] .contact-info h3,
html[data-theme="dark"] .contact-info p,
html[data-theme="dark"] .contact-info span,
html[data-theme="dark"] .contact-info a {
    color: #ffffff !important;
}

/* Why Choose Us heading - Dark Mode */

html[data-theme="dark"] .why-us .section-title,
html[data-theme="dark"] .why-us .section-title h2 {
    color: #60a5fa !important;
}

/* Meet the Founder - same color as WHY MY ENGLISH */

html[data-theme="dark"] #founder .section-title,
html[data-theme="dark"] #founder .section-title h2,
html[data-theme="dark"] #founder .section-title span {
    color: #60a5fa !important;
}

/* =====================================================
   MOBILE HERO REGISTER BUTTON
===================================================== */

/* Hidden on desktop */

.mobile-register-btn {
    display: none;
}


/* Show only on mobile */

@media (max-width: 768px) {

    .mobile-register-btn {
        display: inline-flex;
        margin-top: 15px;
        align-items: center;
        justify-content: center;
        width: fit-content;
    }

}

/* Mobile register button */

.mobile-register-btn {
    display: none;
}

@media (max-width: 768px) {

    .mobile-register-btn {
        display: inline-flex;
        position: relative;

        align-items: center;
        justify-content: center;

        padding: 6px 12px;
        margin: 0 0 10px 0;

        font-size: 11px;
        font-weight: 600;

        width: auto;
        min-width: 0;

        border-radius: 7px;
    }

}

/* =====================================================
   FIX MOBILE LEFT / RIGHT HORIZONTAL SCROLL
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    header,
    section,
    footer,
    .navbar,
    .container {
        max-width: 100%;
    }
}