/* =========================================================
   مدرسة النخبة الخاصة — الهوية البصرية الليلية الفاخرة (RTL Responsive)
   خلفيات مصورة مخصصة بدون أي خلفيات بيضاء أو رمادية فاتحة
========================================================= */

:root {
    --navy-950: #090f1d;
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --gold-600: #ca8a04;
    --gold-500: #eab308;
    --gold-400: #facc15;
    --gold-100: #fef9c3;
    --emerald-600: #16a34a;
    --emerald-500: #22c55e;
    --emerald-400: #4ade80;
    --red-500: #ef4444;
    --red-400: #f87171;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;

    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-bg-strong: rgba(15, 23, 42, 0.88);
    --glass-input: rgba(9, 15, 29, 0.8);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-gold: rgba(234, 179, 8, 0.36);

    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 55px rgba(0, 0, 0, 0.45);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100%;
    font-size: 16px;
    color-scheme: dark;
}

body {
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--navy-950);
    background-image: linear-gradient(rgba(9, 15, 29, 0.72), rgba(9, 15, 29, 0.78)),
                      url('assets/images/bg-admissions-hall.png');
    background-size: cover;
    background-position: center;
    color: var(--slate-200);
    line-height: 1.7;
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Fix RTL number/email reversal */
.ltr-text {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.container {
    width: min(1240px, 100% - 2rem);
    margin-inline: auto;
}

.section {
    padding-block: clamp(3.75rem, 6vw, 6rem);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    background: rgba(234, 179, 8, 0.14);
    color: var(--gold-400);
    border: 1px solid rgba(234, 179, 8, 0.34);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    backdrop-filter: blur(8px);
}

.section-badge.dark {
    background: rgba(234, 179, 8, 0.16);
    color: var(--gold-400);
    border-color: rgba(234, 179, 8, 0.38);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.65rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.28;
    margin-bottom: 0.85rem;
}

.section-header h2 span {
    color: var(--gold-400);
}

.section-header p {
    font-size: clamp(0.98rem, 1.4vw, 1.12rem);
    color: var(--slate-300);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.78rem 1.75rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    min-height: 42px;
    padding: 0.55rem 1.25rem;
    font-size: 0.92rem;
}

.btn-block {
    width: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    box-shadow: 0 8px 22px rgba(234, 179, 8, 0.35);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(234, 179, 8, 0.48);
    filter: brightness(1.06);
}

.blue-btn {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.blue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.48);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--gold-400);
    color: var(--gold-400);
}

.outline-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-400);
    border-color: rgba(234, 179, 8, 0.65);
    backdrop-filter: blur(6px);
}

.outline-btn:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    border-color: transparent;
}

/* =========================================================
   Navbar & Mobile Drawer (Dark Frosted Glass)
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    padding-block: 1rem;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.78) 0%, rgba(9, 15, 29, 0) 100%);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar.scrolled,
.navbar.navbar-solid {
    background: rgba(9, 15, 29, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 179, 8, 0.22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    padding-block: 0.75rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

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

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav-links a {
    color: rgba(248, 250, 252, 0.92);
    font-weight: 600;
    font-size: 0.96rem;
    padding-block: 0.35rem;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-400);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.75);
    color: var(--white);
    font-size: 1.25rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    border-color: var(--gold-400);
    color: var(--gold-400);
}

/* Mobile Drawer */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 9, 18, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100dvh;
    background: linear-gradient(175deg, rgba(9, 15, 29, 0.98) 0%, rgba(15, 23, 42, 0.96) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(234, 179, 8, 0.22);
    color: var(--white);
    z-index: 1100;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--slate-200);
    transition: var(--transition);
}

.drawer-links a:hover,
.drawer-links a.active {
    background: rgba(234, 179, 8, 0.15);
    color: var(--gold-400);
}

.drawer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* =========================================================
   Hero Section
========================================================= */
.hero {
    min-height: 100svh;
    background: url('assets/images/hero-campus.png') no-repeat center center / cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 6.5rem;
    padding-bottom: 3rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(9, 15, 29, 0.84) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(30, 58, 138, 0.62) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
    color: var(--white);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(234, 179, 8, 0.16);
    border: 1px solid rgba(234, 179, 8, 0.45);
    color: var(--gold-400);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.15rem;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
    color: var(--gold-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.24rem);
    color: rgba(248, 250, 252, 0.9);
    max-width: 670px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.75rem;
}

/* Stats Strip inside Hero */
.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:first-child {
    border-inline-start: none;
}

