/* =========================================================
   AL QAIM INSTITUTE
   COMPLETE FINAL STYLE.CSS
   P2 - UPDATED
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --primary: #0b7a45;
    --primary-dark: #075d35;
    --primary-light: #eaf7f0;

    --secondary: #d5aa38;
    --secondary-dark: #b78b1f;

    --white: #ffffff;
    --black: #102019;
    --text: #5c6b63;
    --light-text: #7a8981;

    --bg-light: #f7fbf9;
    --bg-soft: #eef8f3;

    --border: #e1ebe6;

    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.14);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --transition: all 0.35s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

section {
    position: relative;
}

section img {
    height: auto;
}

::selection {
    background: var(--primary);
    color: var(--white);
}


/* =========================================================
   3. GLOBAL
   ========================================================= */

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 17px;
    margin-bottom: 14px;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.section-title h2 {
    color: var(--black);
    font-family: "Playfair Display", serif;

    font-size: clamp(32px, 4vw, 45px);
    line-height: 1.2;

    margin-bottom: 16px;
}

.section-title p {
    max-width: 680px;
    margin: auto;

    font-size: 15px;
    color: var(--text);
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

.btn {
    min-height: 48px;
    padding: 13px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 2px solid transparent;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(11, 122, 69, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);

    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);

    transform: translateY(-3px);
}


/* =========================================================
   5. HEADER
   ========================================================= */

.header {
    position: fixed;
    inset: 0 0 auto 0;

    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    border-bottom:
        1px solid rgba(0, 0, 0, 0.04);

    transition: var(--transition);
}

.header.sticky {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(15px);
}

.navbar {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.logo-text h2 {
    color: var(--primary-dark);

    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1;
}

.logo-text span {
    display: block;

    margin-top: 5px;

    color: var(--secondary-dark);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2.2px;
}


/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 23px;
}

.nav-menu a {
    position: relative;

    color: var(--black);

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transform: translateX(-50%);

    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-btn {
    white-space: nowrap;
}


/* Hamburger */

.menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    background: transparent;

    border: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 6px;

    z-index: 1002;
}

.menu-toggle span {
    width: 27px;
    height: 2px;

    background: var(--primary-dark);

    border-radius: 5px;

    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    min-height: 100vh;

    padding: 145px 0 85px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(213,170,56,.11),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(11,122,69,.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fbfffd,
            #eff9f4
        );

    overflow: hidden;
}

.hero-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 70px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 9px 17px;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
}

.hero-content h1 {
    max-width: 650px;

    margin: 20px 0;

    color: var(--black);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 61px);

    line-height: 1.08;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content > p {
    max-width: 640px;

    margin-bottom: 30px;

    font-size: 16px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;

    margin-bottom: 32px;
}

.hero-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px 20px;
}

.feature-item {
    display: flex;
    align-items: center;

    gap: 9px;

    color: var(--black);

    font-size: 13px;
    font-weight: 600;
}

.feature-item i {
    color: var(--primary);
}


/* Hero Image */

.hero-image {
    position: relative;

    min-width: 0;

    padding: 15px;
}

.hero-image > img {
    width: 100%;
    height: 530px;

    object-fit: cover;

    border-radius: 30px;

    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;

    min-width: 145px;

    padding: 13px 16px;

    display: flex;
    align-items: center;

    gap: 11px;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid rgba(255, 255, 255, 0.7);

    border-radius: 15px;

    box-shadow: var(--shadow-md);

    animation:
        floatCard 4s ease-in-out infinite;
}

.floating-card i {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);
    color: var(--white);
}

.floating-card h4 {
    color: var(--primary-dark);

    font-size: 20px;

    line-height: 1.1;
}

.floating-card p {
    margin-top: 3px;

    font-size: 11px;
}

.card-one {
    top: 55px;
    left: -30px;
}

.card-two {
    top: 220px;
    right: -25px;

    animation-delay: .8s;
}

.card-three {
    bottom: 45px;
    left: -20px;

    animation-delay: 1.5s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}


/* =========================================================
   7. ABOUT
   ========================================================= */

.about {
    background: var(--white);
}

.about-wrapper {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    align-items: center;

    gap: 75px;
}

.about-image {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px;

    background:
        radial-gradient(
            circle,
            rgba(11,122,69,.12),
            transparent 60%
        ),
        var(--bg-light);

    border-radius: 35px;
}

