@import url('https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@500;600&family=Vazirmatn:wght@300;400;500;600;700&display=swap');

:root {
    --navy: #173e78;
    --blue: #5f8fc7;
    --soft: #e7f3fb;
    --pale: #f7fbff;
    --line: #dce8f3;
    --ink: #17395e;
    --muted: #60738c;
    --white: #ffffff;
    --danger: #a85a55;
    --shadow: 0 16px 42px rgba(43, 88, 132, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    background: #ffffff;
    color: var(--ink);
    line-height: 1.9;
}

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

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

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

button {
    cursor: pointer;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.narrow {
    max-width: 780px;
}


/* =========================================
   HEADER
========================================= */

.topbar {
    height: 78px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #eef4fa;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: 0.3s ease;
}

.topbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 35px rgba(38, 78, 113, 0.07);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    direction: rtl;
}

.brand {
    display: flex;
    align-items: center;
    flex-direction: row;
    direction: ltr;
    gap: 4px;
    justify-self: start;
}

.custom-logo {
    width: auto;
    height: 200px;
    max-width: 70px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    margin-top:20px;
    margin-bottom:5px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.brand-copy strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--navy);
}

.brand-copy em {
    margin-top: 3px;
    font-family: "Allura", cursive;
    font-size: 15px;
    font-weight: 400;
    color: #2d5f9b;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 27px;
    direction: rtl;
    font-size: 13px;
    font-weight: 500;
    justify-self: center;
}

.main-nav a {
    padding: 26px 0;
    white-space: nowrap;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    width: 0;
    height: 1.5px;
    background: #5f8fc7;
    transition: 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    justify-self: end;
}

.account-actions form {
    margin: 0;
}

.outline-pill,
.solid-pill {
    border-radius: 23px;
    padding: 8px 16px;
    font-size: 12px;
    border: 1px solid #5c8fc6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.outline-pill {
    background: white;
    color: var(--navy);
}

.solid-pill {
    background: #5f8fc7;
    color: white;
    border-color: #5f8fc7;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 24px;
}

.full {
    width: 100%;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #eaf4fb;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("/images/hero-image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(235, 245, 252, 0.02) 0%,
        rgba(235, 245, 252, 0.10) 30%,
        rgba(238, 247, 253, 0.78) 62%,
        rgba(238, 247, 253, 0.96) 100%
    );
    z-index: 1;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: radial-gradient(#224b70 0.55px, transparent 0.55px);
    background-size: 4px 4px;
    z-index: 2;
}

.hero-inner {
    position: relative;
    height: 100%;
    z-index: 3;
}

.hero-content {
    position: relative;
    width: 50%;
    height: 100%;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
}

/*.hero-floating-logo {
    position: absolute;
    top: 35px;
    right: 300px;
    transform: translateX(-50%);
    width: auto;
    height: 120px;
    max-width: 150px;
    object-fit: contain;
    z-index: 10;
}*/

.hero-lotus {
    display: none;
}

.hero-custom-logo {
    display: none;
}

.eyebrow-pill {
    display: inline-flex;
    padding: 5px 11px;
    border: 1px solid rgba(80, 132, 178, 0.25);
    border-radius: 999px;
    font-size: 8px;
    letter-spacing: 0.18em;
    color: #5486b5;
    background: rgba(255, 255, 255, 0.42);
    margin-bottom: 10px;
}

.hero-content h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(48px, 6vw, 70px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #173d73;
}

.hero-sign {
    margin-top: 5px;
    font-family: "Allura", cursive;
    font-size: 34px;
    line-height: 1.2;
    color: #235a99;
}

.hero-content p {
    margin: 15px auto 0;
    max-width: 470px;
    font-size: 15px;
    line-height: 2;
    color: #173b6b;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.primary-btn,
.ghost-btn {
    min-width: 145px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    font-size: 11px;
    transition: 0.25s ease;
}

.primary-btn {
    border: 1px solid #5f8fc7;
    background: #5f8fc7;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(75, 126, 181, 0.18);
}

.primary-btn:hover {
    background: #4f82bd;
    transform: translateY(-2px);
}

.ghost-btn {
    border: 1px solid rgba(95, 134, 182, 0.65);
    background: rgba(255, 255, 255, 0.55);
    color: #1f4e84;
    backdrop-filter: blur(8px);
}

.ghost-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.hero-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 19px;
    color: #60758d;
    font-size: 9px;
}