.stat-number {
    font-size: clamp(1.45rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.85);
    margin-top: 0.2rem;
}

/* =========================================================
   Sub-page Hero (Image-Backed)
========================================================= */
.page-hero {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    background: linear-gradient(155deg, rgba(9, 15, 29, 0.72) 0%, rgba(23, 37, 84, 0.68) 100%),
                url('assets/images/bg-admissions-hall.png') center / cover no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
}

.page-hero.packages-hero {
    background: linear-gradient(155deg, rgba(9, 15, 29, 0.7) 0%, rgba(23, 37, 84, 0.68) 100%),
                url('assets/images/bg-stem-abstract.png') center / cover no-repeat;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--slate-300);
    margin-bottom: 1rem;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
}

.breadcrumb a {
    color: var(--gold-400);
    font-weight: 600;
}

.page-hero h1 {
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(248, 250, 252, 0.88);
    max-width: 660px;
    margin-inline: auto;
    font-size: 1.05rem;
}

/* =========================================================
   About & Features Section (bg-library-mood)
========================================================= */
.about-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.75) 100%),
                url('assets/images/bg-library-mood.png') center / cover no-repeat;
}

.about-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    margin-bottom: 4rem;
}

.about-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.about-img-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    aspect-ratio: 4 / 3;
}

.about-img-card.tall {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.about-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-card:hover img {
    transform: scale(1.04);
}

.about-text h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.about-text p {
    color: var(--slate-300);
    margin-bottom: 1.25rem;
    font-size: 1.03rem;
}

.accreditation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.acc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(234, 179, 8, 0.3);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    backdrop-filter: blur(8px);
}

.acc-badge i {
    color: var(--gold-400);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--glass-bg-strong);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--glass-border-gold);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 1.15rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.55rem;
}

.feature-card p {
    color: var(--slate-300);
    font-size: 0.96rem;
}

/* =========================================================
   Academic Stages Section (bg-stage-luxury)
========================================================= */
.stages-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.66) 0%, rgba(15, 23, 42, 0.74) 100%),
                url('assets/images/bg-stage-luxury.png') center / cover no-repeat;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stage-card {
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.stage-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-gold);
    box-shadow: var(--shadow-lg);
}

.stage-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.stage-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stage-card:hover .stage-img-wrap img {
    transform: scale(1.06);
}

.stage-age {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(9, 15, 29, 0.88);
    border: 1px solid rgba(234, 179, 8, 0.4);
    color: var(--gold-400);
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.stage-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stage-grades {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-400);
    margin-bottom: 0.35rem;
}

.stage-body h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.65rem;
}

.stage-body p {
    font-size: 0.92rem;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.stage-highlights {
    list-style: none;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--slate-200);
}

.stage-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stage-highlights i {
    color: var(--emerald-400);
}

.stage-body .btn {
    margin-top: auto;
}

/* =========================================================
   Special Offers & Scholarships Section (bg-campus-night)
========================================================= */
.offers-section {
    background: linear-gradient(155deg, rgba(9, 15, 29, 0.68) 0%, rgba(23, 37, 84, 0.68) 100%),
                url('assets/images/bg-campus-night.png') center / cover no-repeat;
    color: var(--white);
}

.countdown-banner {
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(12px);
}

.countdown-info h3 {
    font-size: 1.35rem;
    color: var(--gold-400);
    margin-bottom: 0.3rem;
}

.countdown-info p {
    color: rgba(248, 250, 252, 0.85);
    font-size: 0.96rem;
}

.countdown-boxes {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.time-box {
    min-width: 72px;
    padding: 0.75rem 0.6rem;
    border-radius: 14px;
    background: rgba(9, 15, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
}

.time-box strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gold-400);
    line-height: 1.1;
}

.time-box span {
    font-size: 0.78rem;
    color: var(--slate-300);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.offer-card {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.offer-card.featured {
    background: linear-gradient(160deg, rgba(234, 179, 8, 0.18), rgba(15, 23, 42, 0.86));
    border-color: rgba(234, 179, 8, 0.55);
}

.offer-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-400);
    background: rgba(15, 23, 42, 0.88);
}

.offer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.18);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.offer-badge {
    background: var(--gold-500);
    color: var(--navy-950);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
}

.offer-card h3 {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.55rem;
}

.offer-card p {
    color: rgba(248, 250, 252, 0.84);
    font-size: 0.92rem;
    margin-bottom: 1rem;
    flex: 1;
}