.about-image > img {
    width: min(330px, 85%);
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 20px 25px rgba(0,0,0,.12)
        );
}

.experience-box {
    position: absolute;

    right: -25px;
    bottom: 35px;

    width: 185px;

    padding: 20px;

    background: var(--primary);
    color: var(--white);

    border:
        5px solid var(--white);

    border-radius: 20px;

    text-align: center;

    box-shadow: var(--shadow-md);
}

.experience-box h2 {
    color: var(--white);

    font-size: 38px;

    line-height: 1;
}

.experience-box span {
    display: block;

    margin-top: 8px;

    font-size: 11px;

    line-height: 1.5;
}

.about-content h2 {
    margin: 13px 0 20px;

    color: var(--black);

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(32px, 4vw, 45px);

    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content > p {
    margin-bottom: 16px;

    font-size: 15px;
}

.about-features {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px 20px;

    margin: 28px 0;
}

.about-item {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--black);

    font-size: 13px;
    font-weight: 600;
}

.about-item i {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50%;

    font-size: 11px;
}

.about-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   8. WHY CHOOSE US
   ========================================================= */

.why-us {
    background: var(--bg-light);
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}

.why-card {
    padding: 35px 27px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-9px);

    box-shadow: var(--shadow-md);

    border-color:
        rgba(11,122,69,.2);
}

.why-icon {
    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin: 0 auto 20px;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50%;

    font-size: 25px;

    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);

    transform: rotateY(180deg);
}

.why-card h3 {
    margin-bottom: 11px;

    color: var(--black);

    font-size: 18px;
}

.why-card p {
    font-size: 13px;
}


/* =========================================================
   9. STATISTICS
   ========================================================= */

.stats {
    background:
        linear-gradient(
            rgba(6,82,46,.96),
            rgba(8,105,59,.96)
        ),
        var(--primary-dark);

    color: var(--white);
}

.stats .section-tag {
    background:
        rgba(255,255,255,.12);

    color: var(--white);
}

.stats .section-title h2,
.stats .section-title p {
    color: var(--white);
}

.stats .section-title p {
    opacity: .82;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.stat-card {
    padding: 30px 20px;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid rgba(255,255,255,.14);

    border-radius: var(--radius-md);

    text-align: center;

    backdrop-filter: blur(8px);

    transition: var(--transition);
}

.stat-card:hover {
    background:
        rgba(255,255,255,.16);

    transform: translateY(-7px);
}

.stat-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin: 0 auto 15px;

    background: var(--secondary);
    color: var(--white);

    border-radius: 50%;

    font-size: 20px;
}

.stat-number {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number h3 {
    color: var(--white);

    font-size: 37px;

    line-height: 1;
}

.stat-number span {
    color: var(--secondary);

    font-size: 25px;
    font-weight: 700;
}

.stat-card p {
    margin-top: 10px;

    color:
        rgba(255,255,255,.82);

    font-size: 13px;
    font-weight: 500;
}


/* =========================================================
   10. COURSES
   ========================================================= */

.courses {
    background: var(--white);
}

.courses-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}

.course-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.course-image {
    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--bg-soft);

    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.06);
}

.course-level {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 12px;

    background: var(--primary);
    color: var(--white);

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;

    z-index: 2;
}

.course-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 22px;
}

.course-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 14px;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50%;

    font-size: 18px;

    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: var(--primary);
    color: var(--white);
}

.course-content h3 {
    margin-bottom: 10px;

    color: var(--black);

    font-family:
        "Playfair Display", serif;

    font-size: 21px;
}

.course-content p {
    flex: 1;

    margin-bottom: 20px;

    font-size: 12.5px;
}

.course-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: fit-content;

    margin-top: auto;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.course-link i {
    font-size: 11px;

    transition: var(--transition);
}

.course-link:hover {
    color: var(--secondary-dark);
}

.course-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   12. TEACHERS
   ========================================================= */

.teachers {
    background: var(--white);
}

.teachers-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}

.teacher-card {
    min-width: 0;

    padding: 32px 27px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    text-align: center;

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-md);
}

.teacher-image {
    width: 145px;
    height: 145px;

    margin: 0 auto 20px;

    padding: 5px;

    border:
        2px solid var(--secondary);

    border-radius: 50%;
}