.hero-proof strong {
    color: #244f81;
    font-size: 12px;
}

.hero-proof i {
    display: block;
    width: 1px;
    height: 17px;
    background: #c6d9e9;
}

.hero-social {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #17477d;
    font-size: 17px;
    z-index: 5;
}

.hero-social i {
    width: 1px;
    height: 50px;
    background: #8db0d0;
}

.hero-social b {
    width: 10px;
    height: 10px;
    border: 1px solid #17477d;
    border-radius: 50%;
    background: #f0f8fd;
}

.scroll-cue {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 29px;
    z-index: 4;
}


/* =========================================
   BENEFITS
========================================= */

.benefit-wrap {
    height: 120px;
    position: relative;
    background: #fff;
}

.benefit-card {
    position: relative;
    top: -35px;
    min-height: 125px;
    background: white;
    border: 1px solid #e3edf6;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 26px;
}

.benefit-card article {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid #edf3f8;
}

.benefit-card article:last-child {
    border-left: 0;
}

.line-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #5d92c9;
    font-size: 33px;
}

.benefit-card h3 {
    margin: 0 0 4px;
    color: #3f76b0;
    font-size: 13px;
    font-weight: 500;
}

.benefit-card p {
    margin: 0;
    color: #5e6b7b;
    font-size: 10px;
    line-height: 1.9;
}


/* =========================================
   ABOUT
========================================= */

.about-section {
    position: relative;
    overflow: hidden;
    padding: 50px 0 48px;
    background: #fff;
}

.about-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.about-blob.one {
    width: 380px;
    height: 380px;
    left: -120px;
    top: 15px;
    background: rgba(218, 237, 249, 0.46);
}

.about-blob.two {
    width: 250px;
    height: 250px;
    right: 38%;
    bottom: -110px;
    background: rgba(238, 247, 252, 0.72);
}

.about-grid {
    display: grid;
    grid-template-columns: 49% 51%;
    align-items: center;
    min-height: 320px;
}

.about-copy {
    padding: 20px 15px;
}

.overline {
    font-size: 10px;
    color: #4f84bd;
    letter-spacing: 0.12em;
}

.about-copy h2 {
    margin: 5px 0 14px;
    font-size: 27px;
    color: #173d73;
}

.about-copy > p {
    font-size: 11.5px;
    color: #485a70;
    line-height: 2.2;
    margin: 0;
    max-width: 520px;
}

.about-copy .lead {
    font-size: 14px;
    color: #2f577b;
    font-weight: 500;
}

.more-link {
    display: inline-block;
    margin-top: 10px;
    color: #4c7fb5;
    font-size: 10px;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}

.soft-note {
    font-family: "Allura", cursive;
    font-size: 19px;
    color: #7ba2c5;
}

.about-photo {
    height: 330px;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: radial-gradient(circle at 50% 50%, #dceef9, #fff 72%);
    box-shadow: 0 24px 65px rgba(57, 99, 138, 0.11);
    border: 1px solid rgba(103, 151, 191, 0.13);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mina-sign {
    position: absolute;
    left: 30px;
    bottom: 25px;
    font-family: "Allura", cursive;
    font-size: 34px;
    color: #1f4f86;
}

.photo-caption {
    position: absolute;
    right: 18px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(86, 132, 170, 0.12);
    border-radius: 16px;
    padding: 10px 13px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(45, 85, 121, 0.08);
}

.photo-caption strong {
    font-size: 10px;
}

.photo-caption span {
    font-size: 8px;
    color: #718398;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.stats div {
    border: 1px solid #e4edf6;
    border-radius: 10px;
    min-height: 92px;
    padding: 10px 7px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(54, 91, 126, 0.035);
}

.stats strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 23px;
    color: #4c7fb5;
}

.stats b {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: #17395e;
}

.stats span {
    display: block;
    font-size: 8px;
    color: #67788b;
}


/* =========================================
   COURSES
========================================= */

.courses-section {
    padding: 75px 0 82px;
    background: linear-gradient(180deg, #f9fcff 0%, #fff 100%);
}

.section-heading-pro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.section-heading-pro h2 {
    font-size: 30px;
    line-height: 1.4;
    margin: 5px 0 0;
    color: #173d73;
}

.section-heading-pro.centered {
    justify-content: center;
    text-align: center;
}

.section-link {
    color: #5b88b4;
    font-size: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #aac5dc;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.course-card {
    border: 1px solid #e0eaf3;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 32px rgba(41, 82, 119, 0.055);
    transition: 0.3s ease;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 58px rgba(41, 82, 119, 0.12);
}

.course-image {
    height: 185px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-gradient {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(18, 52, 74, 0.18));
}

.course-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(9px);
    font-size: 7px;
    letter-spacing: 0.12em;
    color: #396d9a;
}

.course-icon {
    position: absolute;
    bottom: 13px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    display: grid;
    place-items: center;
    color: #5b8fc6;
    font-size: 20px;
    box-shadow: 0 5px 14px rgba(42, 86, 127, 0.14);
}

.course-body {
    text-align: center;
    padding: 16px 20px 18px;
}

.course-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #7a9bb6;
    font-size: 8px;
    margin-bottom: 4px;
}

