/* ============================================
   THE MAITREBUILDER SCHOOL - NAVY & GOLD DESIGN
   Primary: #000033 | Accent: #FFD700 | White: #FFFFFF
   ============================================ */

:root {
    --navy-900: #000033;
    --navy-800: #000044;
    --navy-700: #000055;
    --navy-600: #000066;
    --navy-100: #e6e6f0;
    --navy-50: #f5f5fa;
    
    --gold: #FFD700;
    --gold-light: #FFED4A;
    --gold-dark: #CCA800;
    --gold-100: #FFF9E6;
    --gold-50: #FFFDF5;
    
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F0F0F0;
    --gray-200: #E0E0E0;
    --gray-300: #CCCCCC;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #333333;
    --gray-800: #222222;
    --gray-900: #111111;
    
    --teal: #00B4D8;
    --teal-light: #E6F9FC;
    --green: #28A745;
    --green-light: #E6F9EA;
    --red: #DC3545;
    --red-light: #FDE8EA;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Georgia', 'Times New Roman', serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--navy-900); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--navy-900);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--navy-900);
    padding: 0;
    transition: all var(--transition);
}

.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gold);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 22px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(255,215,0,0.1);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-sans);
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-900);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy-900);
    border: 2px solid var(--navy-900);
}

.btn-outline-navy:hover {
    background: var(--navy-900);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--radius-lg); }

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links, .nav-actions { display: none; }
    .nav-mobile-toggle { display: block; }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,51,0.85) 0%, rgba(0,0,51,0.5) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--white);
}

.hero-slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.1;
}

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

.hero-slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-dot.active {
    background: var(--gold);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-900);
}

.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

@media (max-width: 768px) {
    .hero-slider { height: 100vh; min-height: 500px; }
    .hero-arrow { display: none; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--navy-900);
    padding: 0;
}

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

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
    background: rgba(255,215,0,0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { padding: 20px 15px; }
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-section {
    padding: 80px 0;
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.welcome-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.welcome-content p {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.7;
}

.welcome-mission {
    background: var(--navy-50);
    border-left: 4px solid var(--navy-900);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .welcome-grid { grid-template-columns: 1fr; }
    .welcome-section { padding: 50px 0; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
    padding: 80px 0;
}

.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gold-100);
    color: var(--navy-900);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 12px;
}

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

.section-navy .section-title span { color: var(--gold); }

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-500);
    font-size: 16px;
}

/* ============================================
   PROGRAMS CARDS
   ============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.program-card:hover {
    border-color: var(--navy-900);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.program-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.program-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-features li {
    font-size: 13px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-features li::before {
    content: '✓';
    color: var(--gold-dark);
    font-weight: 700;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: gap var(--transition);
}

.program-link:hover { gap: 10px; color: var(--gold-dark); }

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

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,51,0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

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

/* ============================================
   WHY CHOOSE US
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.advantage-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.advantage-card p {
    font-size: 13px;
    color: var(--gray-500);
}

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

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-body {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.news-body h4 {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-body p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-link {
    color: var(--navy-900);
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover { color: var(--gold-dark); }

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--navy-900);
}

.testimonial-role {
    font-size: 12px;
    color: var(--gray-500);
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--navy-900);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    margin: 16px 0 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--navy-900);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MOBILE NAV MENU
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0; bottom: 0;
    background: var(--navy-900);
    z-index: 999;
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    padding: 14px 16px;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius);
    font-size: 16px;
    transition: all var(--transition);
}

.mobile-menu a:hover {
    background: rgba(255,215,0,0.1);
    color: var(--gold);
}

/* ============================================
   ADMIN FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.05);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flash-msg {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.4s ease;
    max-width: 380px;
}

.flash-success { background: var(--green-light); color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: var(--red-light); color: #721c24; border: 1px solid #f5c6cb; }
.flash-info { background: var(--teal-light); color: #0c5460; border: 1px solid #bee5eb; }
.flash-warning { background: var(--gold-100); color: #856404; border: 1px solid #ffeeba; }

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    margin-left: 12px;
}

/* ============================================
   LOADER
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--navy-900);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* About Grid */
.about-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .about-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* About Card */
.about-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--transition);
}

.about-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-900);
    transform: translateY(-4px);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--white);
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-900);
}

.about-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-list li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 24px;
    position: relative;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    font-weight: 700;
}

/* ============================================
   VALUES GRID
   ============================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

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

.value-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--navy-900);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.value-card h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.value-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--navy-900);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--navy-900);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.timeline-content h4 {
    font-size: 17px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}
/* ============================================
   FONT AWESOME ICON STYLES
   ============================================ */

/* Value Icons */
.value-icon {
    width: 64px;
    height: 64px;
    background: var(--navy-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all var(--transition);
}

.value-icon i {
    font-size: 24px;
    color: var(--navy-900);
}

.value-card:hover .value-icon {
    background: var(--navy-900);
}

.value-card:hover .value-icon i {
    color: var(--gold);
}

/* Program Icons */
.program-icon {
    width: 60px;
    height: 60px;
    background: var(--navy-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all var(--transition);
}

.program-icon i {
    font-size: 24px;
    color: var(--navy-900);
}

.program-card:hover .program-icon {
    background: var(--navy-900);
}

.program-card:hover .program-icon i {
    color: var(--gold);
}

/* Advantage Icons */
.advantage-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all var(--transition);
}

.advantage-icon i {
    font-size: 22px;
    color: var(--navy-900);
}

.advantage-card:hover .advantage-icon {
    background: var(--navy-900);
}

.advantage-card:hover .advantage-icon i {
    color: var(--gold);
}

/* About Card Icons */
.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-card-icon i {
    font-size: 26px;
    color: var(--white);
}
/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    padding: 20px;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    min-height: 650px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Brand Side */
.login-brand {
    background: var(--navy-900);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-brand-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,215,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255,215,0,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.login-brand-content {
    position: relative;
    z-index: 1;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 48px;
}

.login-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.login-logo h2 {
    font-size: 18px;
    color: var(--white);
    margin: 0;
    line-height: 1.3;
}

.login-logo span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: block;
    font-weight: 400;
}

.login-brand h1 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.login-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.login-feature-item i {
    color: var(--gold);
    font-size: 16px;
}

/* Form Side */
.login-form-section {
    padding: 50px 40px;
    display: flex;
    align-items: center;
}

.login-form-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.login-form-header {
    margin-bottom: 32px;
}

.login-form-header h3 {
    font-size: 26px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.login-form-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.login-label-row label {
    margin-bottom: 0;
}

.login-label-row a {
    font-size: 12px;
    color: var(--navy-900);
    font-weight: 500;
    text-decoration: none;
}

.login-label-row a:hover {
    color: var(--gold-dark);
}

.login-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-wrapper > i {
    position: absolute;
    left: 14px;
    color: var(--gray-400);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}

.login-input-wrapper input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    transition: all 0.3s ease;
    background: var(--white);
}

.login-input-wrapper input:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.06);
}

.login-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.login-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    z-index: 2;
}

.login-toggle-password:hover {
    color: var(--gray-600);
}

.login-remember {
    display: flex;
    align-items: center;
}

.login-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-600);
    user-select: none;
}

.login-checkbox input {
    display: none;
}

.login-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.login-checkbox input:checked + .login-checkmark {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.login-checkbox input:checked + .login-checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.login-submit-btn:hover {
    background: #000044;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.login-submit-btn i {
    transition: transform 0.3s ease;
}

.login-submit-btn:hover i {
    transform: translateX(3px);
}

/* Divider */
.login-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: var(--gray-200);
}

.login-divider span {
    position: relative;
    background: var(--white);
    padding: 0 12px;
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Demo Buttons */
.login-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.login-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    background: var(--white);
}

.login-demo-admin {
    border-color: #fecaca;
    color: #991b1b;
}
.login-demo-admin:hover { background: #fef2f2; }

.login-demo-teacher {
    border-color: #bfdbfe;
    color: #1e40af;
}
.login-demo-teacher:hover { background: #eff6ff; }

.login-demo-student {
    border-color: #a7f3d0;
    color: #065f46;
}
.login-demo-student:hover { background: #ecfdf5; }

.login-demo-parent {
    border-color: #fde68a;
    color: #92400e;
}
.login-demo-parent:hover { background: #fffbeb; }

/* Register Link */
.login-register-link {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 24px;
}

.login-register-link a {
    color: var(--navy-900);
    font-weight: 600;
    text-decoration: none;
}

.login-register-link a:hover {
    color: var(--gold-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .login-brand {
        padding: 36px 28px;
    }
    
    .login-brand h1 {
        font-size: 24px;
    }
    
    .login-features {
        display: none;
    }
    
    .login-form-section {
        padding: 36px 28px;
    }
}
/* ============================================
   REGISTER PAGE
   ============================================ */
.register-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    padding: 20px;
}

.register-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-width: 1100px;
    width: 100%;
    min-height: 700px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Form Side */
.register-form-section {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.register-form-container {
    max-width: 480px;
    margin: 0 auto;
}

.register-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.register-back-link:hover {
    color: var(--navy-900);
}

.register-form-header h3 {
    font-size: 26px;
    color: var(--navy-900);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.register-form-header p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.register-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 5px;
}

.register-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.register-input-wrapper > i {
    position: absolute;
    left: 14px;
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.register-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    transition: all 0.3s ease;
    background: var(--white);
}

.register-input-wrapper input:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.06);
}

.register-input-wrapper input::placeholder {
    color: var(--gray-400);
}

.register-toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 13px;
    z-index: 2;
}

.register-toggle-password:hover {
    color: var(--gray-600);
}

/* Role Selection */
.register-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.register-role-card {
    cursor: pointer;
}

.register-role-card input {
    display: none;
}

.register-role-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.register-role-content i {
    font-size: 24px;
    color: var(--gray-400);
    transition: color 0.3s;
}

.register-role-content span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.register-role-content small {
    font-size: 11px;
    color: var(--gray-400);
}

.register-role-card input:checked + .register-role-content {
    border-color: var(--navy-900);
    background: var(--navy-50);
}

.register-role-card input:checked + .register-role-content i {
    color: var(--navy-900);
}

.register-role-card input:checked + .register-role-content span {
    color: var(--navy-900);
}

/* Terms */
.register-terms {
    margin-top: 2px;
}

.register-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-600);
    user-select: none;
    line-height: 1.5;
}

