:root {
    --primary: #163e75;
    --primary-dark: #c31513;
    --secondary: #8f8c98;
    --yellow: #fbbf24;
    --green: #16a34a;
    --dark: #111827;
    --text: #4b5563;
    --light-text: #6b7280;
    --background: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    backdrop-filter: blur(18px);
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 16px;
    font-weight: 900;
}

.brand-text span {
    color: var(--light-text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    font-size: 14px;
    font-weight: 800;
    color: #374151;
    transition: 0.2s ease;
}

.navigation a:hover {
    color: var(--primary);
}

.navigation .nav-login {
    padding: 11px 18px;
    color: var(--white);
    border-radius: 12px;
    background: var(--primary);
}

.navigation .nav-login:hover {
    color: var(--white);
    background: var(--primary-dark);
}

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    background:
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.13), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    padding: 9px 14px;
    margin-bottom: 25px;
    border: 1px solid rgba(79, 70, 229, 0.18);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    font-size: 13px;
    font-weight: 900;
}

.hero h1 {
    max-width: 650px;
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 640px;
    margin-top: 25px;
    color: var(--text);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    min-height: 50px;
    padding: 0 23px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.25);
}

.button-secondary {
    border: 1px solid var(--border);
    color: var(--dark);
    background: var(--white);
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 29px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.hero-benefits strong {
    margin-right: 5px;
    color: var(--green);
}

.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-one {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(249, 115, 22, 0.12));
}

.hero-circle-two {
    width: 330px;
    height: 330px;
    border: 1px dashed rgba(79, 70, 229, 0.4);
}

.student-card {
    position: relative;
    z-index: 3;
    width: min(440px, 92%);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    transform: rotate(-1.5deg);
}

.student-card-top,
.progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.small-label {
    color: var(--light-text);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.online-status {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.welcome-card {
    margin-top: 18px;
    padding: 20px;
    border-radius: 19px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-card span {
    font-size: 12px;
    opacity: 0.8;
}

.welcome-card h3 {
    margin-top: 3px;
    font-size: 23px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 900;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 15px;
}

.dashboard-item {
    min-height: 120px;
    padding: 18px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
}

.dashboard-item>span {
    font-size: 25px;
}

.dashboard-item strong {
    margin-top: 12px;
    font-size: 14px;
}

.dashboard-item small {
    color: var(--light-text);
    font-size: 11px;
    font-weight: 700;
}

.notes-item {
    background: #eef2ff;
}

.paper-item {
    background: #fff7ed;
}

.syllabus-item {
    background: #ecfdf5;
}

.homework-item {
    background: #fefce8;
}

.progress-card {
    margin-top: 15px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 17px;
}

.progress-heading {
    font-size: 12px;
    font-weight: 800;
}

.progress-heading strong {
    color: var(--primary);
}

.progress-bar {
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #e5e7eb;
}

.progress-value {
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #818cf8);
}

.floating-card {
    position: absolute;
    z-index: 4;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14);
    font-size: 13px;
    font-weight: 900;
}

.floating-card span {
    margin-right: 6px;
}

.floating-card-one {
    top: 100px;
    left: -10px;
}

.floating-card-two {
    right: -10px;
    bottom: 105px;
}

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid>div {
    padding: 25px 18px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.trust-grid>div:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    font-size: 16px;
}

.trust-grid span {
    margin-top: 3px;
    color: var(--light-text);
    font-size: 12px;
    font-weight: 700;
}

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.15;
    letter-spacing: -1.7px;
    font-weight: 900;
}

.section-heading p {
    max-width: 620px;
    margin: 15px auto 0;
    color: var(--text);
}

.courses-section {
    background: #ffffff;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    position: relative;
    min-height: 420px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    transition: 0.25s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.course-number {
    position: absolute;
    top: -45px;
    right: -10px;
    color: rgba(17, 24, 39, 0.05);
    font-size: 190px;
    line-height: 1;
    font-weight: 900;
}

.course-content {
    position: relative;
    z-index: 2;
}

.course-content>span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-content h3 {
    margin-top: 20px;
    font-size: 45px;
    font-weight: 900;
}

.course-content p {
    min-height: 105px;
    margin-top: 14px;
    color: var(--text);
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 28px;
}

.subject-list span {
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 900;
}

.course-content a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
}

.class-six {
    background: linear-gradient(145deg, #eff6ff, #ffffff);
}

.class-seven {
    background: linear-gradient(145deg, #fff7ed, #ffffff);
}

.class-eight {
    background: linear-gradient(145deg, #eef2ff, #ffffff);
}

.resources-section {
    background: var(--background);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #eef2ff;
    font-size: 27px;
}

.feature-card h3 {
    margin-top: 20px;
    font-size: 19px;
}

.feature-card p {
    min-height: 110px;
    margin-top: 9px;
    color: var(--text);
    font-size: 14px;
}

.feature-card a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.resource-login-box {
    margin-top: 35px;
    padding: 38px 42px;
    border-radius: 25px;
    color: var(--white);
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.resource-login-box span {
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resource-login-box h3 {
    margin-top: 5px;
    font-size: 27px;
}

.resource-login-box p {
    margin-top: 5px;
    color: #e0e7ff;
}

.button-light {
    flex-shrink: 0;
    color: var(--primary-dark);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 90px;
    align-items: center;
}

.about-visual {
    position: relative;
    min-height: 510px;
    display: grid;
    place-items: center;
    border-radius: 35px;
    background:
        radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 30%),
        linear-gradient(140deg, var(--primary), var(--primary-dark));
}

.about-box {
    width: 70%;
    padding: 45px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
    backdrop-filter: blur(10px);
}

.about-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 25px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: var(--white);
    font-size: 28px;
    font-weight: 900;
}

.about-box h3 {
    font-size: 23px;
}

.about-box p {
    margin-top: 10px;
    color: #e0e7ff;
    font-weight: 800;
}

.about-stat {
    position: absolute;

    width: 110px;
    /* Fixed width */
    padding: 12px 10px;

    background: #fff;
    border-radius: 14px;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.about-stat strong,
.about-stat span {
    display: block;
}

.about-stat strong {
    color: var(--primary);
    font-size: 23px;
}

.about-stat span {
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
}

.about-stat-one {
    top: 48px;
    right: -30px;
}

.about-stat-two {
    left: -25px;
    bottom: 55px;
}

.about-content>p {
    margin-top: 19px;
    color: var(--text);
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 35px;
}

.about-points>div {
    display: flex;
    gap: 13px;
}

.about-points>div>span {
    width: 20px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--primary);
    font-weight: 900;
}

.about-points strong {
    display: block;
    color: var(--dark);
}

.about-points p {
    color: var(--text);
    font-size: 11px;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
    transition: .3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, .15);
    border-color: #4f46e5;
}

.about-card span {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background: #eef2ff;
}

.about-card strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
    color: #111827;
}

.about-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
}

/* Starting positions */

.about-stat-one {
    top: 35px;
    left: 35px;
    animation: randomMoveOne 14s ease-in-out infinite alternate;
}

.about-stat-two {
    top: 73%;
    left: 20px;
    animation: randomMoveTwo 17s ease-in-out infinite alternate;
}

.about-stat-three {
    top: 90px;
    right: 25px;
    animation: randomMoveThree 19s ease-in-out infinite alternate;
}

/* Random movement paths */

@keyframes randomMoveOne {

    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(230px, 40px);
    }

    40% {
        transform: translate(310px, 260px);
    }

    60% {
        transform: translate(80px, 370px);
    }

    80% {
        transform: translate(260px, 170px);
    }

    100% {
        transform: translate(20px, 90px);
    }
}

