/* ============================================
   FRANCIS GIRLS SR. SEC. SCHOOL - MAIN CSS
   Elegant Maroon / Rose / Gold Theme
   ============================================ */

:root {
    --primary: #8B1538;        /* Deep Maroon */
    --primary-dark: #5C0E25;
    --primary-light: #B8456A;
    --secondary: #C2185B;      /* Rose Pink */
    --accent: #D4AF37;         /* Gold */
    --accent-light: #F4E4BC;
    --cream: #FFF8F0;
    --soft-pink: #FFF0F5;
    --dark: #2C1810;
    --text: #3A2418;
    --gray: #6B5B5B;
    --light-gray: #F5F0EC;
    --border: #E8D5DA;
    --white: #FFFFFF;
    --success: #2E7D32;
    --shadow-sm: 0 2px 8px rgba(139, 21, 56, 0.08);
    --shadow: 0 4px 20px rgba(139, 21, 56, 0.12);
    --shadow-lg: 0 8px 30px rgba(139, 21, 56, 0.18);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--cream);
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--accent); }
.top-bar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.top-bar-info span i { color: var(--accent); margin-right: 6px; }
.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: var(--transition);
}
.top-bar-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-bar {
    background: linear-gradient(90deg, var(--accent), #E8C547, var(--accent));
    color: var(--primary-dark);
    padding: 8px 0;
    font-weight: 600;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.marquee-bar i { margin-right: 10px; }

/* ============================================
   HEADER + LOGO
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-main {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-img {
    width: 85px; height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 24px;
    box-shadow: var(--shadow);
    border: 3px solid var(--accent);
    flex-shrink: 0;
}
.logo-text h1 {
    font-size: 22px;
    color: var(--primary-dark);
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}
.logo-text p {
    color: var(--gray);
    font-size: 13px;
    margin: 4px 0 0 0;
    font-style: italic;
}
.btn-admission {
    padding: 9px 18px;
    font-size: 13px;
}
.btn-admission:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-menu {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    color: var(--white);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    background: var(--accent);
    color: var(--primary-dark);
}
.nav-menu .dropdown-icon { font-size: 10px; }

/* Submenu */
.submenu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 230px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-top: 3px solid var(--accent);
}
.nav-menu > li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu li a {
    color: var(--text);
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    text-transform: none;
}
.submenu li:last-child a { border-bottom: none; }
.submenu li a:hover {
    background: var(--soft-pink);
    color: var(--primary);
    padding-left: 26px;
}

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

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.slide.active { opacity: 1; }
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(92,14,37,0.75), rgba(139,21,56,0.5));
}
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}
.slide-content h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    animation: slideInDown 1s ease;
    max-width: 900px;
}
.slide-content p {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 700px;
    animation: slideInUp 1s ease;
}
.slide-content .accent-line {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    animation: slideInUp 1.2s ease;
}
.slide-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.slider-arrows button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
}
.slider-arrows button:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.slider-arrows .prev { left: 30px; }
.slider-arrows .next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}
.slider-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots span.active { background: var(--accent); transform: scale(1.4); }

@keyframes slideInDown { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ============================================
   QUICK LINKS BAR
   ============================================ */
.quick-links {
    background: var(--white);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    margin-top: -40px;
    z-index: 5;
    border-radius: var(--radius-lg);
    margin-left: 20px;
    margin-right: 20px;
}
.quick-links-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 0 20px;
}
.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text);
    transition: var(--transition);
    border: 2px solid transparent;
}
.quick-link:hover {
    background: var(--soft-pink);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: var(--primary);
}
.quick-link i {
    font-size: 28px;
    color: var(--primary);
    background: var(--soft-pink);
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--border);
}
.quick-link:hover i { background: var(--primary); color: var(--white); border-color: var(--accent); }
.quick-link span { font-weight: 600; font-size: 14px; }

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .sub {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 8px;
}
.section-title h2 {
    font-size: 38px;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 14px;
}
.section-title h2 span { color: var(--secondary); }
.section-title .underline {
    width: 80px; height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}
.section-title .underline::before, .section-title .underline::after {
    content: "";
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 30px; height: 2px;
    background: var(--border);
}
.section-title .underline::before { right: 100%; margin-right: 12px; }
.section-title .underline::after { left: 100%; margin-left: 12px; }

/* ============================================
   WELCOME / ABOUT
   ============================================ */
