/* =========================================================
   MYARA COURSES
   COMPLETE DARK COURSE PAGE CSS
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", Arial, sans-serif;
    background: #080b14;
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    min-height: 78px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    background: rgba(8, 11, 20, 0.94);

    border-bottom: 1px solid #202638;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(18px);
}


/* BRAND */

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.25);
}

.brand h2,
.footer-brand h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 25px;
    line-height: 1;

    letter-spacing: 1px;

    color: #ffffff;
}


/* NAVIGATION */

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    position: relative;

    font-size: 15px;
    font-weight: 600;

    color: #a7afc0;

    transition: 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: #ffffff;
}

.navbar nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #6366f1;

    transition: 0.3s ease;
}

.navbar nav a:hover::after,
.navbar nav a.active::after {
    width: 100%;
}


/* NAV BUTTON */

.nav-btn {
    padding: 12px 20px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    transition: 0.3s ease;

    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.25);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;

    padding: 90px 7%;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(99, 102, 241, 0.16),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(6, 182, 212, 0.13),
            transparent 35%
        ),
        #080b14;

    overflow: hidden;
}


/* HERO LEFT */

.hero-left {
    max-width: 700px;
}

.small-label {
    display: inline-flex;
    align-items: center;

    padding: 9px 15px;

    border-radius: 50px;

    background: #111827;

    border: 1px solid #293247;

    color: #b8c0d0;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.2px;

    margin-bottom: 24px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2);
}


.hero h1 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.02;

    letter-spacing: -2px;

    color: #ffffff;

    margin-bottom: 25px;
}


.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #818cf8,
        #22d3ee
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-left > p {
    max-width: 620px;

    font-size: 17px;

    color: #9ca6b8;

    line-height: 1.8;

    margin-bottom: 32px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 45px;

    flex-wrap: wrap;
}


.primary-btn,
.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 13px;

    font-size: 15px;
    font-weight: 700;

    transition: 0.3s ease;
}


.primary-btn {
    background: linear-gradient(
        135deg,
        #6366f1,
        #06b6d4
    );

    color: #ffffff;

    gap: 12px;

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.25);
}


.primary-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(99, 102, 241, 0.35);
}


.primary-btn span {
    font-size: 20px;

    transition: 0.3s ease;
}


.primary-btn:hover span {
    transform: translateX(4px);
}


.secondary-btn {
    background: #111827;

    border: 1px solid #30394d;

    color: #e5e7eb;
}


.secondary-btn:hover {
    transform: translateY(-3px);

    border-color: #6366f1;

    color: #ffffff;
}


/* HERO FEATURES */

.hero-features {
    display: flex;
    align-items: center;

    gap: 0;

    max-width: 580px;
}


.hero-features > div {
    min-width: 150px;

    padding-right: 25px;
    margin-right: 25px;

    border-right: 1px solid #303748;
}


.hero-features > div:last-child {
    border-right: none;

    padding-right: 0;
    margin-right: 0;
}


.hero-features strong {
    display: block;

    font-size: 25px;

    color: #ffffff;
}


.hero-features span {
    display: block;

    font-size: 12px;

    color: #7f899b;

    margin-top: 2px;
}


/* =========================================================
   HERO RIGHT
   ========================================================= */

.hero-right {
    display: flex;

    justify-content: center;
    align-items: center;
}


.hero-main-card {
    width: min(430px, 100%);

    min-height: 470px;

    position: relative;

    border-radius: 35px;

    background:
        linear-gradient(
            145deg,
            #111827,
            #171e31
        );

    border: 1px solid #293247;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.4);

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


.hero-main-card::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(99, 102, 241, 0.08);

    top: -120px;
    right: -100px;
}


.hero-main-card::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    border: 1px solid rgba(99, 102, 241, 0.15);

    bottom: -130px;
    left: -100px;
}


/* FLOATING ICONS */

.floating-icon {
    position: absolute;

    width: 58px;
    height: 58px;

    border-radius: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);

    font-size: 25px;

    z-index: 3;

    animation: floatIcon 4s ease-in-out infinite;
}