.course-meta span {
    padding: 3px 7px;
    background: #f4f9fd;
    border-radius: 999px;
}

.course-body h3 {
    margin: 6px 0;
    color: #4d82b9;
    font-size: 15px;
}

.course-body p {
    margin: 4px auto 9px;
    color: #546273;
    font-size: 10px;
    line-height: 1.85;
    max-width: 280px;
}

.course-footer-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf3f8;
    padding-top: 11px;
    margin-top: 12px;
}

.course-footer-pro strong {
    font-size: 11px;
    color: #274f77;
}

.course-footer-pro a {
    border: 0;
    padding: 0;
    font-size: 9px;
    color: #4d7fb4;
}


/* =========================================
   LIVE EXPERIENCE
========================================= */

.experience-band {
    padding: 78px 0;
    background: linear-gradient(145deg, #244d63, #3c7089);
    color: white;
}

.experience-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.experience-grid h2 {
    font-size: 31px;
    line-height: 1.5;
    margin: 8px 0;
}

.experience-grid p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    max-width: 500px;
}

.overline.light {
    color: #b9d9e8;
}

.white-btn {
    display: inline-flex;
    margin-top: 15px;
    background: white;
    color: #315f76;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 10px;
}

.experience-ui {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    padding: 14px;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(18, 46, 60, 0.24);
}

.fake-video {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    min-height: 260px;
}

.fake-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(23, 54, 68, 0.72);
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
}

.mini-chat {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 17px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    color: #36576b;
}

.mini-chat div {
    background: #f3f8fb;
    border-radius: 11px;
    padding: 8px;
}

.mini-chat .teacher {
    background: #e9f4f9;
}