.teacher-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

.teacher-role {
    display: inline-block;

    padding: 6px 12px;
    margin-bottom: 10px;

    background: var(--primary-light);
    color: var(--primary);

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;
}

.teacher-content h3 {
    margin-bottom: 10px;

    color: var(--black);

    font-family:
        "Playfair Display", serif;

    font-size: 22px;
}

.teacher-content > p {
    margin-bottom: 20px;

    font-size: 12.5px;
}

.teacher-skills {
    padding-top: 18px;

    border-top:
        1px solid var(--border);

    text-align: left;
}

.teacher-skills li {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 9px;

    color: var(--black);

    font-size: 12px;
    font-weight: 500;
}

.teacher-skills i {
    color: var(--primary);
}


/* =========================================================
   13. TESTIMONIALS
   ========================================================= */

.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.testimonial-card {
    min-width: 0;

    position: relative;

    padding: 25px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: var(--transition);
}

.testimonial-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.testimonial-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 14px;
}

.testimonial-header img {
    width: 62px;
    height: 62px;

    flex: 0 0 62px;

    object-fit: cover;

    border:
        3px solid var(--primary-light);

    border-radius: 50%;
}

.testimonial-header h3 {
    color: var(--black);

    font-size: 15px;
}

.testimonial-header span {
    display: block;

    margin-top: 2px;

    color: var(--primary);

    font-size: 10.5px;
    font-weight: 600;
}

.stars {
    display: flex;

    gap: 3px;

    margin-bottom: 12px;

    color: #f4b400;

    font-size: 13px;
}

.testimonial-card > p {
    font-size: 12.5px;
}


/* =========================================================
   14. CTA
   ========================================================= */

.cta {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: var(--white);

    text-align: center;
}

.cta-content {
    max-width: 720px;

    margin: auto;
}

.cta-content > span {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.cta-content h2 {
    margin-bottom: 14px;

    color: var(--white);

    font-family:
        "Playfair Display", serif;

    font-size:
        clamp(30px, 4vw, 43px);
}

.cta-content p {
    margin-bottom: 25px;

    color:
        rgba(255,255,255,.83);

    font-size: 14px;
}


/* =========================================================
   15. CONTACT
   ========================================================= */

.contact {
    background:
        radial-gradient(
            circle at 10% 90%,
            rgba(213,170,56,.10),
            transparent 25%
        ),
        var(--bg-light);
}

.contact-wrapper {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 35px;

    align-items: stretch;
}


/* Contact Info */

.contact-info {
    display: grid;

    grid-template-columns: 1fr;

    gap: 15px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            var(--primary)
        );

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.info-box {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px;

    background:
        rgba(255,255,255,.10);

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 16px;

    transition: var(--transition);
}

.info-box:hover {
    background:
        rgba(255,255,255,.16);

    transform: translateX(5px);
}

.info-box > i {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    flex: 0 0 48px;

    background: var(--secondary);
    color: var(--white);

    border-radius: 50%;

    font-size: 18px;
}

.info-box h3 {
    color: var(--white);

    font-size: 15px;
}

.info-box p {
    margin-top: 3px;

    color:
        rgba(255,255,255,.78);

    font-size: 11px;

    overflow-wrap: anywhere;
}


/* =========================================================
   16. CONTACT FORM
   ========================================================= */

.contact-form {
    padding: 35px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-md);
}

.contact-form form {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.form-group {
    min-width: 0;
}

.form-full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--black);

    font-size: 12px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    background: #fbfdfc;
    color: var(--black);

    border:
        1px solid #dce7e1;

    border-radius: 11px;

    outline: none;

    font-size: 13px;

    transition: var(--transition);
}

.form-group input,
.form-group select {
    height: 49px;
}

.form-group textarea {
    min-height: 125px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(11,122,69,.08);
}

.contact-form input.input-error,
.contact-form select.input-error,
.contact-form textarea.input-error {
    border-color: #d93025;

    background: #fff8f8;

    box-shadow:
        0 0 0 4px
        rgba(217,48,37,.07);
}

.submit-btn {
    grid-column: 1 / -1;

    width: 100%;

    border-radius: 11px;
}


/* =========================================================
   17. INTERNATIONAL WHATSAPP NUMBER
   ========================================================= */