.register-checkbox input {
    display: none;
}

.register-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.register-checkbox input:checked + .register-checkmark {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.register-checkbox input:checked + .register-checkmark::after {
    content: '✓';
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.register-checkbox a {
    color: var(--navy-900);
    font-weight: 500;
    text-decoration: underline;
}

/* Submit Button */
.register-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 4px;
}

.register-submit-btn:hover {
    background: #000044;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.register-submit-btn i {
    transition: transform 0.3s ease;
}

.register-submit-btn:hover i {
    transform: translateX(3px);
}

.register-login-link {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 20px;
}

.register-login-link a {
    color: var(--navy-900);
    font-weight: 600;
    text-decoration: none;
}

.register-login-link a:hover {
    color: var(--gold-dark);
}

/* Brand Side */
.register-brand {
    background: var(--navy-900);
    padding: 50px 40px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.register-brand-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,215,0,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.register-brand-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.register-brand-icon {
    width: 64px;
    height: 64px;
    background: var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.register-brand-icon i {
    font-size: 28px;
    color: var(--navy-900);
}

.register-brand h2 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.register-brand > .register-brand-content > p {
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 36px;
}

.register-benefits h4 {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.register-benefit-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.register-benefit-item i {
    font-size: 16px;
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.register-benefit-item strong {
    display: block;
    font-size: 13px;
    color: var(--white);
    margin-bottom: 2px;
}

.register-benefit-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.register-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-top: 28px;
    border-left: 3px solid var(--gold);
}

.register-note i {
    color: var(--gold);
    font-size: 15px;
    margin-top: 1px;
}

.register-note span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .register-container {
        grid-template-columns: 1fr;
    }
    
    .register-brand {
        display: none;
    }
    
    .register-form-section {
        padding: 30px 24px;
    }
    
    .register-row {
        grid-template-columns: 1fr;
    }
    
    .register-role-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   DASHBOARD LAYOUT
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 70px;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-user-info h4 {
    font-size: 14px;
    color: var(--navy-900);
    margin: 0;
    line-height: 1.3;
}

.sidebar-user-info span {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}

.sidebar-nav {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.sidebar-link:hover {
    background: var(--gray-50);
    color: var(--navy-900);
}

.sidebar-link.active {
    background: var(--navy-50);
    color: var(--navy-900);
    font-weight: 600;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--gray-200);
}

.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-logout:hover {
    background: #fef2f2;
}

/* Sidebar Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 10px;
    z-index: 110;
    width: 40px;
    height: 40px;
    background: var(--navy-900);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: 24px 28px;
    background: var(--gray-50);
    min-height: calc(100vh - 70px);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-header h1 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.dashboard-header p {
    font-size: 13px;
    color: var(--gray-500);
}

/* Child Selector */
.child-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.child-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 250px;
    position: relative;
}

.child-card:hover {
    border-color: var(--navy-900);
}

.child-card.active {
    border-color: var(--navy-900);
    background: var(--navy-50);
}

.child-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.child-info h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.child-info span {
    font-size: 12px;
    color: var(--gray-500);
}

.child-active-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    color: var(--green);
    font-size: 18px;
}

/* Stats Grid */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.dashboard-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dashboard-stat-info h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.dashboard-stat-info p {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.stat-trend {
    font-size: 11px;
    font-weight: 500;
}

.stat-trend.up { color: #059669; }
.stat-trend.down { color: #d97706; }

/* Content Grid */
.dashboard-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.dashboard-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
}

.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-card-header h3 {
    font-size: 16px;
    color: var(--navy-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card-header h3 i {
    color: var(--navy-900);
    font-size: 16px;
}

.dashboard-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    margin-top: 16px;
    transition: gap 0.2s;
}

.dashboard-view-all:hover {
    gap: 10px;
}

/* Table */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--gray-200);
    background: var(--gray-50);
}

.dashboard-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.dashboard-table tbody tr:hover {
    background: var(--gray-50);
}

.grade {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.grade-a { background: #ecfdf5; color: #059669; }
.grade-b { background: #eff6ff; color: #2563eb; }
.grade-c { background: #fffbeb; color: #d97706; }
.grade-d { background: #fef2f2; color: #dc2626; }

/* Fee Status */
.fee-status {
    margin-bottom: 4px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.fee-row span {
    color: var(--gray-500);
}

.fee-row strong {
    color: var(--navy-900);
}

.fee-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.fee-progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.fee-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.fee-progress-label {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
    display: block;
}

/* Notifications */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--gray-50);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.notification-item p {
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 2px;
    line-height: 1.4;
}

.notification-item span {
    font-size: 11px;
    color: var(--gray-400);
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}

.quick-action-btn:hover {
    background: var(--navy-50);
    border-color: var(--navy-900);
}

.quick-action-btn i {
    font-size: 20px;
    color: var(--navy-900);
}

.quick-action-btn span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-overlay.open {
        display: block;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 16px;
    }
    
    .dashboard-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
/* ============================================
   TESTIMONIALS LIST
   ============================================ */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-item-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.testimonial-item-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.testimonial-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.testimonial-stars-display {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fffbeb;
    color: #d97706;
}

.status-approved {
    background: #ecfdf5;
    color: #059669;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.testimonial-item-text {
    font-size: 14px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 12px;
}

.testimonial-item-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--gray-400);
}

.testimonial-item-meta i {
    margin-right: 4px;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: 16px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--gold-dark);
}

.empty-state h3 {
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ============================================
   ADD TESTIMONIAL
   ============================================ */
.add-testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
}

.star-rating-input .fa-star {
    transition: all 0.15s ease;
}

.star-rating-input .fa-star.active,
.star-rating-input .fa-star.hover {
    color: #f59e0b;
}

.star-rating-input span {
    font-size: 14px;
    color: var(--gray-500);
    margin-left: 12px;
    font-weight: 500;
}

/* Form Note */
.form-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #eff6ff;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 3px solid #2563eb;
}

.form-note i {
    color: #2563eb;
    font-size: 16px;
}

.form-note span {
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
}

/* Responsive table wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* ============================================
   STUDENT DASHBOARD ADDITIONS
   ============================================ */

/* Header Actions */
.dashboard-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Performance Graph */
.performance-graph {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 200px;
    padding: 0 10px;
}

.graph-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.graph-label {
    font-size: 10px;
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 6px;
}

.graph-bar-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    background: var(--gray-50);
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.graph-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    transition: height 1s ease;
    min-height: 4px;
}

.graph-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--navy-900);
    margin-top: 4px;
}

/* Assignment List */
.assignment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assignment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 12px;
    background: var(--gray-50);
    transition: all 0.2s ease;
    gap: 12px;
}

.assignment-item:hover {
    background: var(--navy-50);
}

.assignment-item.urgent {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
}

.assignment-subject {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assignment-subject i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--navy-900);
    background: var(--white);
}

.assignment-subject strong {
    display: block;
    font-size: 13px;
    color: var(--gray-800);
    margin-bottom: 1px;
}

.assignment-subject span {
    font-size: 11px;
    color: var(--gray-500);
}

.assignment-due {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.assignment-item.urgent .assignment-due {
    background: #dc2626;
    color: white;
}

.assignment-item:not(.urgent) .assignment-due {
    background: var(--white);
    color: var(--gray-600);
}

/* Dashboard Card Actions */
.dashboard-card-actions {
    display: flex;
    gap: 8px;
}

/* Table Footer */
.dashboard-table tfoot td {
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .performance-graph {
        height: 150px;
        gap: 6px;
    }
    
    .graph-bar-container {
        min-width: 30px;
    }
}

@media (max-width: 768px) {
    .dashboard-header-actions {
        width: 100%;
    }
    
    .dashboard-header-actions .btn {
        flex: 1;
        justify-content: center;
    }
    
    .performance-graph {
        height: 140px;
    }
}
/* ============================================
   RESULT ENTRY & VIEWING
   ============================================ */

/* Subject Tabs */
.subject-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.subject-tab {
    padding: 10px 18px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.subject-tab:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.subject-tab.active {
    background: var(--navy-900);
    color: var(--white);
    border-color: var(--navy-900);
}

/* Result Input */
.result-input {
    padding: 6px 8px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
    font-family: var(--font-sans);
    transition: all 0.2s;
}

.result-input:focus {
    outline: none;
    border-color: var(--navy-900);
}

/* Class Card Grid */
.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.class-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.class-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-900);
    transform: translateY(-3px);
}

.class-card-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: var(--navy-900);
}