.offer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--slate-300);
    padding: 0.65rem 0.8rem;
    background: rgba(9, 15, 29, 0.65);
    border-radius: 10px;
    margin-bottom: 1.15rem;
}

.offer-code {
    color: var(--gold-400);
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* =========================================================
   Packages Section (bg-stem-abstract — Dark Glass Cards)
========================================================= */
.packages-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-stem-abstract.png') center / cover no-repeat;
    color: var(--white);
    position: relative;
}

.billing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2.75rem;
}

.billing-toggle {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.35rem;
    border-radius: var(--radius-pill);
    gap: 0.35rem;
    backdrop-filter: blur(10px);
}

.billing-btn {
    border: none;
    background: transparent;
    color: var(--slate-200);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.billing-btn.active {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
}

.save-tag {
    background: rgba(9, 15, 29, 0.85);
    color: var(--emerald-400);
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.82) 100%);
    backdrop-filter: blur(16px);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    border: 1px solid rgba(96, 165, 250, 0.32);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(96, 165, 250, 0.6);
}

.pricing-card.popular {
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.94) 0%, rgba(23, 37, 84, 0.9) 100%);
    border: 2px solid var(--gold-500);
}

.pricing-card.premium {
    background: linear-gradient(165deg, rgba(30, 41, 59, 0.92) 0%, rgba(9, 15, 29, 0.94) 100%);
    border: 1px solid rgba(234, 179, 8, 0.45);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--navy-950);
    padding: 0.35rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.86rem;
    box-shadow: 0 6px 16px rgba(234, 179, 8, 0.4);
    white-space: nowrap;
}

.pkg-tagline {
    font-size: 0.92rem;
    color: var(--slate-300);
    margin-bottom: 1.25rem;
}

.card-header h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.price-box {
    padding-block: 1rem;
    margin-bottom: 1.25rem;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.price-amount {
    font-size: 2.65rem;
    font-weight: 800;
    color: var(--blue-400);
    line-height: 1.1;
}

.pricing-card.popular .price-amount,
.pricing-card.premium .price-amount {
    color: var(--gold-400);
}

.price-period {
    font-size: 0.95rem;
    color: var(--slate-300);
    font-weight: 600;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--slate-200);
}

.features-list li i {
    margin-top: 0.25rem;
    color: var(--emerald-400);
    flex-shrink: 0;
}

.features-list li.disabled {
    color: var(--slate-400);
    text-decoration: line-through;
}

.features-list li.disabled i {
    color: var(--red-400);
}

.pkg-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pkg-detail-link {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold-400);
    padding: 0.35rem;
    transition: var(--transition);
}

.pkg-detail-link:hover {
    text-decoration: underline;
}

.packages-footer-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* =========================================================
   Photo Gallery & Lightbox (bg-library-mood)
========================================================= */
.gallery-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-library-mood.png') center / cover no-repeat;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.76);
    color: var(--slate-200);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: var(--navy-950);
    border-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--navy-900);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.25rem 1rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(9, 15, 29, 0.92) 100%);
    color: var(--white);
}

.gallery-caption h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.gallery-caption span {
    font-size: 0.8rem;
    color: var(--gold-400);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 9, 18, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(234, 179, 8, 0.3);
    position: relative;
}

.lightbox-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
}

.lightbox-info {
    padding: 1.25rem 1.5rem;
    color: var(--white);
}

.lightbox-info h3 {
    color: var(--gold-400);
    margin-bottom: 0.35rem;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(9, 15, 29, 0.85);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 1.2rem;
    cursor: pointer;
}

/* =========================================================
   Testimonials (bg-campus-night) & FAQ (bg-stem-abstract)
========================================================= */
.testimonials-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-campus-night.png') center / cover no-repeat;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stars {
    color: var(--gold-400);
    display: flex;
    gap: 0.25rem;
}

.testimonial-quote {
    color: var(--slate-200);
    font-size: 0.98rem;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-500), var(--blue-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.84rem;
    color: var(--slate-400);
}

/* FAQ Accordion */
.faq-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.7) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-stem-abstract.png') center / cover no-repeat;
}

.faq-list {
    max-width: 860px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    background: var(--glass-bg-strong);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
    font-size: 1.04rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
}

.faq-question i {
    color: var(--gold-400);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

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

.faq-answer-inner {
    padding: 0 1.4rem 1.25rem;
    color: var(--slate-300);
    font-size: 0.96rem;
}

/* =========================================================
   Contact & Tour Booking Section (bg-admissions-hall)
========================================================= */
.contact-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-admissions-hall.png') center / cover no-repeat;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: stretch;
}