@keyframes randomMoveTwo {

    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(270px, -230px);
    }

    40% {
        transform: translate(360px, 40px);
    }

    60% {
        transform: translate(150px, 150px);
    }

    80% {
        transform: translate(50px, -180px);
    }

    100% {
        transform: translate(310px, -50px);
    }
}

@keyframes randomMoveThree {

    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-270px, 100px);
    }

    40% {
        transform: translate(-100px, 320px);
    }

    60% {
        transform: translate(-340px, 220px);
    }

    80% {
        transform: translate(-180px, 30px);
    }

    100% {
        transform: translate(-40px, 380px);
    }
}

/* Hover par movement pause */

.about-visual:hover .about-stat {
    animation-play-state: paused;
}

/* Mobile */

@media(max-width:700px) {

    .about-stat {
        min-width: 105px;
        padding: 10px 12px;
    }

    .about-stat strong {
        font-size: 18px;
    }

    .about-stat span {
        font-size: 9px;
    }

    @keyframes randomMoveOne {

        0% {
            transform: translate(0, 0);
        }

        25% {
            transform: translate(150px, 50px);
        }

        50% {
            transform: translate(180px, 260px);
        }

        75% {
            transform: translate(20px, 320px);
        }

        100% {
            transform: translate(80px, 120px);
        }
    }

    @keyframes randomMoveTwo {

        0% {
            transform: translate(0, 0);
        }

        25% {
            transform: translate(170px, -150px);
        }

        50% {
            transform: translate(200px, 70px);
        }

        75% {
            transform: translate(40px, 100px);
        }

        100% {
            transform: translate(130px, -40px);
        }
    }

    @keyframes randomMoveThree {

        0% {
            transform: translate(0, 0);
        }

        25% {
            transform: translate(-140px, 70px);
        }

        50% {
            transform: translate(-50px, 260px);
        }

        75% {
            transform: translate(-180px, 170px);
        }

        100% {
            transform: translate(-20px, 320px);
        }
    }
}