.class-card h3 {
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.class-card p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.class-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Result Sheet (Student View) */
.result-sheet {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.result-header {
    text-align: center;
    margin-bottom: 20px;
}

.result-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
}

.result-header h1 {
    font-size: 20px;
    color: var(--navy-900);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.result-header p {
    font-size: 12px;
    color: var(--gray-500);
    font-style: italic;
}

.result-header h2 {
    font-size: 15px;
    color: var(--navy-900);
    margin-top: 8px;
    letter-spacing: 2px;
}

.gold-line {
    border: none;
    height: 3px;
    background: var(--gold);
    margin: 10px 0;
}

.result-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    margin-bottom: 20px;
}

.result-info-row {
    display: flex;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 4px;
}

.result-info-row strong {
    color: var(--navy-900);
    min-width: 110px;
}

.result-info-row span {
    color: var(--gray-700);
}

.result-photo img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
}

/* Result Table */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.result-table th {
    background: var(--navy-900);
    color: var(--white);
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.result-table td {
    padding: 8px;
    text-align: center;
    font-size: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.result-table tr:nth-child(even) {
    background: var(--gray-50);
}

.result-table .subject-name {
    text-align: left;
    font-weight: 500;
}

/* Grade Badges */
.grade-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.grade-a { background: #ecfdf5; color: #059669; }
.grade-b { background: #eff6ff; color: #2563eb; }
.grade-c { background: #fffbeb; color: #d97706; }
.grade-d { background: #fef3c7; color: #b45309; }
.grade-f { background: #fef2f2; color: #dc2626; }

/* Result Summary */
.result-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: var(--gray-50);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.result-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 8px;
}

.result-summary-item strong {
    color: var(--navy-900);
}

.result-summary-item span {
    font-weight: 600;
}

/* Grading Key */
.grading-key {
    background: var(--navy-50);
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.grading-key h4 {
    font-size: 13px;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.grading-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-600);
}

/* Signatures */
.result-signatures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.sig-block {
    text-align: center;
}

.sig-block .remark-text {
    font-style: italic;
    color: var(--gray-600);
    font-size: 13px;
}

.sig-name {
    font-weight: 700;
    color: var(--navy-900);
    font-size: 14px;
    border-top: 1px solid var(--gray-400);
    padding-top: 4px;
    display: inline-block;
}

.sig-label {
    font-size: 10px;
    color: var(--gray-500);
    text-transform: uppercase;
}

/* Total Preview */
.total-preview {
    font-weight: 700;
    color: var(--navy-900);
}

/* Responsive */
@media (max-width: 768px) {
    .result-sheet {
        padding: 16px;
    }
    
    .result-info-grid {
        grid-template-columns: 1fr;
    }
    
    .result-signatures {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-table th,
    .result-table td {
        font-size: 10px;
        padding: 6px 4px;
    }
    
    .class-grid {
        grid-template-columns: 1fr;
    }
}
/* Result Cards List */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-card-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    transition: all 0.2s;
}

.result-card-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--navy-900);
}

.result-card-info h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.result-card-info p {
    font-size: 13px;
    color: var(--gray-500);
}

.result-card-actions {
    display: flex;
    gap: 8px;
}
/* ============================================
   TEACHER DASHBOARD ADDITIONS
   ============================================ */

/* Teacher Class Grid */
.teacher-class-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.teacher-class-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.teacher-class-card:hover {
    background: var(--navy-50);
    border-color: var(--navy-900);
    transform: translateX(4px);
}

.teacher-class-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--navy-900);
    flex-shrink: 0;
}

.teacher-class-info {
    flex: 1;
}

.teacher-class-info h4 {
    font-size: 14px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.teacher-class-info span {
    font-size: 12px;
    color: var(--gray-500);
}

.teacher-class-card .fa-chevron-right {
    color: var(--gray-400);
    font-size: 14px;
}

/* Subject Chips */
.subject-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subject-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 12px;
    color: var(--gray-700);
    font-weight: 500;
}

.subject-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy-900);
}

.class-teacher-badge {
    padding: 3px 8px;
    background: var(--gold-100);
    color: var(--gold-dark);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ============================================
   SIDEBAR TOGGLE (if not already present)
   ============================================ */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 10px;
    z-index: 110;
    width: 40px;
    height: 40px;
    background: var(--navy-900);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    align-items: center;
    justify-content: center;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .sidebar-overlay.open {
        display: block;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 16px;
    }
}
/* ============================================
   DASHBOARD & SETUP STYLES
   ============================================ */
.dash-section { padding: 100px 0 60px; background: var(--gray-50); min-height: 100vh; }
.dash-header { margin-bottom: 24px; }
.dash-header h1 { font-size: 24px; color: var(--navy-900); display: flex; align-items: center; gap: 10px; }
.dash-header p { color: var(--gray-500); font-size: 14px; margin-top: 4px; }
.dash-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 14px; text-decoration: none; transition: all 0.3s; }
.dash-stat-card:hover { box-shadow: var(--shadow-md); border-color: var(--navy-900); }
.dash-stat-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.dash-stat-info h3 { font-size: 24px; color: var(--navy-900); }
.dash-stat-info p { font-size: 13px; color: var(--gray-500); }
.dash-actions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.dash-action-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 22px; text-decoration: none; transition: all 0.3s; text-align: center; }
.dash-action-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dash-action-card i { font-size: 28px; color: var(--navy-900); margin-bottom: 8px; display: block; }
.dash-action-card h4 { font-size: 15px; color: var(--navy-900); margin-bottom: 2px; }
.dash-action-card p { font-size: 12px; color: var(--gray-500); }
.dash-section-title { margin: 20px 0 12px; }
.dash-section-title h3 { font-size: 18px; color: var(--navy-900); display: flex; align-items: center; gap: 8px; }

/* Setup Pages */
.setup-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-50); padding: 40px 20px; }
.setup-container { max-width: 600px; width: 100%; }
.setup-steps { display: flex; justify-content: center; gap: 40px; margin-bottom: 24px; }
.setup-step { text-align: center; font-size: 13px; color: var(--gray-400); }
.setup-step span { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--gray-200); color: var(--gray-500); line-height: 32px; margin: 0 auto 6px; font-weight: 700; font-size: 14px; }
.setup-step.active { color: var(--navy-900); }
.setup-step.active span { background: var(--navy-900); color: var(--white); }
.setup-step.done { color: #059669; }
.setup-step.done span { background: #059669; color: var(--white); }
.setup-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-md); }
.setup-card h2 { font-size: 22px; color: var(--navy-900); margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.setup-card p { color: var(--gray-500); margin-bottom: 20px; font-size: 14px; }
.setup-photo-upload { text-align: center; margin-bottom: 16px; }
.setup-photo-label { cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; border: 2px dashed var(--gray-300); border-radius: 12px; transition: all 0.3s; }
.setup-photo-label:hover { border-color: var(--navy-900); background: var(--navy-50); }
.setup-photo-label i { font-size: 28px; color: var(--navy-900); }
.setup-photo-label span { font-size: 13px; color: var(--gray-500); }

/* Approval Cards */
.approval-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 18px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 14px; flex-wrap: wrap; }
.approval-info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.approval-photo { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.approval-photo-placeholder { width: 50px; height: 50px; border-radius: 12px; background: var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--gray-500); font-size: 20px; }
.approval-info strong { color: var(--navy-900); }
.approval-info p { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.child-link-card { background: var(--gray-50); border-radius: 10px; padding: 14px; margin: 8px 0; }

/* Child Dashboard Card */
.child-dash-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.child-dash-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.child-avatar { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0; }
.child-dash-header h4 { font-size: 16px; color: var(--navy-900); }
.child-dash-header span { font-size: 12px; color: var(--gray-500); }
.child-dash-stats { display: flex; gap: 20px; margin-bottom: 14px; }
.child-dash-stats strong { display: block; font-size: 18px; color: var(--navy-900); }
.child-dash-stats small { font-size: 11px; color: var(--gray-500); }
.child-dash-actions { display: flex; gap: 8px; }

.btn-sm { padding: 8px 16px; font-size: 12px; border-radius: 8px; }

@media (max-width:768px) {
    .dash-stats-grid { grid-template-columns: repeat(2,1fr); }
    .dash-actions-grid { grid-template-columns: 1fr 1fr; }
    .login-container, .register-container { grid-template-columns: 1fr; }
    .login-brand, .register-brand { display: none; }
}
/* ============================================
   APPROVAL PAGE
   ============================================ */

/* Stats Row */
.approval-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.approval-stat-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.approval-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.approval-stat-info h3 {
    font-size: 28px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.approval-stat-info p {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* Tabs */
.approval-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 20px;
    width: fit-content;
}

.approval-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
}

.approval-tab.active {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.tab-count {
    background: #dc2626;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

.approval-tab-content {
    display: none;
}

.approval-tab-content.active {
    display: block;
}

/* Approval List */
.approval-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Full Approval Card */
.approval-card-full {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.approval-card-full:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.approval-card-top {
    padding: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.approval-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.approval-user-photo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.approval-user-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-400);
    border: 2px solid var(--gray-200);
}

.approval-user-main {
    flex: 1;
}

.approval-user-main h3 {
    font-size: 18px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.approval-user-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.approval-user-meta span {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.approval-user-meta i {
    font-size: 13px;
    color: var(--gray-400);
}

.approval-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.approval-status-badge.pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Card Details */
.approval-card-details {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.approval-card-details h4 {
    font-size: 14px;
    color: var(--navy-900);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.approval-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.approval-detail-item {
    background: var(--gray-50);
    padding: 12px 14px;
    border-radius: 10px;
}

.detail-label {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    color: var(--gray-800);
    font-weight: 500;
}

/* Child Request Card */
.child-request-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
}

.child-request-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.child-request-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--navy-900);
}

.child-request-info h5 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.child-request-info span {
    font-size: 12px;
    color: var(--gray-500);
}

.match-found-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #065f46;
}

.match-found-box i {
    font-size: 18px;
    color: #059669;
}

.match-not-found-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #92400e;
}

.match-not-found-box i {
    font-size: 18px;
    color: #d97706;
}

.child-link-form-row {
    display: flex;
    gap: 10px;
}

.child-link-form-row select {
    flex: 1;
}

/* Card Actions */
.approval-card-actions {
    padding: 16px 24px;
    display: flex;
    gap: 10px;
    background: var(--gray-50);
}

.btn-approve {
    padding: 12px 28px;
    background: #059669;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.btn-approve:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(5,150,105,0.3);
}

.btn-reject {
    padding: 12px 28px;
    background: var(--white);
    color: #dc2626;
    border: 2px solid #fecaca;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.btn-reject:hover {
    background: #fef2f2;
    border-color: #dc2626;
}

.btn-link-child {
    padding: 10px 20px;
    background: var(--navy-900);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: var(--font-sans);
    white-space: nowrap;
}

.btn-link-child:hover {
    background: #000044;
}

/* Responsive */
@media (max-width: 768px) {
    .approval-stats-row {
        grid-template-columns: 1fr;
    }
    
    .approval-details-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .approval-user-header {
        flex-wrap: wrap;
    }
    
    .approval-card-actions {
        flex-direction: column;
    }
    
    .btn-approve, .btn-reject {
        width: 100%;
        justify-content: center;
    }
    
    .child-link-form-row {
        flex-direction: column;
    }
}
/* Assignment Full Card */
.assignment-full-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    transition: all 0.3s;
}

.assignment-full-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--navy-900);
}