.icon-one {
    top: 60px;
    left: 45px;
}


.icon-two {
    top: 120px;
    right: 35px;

    animation-delay: 1s;
}


.icon-three {
    bottom: 105px;
    left: 45px;

    animation-delay: 2s;
}


@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* LEARNING CIRCLE */

.learning-circle {
    width: 230px;
    height: 230px;

    border-radius: 50%;

    padding: 13px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #06b6d4
        );

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    z-index: 2;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);
}


.circle-inner {
    width: 100%;
    height: 100%;

    border-radius: 50%;

    background: #0d111c;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


.circle-inner span {
    color: #a5b4fc;

    font-size: 24px;

    font-weight: 900;

    letter-spacing: 2px;
}


.circle-inner strong {
    color: #ffffff;

    font-size: 38px;

    font-family: "Playfair Display", Georgia, serif;
}


.hero-card-text {
    position: relative;

    z-index: 3;

    text-align: center;

    margin-top: 35px;
}


.hero-card-text strong {
    display: block;

    color: #ffffff;

    font-size: 19px;
}


.hero-card-text span {
    display: block;

    color: #8f99aa;

    font-size: 13px;

    margin-top: 5px;
}


/* =========================================================
   COURSE SECTION
   ========================================================= */

.course-section {
    padding: 100px 7%;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(99, 102, 241, 0.07),
            transparent 30%
        ),
        #0b0f19;
}


.section-top {
    max-width: 1200px;

    margin: 0 auto 55px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}


.section-label {
    display: inline-block;

    color: #818cf8;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.8px;

    margin-bottom: 10px;
}


.section-top h2,
.free-heading h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.15;

    color: #ffffff;

    margin-bottom: 12px;
}


.section-top p,
.free-heading p {
    color: #8f99aa;

    font-size: 15px;
}


.course-count {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px 20px;

    border-radius: 16px;

    background: #111827;

    border: 1px solid #293247;
}


.course-count strong {
    font-size: 35px;

    line-height: 1;

    color: #ffffff;
}


.course-count span {
    font-size: 12px;

    line-height: 1.4;

    color: #8f99aa;
}


/* =========================================================
   COURSE CARDS
   ========================================================= */

.cards {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.course-card {
    position: relative;

    padding: 27px;

    background:
        linear-gradient(
            145deg,
            #111827,
            #0e1421
        );

    border: 1px solid #252e42;

    border-radius: 22px;

    transition: 0.35s ease;

    overflow: hidden;
}


.course-card:hover {
    transform: translateY(-7px);

    border-color: #46506a;

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.35);
}


.course-card.featured {
    border-color: #4f46e5;
}


.featured-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 6px 10px;

    border-radius: 30px;

    background: rgba(99, 102, 241, 0.15);

    color: #a5b4fc;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;
}


/* CARD TOP */

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 20px;
}


.course-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    font-size: 25px;

    background: #1a2232;

    border: 1px solid #2c364b;
}


.category {
    padding: 7px 10px;

    border-radius: 30px;

    background: #171e2d;

    color: #9ba5b7;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.8px;
}


.course-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    color: #ffffff;

    font-size: 24px;

    line-height: 1.25;

    margin-bottom: 12px;
}


.course-card > p {
    color: #929caf;

    font-size: 14px;

    line-height: 1.7;

    min-height: 72px;

    margin-bottom: 20px;
}


/* CARD INFO */

.card-info {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 24px;
}


.card-info span {
    padding: 6px 9px;

    border-radius: 8px;

    background: #171e2d;

    color: #8994a8;

    font-size: 10px;

    font-weight: 600;

    border: 1px solid #252e40;
}


/* CARD BOTTOM */

.card-bottom {
    display: grid;

    grid-template-columns: 1fr auto auto;

    align-items: center;

    gap: 8px;

    padding-top: 20px;

    border-top: 1px solid #252d3e;
}


.price small {
    display: block;

    color: #7f899b;

    font-size: 10px;
}


.price strong {
    display: block;

    color: #ffffff;

    font-size: 23px;

    line-height: 1.2;
}