.mini-chat p {
    margin: 0;
    color: #4c6878;
    font-size: 8px;
    line-height: 1.7;
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonials {
    padding: 75px 0 85px;
    background: white;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    gap: 12px;
    align-items: center;
}

.testimonial-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 2px;
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

.quote-card {
    flex: 0 0 calc(33.333% - 12px);
    scroll-snap-align: start;
    min-height: 150px;
    border: 1px solid #e2ebf3;
    border-radius: 20px;
    padding: 20px;
    transition: 0.25s;
    background: #fff;
}

.quote-card:hover {
    box-shadow: 0 18px 42px rgba(47, 87, 123, 0.09);
    transform: translateY(-3px);
}

.quote-head {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 9px;
    align-items: center;
}

.quote-head img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-head strong {
    display: block;
    font-size: 10px;
}

.stars {
    color: #174273;
    font-size: 8px;
    letter-spacing: 1px;
}

.quote-mark {
    font: 600 29px/1 Georgia, serif;
    color: #d8e6f2;
}

.quote-card p {
    font-size: 10px;
    color: #4f5d6e;
    line-height: 1.75;
    margin-top: 14px;
}

.slider-arrow {
    border: 0;
    background: transparent;
    color: #3f76b0;
    font-size: 36px;
}


/* =========================================
   NEWSLETTER
========================================= */

.newsletter-pro {
    padding: 0 0 80px;
}

.newsletter-card {
    border: 1px solid #dfeaf3;
    border-radius: 28px;
    padding: 34px 38px;
    background: linear-gradient(135deg, #edf7fc, #fbfdff);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    box-shadow: 0 18px 45px rgba(52, 95, 132, 0.065);
}

.newsletter-card h2 {
    font-size: 27px;
    margin: 5px 0;
}

.newsletter-card p {
    color: #63778b;
    font-size: 10px;
}

.newsletter-card form {
    display: flex;
    gap: 8px;
    min-width: 390px;
}

.newsletter-card input {
    flex: 1;
    border: 1px solid #d7e5f0;
    background: white;
    border-radius: 999px;
    padding: 10px 15px;
    outline: none;
    font-size: 10px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: linear-gradient(180deg, #f4f9fe, #edf6fd);
    border-top: 1px solid #e4edf6;
    padding: 20px 0 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.7fr 0.8fr 0.8fr 0.9fr;
    gap: 28px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-grid h4 {
    margin: 0 0 5px;
    font-size: 11px;
    color: #254f80;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    margin: 0;
    font-size: 9px;
    color: #53677e;
}

.social-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    font-size: 18px !important;
    margin-top: 6px;
}

.newsletter {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    margin-top: 6px;
}

.newsletter input {
    height: 30px;
    border: 1px solid #dbe7f2;
    border-radius: 18px;
    background: white;
    padding: 0 12px 0 80px;
    width: 100%;
    font-size: 9px;
}

.newsletter button {
    position: absolute;
    left: 0;
    top: 0;
    height: 30px;
    border: 0;
    border-radius: 18px;
    background: #5e8fc4;
    color: white;
    width: 78px;
    font-size: 9px;
}

.copyright {
    text-align: center;
    margin-top: 14px;
    font-size: 8px;
    color: #74869a;
}


/* =========================================
   INTERNAL PAGES
========================================= */

.page-hero {
    padding: 80px 0;
    background: linear-gradient(145deg, #fff, #eaf5fc);
}

.page-hero h1 {
    font-size: 44px;
    margin: 5px 0;
    color: #173d73;
}

.page-hero p {
    color: var(--muted);
}

.page-grid,
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.page-grid img,
.detail-grid img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.content-page {
    padding: 70px 0;
}

.prose {
    max-width: 820px;
}

.prose h2 {
    color: #2f659d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-grid figcaption {
    padding: 10px;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.blog-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
}

.blog-card small {
    color: #7a9db9;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 35px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-info div {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.form-card,
.auth-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-card form,
.auth-card form,
.form-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-card input,
.form-card textarea,
.form-card select,
.auth-card input {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fbfdff;
}

.form-card label,
.auth-card label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

.validation,
[data-valmsg-for] {
    color: #a25550;
    font-size: 10px;
}

.auth-page {
    min-height: 75vh;
    display: grid;
    place-items: center;
    padding: 60px 20px;
    background: linear-gradient(145deg, #fff, #eaf5fc);
}

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

.auth-card h1 {
    font-size: 28px;
    margin: 20px 0 4px;
}

.auth-card > p {
    color: var(--muted);
}

.auth-brand {
    justify-content: center;
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.check-row input {
    width: auto;
}


/* =========================================
   DASHBOARD
========================================= */

.dashboard-hero {
    padding: 65px 0;
    background: linear-gradient(145deg, #eef7fc, #fff);
}

.dashboard-hero h1 {
    font-size: 42px;
    margin: 5px 0;
    color: #173d73;
}

.dashboard-hero p {
    color: #667b8d;
}

.dashboard-kpis {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.dashboard-kpis div {
    min-width: 130px;
    background: white;
    border: 1px solid #dfeaf3;
    border-radius: 18px;
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
}

.dashboard-kpis strong {
    font-size: 22px;
    color: #3f78a9;
}

.dashboard-kpis span {
    font-size: 9px;
    color: #758b9c;
}

.dashboard-page {
    background: #fbfdff;
}

.dashboard-grid {
    display: grid;
    gap: 16px;
}

.dashboard-course {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 14px;
    background: white;
    box-shadow: 0 10px 30px rgba(48, 89, 125, 0.05);
}

.dashboard-course img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    border-radius: 18px;
}

.dashboard-course-content {
    padding: 8px 8px 8px 0;
}

.dashboard-course-top {
    display: flex;
    justify-content: space-between;
}

.course-status,
.payment-status {
    font-size: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f1f7fb;
    color: #6388a3;
}

.payment-status.paid {
    background: #eaf7f3;
    color: #4f8674;
}

.dashboard-course p {
    font-size: 10px;
    color: #687c8e;
}

.progress-row {
    height: 5px;
    border-radius: 999px;
    background: #edf3f7;
    overflow: hidden;
    margin-top: 12px;
}

.progress-row span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #88b6ce, #5e8fc4);
    border-radius: 999px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 15px;
}

.empty-state {
    text-align: center;
    background: var(--pale);
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 20px;
}


/* =========================================
   ADMIN
========================================= */

.admin-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.admin-stats div {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 22px;
    display: flex;
    flex-direction: column;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.admin-table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: right;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-actions form {
    margin: 0;
}

.table-actions button {
    border: 0;
    background: none;
    color: var(--danger);
}


/* =========================================
   LIVE CLASS
========================================= */

.class-page {
    padding: 40px 0 80px;
    background: #eff7fb;
    min-height: 80vh;
}

.class-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.class-heading h1 {
    margin: 5px 0;
}

.live-badge {
    font-size: 10px;
    color: #5b8fc6;
}

.online-pill {
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
}

.class-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 18px;
    direction: ltr;
}

.video-panel,
.chat-panel {
    direction: rtl;
}

.video-panel {
    background: #284d60;
    border-radius: 24px;
    overflow: hidden;
}

.video-stage {
    position: relative;
    min-height: 500px;
}

.video-stage > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 0.78;
}

.teacher-tag {
    position: absolute;
    right: 18px;
    top: 18px;
    background: rgba(20, 55, 68, 0.72);
    color: white;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
}

.reaction-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.class-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 13px;
}

.class-controls button {
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.13);
    color: white;
    padding: 8px 11px;
}

.class-controls .danger {
    background: #9d5a55;
}

.video-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    padding: 0 16px 15px;
}

.chat-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
}

.join-box {
    padding: 14px;
    background: var(--pale);
}

.join-box input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    margin: 5px 0;
}

.messages {
    flex: 1;
    overflow: auto;
    padding: 14px;
}

.system-message {
    text-align: center;
    color: var(--muted);
    font-size: 10px;
    margin: 8px 0;
}

.chat-message {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.chat-message-head {
    display: flex;
    justify-content: space-between;
}

.chat-message-head strong {
    font-size: 10px;
    color: #507e91;
}

.chat-message-head small {
    font-size: 8px;
    color: #9aadb5;
}

.chat-message p {
    font-size: 10px;
    margin: 4px 0;
}

.message-form {
    padding: 10px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
}

.message-form input {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
}

.message-form button {
    border: 0;
    border-radius: 10px;
    background: #4b7a8f;
    color: white;
    padding: 0 12px;
}

.message-form button:disabled {
    opacity: 0.4;
}

.floating-reaction {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    animation: floatReaction 2.3s ease-out forwards;
}

@keyframes floatReaction {
    to {
        transform: translateY(-360px) scale(1.5);
        opacity: 0;
    }
}


/* =========================================
   VIDEO MODAL
========================================= */

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(18, 43, 60, 0.6);
    backdrop-filter: blur(7px);
    z-index: 200;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    padding: 20px;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-modal-card {
    width: min(850px, 100%);
    aspect-ratio: 16/9;
    background: white;
    border-radius: 26px;
    padding: 12px;
    box-shadow: 0 35px 100px rgba(8, 31, 46, 0.3);
}

.video-placeholder-pro {
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(145deg, #dcecf5, #f8fbfd);
    display: grid;
    place-content: center;
    text-align: center;
    color: #315f79;
}

.video-placeholder-pro > span {
    font-size: 54px;
}

.video-placeholder-pro strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
}

.video-placeholder-pro small {
    margin-top: 7px;
    color: #7692a3;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 25px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: white;
    color: #315f79;
    font-size: 28px;
    z-index: 201;
}


/* =========================================
   TOAST
========================================= */

.toast {
    position: fixed;
    z-index: 100;
    top: 95px;
    left: 20px;
    background: #315e70;
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 11px;
}


/* =========================================
   REVEAL
========================================= */

.reveal-pro {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-pro.in-view {
    opacity: 1;
    transform: none;
}


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

@media (max-width: 980px) {

    .nav-shell {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 18px;
        right: 18px;
        background: white;
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .account-actions {
        display: none;
    }

    .custom-logo {
        height: 42px;
    }

    .hero-content {
        width: 58%;
    }

    .hero-floating-logo {
        right: 25px;
        height: 60px;
    }

    .benefit-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit-wrap {
        height: 225px;
    }

    .about-grid,
    .page-grid,
    .detail-grid,
    .contact-layout,
    .class-layout {
        grid-template-columns: 1fr;
    }

    .about-photo {
        height: 380px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-card {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-card form {
        min-width: 0;
    }

    .quote-card {
        flex-basis: calc(50% - 9px);
    }

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

    .class-layout {
        direction: rtl;
    }
}
/* =========================================
   COURSE PATHS
========================================= */

.course-paths {
    padding: 85px 0 70px;
    background: radial-gradient( circle at 0% 50%, rgba(225, 239, 249, 0.45), transparent 28% ), #ffffff;
}

.course-paths-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: end;
    margin-bottom: 35px;
}

.course-paths-title {
    max-width: 760px;
}

.course-paths-kicker {
    display: inline-block;
    margin-bottom: 5px;
    color: #5689c2;
    font-family: "Cormorant Garamond", serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.course-paths-title h2 {
    margin: 0;
    color: #142f60;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.5;
}

.course-paths-title p {
    margin: 9px 0 0;
    max-width: 690px;
    color: #596a7e;
    font-size: 13px;
    line-height: 2.1;
}

.course-paths-all {
    min-width: 175px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7ba4d5;
    border-radius: 13px;
    background: #ffffff;
    color: #4478bb;
    font-size: 12px;
    font-weight: 600;
    transition: 0.25s ease;
}

    .course-paths-all:hover {
        background: #f4f9fd;
        transform: translateY(-2px);
    }


.course-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-path-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(46, 79, 112, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .course-path-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 28px 60px rgba(46, 79, 112, 0.13);
    }

.course-path-image {
    display: block;
    width: 100%;
    height: 255px;
    overflow: hidden;
}

    .course-path-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

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


.course-path-icon {
    position: relative;
    width: 82px;
    height: 82px;
    margin: -42px auto 0;
    display: grid;
    place-items: center;
    border: 7px solid #ffffff;
    border-radius: 50%;
    background: #eef5fb;
    color: #5a86bc;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(55, 85, 113, 0.11);
    z-index: 3;
}

.course-inperson-card .course-path-icon {
    color: #9872bf;
    background: #f5effb;
}

.course-online-card .course-path-icon {
    color: #5c89c7;
    background: #edf5fe;
}

.course-live-card .course-path-icon {
    color: #63935b;
    background: #edf7ec;
}


.course-path-body {
    padding: 15px 32px 30px;
    text-align: center;
}

    .course-path-body h3 {
        margin: 0;
        color: #152d58;
        font-size: 24px;
        font-weight: 700;
    }

.course-path-subtitle {
    margin: 7px 0 15px;
    font-size: 12px;
    font-weight: 500;
}

.course-inperson-card .course-path-subtitle {
    color: #9975bb;
}

.course-online-card .course-path-subtitle {
    color: #5a88c4;
}

.course-live-card .course-path-subtitle {
    color: #678f5d;
}

.course-path-body ul {
    margin: 0 auto 22px;
    padding: 0;
    max-width: 285px;
    list-style: none;
    text-align: right;
}

.course-path-body li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 6px;
    color: #4f5c6c;
    font-size: 11px;
    line-height: 1.9;
}

    .course-path-body li::before {
        content: "";
        position: absolute;
        right: 4px;
        top: 11px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #7895b5;
    }

.course-inperson-card li::before {
    background: #9f76c0;
}

.course-online-card li::before {
    background: #5986c3;
}

.course-live-card li::before {
    background: #6b9a61;
}


.course-path-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7ba3cf;
    border-radius: 13px;
    color: #4f7fb8;
    font-size: 11px;
    font-weight: 600;
    transition: 0.25s ease;
}

    .course-path-button:hover {
        background: #f5f9fc;
    }

.course-inperson-card .course-path-button {
    border-color: #bb94d3;
    color: #9569b7;
}

.course-online-card .course-path-button {
    border-color: #87aad8;
    color: #537fb7;
}

.course-live-card .course-path-button {
    border-color: #91b78a;
    color: #668e5e;
}


.course-path-quote {
    margin-top: 32px;
    min-height: 90px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    padding: 18px 30px;
    background: linear-gradient( 90deg, #eef6fd, #f7fbff );
    border-radius: 23px;
    color: #173864;
}

.course-path-quote-icon {
    font-size: 36px;
    color: #8ab0d2;
}

.course-path-quote p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.course-path-sign {
    color: #5485b9;
    font-family: "Allura", cursive;
    font-size: 30px;
    white-space: nowrap;
}


@media (max-width: 980px) {

    .course-paths-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .course-paths-all {
        justify-self: start;
    }

    .course-paths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-live-card {
        grid-column: 1 / -1;
        width: calc(50% - 15px);
        justify-self: center;
    }
}


@media (max-width: 680px) {

    .course-paths {
        padding: 55px 0;
    }

    .course-paths-title h2 {
        font-size: 31px;
    }

    .course-paths-title p {
        font-size: 11px;
    }

    .course-paths-grid {
        grid-template-columns: 1fr;
    }

    .course-live-card {
        grid-column: auto;
        width: 100%;
    }

    .course-path-image {
        height: 220px;
    }

    .course-path-body {
        padding: 15px 22px 25px;
    }

    .course-path-quote {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }
}

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

@media (max-width: 680px) {

    .shell {
        width: min(100% - 24px, 1180px);
    }

    .hero {
        height: 650px;
    }

    .hero-photo {
        background-position: center top;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(235, 245, 252, 0.02) 0%,
            rgba(239, 247, 253, 0.12) 35%,
            rgba(238, 247, 253, 0.88) 68%,
            #eef7fd 100%
        );
    }

    .hero-content {
        width: 100%;
        justify-content: flex-end;
        padding: 0 15px 45px;
    }

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

    .hero-sign {
        font-size: 29px;
    }

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

    .hero-floating-logo {
        top: 18px;
        right: 18px;
        height: 55px;
        max-width: 80px;
    }

    .hero-social {
        display: none;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .benefit-wrap {
        height: auto;
        padding: 15px 0;
    }

    .benefit-card {
        top: 0;
        grid-template-columns: 1fr;
        padding: 8px 18px;
    }

    .benefit-card article {
        border-left: 0;
        border-bottom: 1px solid #edf3f8;
        padding: 13px 0;
    }

    .benefit-card article:last-child {
        border-bottom: 0;
    }

    .about-grid {
        display: flex;
        flex-direction: column-reverse;
    }

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

    .courses-grid,
    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .experience-ui {
        grid-template-columns: 1fr;
    }

    .mini-chat {
        min-height: 180px;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .testimonial-slider > .slider-arrow {
        display: none;
    }

    .quote-card {
        flex-basis: 88%;
    }

    .newsletter-card {
        padding: 26px 20px;
    }

    .newsletter-card form {
        flex-direction: column;
    }

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

    .dashboard-kpis {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard-kpis div {
        min-width: 0;
    }

    .dashboard-course {
        grid-template-columns: 1fr;
    }

    .video-stage,
    .video-stage > img {
        min-height: 340px;
        height: 340px;
    }

}

/* =========================================
   Admin Management Cards
========================================= */
.admin-management-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 10px 0 45px;
}

.admin-management-card {
    min-height: 150px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dceaf5;
    border-radius: 22px;
    text-decoration: none;
    color: #123f73;
    box-shadow: 0 10px 30px rgba(30, 83, 130, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-management-card strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #123f73;
}

.admin-management-card span {
    display: block;
    font-size: 14px;
    line-height: 2;
    color: #657b91;
}

.admin-management-card:hover {
    transform: translateY(-4px);
    border-color: #9fc5e8;
    box-shadow: 0 16px 38px rgba(30, 83, 130, 0.12);
}

@media (max-width: 850px) {
    .admin-management-menu {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .admin-management-card {
        min-height: 120px;
    }
}