.assignment-card-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 250px;
}

.assignment-subject-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--navy-900);
    flex-shrink: 0;
}

.assignment-card-info h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.assignment-card-info p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 8px;
    line-height: 1.5;
}

.assignment-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.assignment-meta i {
    margin-right: 4px;
}

.assignment-card-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assignment-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #fffbeb;
    color: #d97706;
    display: flex;
    align-items: center;
    gap: 6px;
}
/* ============================================
   CHAT SYSTEM - WHATSAPP STYLE
   ============================================ */

/* Chat Layout */
.chat-layout {
    display: flex;
    height: calc(100vh - 70px);
    margin-top: 70px;
    background: var(--gray-50);
}

/* Chat Sidebar */
.chat-sidebar {
    width: 350px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.chat-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-user-info h4 {
    font-size: 14px;
    color: var(--navy-900);
    margin: 0;
}

.chat-user-info span {
    font-size: 11px;
    color: var(--gray-500);
}

.chat-back-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.2s;
}

.chat-back-btn:hover {
    background: var(--gray-100);
    color: var(--navy-900);
}

/* Search */
.chat-search {
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.chat-search i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.chat-search input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    font-size: 13px;
    font-family: var(--font-sans);
    transition: all 0.2s;
}

.chat-search input:focus {
    outline: none;
    background: var(--gray-200);
}

.chat-search input::placeholder {
    color: var(--gray-400);
}

/* Contacts List */
.chat-contacts {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.chat-contacts::-webkit-scrollbar {
    width: 4px;
}

.chat-contacts::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}

/* Contact Item */
.chat-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--gray-50);
    position: relative;
}

.chat-contact:hover {
    background: var(--gray-50);
}

.chat-contact.active {
    background: var(--navy-50);
    border-left: 3px solid var(--navy-900);
}

.chat-contact.active .contact-info h5 {
    color: var(--navy-900);
}

/* Contact Avatar */
.contact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}

.contact-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: var(--gray-400);
}

.contact-status.online + .contact-avatar::after,
.chat-contact:has(.contact-status.online) .contact-avatar::after {
    background: #22c55e;
}

/* Contact Info */
.contact-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.contact-info h5 {
    font-size: 14px;
    color: var(--navy-900);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-info span {
    font-size: 11px;
    color: var(--gray-400);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Contact Status */
.contact-status {
    font-size: 11px;
    color: var(--gray-400);
}

.contact-status.online {
    color: #059669;
    font-weight: 600;
}

/* Section Headers in Contacts */
.chat-contacts .section-header {
    padding: 12px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gray-50);
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Unread Badge */
.contact-unread {
    background: #dc2626;
    color: white;
    font-size: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chat Main Area */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #efeae2;
    position: relative;
    overflow: hidden;
}

/* Chat Background Pattern */
.chat-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Empty State */
.chat-main-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    position: relative;
    z-index: 1;
    background: var(--white);
}

.chat-empty-icon {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.chat-main-empty h3 {
    color: var(--gray-600);
    margin-bottom: 4px;
}

.chat-main-empty p {
    color: var(--gray-400);
    font-size: 14px;
}

/* Active Chat */
.chat-main-active {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Chat Header */
.chat-header {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    z-index: 2;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header-info h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin: 0;
}

.chat-header-info span {
    font-size: 11px;
    color: var(--gray-500);
}

/* Chat Messages Area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}

/* Individual Message */
.chat-message {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sent Message (Right side) */
.chat-message.sent {
    align-self: flex-end;
    background: #d9fdd3;
    color: #111b21;
    border-top-right-radius: 4px;
    margin-left: 30%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Received Message (Left side) */
.chat-message.received {
    align-self: flex-start;
    background: var(--white);
    color: #111b21;
    border-top-left-radius: 4px;
    margin-right: 30%;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* Message Time */
.chat-message-time {
    font-size: 10px;
    color: #667781;
    margin-top: 2px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* Message Input Area */
.chat-input-area {
    padding: 10px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    z-index: 2;
}

.chat-input-area form {
    margin: 0;
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    border-radius: 24px;
    padding: 4px 4px 4px 16px;
    transition: all 0.2s;
}

.chat-input-wrapper:focus-within {
    background: var(--white);
    box-shadow: 0 0 0 2px var(--navy-900);
}

.chat-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
}

.chat-input-wrapper input:focus {
    outline: none;
}

.chat-input-wrapper input::placeholder {
    color: var(--gray-400);
}

/* Send Button */
.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-900);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    background: #000044;
    transform: scale(1.05);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* Mobile Only */
.mobile-only {
    display: none;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    background: white;
    border-radius: 12px;
    align-self: flex-start;
    max-width: 70px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-400);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

/* Date Separator */
.chat-date-separator {
    text-align: center;
    margin: 12px 0;
}

.chat-date-separator span {
    background: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    color: var(--gray-500);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-sidebar {
        width: 100%;
        position: absolute;
        inset: 0;
        z-index: 10;
    }
    
    .chat-main {
        display: none;
    }
    
    .chat-main.active {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 200;
        margin-top: 0;
        height: 100vh;
    }
    
    .mobile-only {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .chat-message {
        max-width: 85%;
    }
    
    .chat-message.sent {
        margin-left: 15%;
    }
    
    .chat-message.received {
        margin-right: 15%;
    }
}
/* Result Card Item */
.result-card-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.result-card-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--navy-900);
    transform: translateY(-2px);
}

.result-card-info h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-card-info h4 i {
    color: var(--gold-dark);
}

.result-card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--gray-500);
}

.result-card-meta strong {
    color: var(--navy-900);
}

.result-card-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-card-badge .fa-chevron-right {
    color: var(--gray-400);
    font-size: 14px;
}
/* Premium Result Sheet */
.result-sheet-premium { background:white; border:1px solid var(--gray-200); border-radius:16px; padding:40px; box-shadow:var(--shadow-lg); max-width:900px; margin:0 auto; font-size:13px; }
.rsp-header { text-align:center; margin-bottom:20px; }
.rsp-header-top { display:flex; align-items:center; justify-content:center; gap:20px; margin-bottom:12px; flex-wrap:wrap; }
.rsp-logo { width:80px; height:80px; object-fit:contain; }
.rsp-school-info h1 { font-size:22px; color:var(--navy-900); text-transform:uppercase; margin:0; }
.rsp-motto { font-style:italic; color:var(--gray-500); font-size:12px; margin:2px 0; }
.rsp-address, .rsp-contact { font-size:11px; color:var(--gray-500); margin:0; }
.rsp-header h2 { font-size:16px; letter-spacing:3px; color:var(--navy-900); margin:8px 0; }
.rsp-divider { border:none; height:3px; background:var(--gold); margin:8px 0; }
.rsp-info-grid { display:grid; grid-template-columns:1fr 1fr auto; gap:16px; margin-bottom:16px; }
.rsp-info-row { font-size:12px; margin-bottom:3px; }
.rsp-info-row strong { color:var(--navy-900); }
.rsp-photo img { width:80px; height:100px; object-fit:cover; border-radius:8px; border:2px solid var(--gray-200); }
.rsp-attendance { display:flex; gap:24px; padding:10px 14px; background:var(--gray-50); border-radius:8px; margin-bottom:16px; font-size:12px; }
.rsp-table { width:100%; border-collapse:collapse; margin-bottom:16px; }
.rsp-table th { background:var(--navy-900); color:white; padding:8px 6px; font-size:10px; font-weight:600; text-align:center; }
.rsp-table td { padding:7px 6px; text-align:center; font-size:12px; border-bottom:1px solid var(--gray-200); }
.rsp-table tr:nth-child(even) { background:var(--gray-50); }
.rsp-subject-name { text-align:left !important; font-weight:500; }
.rsp-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
.rsp-summary div { background:var(--navy-50); padding:12px; border-radius:8px; text-align:center; }
.rsp-summary small { display:block; font-size:10px; color:var(--gray-500); margin-bottom:2px; }
.rsp-summary strong { font-size:18px; color:var(--navy-900); }
.rsp-grading { background:var(--gray-50); padding:14px; border-radius:8px; margin-bottom:16px; }
.rsp-grading h4 { font-size:12px; color:var(--navy-900); margin-bottom:6px; }
.rsp-grading div { display:inline-block; margin-right:16px; font-size:11px; color:var(--gray-600); }
.rsp-grading span { font-weight:700; color:var(--navy-900); }
.rsp-signatures { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:30px; }
.rsp-sig-line { width:200px; height:1px; background:var(--gray-400); margin:30px 0 4px; }
.rsp-sig-name { font-weight:700; font-size:13px; color:var(--navy-900); }
.rsp-sig-label { font-size:10px; color:var(--gray-500); text-transform:uppercase; }
.rsp-sig-image { width:150px; }
.rsp-remark { font-style:italic; color:var(--gray-600); }

@media print {
    body * { visibility:hidden; }
    .result-sheet-premium, .result-sheet-premium * { visibility:visible; }
    .result-sheet-premium { position:absolute; left:0; top:0; width:100%; box-shadow:none; border:none; }
}
/* Teacher Dashboard Enhancements */
.teacher-class-card-wrapper {
    position: relative;
}

.teacher-class-sub-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-left: 8px;
}

.teacher-class-sub-actions a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.teacher-class-sub-actions a:hover {
    background: var(--navy-50);
    color: var(--navy-900);
    border-color: var(--navy-900);
}

/* Subject Assignment Chips */
.subject-assignments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subject-assignment-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.2s;
}

