/* ============================================
   SAMRIDHI CLASSES — MAIN STYLES
   ============================================ */

/* ── Background Textures ── */
.gold-particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15; /* Subtle */
}

.warm-texture-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05), transparent 70%);
    opacity: 0.8;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: var(--z-nav);
    display: flex;
    align-items: center;
    padding: 0 var(--section-px);
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
    min-height: var(--nav-height);
}

.nav.scrolled {
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: var(--ls-wide);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__logo-accent {
    color: var(--color-gold);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--duration-fast) ease;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease-luxury);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-gold);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__cta {
    font-family: var(--font-body);
    font-size: var(--text-tiny);
    font-weight: 600;
    color: var(--color-black);
    background: var(--color-gold);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    transition: all var(--duration-fast) ease;
}

.nav__cta:hover {
    background: var(--color-gold-light);
    box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    width: 44px;
    height: 44px;
    z-index: var(--z-modal);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav__toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__frame-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--color-black);
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(11, 11, 11, 0) 0%, rgba(11, 11, 11, 0.2) 50%, rgba(11, 11, 11, 0.6) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--section-px);
}

.hero__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-tiny);
    font-weight: 600;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    margin-bottom: var(--space-md);
    animation: fadeInDown 1s var(--ease-luxury) 0.3s both;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    font-weight: 700;
    color: var(--color-white-pure);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin-bottom: var(--space-xs);
    animation: fadeInUp 1s var(--ease-luxury) 0.6s both;
}

.hero__title span {
    color: var(--color-gold);
    display: inline;
}

.hero__hindi {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    opacity: 0.85;
    animation: fadeInUp 1s var(--ease-luxury) 0.75s both;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-h4);
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: var(--lh-snug);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s var(--ease-luxury) 0.9s both;
}

.hero__rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    padding: 0.4rem 1.2rem;
    margin-bottom: var(--space-lg);
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    animation: fadeInUp 1s var(--ease-luxury) 1s both;
}

.hero__rating-badge .hero__stars {
    color: var(--color-gold);
    font-size: 0.9rem;
}

.hero__buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-luxury) 1.2s both;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 1s ease 2s both;
}

.hero__scroll-indicator span {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-gold), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-small);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn--primary:hover {
    background: var(--color-gold-light);
    box-shadow: var(--shadow-gold-lg);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(245, 245, 245, 0.25);
}

.btn--outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.btn--whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

/* ── Ticker Bar ── */
.ticker-bar {
    background: var(--color-gold);
    padding: 0.8rem 0;
    overflow: hidden;
    position: relative;
}

.ticker-bar__track {
    overflow: hidden;
    width: 100%;
}

.ticker-bar__content {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.ticker-item {
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Section Styles ── */
.section {
    padding: var(--section-py) 0;
    position: relative;
    z-index: 10;
}

.section--alt {
    background: radial-gradient(circle at center 0%, rgba(212, 175, 55, 0.05) 0%, var(--color-dark-surface) 60%, var(--color-black) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}

.section--deep {
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, #080e18 100%);
}

.section--cta {
    background: linear-gradient(135deg, var(--color-deep-blue), #0a1220);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.section__header {
    text-align: center;
    margin-bottom: clamp(4rem, 8vw, 6rem);
    max-width: 800px;
    margin-inline: auto;
}

.section__label {
    font-family: var(--font-body);
    font-size: var(--text-tiny);
    font-weight: 600;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    display: block;
}

.section__title {
    font-family: var(--font-heading);
    font-size: var(--text-h2);
    font-weight: 700;
    color: var(--color-white-pure);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.section__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: var(--space-sm) auto 0;
    line-height: var(--lh-relaxed);
}

/* ── Why Choose Us Grid ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.why-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-gold);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold-subtle);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    transition: all var(--duration-normal) ease;
}

.why-card:hover .why-card__icon {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-weight: 600;
    color: var(--color-white-pure);
    margin-bottom: var(--space-xs);
}

.why-card__desc {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
}

/* ── About Section ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: brightness(0.9);
}

.about__image-frame {
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: 15px;
    left: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about__content {
    padding: var(--space-lg) 0;
}

.about__name {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-white-pure);
    margin-bottom: var(--space-xs);
}

.about__role {
    font-size: var(--text-small);
    color: var(--color-gold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.about__quote {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-style: italic;
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
    padding-left: var(--space-md);
    margin-bottom: var(--space-lg);
    line-height: var(--lh-snug);
    opacity: 0.9;
}

.about__text {
    color: var(--color-text-secondary);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-md);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-dark-border);
}

.stat__number {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-gold);
    display: inline;
}

.stat__number-suffix {
    font-family: var(--font-heading);
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--color-gold);
}

.stat__label {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-top: 0.25rem;
    display: block;
}

/* ── Course Cards ── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.course-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 3vw, 3rem);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--color-gold-subtle);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    transition: all var(--duration-normal) ease;
}

.course-card:hover .course-card__icon {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: var(--shadow-gold);
}

.course-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-weight: 600;
    color: var(--color-white-pure);
    margin-bottom: var(--space-xs);
}

.course-card__desc {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
}

.course-card__topics {
    list-style: none;
    text-align: left;
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md);
    background: rgba(212, 175, 55, 0.04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.course-card__topics li {
    font-size: var(--text-tiny);
    color: var(--color-text-secondary);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    padding-left: 1rem;
}

.course-card__topics li:last-child {
    border-bottom: none;
}

.course-card__topics li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 700;
}

.course-card__classes {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.course-card__tag {
    font-size: var(--text-tiny);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--color-dark-border);
    border-radius: 100px;
    color: var(--color-text-muted);
    letter-spacing: var(--ls-wide);
}

/* ── Achievements ── */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.achievement-card {
    padding: var(--space-xl) var(--space-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(212, 175, 55, 0.03);
    transition: all var(--duration-normal) ease;
}

.achievement-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-4px);
}

.achievement__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-gold);
    display: inline;
    line-height: 1;
}

.achievement__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-gold);
}