.card-bottom button {
    min-height: 38px;

    padding: 0 11px;

    border-radius: 9px;

    border: 1px solid #354057;

    background: #141b29;

    color: #c5ccda;

    font-size: 11px;

    font-weight: 700;

    transition: 0.3s ease;
}


.card-bottom button:hover {
    border-color: #818cf8;

    color: #ffffff;

    background: #1a2233;
}


.card-bottom .enroll {
    border-color: #6366f1;

    background: linear-gradient(
        135deg,
        #6366f1,
        #4f46e5
    );

    color: #ffffff;
}


.card-bottom .enroll:hover {
    background: linear-gradient(
        135deg,
        #818cf8,
        #6366f1
    );

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.25);
}


/* =========================================================
   FREE SECTION
   ========================================================= */

.free-section {
    padding: 100px 7%;

    background:
        radial-gradient(
            circle at 10% 80%,
            rgba(6, 182, 212, 0.08),
            transparent 30%
        ),
        #080b14;
}


.free-heading {
    max-width: 1200px;

    margin: 0 auto 45px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}


.free-label {
    padding: 12px 18px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #06b6d4
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.2);
}


.free-cards {
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.free-card {
    display: flex;

    align-items: flex-start;

    gap: 17px;

    padding: 22px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #111827,
            #0e1421
        );

    border: 1px solid #252e42;

    transition: 0.3s ease;
}


.free-card:hover {
    transform: translateY(-5px);

    border-color: #3d4760;

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.3);
}


.free-icon {
    min-width: 50px;
    height: 50px;

    border-radius: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #1a2232;

    border: 1px solid #2c364b;

    font-size: 23px;
}


.free-card span {
    color: #818cf8;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1px;
}


.free-card h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 21px;

    color: #ffffff;

    margin: 3px 0 5px;
}


.free-card p {
    color: #8994a8;

    font-size: 12px;

    line-height: 1.6;

    margin-bottom: 10px;
}


.free-card button {
    padding: 0;

    border: none;

    background: transparent;

    color: #c7d2fe;

    font-size: 12px;

    font-weight: 800;
}


.free-card button:hover {
    color: #ffffff;

    text-decoration: underline;
}


/* =========================================================
   MODAL
   ========================================================= */

.modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.82);

    backdrop-filter: blur(10px);

    z-index: 5000;

    overflow-y: auto;
}


.modal.active {
    display: flex;
}


/*
   JS may use .show instead of .active.
   Keeping both makes the modal compatible.
*/

.modal.show {
    display: flex;
}


.modal-content {
    width: min(650px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    position: relative;

    padding: 35px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #111827,
            #0e1421
        );

    border: 1px solid #303a50;

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.6);

    animation: modalOpen 0.25s ease;
}


@keyframes modalOpen {

    from {
        opacity: 0;

        transform:
            translateY(20px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


/* CLOSE */

.close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: none;

    background: #20283a;

    color: #cbd5e1;

    font-size: 24px;

    line-height: 1;

    transition: 0.25s ease;
}


.close:hover {
    background: #6366f1;

    color: #ffffff;

    transform: rotate(90deg);
}


/* MODAL HEADING */

.modal-heading {
    margin-bottom: 25px;

    padding-right: 40px;
}


.modal-heading > span {
    color: #818cf8;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.modal-heading h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 32px;

    line-height: 1.2;

    color: #ffffff;

    margin: 7px 0 8px;
}


.modal-heading p {
    color: #929caf;

    font-size: 13px;
}


/* =========================================================
   SYLLABUS
   ========================================================= */

#syllabusContent {
    color: #aab3c3;

    font-size: 14px;

    line-height: 1.7;
}


#syllabusContent ul {
    padding-left: 20px;

    margin: 10px 0;
}


#syllabusContent li {
    margin-bottom: 7px;
}


.modal-admission {
    width: 100%;

    margin-top: 25px;

    min-height: 48px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #06b6d4
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s ease;
}


.modal-admission:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.25);
}


/* =========================================================
   ADMISSION FORM
   ========================================================= */