.subject-assignment-chip:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--navy-900);
}

.chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.subject-assignment-chip strong {
    display: block;
    font-size: 13px;
    color: var(--navy-900);
}

.subject-assignment-chip span {
    font-size: 11px;
    color: var(--gray-500);
}

.chip-badge {
    padding: 3px 8px;
    background: #fffbeb;
    color: #d97706;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: auto;
}

/* Dashboard Header Actions */
.dashboard-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* Dash action card primary */
.dash-action-card.primary { border-left: 3px solid var(--navy-900); }
.dash-action-card.primary:hover { background: var(--navy-50); }

/* Results mini list */
.results-mini-list { display: flex; flex-direction: column; gap: 8px; }
.result-mini-card { background: white; border: 1px solid var(--gray-200); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; transition: all 0.2s; }
.result-mini-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow-sm); }
.result-mini-card strong { color: var(--navy-900); font-size: 14px; }

/* Child dash stats */
.child-dash-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 12px 0; }
.child-dash-stats div { text-align: center; padding: 10px; background: var(--gray-50); border-radius: 10px; }
.child-dash-stats small { display: block; font-size: 10px; color: var(--gray-500); margin-bottom: 2px; }
.child-dash-stats strong { font-size: 16px; color: var(--navy-900); }

@media (max-width:768px) {
    .child-dash-stats { grid-template-columns: repeat(2,1fr); }
}
.rsp-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.rsp-summary div {
    background: var(--navy-50);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.rsp-summary small {
    display: block;
    font-size: 10px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.rsp-summary strong {
    font-size: 18px;
    color: var(--navy-900);
}
/* ============================================
   CHAT SYSTEM - COMPLETE CLEAN CSS
   ============================================ */

.chat-layout {
    display: flex;
    height: calc(100vh - 70px);
    margin-top: 70px;
    background: #f0f2f5;
}

/* ===== SIDEBAR ===== */
.chat-sidebar {
    width: 350px;
    background: white;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.chat-sidebar-header {
    padding: 14px 18px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chat-user-info { display: flex; align-items: center; gap: 10px; }
.chat-user-info h4 { font-size: 14px; color: #111b21; margin: 0; }
.chat-user-info span { font-size: 10px; color: #667781; }
.chat-close-btn {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #54656f; text-decoration: none; font-size: 16px;
}
.chat-close-btn:hover { background: rgba(0,0,0,0.05); }

.chat-search {
    padding: 8px 14px; background: white;
    border-bottom: 1px solid #e9edef; position: relative; flex-shrink: 0;
}
.chat-search i { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: #667781; font-size: 12px; }
.chat-search input {
    width: 100%; padding: 8px 12px 8px 34px; border: none;
    background: #f0f2f5; border-radius: 8px; font-size: 13px; font-family: 'Inter', sans-serif;
}
.chat-search input:focus { outline: none; background: #e4e6e9; }

.chat-contacts { flex: 1; overflow-y: auto; }
.chat-contacts::-webkit-scrollbar { width: 4px; }
.chat-contacts::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 2px; }

.section-header {
    padding: 10px 18px 2px;
    font-size: 10px; font-weight: 700; color: #667781;
    text-transform: uppercase; letter-spacing: 1px;
}
.chat-contact {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 18px; cursor: pointer; transition: background 0.15s;
}
.chat-contact:hover { background: #f0f2f5; }
.chat-contact.active { background: #e8f0fe; }

.contact-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.contact-info { flex: 1; min-width: 0; }
.contact-info h5 { font-size: 13px; color: #111b21; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-info span { font-size: 10px; color: #667781; }

/* ===== CHAT MAIN ===== */
.chat-main {
    flex: 1; display: flex; flex-direction: column;
    background: #efeae2; position: relative;
}
.chat-main-empty {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; background: #f0f2f5;
}
.chat-empty-icon { width: 80px; height: 80px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; margin-bottom: 14px; color: #667781; }
.chat-main-empty h3 { color: #41525d; font-size: 18px; margin: 0 0 4px; }
.chat-main-empty p { color: #667781; font-size: 12px; margin: 0; }

.chat-main-active { display: flex; flex-direction: column; height: 100%; }

/* Header */
.chat-header {
    flex-shrink: 0; display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: #f0f2f5; border-bottom: 1px solid #e0e0e0;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.chat-header-info h4 { font-size: 14px; color: #111b21; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-header-info span { font-size: 10px; color: #667781; }
.chat-back-btn {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: transparent; color: #54656f; font-size: 16px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-back-btn:hover { background: rgba(0,0,0,0.05); }

/* Messages */
.chat-messages { flex: 1; overflow-y: auto; padding: 14px 20px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 2px; }

.chat-message { max-width: 65%; padding: 6px 10px 3px; border-radius: 8px; font-size: 13px; line-height: 1.4; margin-bottom: 2px; word-wrap: break-word; }
.chat-message.sent { align-self: flex-end; background: #d9fdd3; margin-left: 35%; }
.chat-message.received { align-self: flex-start; background: white; margin-right: 35%; }
.chat-message-time { font-size: 9px; color: #667781; text-align: right; margin-top: 1px; }
.chat-date-separator { text-align: center; margin: 8px 0; }
.chat-date-separator span { background: #e1f3fb; padding: 4px 10px; border-radius: 6px; font-size: 10px; color: #41525d; }

/* Input */
.chat-input-area { flex-shrink: 0; padding: 8px 14px; background: #f0f2f5; }
.chat-input-area form { display: flex; gap: 8px; align-items: center; }
.chat-input-area input { flex: 1; padding: 10px 14px; border: none; border-radius: 20px; background: white; font-size: 13px; font-family: 'Inter', sans-serif; }
.chat-input-area input:focus { outline: none; }
.chat-send-btn { width: 38px; height: 38px; border-radius: 50%; background: #00a884; color: white; border: none; cursor: pointer; font-size: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.chat-send-btn:hover { background: #008f72; }


/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .chat-layout {
        height: calc(100vh - 70px);
        margin-top: 70px;
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 100;
    }
    
    .chat-sidebar { width: 100%; display: flex; z-index: 10; }
    .chat-main { display: none; position: absolute; inset: 0; z-index: 20; }
    .chat-main.active { display: flex; }
    
    .chat-header { padding: 8px 12px; flex-shrink: 0; }
    .chat-header-info h4 { font-size: 13px; }
    
    /* Messages take remaining space */
    .chat-messages { 
        flex: 7;
        padding: 10px 12px; 
        overflow-y: auto;
    }
    
    /* Input - compact, no extra space */
    .chat-input-area { 
        flex:3;
        padding: 6px 10px;
        background: transparent;
        border:none;
        justify-content: center;
        align-items: center;
        
        
    }
    .chat-input-area form {
        display: flex; gap: 6px; align-items: center;
    }
    .chat-input-area input { 
        flex: 9;
        padding: 10px 12px; 
        font-size: 14px;
        border: 1px solid #e0e0e0;
        border-radius: 20px;
        background: white;
        font-family: 'Inter', sans-serif;
        
    }
    .chat-input-area input:focus { outline: none; border-color: #00a884; }
    .chat-send-btn { 
        width: 36px; height: 36px; 
        border-radius: 50%; background: #00a884; color: white; 
        border: none; cursor: pointer; font-size: 14px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
    }
    
    .chat-message { max-width: 85%; font-size: 12px; }
    .chat-message.sent { margin-left: 15%; }
    .chat-message.received { margin-right: 15%; }
    .chat-back-btn { display: flex !important; }
}
.section-header {
    padding: 10px 18px 2px;
    margin: 0;
    font-size: 10px; font-weight: 700; color: #667781;
    text-transform: uppercase; letter-spacing: 1px;
}

.chat-contact {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 18px; /* reduced from 8px */
    cursor: pointer; transition: background 0.15s;
}
.contact-avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.msg-status {
    font-size: 10px;
    margin-left: 4px;
}
.msg-status.read { color: #53bdeb; }
.msg-status.delivered { color: #8696a0; }

.chat-message-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    margin-top: 1px;
}

/* ============================================
   GALLERY TOOLBAR
   ============================================ */
.gallery-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.gallery-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.gallery-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.gallery-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all 0.3s;
    background: white;
}

.gallery-search-input:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.05);
}

.gallery-search-input::placeholder {
    color: var(--gray-400);
}

.gallery-filters-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-filters-scroll::-webkit-scrollbar {
    display: none;
}

/* Filter Pills */
.gallery-filter-pill {
    padding: 8px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-filter-pill:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.gallery-filter-pill.active {
    background: var(--navy-900);
    color: white;
    border-color: var(--navy-900);
}

/* Section Label */
.gallery-section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   MASONRY GRID
   ============================================ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

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

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .gallery-search-wrapper {
        max-width: 100%;
    }
    .gallery-filters-scroll {
        gap: 6px;
    }
    .gallery-filter-pill {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* ============================================
   GALLERY CARD
   ============================================ */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    background: var(--gray-100);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.gallery-card:hover {
    transform: scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

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

.gallery-card:hover img {
    transform: scale(1.1);
}

/* YouTube Play Overlay */
.gallery-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}

.gallery-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.gallery-play-btn i {
    color: var(--gold);
    font-size: 20px;
    margin-left: 3px;
}

.gallery-card:hover .gallery-play-btn {
    transform: scale(1.1);
    background: var(--gold);
}

.gallery-card:hover .gallery-play-btn i {
    color: var(--navy-900);
}

/* Hover Info */
.gallery-card-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,51,0.85) 0%, rgba(0,0,51,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    pointer-events: none;
}

.gallery-card:hover .gallery-card-hover {
    opacity: 1;
}

.gallery-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-card-hover h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-family: var(--font-display);
    line-height: 1.3;
}

.gallery-card-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.gallery-card-zoom i {
    color: white;
    font-size: 14px;
}

/* Featured Badge */
.gallery-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255,215,0,0.4);
}

.gallery-featured-badge i {
    color: var(--navy-900);
    font-size: 14px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
#lightboxTopBar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.lightbox-close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close-btn:hover {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.lightbox-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-action-btn:hover {
    background: rgba(255,255,255,0.2);
}

#lightboxCounter {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox-nav-left {
    left: 16px;
}

.lightbox-nav-right {
    right: 16px;
}

.lightbox-nav-btn:hover {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.lightbox-content-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 80px 80px 100px;
}

#lightboxImg {
    display: none;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

#lightboxYoutube {
    display: none;
    width: 80vw;
    max-width: 900px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

#lightboxInfo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

#lightboxTitle {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-display);
}

#lightboxCategory {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#lightboxDescription {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-top: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .lightbox-nav-left {
        left: 8px;
    }
    .lightbox-nav-right {
        right: 8px;
    }
    #lightboxTopBar {
        padding: 10px 14px;
    }
    .lightbox-content-area {
        padding: 60px 50px 90px;
    }
    .lightbox-close-btn,
    .lightbox-action-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    #lightboxImg {
        max-height: 55vh;
    }
    #lightboxYoutube {
        width: 90vw;
    }
}

/* ============================================
   GALLERY TOOLBAR
   ============================================ */
.gallery-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.gallery-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 350px;
}

.gallery-search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
}

.gallery-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all 0.3s;
    background: white;
}

.gallery-search-input:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.05);
}

.gallery-search-input::placeholder {
    color: var(--gray-400);
}

.gallery-filters-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-filters-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-filter-pill {
    padding: 8px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    background: white;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-filter-pill:hover {
    border-color: var(--navy-900);
    color: var(--navy-900);
}

.gallery-filter-pill.active {
    background: var(--navy-900);
    color: white;
    border-color: var(--navy-900);
}

.gallery-section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   MASONRY GRID
   ============================================ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

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

@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .gallery-search-wrapper {
        max-width: 100%;
    }
    .gallery-filters-scroll {
        gap: 6px;
    }
    .gallery-filter-pill {
        padding: 6px 14px;
        font-size: 11px;
    }
}

/* ============================================
   GALLERY CARD
   ============================================ */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    background: var(--gray-100);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

.gallery-card:hover {
    transform: scale(1.03);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 2;
}

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

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}

.gallery-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.gallery-play-btn i {
    color: var(--gold);
    font-size: 20px;
    margin-left: 3px;
}

.gallery-card:hover .gallery-play-btn {
    transform: scale(1.1);
    background: var(--gold);
}

.gallery-card:hover .gallery-play-btn i {
    color: var(--navy-900);
}

.gallery-card-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,51,0.85) 0%, rgba(0,0,51,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    pointer-events: none;
}

.gallery-card:hover .gallery-card-hover {
    opacity: 1;
}

.gallery-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-card-hover h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-family: var(--font-display);
    line-height: 1.3;
}

.gallery-card-zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.gallery-card-zoom i {
    color: white;
    font-size: 14px;
}

.gallery-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255,215,0,0.4);
}