.welcome-section { background: var(--cream); }
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.welcome-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 60px;
}
.welcome-image::after {
    content: "";
    position: absolute;
    bottom: -20px; right: -20px;
    width: 150px; height: 150px;
    border: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.welcome-content h3 {
    font-size: 16px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}
.welcome-content h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin: 10px 0 20px;
    font-weight: 800;
}
.welcome-content p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 16px;
}
.welcome-content .school-address {
    background: var(--soft-pink);
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    margin: 20px 0;
    font-weight: 500;
    color: var(--primary-dark);
}
.welcome-content .school-address i { color: var(--secondary); margin-right: 8px; }

/* ============================================
   STATS
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    border-color: var(--accent);
}
.stat-card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 14px;
}
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    font-weight: 500;
}

/* ============================================
   LEADERSHIP
   ============================================ */
.leadership-section { background: var(--white); }
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.leader-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.leader-image {
    height: 320px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leader-image img { width: 100%; height: 100%; object-fit: cover; }
.leader-image .placeholder {
    color: rgba(255,255,255,0.5);
    font-size: 100px;
}
.leader-image::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(92,14,37,0.85), transparent);
}
.leader-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.leader-info {
    padding: 24px;
    text-align: center;
}
.leader-info h3 {
    color: var(--primary-dark);
    font-size: 22px;
    margin-bottom: 4px;
}
.leader-info .designation {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.leader-info p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 18px;
    min-height: 80px;
}
.leader-info .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    border: 2px solid var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    transition: var(--transition);
}
.leader-info .read-more:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { background: var(--soft-pink); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img,
.gallery-item .placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item .placeholder {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); font-size: 50px;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(92,14,37,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: var(--white);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay h4 { font-size: 16px; font-weight: 600; }

/* ============================================
   TWO COLUMN - Announcements + Celebrations
   ============================================ */
.dual-section {
    background: var(--white);
}
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.announce-box, .celebrations-box {
    background: var(--cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}
.box-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box-header h3 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.box-header h3 i { color: var(--accent); }
.box-header a { color: var(--accent); font-size: 13px; font-weight: 600; }

.announce-list { max-height: 480px; overflow-y: auto; padding: 16px; }
.announce-item {
    padding: 16px;
    border-bottom: 1px dashed var(--border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.announce-item:last-child { border-bottom: none; }
.announce-date {
    background: var(--primary);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    font-size: 12px;
    font-weight: 600;
}
.announce-date .day { font-size: 22px; font-weight: 800; display: block; }
.announce-content h4 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.announce-content .important-tag {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 2px 8px;
    font-size: 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.announce-content p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

/* Celebrations carousel */
.celebrations-list { padding: 20px; }
.celebration-card {
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    background: var(--white);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}
.celebration-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.celebration-card.birthday { border-left-color: var(--secondary); }
.celebration-card.topper { border-left-color: var(--accent); }
.celebration-card.farewell { border-left-color: var(--primary); }
.celebration-card.event { border-left-color: var(--success); }

.celebration-header {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
}
.celebration-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}
.celebration-icon.topper { background: linear-gradient(135deg, var(--accent), #B8941F); color: var(--primary-dark); }
.celebration-icon.farewell { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.celebration-info h4 { color: var(--primary-dark); font-size: 17px; margin: 0; }
.celebration-info .type-tag {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.celebration-card p {
    color: var(--gray);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   TOPPERS
   ============================================ */
.toppers-section { background: var(--cream); }
.toppers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.topper-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}
.topper-card:hover { transform: translateY(-8px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.topper-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.topper-image img { width: 100%; height: 100%; object-fit: cover; }
.topper-image .placeholder {
    color: rgba(255,255,255,0.6);
    font-size: 80px;
}
.topper-image .crown {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow);
}
.topper-info { padding: 20px; }
.topper-info h4 { color: var(--primary-dark); font-size: 18px; margin-bottom: 4px; }
.topper-info .class-badge {
    display: inline-block;
    background: var(--soft-pink);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0;
}
.topper-info .percentage {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    margin-top: 8px;
}

/* ============================================
   CONTACT / LOCATION
   ============================================ */
.contact-section { background: var(--white); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info { padding: 20px 0; }
.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--soft-pink);
    border-radius: var(--radius);
    margin-bottom: 16px;
    align-items: center;
    transition: var(--transition);
}
.contact-item:hover { transform: translateX(6px); }
.contact-item .icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-item h4 {
    color: var(--primary-dark);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.contact-item p { color: var(--gray); margin: 0; }
.contact-item a { color: var(--primary); font-weight: 600; }

.map-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}
.map-box iframe { width: 100%; height: 100%; border: 0; }

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: var(--cream);
    transition: var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============================================
   FLOATING CHAT BOX
   ============================================ */
.chat-fab {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 999;
}
.chat-toggle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 26px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.chat-toggle:hover { transform: scale(1.1); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(139, 21, 56, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(139, 21, 56, 0.8), 0 0 0 12px rgba(139, 21, 56, 0.1); }
}

.chat-menu {
    position: absolute;
    bottom: 80px; right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}
.chat-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary-dark);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 14px;
    min-width: 160px;
    transition: var(--transition);
}
.chat-menu a:hover { transform: translateX(-6px); }
.chat-menu a i { font-size: 20px; width: 24px; }
.chat-menu .whatsapp i { color: #25D366; }
.chat-menu .instagram i { color: #E1306C; }
.chat-menu .facebook i { color: #1877F2; }
.chat-menu .twitter i { color: #1DA1F2; }
.chat-menu .youtube i { color: #FF0000; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2C0815, #5C0E25);
    color: #E8D5DA;
    padding: 60px 0 0;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--accent);
}
.footer-col p { color: #B5A5A8; font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #B5A5A8;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-col ul li a::before { content: "›"; color: var(--accent); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo .logo-img { width: 56px; height: 56px; font-size: 22px; }
.footer-logo h3 { color: var(--white); font-size: 18px; line-height: 1.2; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    color: #B5A5A8;
    font-size: 14px;
}
.footer-contact-item i { color: var(--accent); margin-top: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    text-align: center;
    color: #B5A5A8;
    font-size: 14px;
}
.footer-bottom a { color: var(--accent); }
.footer-bottom .legal-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.footer-bottom .legal-links a:hover { color: var(--white); }

/* ============================================
   INNER PAGES
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
    color: var(--white);
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(212,175,55,0.2) 0%, transparent 60%);
}
.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: var(--accent-light);
    font-size: 14px;
    position: relative;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { opacity: 0.7; }

.page-content-section { padding: 60px 0; background: var(--white); }
.page-content { max-width: 900px; margin: 0 auto; }
.page-content h2, .page-content h3 {
    color: var(--primary-dark);
    margin: 24px 0 14px;
    font-weight: 700;
}
.page-content h2 { font-size: 28px; }
.page-content h3 { font-size: 22px; }
.page-content p { margin-bottom: 14px; color: var(--text); font-size: 16px; line-height: 1.8; }
.page-content ul, .page-content ol { margin: 14px 0 20px 24px; }
.page-content li { margin-bottom: 8px; color: var(--text); }
.page-content strong { color: var(--primary-dark); }

/* Leader page profile */
.leader-profile {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}
.leader-profile-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    outline: 3px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 120px;
}
.leader-profile-image img { width: 100%; height: 100%; object-fit: cover; }
.leader-profile-content h2 { color: var(--primary-dark); font-size: 32px; margin-bottom: 6px; }
.leader-profile-content .designation {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 14px;
}
.leader-profile-content .message {
    white-space: pre-line;
    color: var(--text);
    line-height: 1.9;
    font-size: 16px;
}

/* Alert / Flash */
.alert {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}
.alert-success { background: #E8F5E9; border-color: var(--success); color: #1B5E20; }
.alert-error { background: #FFEBEE; border-color: #C62828; color: #B71C1C; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu { gap: 0; }
    .nav-menu > li > a { padding: 14px 14px; font-size: 13px; }
    .leadership-grid { grid-template-columns: repeat(2, 1fr); }
    .toppers-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-links-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .top-bar .container { justify-content: center; text-align: center; }
    .mobile-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--primary-dark);
        max-height: 0; overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .nav-menu.open { max-height: 600px; overflow-y: auto; }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a { border-bottom: 1px solid rgba(255,255,255,0.1); border-right: none; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(0,0,0,0.2); display: none; }
    .nav-menu > li.open .submenu { display: block; }
    .submenu li a { color: rgba(255,255,255,0.8); }
    .submenu li a:hover { background: var(--secondary); color: var(--white); }

    .slide-content h2 { font-size: 32px; }
    .slide-content p { font-size: 16px; }
    .hero-slider { height: 420px; }
    .slider-arrows button { width: 40px; height: 40px; }

    .quick-links { margin-top: -20px; }
    .quick-links-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px; }
    .welcome-grid, .dual-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .leadership-grid, .gallery-grid, .toppers-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .toppers-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .leader-profile { grid-template-columns: 1fr; }

    .section-title h2 { font-size: 28px; }
    .page-banner h1 { font-size: 30px; }

    .logo-text h1 { font-size: 17px; }
    .logo-text p { font-size: 11px; }
    .logo-img { width: 56px; height: 56px; font-size: 20px; }

    .chat-fab { bottom: 20px; right: 20px; }
    .chat-toggle { width: 54px; height: 54px; font-size: 22px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .toppers-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 38px; }
}