.admission-content {
    width: min(560px, 100%);
}


#admissionForm {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


#admissionForm label {
    margin-top: 8px;

    color: #cbd5e1;

    font-size: 12px;

    font-weight: 800;
}


#admissionForm input,
#admissionForm select {
    width: 100%;

    min-height: 47px;

    padding: 0 14px;

    border-radius: 11px;

    border: 1px solid #303a50;

    outline: none;

    background: #0b101c;

    color: #ffffff;

    font-size: 13px;

    transition: 0.25s ease;
}


#admissionForm input:focus,
#admissionForm select:focus {
    border-color: #6366f1;

    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.15);
}


#admissionForm input::placeholder {
    color: #697386;
}


/* SELECT OPTIONS */

#admissionForm select option {
    background: #111827;

    color: #ffffff;
}


/* =========================================================
   PAYMENT SUMMARY
   ========================================================= */

.payment-summary {
    margin-top: 18px;

    padding: 17px;

    border-radius: 14px;

    background: #111827;

    border: 1px solid #293247;
}


.payment-summary > div {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 7px 0;
}


.payment-summary > div + div {
    border-top: 1px solid #293247;
}


.payment-summary span {
    color: #8994a8;

    font-size: 12px;
}


.payment-summary strong {
    color: #ffffff;

    font-size: 14px;

    text-align: right;
}


/* =========================================================
   PAYMENT BOX
   ========================================================= */

.payment-box {
    margin-top: 18px;

    padding: 22px;

    border-radius: 18px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #111827,
            #151d2d
        );

    border: 1px solid #303a50;
}


.payment-box h3 {
    color: #ffffff;

    font-size: 20px;

    margin-bottom: 5px;
}


.payment-box > p {
    color: #8994a8;

    font-size: 12px;

    margin-bottom: 18px;
}


/* QR */

.qrcode {
    width: 236px;

    min-height: 236px;

    margin: 0 auto 18px;

    padding: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 15px;

    border: 1px solid #e4e7ee;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3);
}


.qrcode img {
    width: 220px;
    height: 220px;

    margin: auto;
}


/* UPI INFO */

.upi-info {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;

    margin-bottom: 15px;
}


.upi-info span {
    color: #8994a8;

    font-size: 11px;
}


.upi-info strong {
    padding: 6px 10px;

    border-radius: 7px;

    background: #20283a;

    color: #ffffff;

    font-size: 12px;
}


/* UPI BUTTON */

.upi-button {
    min-height: 45px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #6366f1,
            #06b6d4
        );

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    transition: 0.3s ease;
}


.upi-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.25);
}


.payment-note {
    display: block;

    max-width: 350px;

    margin: 13px auto 0;

    color: #6f798c;

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.submit-btn {
    width: 100%;

    min-height: 52px;

    margin-top: 18px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #6366f1,
            #06b6d4
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s ease;
}


.submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(99, 102, 241, 0.25);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 45px 7% 30px;

    background: #05070d;

    color: #ffffff;

    text-align: center;

    border-top: 1px solid #202638;
}


.footer-brand {
    justify-content: center;

    margin-bottom: 18px;
}


.footer-brand h2 {
    color: #ffffff;
}


.footer-brand .brand-logo {
    background:
        linear-gradient(
            135deg,
            #6366f1,
            #06b6d4
        );

    color: #ffffff;
}


footer p {
    color: #8f99aa;

    font-size: 14px;

    margin-bottom: 15px;
}