.gallery-featured-badge i {
    color: var(--navy-900);
    font-size: 14px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,51,0.96);
    backdrop-filter: blur(10px);
}

#lightboxTopBar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}

.lightbox-close-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-close-btn:hover {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.lightbox-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-action-btn:hover {
    background: rgba(255,255,255,0.2);
}

#lightboxCounter {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox-nav-left { left: 16px; }
.lightbox-nav-right { right: 16px; }

.lightbox-nav-btn:hover {
    background: var(--gold);
    color: var(--navy-900);
    border-color: var(--gold);
}

.lightbox-content-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 80px 80px 100px;
}

#lightboxImg {
    display: none;
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    object-fit: contain;
}

#lightboxYoutube {
    display: none;
    width: 80vw;
    max-width: 900px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

#lightboxInfo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

#lightboxTitle {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: var(--font-display);
}

#lightboxCategory {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold);
    color: var(--navy-900);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#lightboxDescription {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-top: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .lightbox-nav-btn { width: 40px; height: 40px; font-size: 14px; }
    .lightbox-nav-left { left: 8px; }
    .lightbox-nav-right { right: 8px; }
    #lightboxTopBar { padding: 10px 14px; }
    .lightbox-content-area { padding: 60px 50px 90px; }
    .lightbox-close-btn, .lightbox-action-btn { width: 38px; height: 38px; font-size: 14px; }
    #lightboxImg { max-height: 55vh; }
    #lightboxYoutube { width: 90vw; }
}
/* Gallery page specific - push below fixed navbar */
.gallery-page-header {
    margin-top: 1000px;
    padding-top: 120px;
    padding-bottom: 60px;
}
/* ============================================
   GALLERY MOBILE FIXES
   ============================================ */

/* Fix page header spacing consistency */
.gallery-page-header,
.cta-section {
    margin-top: 70px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .gallery-page-header,
    .cta-section {
        margin-top: 70px;
        padding: 30px 16px;
    }
    
    .gallery-page-header .section-title,
    .cta-section .section-title {
        font-size: 24px;
    }
    
    .gallery-page-header .section-desc,
    .cta-section .section-desc {
        font-size: 13px;
        padding: 0 10px;
    }
    
    /* Gallery grid - consistent 2 columns */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    /* Smaller cards on mobile */
    .gallery-card {
        border-radius: 12px;
        border-width: 1px;
    }
    
    .gallery-card:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }
    
    .gallery-card:active {
        transform: scale(0.97);
        border-color: var(--gold);
    }
    
    .gallery-card-hover {
        opacity: 0;
        display: none;
    }
    
    .gallery-card-badge {
        font-size: 9px;
        padding: 2px 8px;
    }
    
    .gallery-card-hover h4 {
        font-size: 12px;
    }
    
    .gallery-play-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-play-btn i {
        font-size: 16px;
    }
    
    .gallery-featured-badge {
        width: 24px;
        height: 24px;
        top: 8px;
        left: 8px;
    }
    
    .gallery-featured-badge i {
        font-size: 10px;
    }
    
    /* Section labels */
    .gallery-section-label {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    /* Toolbar */
    .gallery-toolbar {
        margin-bottom: 20px;
        gap: 10px;
    }
    
    .gallery-search-wrapper {
        min-width: 100%;
        max-width: 100%;
    }
    
    .gallery-search-input {
        padding: 10px 14px 10px 36px;
        font-size: 13px;
    }
    
    .gallery-filters-scroll {
        width: 100%;
        gap: 6px;
        padding-bottom: 6px;
    }
    
    .gallery-filter-pill {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Lightbox mobile fixes */
    #lightbox {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #lightboxTopBar {
        padding: 10px 12px;
        position: fixed;
        top: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(10px);
    }
    
    .lightbox-close-btn,
    .lightbox-action-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    #lightboxCounter {
        font-size: 12px;
    }
    
    .lightbox-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .lightbox-nav-left {
        left: 6px;
    }
    
    .lightbox-nav-right {
        right: 6px;
    }
    
    .lightbox-content-area {
        padding: 60px 44px 100px;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #lightboxImg {
        max-height: 55vh;
        max-width: 100%;
        border-radius: 12px;
    }
    
    #lightboxYoutube {
        width: 92vw;
        border-radius: 12px;
    }
    
    #lightboxInfo {
        padding: 12px 16px 20px;
        position: fixed;
        bottom: 0;
        background: rgba(0,0,0,0.85);
        backdrop-filter: blur(10px);
    }
    
    #lightboxTitle {
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    #lightboxCategory {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    #lightboxDescription {
        font-size: 12px;
        margin-top: 4px;
    }
}