.whatsapp-group {
    position: relative;
}


/*
   intl-tel-input wrapper
*/

.whatsapp-group .iti {
    width: 100%;
    display: block;
}


/*
   Actual telephone input
*/

.whatsapp-group .iti input,
.whatsapp-group .iti input[type="tel"] {
    width: 100%;

    height: 49px;

    padding-top: 13px;
    padding-bottom: 13px;

    background: #fbfdfc;

    color: var(--black);

    border:
        1px solid #dce7e1;

    border-radius: 11px;

    outline: none;

    font-size: 13px;

    transition: var(--transition);
}

.whatsapp-group .iti input:focus {
    background: var(--white);

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(11,122,69,.08);
}


/* Country button */

.whatsapp-group .iti__selected-country {
    border-radius:
        11px 0 0 11px;
}


/* Country selector area */

.whatsapp-group .iti__selected-country-primary {
    padding-left: 12px;
    padding-right: 9px;
}


/* Country dropdown */

.whatsapp-group .iti__dropdown-content {
    border:
        1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-md);

    overflow: hidden;

    background: var(--white);

    z-index: 1100;
}


/* Search input */

.whatsapp-group .iti__search-input {
    width: 100%;

    height: 42px;

    padding: 9px 12px;

    border:
        1px solid var(--border);

    outline: none;

    font-size: 12px;
}

.whatsapp-group .iti__search-input:focus {
    border-color: var(--primary);
}


/* Country list */

.whatsapp-group .iti__country-list {
    max-height: 230px;
}


/* Individual country */

.whatsapp-group .iti__country {
    padding-top: 8px;
    padding-bottom: 8px;

    font-size: 12px;
}


/* Dial code */

.whatsapp-group .iti__dial-code {
    color: var(--primary);

    font-weight: 600;
}


/* Help message */

.phone-help {
    display: block;

    margin-top: 6px;

    color: var(--light-text);

    font-size: 10px;

    line-height: 1.5;
}


/* Error message */

.phone-error {
    display: none;

    margin-top: 6px;

    color: #d93025;

    font-size: 10.5px;
    font-weight: 500;

    line-height: 1.4;
}

.phone-error.show {
    display: block;
}


/* Error state */

.whatsapp-group.phone-invalid .iti input {
    border-color: #d93025;

    background: #fff8f8;

    box-shadow:
        0 0 0 4px
        rgba(217,48,37,.07);
}


/* Valid state */

.whatsapp-group.phone-valid .iti input {
    border-color: var(--primary);

    background: #f8fffb;
}


/* Hidden international phone field */

#whatsappFull {
    display: none !important;
}


/* =========================================================
   18. FORM RESPONSE
   ========================================================= */

.form-response {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 16px;

    margin-bottom: 20px;

    border-radius: 13px;
}

.form-response.success {
    background: #eaf8ef;

    border:
        1px solid #b9dfc7;
}

.form-response.error {
    background: #fff1f0;

    border:
        1px solid #f1c2be;
}

.response-icon {
    font-size: 23px;
}

.form-response.success .response-icon,
.form-response.success h3 {
    color: var(--primary);
}

.form-response.error .response-icon,
.form-response.error h3 {
    color: #bd2d23;
}

.response-content h3 {
    margin-bottom: 3px;

    font-size: 14px;
}

.response-content p {
    font-size: 12px;
}


/* =========================================================
   19. FOOTER
   ========================================================= */

.footer {
    padding: 75px 0 0;

    background: #071d14;

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.35fr .8fr 1fr 1.15fr;

    gap: 45px;
}

.footer-column h3 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 17px;
}

.footer-column > p {
    color:
        rgba(255,255,255,.65);

    font-size: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 17px;
}

.footer-logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;

    font-family:
        "Playfair Display", serif;

    font-size: 19px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background:
        rgba(255,255,255,.08);

    color: var(--white);

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 50%;

    font-size: 13px;

    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);

    transform: translateY(-4px);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color:
        rgba(255,255,255,.65);

    font-size: 12px;

    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary);

    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color:
        rgba(255,255,255,.65);

    font-size: 11.5px;

    overflow-wrap: anywhere;
}

.contact-list i {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    flex: 0 0 27px;

    background:
        rgba(255,255,255,.08);

    color: var(--secondary);

    border-radius: 50%;

    font-size: 10px;
}