.contact-info-card {
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.88), rgba(23, 37, 84, 0.84));
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
    font-size: 1.55rem;
    font-weight: 800;
}

.contact-info-card > p {
    color: var(--slate-300);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(9, 15, 29, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.contact-method i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(234, 179, 8, 0.2);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-method small {
    display: block;
    color: var(--slate-400);
    font-size: 0.8rem;
}

.contact-method strong {
    font-size: 0.98rem;
    color: var(--white);
}

.campus-preview-card {
    margin-top: auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    position: relative;
    aspect-ratio: 16 / 9;
}

.campus-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campus-preview-label {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 0.75rem 1rem;
    background: rgba(9, 15, 29, 0.86);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-400);
}

.form-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.form-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.form-card > p {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--slate-200);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    background: var(--glass-input);
    color: var(--white);
    font-size: 0.98rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--slate-400);
}

select.form-control option {
    background-color: var(--navy-900);
    color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-400);
    background: rgba(9, 15, 29, 0.95);
    box-shadow: 0 0 0 4px rgba(234, 179, 8, 0.16);
}

.form-control.invalid {
    border-color: var(--red-500);
    background: rgba(127, 29, 29, 0.35);
}

.form-feedback {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-feedback.success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(22, 163, 74, 0.18);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.form-feedback.error {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.45);
}

/* =========================================================
   Packages Calculator & Comparison Table (packages.html)
========================================================= */
.calculator-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-admissions-hall.png') center / cover no-repeat;
}

.calculator-box {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 2rem;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-lg);
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.calc-summary {
    background: linear-gradient(160deg, rgba(9, 15, 29, 0.92), rgba(23, 37, 84, 0.86));
    border: 1px solid rgba(234, 179, 8, 0.28);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-summary h3 {
    color: var(--gold-400);
    font-size: 1.3rem;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
}

.summary-line.discount {
    color: var(--emerald-400);
}

.summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.summary-total strong {
    font-size: 2rem;
    color: var(--gold-400);
}

.addons-check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.check-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    background: rgba(9, 15, 29, 0.68);
    color: var(--slate-200);
    cursor: pointer;
    transition: var(--transition);
}

.check-tile:hover {
    border-color: var(--gold-400);
    background: rgba(15, 23, 42, 0.9);
}

.check-tile-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.check-tile input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-500);
}

/* Comparison Table */
.comparison-section {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.7) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-library-mood.png') center / cover no-repeat;
}

.table-scroll-wrap {
    overflow-x: auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    text-align: right;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: var(--slate-200);
}

.comparison-table thead th {
    background: rgba(9, 15, 29, 0.92);
    color: var(--white);
    font-weight: 800;
}

.comparison-table thead th.popular-col {
    background: rgba(23, 37, 84, 0.95);
    color: var(--gold-400);
}

.comparison-table tbody td:first-child {
    font-weight: 700;
    color: var(--white);
    background: rgba(9, 15, 29, 0.55);
}

.comparison-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.14);
}

/* =========================================================
   Registration Page (register.html — Image-Backed)
========================================================= */
.register-main {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-admissions-hall.png') center / cover no-repeat;
}

.register-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.pkg-radio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.pkg-radio-card {
    position: relative;
    cursor: pointer;
}

.pkg-radio-card input {
    position: absolute;
    opacity: 0;
}

.pkg-radio-inner {
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: rgba(9, 15, 29, 0.72);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.pkg-radio-card input:checked + .pkg-radio-inner {
    border-color: var(--gold-400);
    background: rgba(37, 99, 235, 0.28);
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.22);
}

.pkg-radio-inner strong {
    color: var(--white);
    font-size: 1rem;
}

.pkg-radio-inner span {
    color: var(--gold-400);
    font-weight: 800;
    font-size: 0.95rem;
}

.sticky-summary {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.receipt-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 2px solid var(--emerald-500);
    box-shadow: var(--shadow-lg);
    display: none;
}

.receipt-card.visible {
    display: block;
}

.receipt-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.18);
    margin-bottom: 1.5rem;
}

.receipt-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(22, 163, 74, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #86efac;
    font-weight: 800;
}