.achievement__label {
    display: block;
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin-top: var(--space-sm);
    letter-spacing: var(--ls-wide);
}

/* ── Facilities ── */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.facility-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    transition: all var(--duration-normal) var(--ease-smooth);
}

.facility-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.facility-card__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--color-gold-subtle);
    border-radius: var(--radius-md);
    color: var(--color-gold);
}

.facility-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-weight: 600;
    color: var(--color-white-pure);
    margin-bottom: 0.4rem;
}

.facility-card__desc {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
}

/* ── Schedule Card ── */
.schedule-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.schedule-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid var(--color-dark-border);
}

.schedule-card__icon {
    font-size: 2rem;
}

.schedule-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-weight: 600;
    color: var(--color-white-pure);
}

.schedule-card__subtitle {
    font-size: var(--text-small);
    color: var(--color-gold);
}

.schedule-card__body {
    padding: var(--space-md) var(--space-lg);
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row__day {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.schedule-row__time {
    font-size: var(--text-small);
    color: var(--color-gold);
    font-weight: 600;
}

.schedule-card__footer {
    padding: var(--space-md) var(--space-lg);
    background: rgba(212, 175, 55, 0.03);
    border-top: 1px solid var(--color-dark-border);
}

.schedule-card__footer p {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    text-align: center;
}

/* ── Reviews ── */
.reviews__rating {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.reviews__number {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    font-weight: 700;
    color: var(--color-gold);
}

.reviews__stars {
    font-size: 1.5rem;
    margin: var(--space-xs) 0;
    color: var(--color-gold);
}

.reviews__count {
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.reviews-slider {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: var(--space-sm) 0;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    position: relative;
}

.review-card__quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.review-card__text {
    font-size: var(--text-body);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.review-card__author {
    font-weight: 600;
    color: var(--color-white);
    font-size: var(--text-small);
}

.review-card__role {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    margin-top: 0.2rem;
}

.review-card__stars {
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

/* ── Rating Breakdown (reviews page) ── */
.rating-breakdown {
    max-width: 400px;
    margin: 0 auto var(--space-xl);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.rating-bar__label {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    min-width: 2rem;
    text-align: right;
}

.rating-bar__track {
    flex: 1;
    height: 6px;
    background: var(--color-dark-border);
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--color-gold);
    border-radius: 3px;
    transition: width 1.5s var(--ease-luxury);
}

.rating-bar__count {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    min-width: 1.5rem;
}

/* ── Contact Section ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--color-gold-subtle);
    border-radius: var(--radius-md);
    color: var(--color-gold);
}

.contact-item__label {
    font-size: var(--text-tiny);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item__value {
    font-size: var(--text-body);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
}

.contact-item__value a {
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.contact-item__value a:hover {
    color: var(--color-gold);
}

.contact__cta-row {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-dark-border);
    min-height: 350px;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

/* ── FAQ Accordion ── */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-dark-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem 0;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--duration-fast) ease;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-question__icon {
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question__icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.2rem;
}

.faq-answer p {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
}

/* ── Footer ── */
.footer {
    background: var(--color-dark-surface);
    border-top: 1px solid var(--color-dark-border);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer__brand span {
    color: var(--color-gold);
}

.footer__hindi {
    font-size: var(--text-body);
    color: var(--color-gold);
    opacity: 0.7;
    margin-top: 0.3rem;
}

.footer__tagline {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    line-height: var(--lh-normal);
}

.footer__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-sm);
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.footer__stars {
    color: var(--color-gold);
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--color-white-pure);
    margin-bottom: var(--space-md);
    letter-spacing: var(--ls-wide);
}

.footer__nav {
    list-style: none;
}

.footer__nav li {
    margin-bottom: 0.6rem;
    font-size: var(--text-small);
    color: var(--color-text-muted);
}

.footer__nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer__nav a:hover {
    color: var(--color-gold);
}

.footer__bottom {
    border-top: 1px solid var(--color-dark-border);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__copy {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
}

/* Legacy footer compat */
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
}

.footer__links a {
    font-size: var(--text-tiny);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.footer__links a:hover {
    color: var(--color-gold);
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 600;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: floatSlow 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__label {
    display: inline;
}

/* ── Page Headers (inner pages) ── */
.page-header {
    padding: calc(var(--nav-height) + var(--space-4xl)) 0 calc(var(--space-3xl) + 2rem);
    text-align: center;
    background: radial-gradient(ellipse at center 0%, #15243b 0%, var(--color-black) 80%);
    position: relative;
    overflow: hidden;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    width: 100%;
    height: 100vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 30%, transparent 60%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    font-weight: 700;
    color: var(--color-white-pure);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.page-header__sub {
    font-size: var(--text-body);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
}

/* ── Timeline ── */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold), rgba(212, 175, 55, 0.1));
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gold);
    border: 3px solid var(--color-black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.timeline-item__year {
    font-family: var(--font-heading);
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.3rem;
}

.timeline-item__title {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--color-white-pure);
    margin-bottom: 0.3rem;
}

.timeline-item__desc {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    line-height: var(--lh-normal);
}

/* ── Comparison Table ── */
.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: var(--space-2xl) auto;
    max-width: 800px;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    /* Forces scroll on small phones instead of squishing text */
    border-collapse: collapse;
    background: rgba(212, 175, 55, 0.02);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-dark-border);
    font-size: var(--text-small);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    font-size: var(--text-tiny);
}

.comparison-table td {
    color: var(--color-text-secondary);
}

.comparison-table td:first-child {
    color: var(--color-white);
    font-weight: 500;
}

.comparison-table .highlight {
    color: var(--color-gold);
    font-weight: 600;
}

.comparison-table .dim {
    color: var(--color-text-muted);
    opacity: 0.6;
}

/* ══════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {

    /* Navigation */
    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-luxury);
        gap: 1.8rem;
        z-index: var(--z-overlay);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 5rem 1rem;
    }

    .nav__links.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

    /* Hero */
    .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero__video {
        object-fit: cover;
    }

    /* Grids */
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__image-wrap {
        max-width: 400px;
        margin: 0 auto 1.5rem auto;
    }

    .about__stats {
        justify-items: center;
    }

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

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

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

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* WhatsApp */
    .whatsapp-float__label {
        display: none;
    }

    .whatsapp-float {
        padding: 0.9rem;
        border-radius: 50%;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    /* Review cards */
    .review-card {
        flex: 0 0 280px;
    }

    /* Contact CTA */
    .contact__cta-row {
        flex-direction: column;
    }

    .contact__cta-row .btn {
        width: 100%;
        text-align: center;
    }

    .contact__map,
    .contact__map iframe {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__rating-badge {
        flex-direction: column;
        gap: 0.2rem;
    }

    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

/* Scroll Lock Helper */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* ── Theme Toggle 3D ── */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}
.theme-switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 32px;
}
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #111;
  transition: 0.4s;
  border-radius: 32px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  border: 1px solid var(--color-dark-border);
}
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 2px;
  bottom: 2px;
  background-color: #D4AF37; /* Sun/Moon color */
  border-radius: 50%;
  transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: inset -2px -2px 4px rgba(0,0,0,0.3), 0 2px 5px rgba(0,0,0,0.5);
  z-index: 2;
}
input:checked + .slider {
  background-color: #D6E0D3;
  border-color: #A3AFA0;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 1px 1px rgba(255,255,255,0.8);
}
input:checked + .slider::before {
  transform: translateX(32px);
  background-color: #FFDF73; /* Brighter sun */
  box-shadow: inset -2px -2px 4px rgba(200,100,0,0.2), 0 2px 10px rgba(255,200,0,0.5);
}
.sun-icon, .moon-icon {
  font-size: 14px;
  z-index: 1;
  line-height: 1;
}

/* ── Light Mode Effects (Leaves & Branches) ── */
.branch-overlay {
  position: fixed;
  top: 0;
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  transition: opacity 1.5s ease;
  width: 350px;
  max-width: 40vw;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
.branch-overlay.left { left: 0; transform: scaleX(-1); }
.branch-overlay.right { right: 0; }
[data-theme="light"] .branch-overlay { opacity: 0.9; }

#leavesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  transition: opacity 1s ease;
}
[data-theme="light"] #leavesCanvas {
  opacity: 1;
}
[data-theme="light"] .warm-texture-bg {
  background: radial-gradient(circle at 50% 0%, rgba(74, 103, 65, 0.08), transparent 80%);
}
[data-theme="light"] .gold-particles-bg {
  opacity: 0; /* Hide gold particles in light mode */
}