.footer-bottom {
    margin-top: 55px;

    padding: 21px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top:
        1px solid rgba(255,255,255,.09);
}

.footer-bottom p {
    color:
        rgba(255,255,255,.55);

    font-size: 10.5px;
}


/* =========================================================
   20. WHATSAPP FLOATING BUTTON
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 84px;

    width: 53px;
    height: 53px;

    display: grid;
    place-items: center;

    background: #25d366;
    color: var(--white);

    border:
        3px solid var(--white);

    border-radius: 50%;

    box-shadow:
        0 10px 25px
        rgba(0,0,0,.18);

    font-size: 25px;

    z-index: 900;

    transition: var(--transition);
}

.whatsapp-float:hover {
    transform:
        translateY(-5px)
        scale(1.04);
}


/* =========================================================
   21. SCROLL TO TOP
   ========================================================= */

.scroll-top {
    position: fixed;

    right: 26px;
    bottom: 24px;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: var(--white);

    border: 0;

    border-radius: 50%;

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    z-index: 899;

    transition: var(--transition);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--secondary);

    transform: translateY(-4px);
}


/* =========================================================
   22. SCROLL REVEAL
   ========================================================= */

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.reveal-active {
    opacity: 1;
    transform: none;
}


/* =========================================================
   23. RESPONSIVE - 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 11.5px;
    }

    .nav-btn {
        padding-inline: 17px;
    }

    .hero-wrapper {
        gap: 45px;
    }

    .hero-image > img {
        height: 470px;
    }

    .courses-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .fees-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   24. RESPONSIVE - 900px
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }


    /* Navigation */

    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;

        top: 82px;
        left: 0;
        right: 0;

        width: 100%;

        max-height:
            calc(100vh - 82px);

        padding:
            15px 5% 25px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: var(--white);

        border-top:
            1px solid var(--border);

        box-shadow:
            0 20px 30px
            rgba(0,0,0,.08);

        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        transform:
            translateY(-15px);

        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;

        width: 100%;

        padding: 13px 5px;

        border-bottom:
            1px solid var(--border);

        font-size: 14px;
    }

    .nav-menu a::after {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding:
            125px 0 75px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        max-width: 720px;

        margin: auto;

        text-align: center;
    }

    .hero-content h1,
    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        max-width: 500px;

        margin: auto;

        text-align: left;
    }

    .hero-image {
        width:
            min(650px, 100%);

        margin: auto;
    }

    .hero-image > img {
        height: 450px;
    }

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .card-three {
        left: 10px;
    }


    /* About */

    .about-wrapper {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image {
        width:
            min(620px, 100%);

        margin: auto;
    }

    .about-content {
        max-width: 720px;

        margin: auto;
    }


    /* Why */

    .why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Stats */

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Courses */

    .courses-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Fees */

    .fees-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Teachers */

    .teachers-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .teacher-card:last-child {
        grid-column: 1 / -1;

        width:
            min(520px, 100%);

        margin: auto;
    }


    /* Testimonials */

    .testimonials-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* Contact */

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   25. RESPONSIVE - 650px
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: 91%;
    }

    .section {
        padding: 65px 0;
    }

    .section-title {
        margin-bottom: 38px;
    }


    /* Header */

    .navbar {
        height: 72px;
    }

    .logo img {
        width: 47px;
        height: 47px;
    }

    .logo-text h2 {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 8px;

        letter-spacing: 1.7px;
    }

    .nav-menu {
        top: 72px;

        max-height:
            calc(100vh - 72px);
    }


    /* Hero */

    .hero {
        padding:
            105px 0 60px;
    }

    .hero-content h1 {
        font-size: 35px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-features {
        grid-template-columns: 1fr;

        max-width: 280px;
    }

    .hero-image {
        padding: 0;
    }

    .hero-image > img {
        height: 340px;

        border-radius: 22px;
    }

    .floating-card {
        position: static;

        width:
            calc(33.333% - 7px);

        min-width: 0;

        display: inline-flex;

        margin-top: 12px;
        margin-right: 5px;

        padding: 9px;

        animation: none;

        vertical-align: top;
    }

    .floating-card i {
        display: none;
    }

    .floating-card h4 {
        font-size: 16px;
    }

    .floating-card p {
        font-size: 9px;
    }


    /* About */

    .about-image {
        min-height: 370px;

        padding: 40px;

        display: flex;

        flex-direction: column;
    }

    .about-image > img {
        width: 240px;
    }

    .experience-box {
        position: relative;

        right: auto;
        bottom: auto;

        width: 100%;

        margin-top: 25px;

        border-width: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }


    /* Main Grids */

    .why-grid,
    .stats-grid,
    .courses-grid,
    .fees-grid,
    .teachers-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .teacher-card:last-child {
        grid-column: auto;

        width: 100%;
    }


    /* Cards */

    .why-card,
    .stat-card,
    .course-card,
    .fee-card,
    .teacher-card,
    .testimonial-card {
        width:
            min(500px, 100%);

        margin-inline: auto;
    }


    /* Course */

    .course-image {
        aspect-ratio: 16 / 10;
    }


    /* Fees */

    .fee-card {
        padding: 30px 23px;
    }

    .fee-price strong {
        font-size: 43px;
    }

    .fee-note {
        align-items: flex-start;

        text-align: left;
    }


    /* Contact */

    .contact-info {
        grid-template-columns: 1fr;

        padding: 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-form form {
        grid-template-columns: 1fr;
    }

    .form-full,
    .submit-btn {
        grid-column: auto;
    }


    /*
       Prevent international telephone
       dropdown from overflowing mobile.
    */

    .whatsapp-group .iti__dropdown-content {
        max-width:
            calc(100vw - 50px);
    }

    .whatsapp-group .iti__country-list {
        max-width:
            calc(100vw - 50px);
    }


    /* Footer */

    .footer {
        padding-top: 55px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }


    /* Fixed Buttons */

    .whatsapp-float {
        right: 15px;
        bottom: 72px;

        width: 48px;
        height: 48px;

        font-size: 22px;
    }

    .scroll-top {
        right: 17px;
        bottom: 17px;

        width: 42px;
        height: 42px;
    }
}


/* =========================================================
   26. EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .container {
        width: 93%;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-image > img {
        height: 280px;
    }

    .floating-card {
        width:
            calc(33.333% - 6px);

        padding: 8px 5px;
    }

    .about-buttons {
        flex-direction: column;
    }

    .about-buttons .btn {
        width: 100%;
    }


    /* Fee Cards */

    .fee-card {
        padding: 27px 19px;
    }

    .popular-badge {
        top: 13px;
        right: 13px;

        font-size: 8px;
    }

    .fee-card h3 {
        font-size: 22px;
    }

    .fee-price strong {
        font-size: 39px;
    }

    .fee-currencies {
        gap: 5px;
    }

    .fee-currencies span {
        font-size: 8.5px;
    }

    .fee-features li {
        font-size: 11px;
    }


    /* Teachers */

    .teacher-image {
        width: 125px;
        height: 125px;
    }


    /* Testimonials */

    .testimonial-header img {
        width: 55px;
        height: 55px;

        flex-basis: 55px;
    }


    /* Contact */

    .info-box {
        padding: 14px;
    }

    .info-box > i {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    /* International Phone */

    .whatsapp-group .iti__dropdown-content,
    .whatsapp-group .iti__country-list {
        max-width:
            calc(100vw - 35px);
    }
}


/* =========================================================
   27. ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}

/* =========================================================
   PERFORMANCE OPTIMIZATION
   ========================================================= */

/* Skip rendering of below-the-fold sections until needed. */
.about,
.why-us,
.stats,
.courses,
.fees,
.teachers,
.testimonials,
.cta,
.contact,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

/* =========================================================
   MONTHLY FEE PACKAGES - FINAL DESIGN
   ========================================================= */

.fees {
    background: #f7fbf9;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* =========================
   FEE CARD
   ========================= */

.fee-card {
    position: relative;
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding: 32px 26px;

    background: #ffffff;

    border: 1px solid #e1ebe6;
    border-radius: 22px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    transition: all 0.35s ease;
}

.fee-card:hover {
    transform: translateY(-8px);

    border-color: rgba(11, 122, 69, 0.25);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
}


/* =========================
   FEATURED CARD
   ========================= */

.fee-card.featured {
    border: 2px solid #0b7a45;

    box-shadow:
        0 15px 40px rgba(11, 122, 69, 0.14);
}

.fee-card.featured:hover {
    box-shadow:
        0 22px 50px rgba(11, 122, 69, 0.20);
}


/* =========================
   POPULAR BADGE
   ========================= */

.popular-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 6px 12px;

    background: #d5aa38;
    color: #ffffff;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.3px;

    box-shadow: 0 5px 15px rgba(213, 170, 56, 0.25);
}


/* =========================
   FEE ICON
   ========================= */

.fee-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    background: #eaf7f0;
    color: #0b7a45;

    border-radius: 50%;

    font-size: 22px;

    transition: all 0.35s ease;
}