footer small {
    color: #667085;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 0 4%;
    }


    .navbar nav {
        gap: 18px;
    }


    .hero {
        padding: 75px 5%;

        gap: 40px;
    }


    .course-section,
    .free-section {
        padding-left: 5%;

        padding-right: 5%;
    }


    .cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .free-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .navbar {
        min-height: 70px;

        padding: 10px 5%;

        gap: 10px;
    }


    .navbar nav {
        display: none;
    }


    .nav-btn {
        margin-left: auto;

        padding: 10px 14px;

        font-size: 11px;
    }


    .brand-logo {
        width: 40px;
        height: 40px;

        border-radius: 12px;

        font-size: 19px;
    }


    .brand h2 {
        font-size: 21px;
    }


    .hero {
        grid-template-columns: 1fr;

        padding: 65px 5% 75px;

        text-align: center;

        gap: 55px;
    }


    .hero-left {
        max-width: none;
    }


    .small-label {
        font-size: 10px;
    }


    .hero h1 {
        font-size: clamp(
            42px,
            12vw,
            62px
        );

        letter-spacing: -1.5px;
    }


    .hero-left > p {
        font-size: 14px;

        max-width: 600px;

        margin-left: auto;

        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;

        margin-bottom: 35px;
    }


    .hero-features {
        justify-content: center;

        width: 100%;
    }


    .hero-features > div {
        min-width: 0;

        flex: 1;

        padding-right: 12px;

        margin-right: 12px;
    }


    .hero-features strong {
        font-size: 20px;
    }


    .hero-features span {
        font-size: 10px;
    }


    .hero-main-card {
        min-height: 400px;

        max-width: 400px;
    }


    .learning-circle {
        width: 190px;

        height: 190px;
    }


    .circle-inner span {
        font-size: 20px;
    }


    .circle-inner strong {
        font-size: 30px;
    }


    .section-top,
    .free-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .course-count {
        align-self: flex-start;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .free-cards {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .navbar {
        padding-left: 4%;

        padding-right: 4%;
    }


    .nav-btn {
        display: none;
    }


    .hero {
        padding-left: 4%;

        padding-right: 4%;
    }


    .hero h1 {
        font-size: 42px;
    }


    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }


    .primary-btn,
    .secondary-btn {
        width: 100%;
    }


    .hero-features {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);
    }


    .hero-features > div {
        padding-right: 8px;

        margin-right: 8px;
    }


    .hero-main-card {
        min-height: 360px;

        border-radius: 27px;
    }


    .floating-icon {
        width: 48px;

        height: 48px;

        font-size: 20px;
    }


    .icon-one {
        top: 45px;

        left: 25px;
    }


    .icon-two {
        top: 80px;

        right: 22px;
    }


    .icon-three {
        bottom: 80px;

        left: 25px;
    }


    .learning-circle {
        width: 165px;

        height: 165px;
    }


    .circle-inner span {
        font-size: 17px;
    }


    .circle-inner strong {
        font-size: 27px;
    }


    .hero-card-text {
        margin-top: 25px;
    }


    .hero-card-text strong {
        font-size: 16px;
    }


    .course-section,
    .free-section {
        padding: 70px 4%;
    }


    .section-top h2,
    .free-heading h2 {
        font-size: 34px;
    }


    .course-card {
        padding: 22px;
    }


    .course-card h3 {
        font-size: 22px;
    }


    .card-bottom {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }


    .price {
        grid-column: 1 / -1;

        margin-bottom: 5px;
    }


    .card-bottom button {
        width: 100%;
    }


    .modal {
        padding: 12px;
    }


    .modal-content {
        padding: 25px 18px;

        border-radius: 20px;

        max-height: 94vh;
    }


    .modal-heading h2 {
        font-size: 27px;
    }


    .payment-box {
        padding: 15px;
    }


    .qrcode {
        width: 210px;

        min-height: 210px;
    }


    .qrcode img {
        width: 195px;

        height: 195px;
    }


    .free-card {
        padding: 18px;
    }


    footer {
        padding-left: 5%;

        padding-right: 5%;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {

    outline:
        3px solid
        rgba(129, 140, 248, 0.45);

    outline-offset: 3px;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #080b14;
}


::-webkit-scrollbar-thumb {
    background: #30394d;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {
    background: #4b5872;
}


/* =========================================================
   BODY MODAL LOCK
   ========================================================= */

body.modal-open {
    overflow: hidden;
}
/* =====================================================
   ADMIN BUTTON
   ===================================================== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 11px 18px;

    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.30);
}

.admin-btn:active {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {

    .nav-actions {
        gap: 8px;
    }

    .admin-btn {
        padding: 9px 12px;
        font-size: 13px;
    }
}