@media (max-width: 400px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }
    
    .gallery-card {
        border-radius: 10px;
    }
    
    .gallery-play-btn {
        width: 34px;
        height: 34px;
    }
    
    .gallery-play-btn i {
        font-size: 14px;
    }
    
    .lightbox-content-area {
        padding: 50px 32px 90px;
    }
    
    .lightbox-nav-btn {
        width: 32px;
        height: 32px;
    }
}
/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--navy-900);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all var(--transition);
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--navy-900);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--navy-900);
}

.contact-info-card:hover .contact-info-icon i {
    color: var(--gold);
}

.contact-info-card h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-info-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-500);
    padding: 4px 0;
}

.contact-hours-list li span:last-child {
    color: var(--navy-900);
    font-weight: 600;
}

.contact-social {
    background: var(--navy-900);
    border-radius: var(--radius-xl);
    padding: 24px;
    text-align: center;
}

.contact-social h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.contact-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.contact-social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: all var(--transition);
    text-decoration: none;
}

.contact-social-links a:hover {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-2px);
}

.contact-form-col {
    position: sticky;
    top: 90px;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-form-card > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: all var(--transition);
    background: var(--white);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 3px rgba(0,0,51,0.05);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form select.form-control {
    cursor: pointer;
    appearance: auto;
}

/* Map Section */
.contact-map-section {
    background: var(--gray-100);
    padding: 0;
}

.contact-map-wrapper {
    width: 100%;
    height: 400px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-col {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 24px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card h3 {
        font-size: 20px;
    }
    
    .contact-map-wrapper {
        height: 280px;
    }
}
/* ============================================
   CONTACT PAGE - PREMIUM
   ============================================ */

/* Hero */
.contact-hero {
    position: relative;
    margin-top: 70px;
    padding: 80px 0 100px;
    background: var(--navy-900);
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,215,0,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,215,0,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-content .section-badge {
    margin-bottom: 16px;
}

.contact-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 12px;
}

.contact-hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.contact-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.contact-hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

/* Info Cards */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 22px 24px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--navy-900);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--navy-900);
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--navy-900);
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
    color: var(--gold);
}

.contact-info-text h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.contact-info-text p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.contact-info-text a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-text a:hover {
    color: var(--navy-900);
}

/* Hours List */
.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

.contact-hours-list li span:first-child {
    color: var(--gray-500);
}

.contact-hours-list li span:last-child {
    color: var(--navy-900);
    font-weight: 600;
}

/* Social */
.contact-social {
    background: var(--navy-900);
    border-radius: 16px;
    padding: 22px 24px;
    text-align: center;
}

.contact-social h4 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 14px;
    font-family: var(--font-display);
}

.contact-social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.contact-social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 17px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social-links a:hover {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.3);
}

/* Form Card */
.contact-form-col {
    position: sticky;
    top: 90px;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-header h3 {
    font-size: 26px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* Form Inputs with Icons */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 7px;
}

.required-star {
    color: var(--red);
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s ease;
}

.input-with-icon textarea {
    padding-top: 13px;
    padding-left: 44px;
    resize: vertical;
    min-height: 130px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 4px rgba(0,0,51,0.04);
}

.input-with-icon input:focus + i,
.input-with-icon textarea:focus ~ i,
.input-with-icon:focus-within > i {
    color: var(--navy-900);
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: var(--gray-400);
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 6px;
}

.contact-submit-btn:hover {
    background: #000044;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,51,0.2);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

/* Map Section */
.contact-map-section {
    padding: 0 0 60px;
}

.contact-map-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--navy-900);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.contact-map-header i {
    font-size: 16px;
}

.contact-map-wrapper {
    width: 100%;
    height: 420px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-col {
        position: static;
        top: auto;
    }
    
    .contact-info-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 80px;
    }
    
    .contact-hero-content h1 {
        font-size: 26px;
    }
    
    .contact-form-card {
        padding: 24px 18px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-col {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card {
        padding: 16px 18px;
    }
    
    .contact-map-wrapper {
        height: 280px;
    }
    
    .contact-form-header h3 {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .contact-hero {
        padding: 50px 0 70px;
    }
    
    .contact-form-card {
        padding: 20px 14px;
    }
    
    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea {
        padding: 11px 12px 11px 38px;
        font-size: 13px;
    }
}
/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: var(--navy-900);
    text-align: center;
    position: relative;
}

.contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.contact-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Form Wrapper */
.contact-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.required-star {
    color: var(--red);
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s ease;
}

.input-with-icon textarea {
    padding-top: 12px;
    resize: vertical;
    min-height: 120px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 4px rgba(0,0,51,0.04);
}

.input-with-icon:focus-within > i {
    color: var(--navy-900);
}

.contact-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #000044;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,51,0.2);
}

/* Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-info-clickable {
    cursor: pointer;
}

.contact-info-clickable:hover {
    border-color: var(--navy-900);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--navy-900);
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--navy-900);
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
    color: var(--gold);
}

.contact-info-text h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-info-text p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.contact-info-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gray-300);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-arrow {
    color: var(--navy-900);
    right: 16px;
}

.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

.contact-hours-list li span:first-child {
    color: var(--gray-500);
}

.contact-hours-list li span:last-child {
    color: var(--navy-900);
    font-weight: 600;
}

/* Map */
.contact-map-section {
    padding: 0 0 50px;
}

.contact-map-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--navy-900);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.contact-map-wrapper {
    width: 100%;
    height: 400px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Follow Us */
.contact-follow {
    text-align: center;
    padding: 30px 0;
}

.contact-follow h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.contact-follow-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.contact-follow-links a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-follow-links a:hover {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 24px 18px;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map-wrapper {
        height: 280px;
    }
}
/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
    margin-top: 70px;
    padding: 80px 0 60px;
    background: var(--navy-900);
    text-align: center;
}

.contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.contact-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.contact-form-header h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 4px;
    font-family: var(--font-display);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.required-star {
    color: var(--red);
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s ease;
}

.input-with-icon textarea {
    padding-top: 12px;
    resize: vertical;
    min-height: 120px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 4px rgba(0,0,51,0.04);
}

.input-with-icon:focus-within > i {
    color: var(--navy-900);
}

.contact-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #000044;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,51,0.2);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    color: inherit;
}

.contact-info-clickable {
    cursor: pointer;
}

.contact-info-clickable:hover {
    border-color: var(--navy-900);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--navy-900);
}

.contact-info-icon i {
    font-size: 20px;
    color: var(--navy-900);
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
    color: var(--gold);
}

.contact-info-text h4 {
    font-size: 15px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-info-text p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.contact-info-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--gray-300);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-arrow {
    color: var(--navy-900);
    right: 16px;
}

.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

.contact-hours-list li span:first-child {
    color: var(--gray-500);
}

.contact-hours-list li span:last-child {
    color: var(--navy-900);
    font-weight: 600;
}

.contact-map-section {
    padding: 0 0 50px;
}

.contact-map-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.contact-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--navy-900);
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
}

.contact-map-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.contact-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.contact-follow {
    text-align: center;
    padding: 30px 0;
}

.contact-follow h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.contact-follow-links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.contact-follow-links a {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-follow-links a:hover {
    background: var(--gold);
    color: var(--navy-900);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.3);
}

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

@media (max-width: 768px) {
    .contact-form-card {
        padding: 24px 18px;
    }

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

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

    .contact-map-wrapper {
        height: 280px;
    }
}
/* ============================================
   CONTACT PAGE - PREMIUM REDESIGN
   ============================================ */

.contact-hero {
    margin-top: 70px;
    padding: 80px 0 100px;
    background: var(--navy-900);
    text-align: center;
    position: relative;
}

.contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 10px;
}

.contact-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.contact-hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Form Card */
.contact-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.06);
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.contact-form-header {
    margin-bottom: 28px;
    text-align: center;
}

.contact-form-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-form-icon-circle i {
    color: var(--gold);
    font-size: 22px;
}

.contact-form-header h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.contact-flash {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-flash.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-flash.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.required-star {
    color: #dc2626;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s ease;
}

.input-with-icon textarea {
    padding-top: 13px;
    resize: vertical;
    min-height: 130px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 4px rgba(0,0,51,0.04);
}

.input-with-icon:focus-within > i {
    color: var(--navy-900);
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: var(--gray-400);
}

.input-with-icon select {
    cursor: pointer;
    appearance: auto;
    padding-right: 36px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #000044;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,51,0.2);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

/* Info Cards Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 26px 22px;
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.contact-info-clickable {
    cursor: pointer;
}

.contact-info-clickable:hover {
    border-color: var(--navy-900);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.contact-info-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.contact-info-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}

.contact-info-icon-circle i {
    font-size: 22px;
    color: var(--navy-900);
    transition: color 0.35s ease;
}

.contact-info-card:hover .contact-info-icon-circle {
    background: var(--navy-900);
}

.contact-info-card:hover .contact-info-icon-circle i {
    color: var(--gold);
}

.contact-info-card-arrow {
    color: var(--gray-300);
    font-size: 16px;
    transition: all 0.35s ease;
    margin-top: 6px;
}

.contact-info-card:hover .contact-info-card-arrow {
    color: var(--navy-900);
    transform: translateX(4px);
}

.contact-info-card-body h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-info-card-body p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid var(--gray-100);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

.contact-hours-list li span:first-child {
    color: var(--gray-500);
}

.contact-hours-list li span:last-child {
    color: var(--navy-900);
    font-weight: 600;
}

/* Map Section - Full Width Premium */
.contact-map-full {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 50px;
    overflow: visible;
}

.contact-map-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-50), transparent);
    z-index: 2;
    pointer-events: none;
}