.fee-card:hover .fee-icon {
    background: #0b7a45;
    color: #ffffff;

    transform: scale(1.05);
}


/* =========================
   PACKAGE TYPE
   ========================= */

.fee-type {
    display: inline-block;

    width: fit-content;

    margin-bottom: 8px;

    padding: 5px 11px;

    background: #eaf7f0;
    color: #0b7a45;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


/* =========================
   PACKAGE TITLE
   ========================= */

.fee-card h3 {
    margin: 5px 0 15px;

    color: #102019;

    font-family: "Playfair Display", serif;

    font-size: 24px;
    line-height: 1.2;
}


/* =========================
   MAIN PRICE
   ========================= */

.fee-price {
    display: flex;
    align-items: flex-start;

    margin-bottom: 15px;

    color: #0b7a45;
}

.fee-price .currency {
    margin-top: 7px;
    margin-right: 3px;

    font-size: 20px;
    font-weight: 700;
}

.fee-price strong {
    color: #0b7a45;

    font-size: 48px;
    line-height: 1;

    font-weight: 700;
}

.fee-price .period {
    align-self: flex-end;

    margin-left: 5px;
    margin-bottom: 5px;

    color: #7a8981;

    font-size: 11px;
    font-weight: 500;
}


/* =========================
   OTHER CURRENCIES
   ========================= */

.fee-currencies {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    padding-bottom: 20px;
    margin-bottom: 20px;

    border-bottom: 1px solid #e1ebe6;
}

.fee-currencies span {
    padding: 6px 9px;

    background: #f7fbf9;
    color: #5c6b63;

    border: 1px solid #e1ebe6;
    border-radius: 7px;

    font-size: 9.5px;
    font-weight: 600;
}


/* =========================
   FEATURES
   ========================= */

.fee-features {
    flex: 1;

    margin: 0 0 25px;
    padding: 0;

    list-style: none;
}

.fee-features li {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color: #39483f;

    font-size: 12.5px;
    font-weight: 500;
}

.fee-features li i {
    color: #0b7a45;

    font-size: 14px;

    flex-shrink: 0;
}


/* =========================
   BUTTON
   ========================= */

.fee-btn {
    width: 100%;

    margin-top: auto;

    min-height: 48px;

    border-radius: 11px;
}


/* =========================
   FEATURED BUTTON
   ========================= */

.fee-card.featured .fee-btn {
    box-shadow:
        0 8px 20px rgba(11, 122, 69, 0.18);
}


/* =========================
   NOTE BELOW PACKAGES
   ========================= */

.fee-note {
    max-width: 760px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin: 35px auto 0;

    padding: 16px 20px;

    background: #eaf7f0;

    border: 1px solid rgba(11, 122, 69, 0.15);
    border-radius: 14px;

    text-align: left;
}

.fee-note i {
    color: #0b7a45;

    font-size: 19px;

    flex-shrink: 0;
}

.fee-note p {
    margin: 0;

    color: #5c6b63;

    font-size: 12px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .fees-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .fees-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .fee-card {
        width: min(500px, 100%);

        margin-inline: auto;

        padding: 28px 22px;
    }

    .fee-price strong {
        font-size: 43px;
    }

    .popular-badge {
        top: 15px;
        right: 15px;
    }

    .fee-note {
        align-items: flex-start;

        margin-top: 25px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .fee-card {
        padding: 25px 18px;
    }

    .fee-card h3 {
        font-size: 21px;
    }

    .fee-price strong {
        font-size: 39px;
    }

    .fee-currencies span {
        font-size: 9px;
    }

    .fee-features li {
        font-size: 12px;
    }

}