.receipt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.receipt-field {
    background: rgba(9, 15, 29, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

.receipt-field small {
    display: block;
    color: var(--slate-400);
    font-size: 0.82rem;
}

.receipt-field strong {
    color: var(--white);
    font-size: 1rem;
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* Saved Applications History */
.history-section {
    margin-top: 3rem;
}

.history-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.history-item {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: var(--shadow-sm);
}

.history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ref-badge {
    font-weight: 800;
    color: var(--gold-400);
    background: rgba(234, 179, 8, 0.14);
    border: 1px solid rgba(234, 179, 8, 0.35);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* Privacy Policy Content */
.privacy-main {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.68) 0%, rgba(15, 23, 42, 0.76) 100%),
                url('assets/images/bg-library-mood.png') center / cover no-repeat;
}

.policy-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    max-width: 920px;
    margin-inline: auto;
}

.policy-block {
    margin-bottom: 2rem;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h2 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.policy-block h2 i {
    color: var(--gold-400);
}

.policy-block p,
.policy-block li {
    color: var(--slate-300);
    font-size: 0.98rem;
}

.policy-block ul {
    padding-inline-start: 1.35rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* =========================================================
   Footer (bg-campus-night)
========================================================= */
footer {
    background: linear-gradient(180deg, rgba(9, 15, 29, 0.9) 0%, rgba(5, 9, 18, 0.96) 100%),
                url('assets/images/bg-campus-night.png') center / cover no-repeat;
    color: var(--white);
    padding-top: 4rem;
    padding-bottom: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.15fr;
    gap: 2.25rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--slate-300);
    margin-block: 1rem 1.35rem;
    font-size: 0.95rem;
}

.socials {
    display: flex;
    gap: 0.75rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.socials a:hover {
    background: var(--gold-500);
    color: var(--navy-950);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1.12rem;
    margin-bottom: 1.15rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 2px;
    background: var(--gold-500);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul a {
    color: var(--slate-300);
    font-size: 0.94rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold-400);
    padding-right: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-300);
    margin-bottom: 0.85rem;
    font-size: 0.94rem;
}

.footer-contact-item i {
    color: var(--gold-400);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--slate-400);
    font-size: 0.9rem;
}

/* =========================================================
   Floating Quick Buttons
========================================================= */
.floating-actions {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.float-whatsapp {
    background: #22c55e;
    color: var(--white);
}

.float-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

.float-top {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: var(--gold-400);
    opacity: 0;
    visibility: hidden;
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   Scroll Reveal Animations (Safe Fallback)
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================================
   Responsive Breakpoints (Desktop -> Tablet -> Mobile)
========================================================= */
@media (min-width: 1024px) {
    .pricing-card.popular {
        transform: scale(1.03);
    }

    .pricing-card.popular:hover {
        transform: scale(1.03) translateY(-6px);
    }
}

@media (max-width: 1120px) {
    .stages-grid,
    .offers-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .about-split,
    .contact-grid,
    .calculator-box,
    .register-layout {
        grid-template-columns: 1fr;
    }

    .sticky-summary {
        position: static;
    }

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

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

    .stat-item {
        border-inline-start: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.75rem;
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
        padding-bottom: 0.25rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.5rem, 1240px);
    }

    .hero {
        padding-top: 5.25rem;
        padding-bottom: 4.5rem;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .features-grid,
    .stages-grid,
    .offers-grid,
    .pricing-grid,
    .gallery-grid,
    .testimonials-grid,
    .footer-grid,
    .form-grid,
    .pkg-radio-grid,
    .receipt-grid,
    .history-list {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: span 1;
    }

    .countdown-banner {
        padding: 1.25rem;
    }

    .countdown-boxes {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .time-box {
        min-width: 0;
        padding: 0.6rem 0.25rem;
    }

    .time-box strong {
        font-size: 1.25rem;
    }

    .billing-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .billing-btn {
        flex: 1;
        justify-content: center;
        padding-inline: 0.65rem;
        font-size: 0.86rem;
    }

    .floating-actions {
        bottom: 0.85rem;
        left: 0.85rem;
    }
}

/* Print Receipt Styles */
@media print {
    .navbar,
    .page-hero,
    .register-form-card,
    .sticky-summary,
    .history-section,
    .receipt-actions,
    .floating-actions,
    footer {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #0f172a !important;
    }

    .receipt-card {
        display: block !important;
        background: #ffffff !important;
        color: #0f172a !important;
        border: 1px solid #0f172a;
        box-shadow: none;
    }

    .receipt-card * {
        color: #0f172a !important;
        background: transparent !important;
    }
}