@media(max-width:768px) {

    .about-points {
        grid-template-columns: 1fr;
    }

}

.notice-section {
    background: var(--background);
}

.notice-wrapper {
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--white);
}

.notice-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.notice-heading>span {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #fff7ed;
    font-size: 27px;
}

.notice-heading small {
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.notice-list article {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    gap: 17px;
}

.notice-date {
    width: 60px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 13px;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--white);
    background: var(--primary);
    line-height: 1.1;
}

.notice-date strong {
    font-size: 22px;
}

.notice-date span {
    font-size: 10px;
    font-weight: 900;
}

.notice-category {
    color: var(--secondary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.notice-list h3 {
    margin-top: 3px;
    font-size: 16px;
}

.notice-list p {
    margin-top: 4px;
    color: var(--text);
    font-size: 13px;
}

.contact-section {
    padding-top: 0;
    background: var(--background);
}

.contact-box {
    padding: 55px;
    border-radius: 30px;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.45), transparent 25%),
        linear-gradient(135deg, #111827, #312e81);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.contact-content>span {
    color: #fbbf24;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-content h2 {
    margin-top: 8px;
}

.contact-content p {
    max-width: 650px;
    margin-top: 14px;
    color: #d1d5db;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.button-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.contact-information {
    display: grid;
    gap: 13px;
}

.contact-information>div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 15px;
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-information>div>span {
    font-size: 23px;
}

.contact-information strong,
.contact-information p {
    display: block;
}

.contact-information p {
    color: #d1d5db;
    font-size: 13px;
}

.contact-information strong {
    color: var(--white);
    font-size: 14px;
}

.footer {
    padding-top: 65px;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .brand-text strong {
    color: var(--white);
}

.footer-description {
    max-width: 330px;
    margin-top: 18px;
    color: #94a3b8;
    font-size: 14px;
}

.footer h3 {
    margin-bottom: 15px;
    color: var(--white);
    font-size: 15px;
}

.footer-grid>div>a:not(.brand) {
    display: block;
    margin: 8px 0;
    color: #94a3b8;
    font-size: 13px;
}

.footer-grid>div>p:not(.footer-description) {
    margin: 8px 0;
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom {
    margin-top: 55px;
    padding: 22px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    text-align: center;
    font-size: 12px;
}

.whatsapp-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    padding: 13px 18px;
    border-radius: 999px;
    color: var(--white);
    background: #16a34a;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.3);
    font-size: 13px;
    font-weight: 900;
}

.logo-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 12px;
}

@media (max-width: 1000px) {
    .mobile-menu-button {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .navigation-open {
        display: flex;
    }

    .navigation .nav-login {
        text-align: center;
    }

    .hero-grid,
    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-benefits {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 15px;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 55px;
    }

    .about-visual {
        width: min(600px, 100%);
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand-text strong {
        font-size: 13px;
    }

    .hero {
        padding: 70px 0 45px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 8px;
    }

    .hero-visual {
        min-height: 490px;
    }

    .hero-circle-one {
        width: 330px;
        height: 330px;
    }

    .floating-card {
        font-size: 11px;
    }

    .floating-card-one {
        left: 0;
    }

    .floating-card-two {
        right: 0;
    }

    .trust-grid,
    .course-grid,
    .feature-grid,
    .notice-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid>div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-grid>div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 70px 0;
    }

    .course-card {
        min-height: auto;
    }

    .course-content p,
    .feature-card p {
        min-height: auto;
    }

    .resource-login-box {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-visual {
        min-height: 420px;
    }

    .about-stat-one {
        right: 5px;
    }

    .about-stat-two {
        left: 5px;
    }

    .notice-wrapper {
        padding: 25px 18px;
    }

    .notice-list article {
        flex-direction: column;
    }

    .contact-box {
        padding: 38px 24px;
    }

    .footer-grid {
        gap: 30px;
    }

    .whatsapp-button {
        right: 15px;
        bottom: 15px;
    }
}

/* ================================
   BOOKS STORE SECTION ONLY
================================ */

.books-store-section {
    padding: 80px 0;
    background: #f8f9fc;
}

/* Section Heading */
.books-store-section .section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 45px;
}

.books-store-section .section-label {
    display: inline-block;
    padding: 6px 15px;
    margin-bottom: 12px;

    background: #eef3ff;
    color: #315dcc;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}

.books-store-section .section-heading h2 {
    margin-bottom: 10px;

    color: #172033;
    font-size: 34px;
    font-weight: 800;
}

.books-store-section .section-heading p {
    margin: 0;

    color: #7d8797;
    font-size: 15px;
    line-height: 1.7;
}


/* ================================
   BOOK CARD
================================ */

.books-store-section .card {
    border-radius: 18px !important;
    overflow: hidden;

    background: #fff;

    border: 1px solid #e9edf3 !important;

    box-shadow: 0 5px 20px rgba(25, 35, 55, 0.06) !important;

    transition: all .3s ease;
}

.books-store-section .card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(25, 35, 55, 0.12) !important;
}


/* ================================
   BOOK IMAGE
================================ */

.books-store-section .card-img-top {
    height: 260px !important;

    width: 100%;

    object-fit: cover;

    background: #f1f3f7;

    transition: transform .4s ease;
}

.books-store-section .card:hover .card-img-top {
    transform: scale(1.04);
}


/* ================================
   CARD BODY
================================ */

.books-store-section .card-body {
    padding: 20px !important;
}


/* Class Badge */

.books-store-section .badge.bg-primary {
    background: #eef3ff !important;

    color: #315dcc !important;

    border-radius: 50px;

    padding: 6px 10px;

    font-size: 11px;
    font-weight: 700;
}


/* Subject Badge */

.books-store-section .badge.bg-light {
    background: #f3f4f6 !important;

    color: #596273 !important;

    border-radius: 50px;

    padding: 6px 10px;

    font-size: 11px;
}


/* ================================
   BOOK TITLE
================================ */

.books-store-section .card-title {
    color: #172033;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.4;

    margin-top: 8px;
    margin-bottom: 8px;

    min-height: 48px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* ================================
   DESCRIPTION
================================ */

.books-store-section .card-text {
    color: #8992a2 !important;

    font-size: 13px;

    line-height: 1.6;

    min-height: 42px;

    margin-bottom: 15px;
}


/* ================================
   PRICE
================================ */

.books-store-section .mb-3 {
    padding-top: 12px;

    border-top: 1px solid #edf0f4;

    margin-bottom: 15px !important;
}

.books-store-section .mb-3 del {
    color: #9aa2af !important;

    font-size: 13px;
}

.books-store-section .mb-3 strong {
    color: #172033 !important;

    font-size: 20px;
    font-weight: 800;
}

.books-store-section .mb-3 strong.text-success {
    color: #159a62 !important;
}


/* ================================
   ADD TO CART BUTTON
================================ */

.books-store-section .add-to-cart {
    border: 0;

    border-radius: 10px;

    padding: 11px 15px;

    background: #315dcc;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    transition: all .25s ease;
}

.books-store-section .add-to-cart:hover {
    background: #244cb4;

    transform: translateY(-1px);

    box-shadow: 0 7px 18px rgba(49, 93, 204, .25);
}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .books-store-section {
        padding: 55px 0;
    }

    .books-store-section .section-heading h2 {
        font-size: 27px;
    }

    .books-store-section .section-heading p {
        font-size: 14px;
    }

    .books-store-section .card-img-top {
        height: 240px !important;
    }

    .books-store-section .card-body {
        padding: 17px !important;
    }

}

.feature-icon.book-thumbnail {
    width: 70px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f7fb;
    cursor: pointer;
}

.feature-icon.book-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Full Screen Image Viewer */
.book-image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Big Image */
.book-image-modal img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.book-image-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    font-size: 30px;
    line-height: 40px;
    cursor: pointer;
    z-index: 100000;
}

.book-image-close:hover {
    background: #f1f1f1;
}

/* Mobile */
@media (max-width: 600px) {
    .book-image-modal {
        padding: 15px;
    }

    .book-image-modal img {
        max-width: 100%;
        max-height: 85vh;
    }

    .book-image-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

.book-image-modal {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    padding: 40px;

    background: rgba(0, 0, 0, 0.92);

    align-items: center;
    justify-content: center;

    z-index: 999999;
}


.book-image-modal.show {
    display: flex;
}


.book-image-wrapper {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: zoom-out;
}


.book-image-modal img {
    max-width: 90vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}


/* =========================================================
       CLOSE BUTTON
    ========================================================= */

.book-image-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: #ffffff;
    color: #111111;

    font-size: 34px;
    line-height: 42px;

    text-align: center;

    cursor: pointer;

    z-index: 1000000;

    transition: all 0.2s ease;
}


.book-image-close:hover {
    background: #f1f1f1;
    transform: scale(1.08);
}


/* =========================================================
       MOBILE MODAL
    ========================================================= */

@media (max-width: 600px) {

    .book-image-modal {
        padding: 15px;
    }


    .book-image-modal img {
        max-width: 95vw;
        max-height: 85vh;
    }


    .book-image-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 28px;
        line-height: 38px;
    }

}

.book-main-image-custom {
    width: 100%;
    height: 100%;
    object-fit: contain;
}