.contact-map-wrapper-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.contact-map-wrapper-full iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
    filter: grayscale(20%);
}

.contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.map-pin-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.map-pin-icon i {
    color: var(--gold);
    font-size: 20px;
}

.map-pin-pulse {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(0,0,51,0.15);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 80px;
    }

    .contact-form-card {
        padding: 28px 20px;
        border-radius: 20px;
        margin-top: -30px;
    }

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

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

    .contact-info-card {
        padding: 20px 18px;
    }

    .contact-map-full {
        height: 300px;
    }

    .contact-form-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .contact-form-card {
        padding: 22px 14px;
    }

    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea {
        padding: 11px 12px 11px 38px;
        font-size: 13px;
    }

    .contact-map-full {
        height: 250px;
    }
}
.contact-info-card-arrow {
    color: var(--gray-300);
    font-size: 16px;
    transition: all 0.35s ease;
    margin-top: 8px;
    margin-left: auto;
}
.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}
/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
    margin-top: 50px;
    padding: 80px 0 100px;
    background: var(--navy-900);
    text-align: center;
    position: relative;
}

.contact-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
    font-family: var(--font-display);
    margin-bottom: 10px;
}

.contact-hero-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.contact-hero-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

/* Form Card */
.contact-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 40px rgba(0,0,0,0.06);
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

.contact-form-header {
    margin-bottom: 28px;
    text-align: center;
}

.contact-form-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.contact-form-icon-circle i {
    color: var(--gold);
    font-size: 22px;
}

.contact-form-header h3 {
    font-size: 24px;
    color: var(--navy-900);
    margin-bottom: 6px;
    font-family: var(--font-display);
}

.contact-form-header p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.contact-flash {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-flash.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.required-star {
    color: #dc2626;
}

.input-with-icon {
    position: relative;
}

.input-with-icon > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.input-with-icon input,
.input-with-icon select,
.input-with-icon textarea {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    font-size: 14px;
    font-family: var(--font-sans);
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.3s ease;
}

.input-with-icon textarea {
    padding-top: 13px;
    resize: vertical;
    min-height: 130px;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--navy-900);
    box-shadow: 0 0 0 4px rgba(0,0,51,0.04);
}

.input-with-icon:focus-within > i {
    color: var(--navy-900);
}

.input-with-icon input::placeholder,
.input-with-icon textarea::placeholder {
    color: var(--gray-400);
}

.input-with-icon select {
    cursor: pointer;
    appearance: auto;
    padding-right: 36px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--navy-900);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    margin-top: 8px;
}

.contact-submit-btn:hover {
    background: #000044;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,51,0.2);
}

.contact-submit-btn i {
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(4px);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Individual Card - STACKED VERTICAL */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 28px 22px 24px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.contact-card-link:hover .contact-card {
    border-color: var(--navy-900);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Icon - top left */
.contact-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--navy-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
    margin-bottom: 20px;
}

.contact-card-icon-wrap i {
    font-size: 22px;
    color: var(--navy-900);
    transition: color 0.35s ease;
}

.contact-card-link:hover .contact-card-icon-wrap {
    background: var(--navy-900);
}

.contact-card-link:hover .contact-card-icon-wrap i {
    color: var(--gold);
}

/* Arrow - top right */
.contact-card-arrow-wrap {
    position: absolute;
    top: 28px;
    right: 22px;
}

.contact-card-arrow-wrap i {
    color: var(--gray-300);
    font-size: 15px;
    transition: all 0.35s ease;
}

.contact-card-link:hover .contact-card-arrow-wrap i {
    color: var(--navy-900);
    transform: translateX(4px);
}

/* Content */
.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    font-size: 16px;
    color: var(--navy-900);
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.contact-card-content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

/* Hours List */
.contact-hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 16px;
}

.contact-hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-hours-list li:first-child {
    padding-top: 0;
}

.hours-label {
    color: var(--gray-500);
    flex-shrink: 0;
}

.hours-time {
    color: var(--navy-900);
    font-weight: 600;
    text-align: right;
    flex-shrink: 0;
}

/* Map Section */
.contact-map-full {
    position: relative;
    width: 100%;
    height: 450px;
    margin-top: 50px;
    overflow: visible;
}

.contact-map-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--gray-50), transparent);
    z-index: 2;
    pointer-events: none;
}

.contact-map-wrapper-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.contact-map-wrapper-full iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
    filter: grayscale(20%);
}

.contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.map-pin-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.map-pin-icon i {
    color: var(--gold);
    font-size: 20px;
}

.map-pin-pulse {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(0,0,51,0.15);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 80px;
    }

    .contact-form-card {
        padding: 28px 20px;
        border-radius: 20px;
        margin-top: -30px;
    }

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

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

    .contact-card {
        padding: 22px 18px;
    }

    .contact-card-icon-wrap {
        margin-bottom: 14px;
    }

    .contact-card-arrow-wrap {
        top: 22px;
        right: 18px;
    }

    .contact-map-full {
        height: 300px;
    }

    .contact-form-header h3 {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .contact-form-card {
        padding: 22px 14px;
    }

    .input-with-icon input,
    .input-with-icon select,
    .input-with-icon textarea {
        padding: 11px 12px 11px 38px;
        font-size: 13px;
    }

    .contact-map-full {
        height: 250px;
    }
}
/* ============================================
   ADMISSION PAGE - MOBILE RESPONSIVE
   ============================================ */

/* Hero Section */
@media (max-width: 768px) {
    .admission-hero {
        padding: 100px 0 60px !important;
    }
    
    .admission-hero h1 {
        font-size: 1.8rem !important;
    }
    
    .admission-hero p {
        font-size: 14px !important;
        padding: 0 16px;
    }
    
    .admission-hero .cta-button {
        padding: 14px 28px !important;
        font-size: 14px !important;
    }
}

/* Admission Process - Stack cards vertically */
@media (max-width: 768px) {
    .admission-process-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .admission-process-grid .process-card {
        padding: 24px 20px !important;
    }
    
    .admission-process-grid .process-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 20px !important;
    }
}

/* Age Guidelines Table */
@media (max-width: 768px) {
    .age-guidelines-table {
        font-size: 11px !important;
    }
    
    .age-guidelines-table th,
    .age-guidelines-table td {
        padding: 10px 8px !important;
    }
    
    .age-guidelines-table th {
        font-size: 10px !important;
    }
    
    .age-range-badge {
        font-size: 11px !important;
        padding: 3px 10px !important;
    }
}

/* Key Dates + Requirements - Stack */
@media (max-width: 768px) {
    .key-dates-requirements-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Scholarship Cards */
@media (max-width: 768px) {
    .scholarship-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .scholarship-card {
        padding: 24px 20px !important;
    }
}

/* FAQ Accordion */
@media (max-width: 768px) {
    .faq-button {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }
    
    .faq-answer p {
        font-size: 13px !important;
        padding: 0 16px !important;
    }
}

/* Application Form */
@media (max-width: 768px) {
    .application-form-card {
        padding: 24px 16px !important;
        border-radius: 16px !important;
    }
    
    .form-two-col,
    .form-three-col {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .application-form-card .form-control {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    
    .application-form-card label {
        font-size: 12px !important;
    }
    
    .application-form-card .section-title {
        font-size: 15px !important;
    }
}

/* Contact Admissions Cards */
@media (max-width: 768px) {
    .admission-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .admission-contact-card {
        padding: 22px 16px !important;
    }
}

/* Section Headers */
@media (max-width: 768px) {
    .admission-section-title {
        font-size: 24px !important;
    }
    
    .admission-section-badge {
        font-size: 10px !important;
        padding: 4px 12px !important;
    }
    
    .admission-section-subtitle {
        font-size: 13px !important;
        padding: 0 16px;
    }
    
    .admission-section {
        padding: 50px 0 !important;
    }
}

/* General Section Padding */
@media (max-width: 480px) {
    .admission-section {
        padding: 40px 0 !important;
    }
    
    .admission-hero {
        padding: 80px 0 50px !important;
    }
    
    .admission-hero h1 {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   ADMISSION CMS - MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* CMS Form Sections */
    .cms-section-card {
        padding: 16px 14px !important;
    }
    
    .cms-section-card h3 {
        font-size: 15px !important;
    }
    
    /* Age Guidelines Grid */
    .age-guidelines-cms-grid {
        grid-template-columns: 1fr !important;
    }
    
    .age-class-row {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    
    .age-class-row span {
        min-width: 70px !important;
        font-size: 11px !important;
    }
    
    .age-class-row input[type="number"] {
        width: 50px !important;
        font-size: 10px !important;
        padding: 4px !important;
    }
    
    /* Key Dates & Requirements Rows */
    .key-date-row,
    .req-row {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .key-date-row input,
    .req-row input {
        width: 100% !important;
    }
    
    .key-date-row button,
    .req-row button {
        align-self: flex-end !important;
    }
    
    /* Scholarship & FAQ Rows */
    .scholarship-row .form-grid,
    .faq-row .form-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* CMS Buttons */
    .cms-add-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}
