/* 
   Seth Anandram Jaipuria School Greater Noida Copy
   Core Design System stylesheet
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #002f6c;
    --primary-light: #00408c;
    --primary-dark: #001f4d;
    --primary-rgb: 0, 47, 108;
    --secondary: #f2a900;
    --secondary-hover: #d69500;
    --secondary-light: #fff8e6;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--text-muted); }

.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-dark { background-color: var(--dark); color: var(--white); }

.py-md { padding: 4rem 0; }
.py-lg { padding: 6rem 0; }
.pb-none { padding-bottom: 0 !important; }
.pt-none { padding-top: 0 !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Header & Navigation */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-contacts {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-contacts a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.top-contacts a:hover {
    color: var(--secondary);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a:hover {
    color: var(--secondary);
}

.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    line-height: 1.15;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-hover);
    letter-spacing: 0.5px;
}

/* Navbar */
.nav-menu {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--secondary-hover);
    background-color: var(--light);
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--secondary);
    z-index: 999;
    padding: 0.5rem 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--light);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: var(--secondary-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 47, 108, 0.85) 0%, rgba(0, 47, 108, 0.4) 100%);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 650px;
}

.slide-content h2 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--secondary);
    color: var(--primary-dark);
}

.slider-btn-prev { left: 20px; }
.slider-btn-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--secondary);
    width: 28px;
    border-radius: 6px;
}

/* Inner Page Hero Banner */
.page-banner {
    position: relative;
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 80%);
    pointer-events: none;
}

.page-banner-title {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: inline-flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.breadcrumbs span {
    color: var(--secondary);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.stat-card {
    background-color: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    border-bottom: 4px solid var(--secondary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

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

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-hover);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.section-header-left {
    text-align: left;
    margin: 0 0 3rem 0;
    max-width: none;
}

.section-header-left .section-title::after {
    left: 0;
    transform: none;
}

/* Feature Card */
.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.feature-card:hover::before {
    width: 8px;
    background-color: var(--secondary);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

/* Info Box / Text Content */
.rich-text {
    line-height: 1.8;
}

.rich-text p {
    margin-bottom: 1.5rem;
}

.rich-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: square;
}

.rich-text li {
    margin-bottom: 0.5rem;
}

/* Principal Snippet Section */
.principal-snippet {
    background-color: var(--light);
}

.principal-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.principal-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 47, 108, 0.6) 0%, transparent 100%);
}

.principal-tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--white);
    z-index: 10;
}

.principal-tag h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.principal-tag p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 3rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.7;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -2.5rem;
    left: 0;
    opacity: 0.1;
    font-family: Georgia, serif;
    color: var(--primary);
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* News & Notice Board */
.news-tabs-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.news-tab-headers {
    display: flex;
    background-color: var(--light);
    border-bottom: 1px solid var(--border);
}

.news-tab-btn {
    flex: 1;
    padding: 1.25rem;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.news-tab-btn:hover {
    color: var(--primary);
    background-color: rgba(0, 47, 108, 0.05);
}

.news-tab-btn.active {
    color: var(--primary);
    background-color: var(--white);
    border-bottom: 3px solid var(--secondary);
}

.news-tab-content {
    padding: 2rem;
}

.news-pane {
    display: none;
}

.news-pane.active {
    display: block;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--light);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    height: fit-content;
    min-width: 80px;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.news-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-info h4 {
    margin-bottom: 0.25rem;
}

.news-info h4 a:hover {
    color: var(--secondary-hover);
}

/* Forms */
.form-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 47, 108, 0.1);
}

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

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

.form-alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: none;
}

.form-alert.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Contact Info Details */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    background-color: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-info-icon {
    font-size: 1.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    margin-bottom: 0.25rem;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    border: 1px solid var(--border);
}

/* Fee Calculator */
.fee-calculator-wrapper {
    background-color: var(--secondary-light);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--secondary);
}

.fee-results {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
}

.fee-row.total {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    padding-top: 1.25rem;
}

/* Table styling */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    text-align: left;
}

.table th, .table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.table th {
    background-color: var(--primary-dark);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:nth-child(even) {
    background-color: var(--light);
}

/* Cards Layouts */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

.card-content {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Managing Committee Member Card */
.member-card {
    text-align: center;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 2rem;
    transition: var(--transition);
}

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

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--secondary);
    overflow: hidden;
}

.member-avatar i {
    font-size: 3.5rem;
    color: var(--primary-dark);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Photo Gallery & Lightbox */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.gallery-filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--border);
    background-color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 47, 108, 0.7);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    color: var(--white);
    z-index: 2;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.gallery-item-overlay h4 {
    color: var(--white);
    font-size: 1.15rem;
}

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

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

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 80vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

/* House Cards */
.house-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.house-card {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.house-card.ganga {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}
.house-card.yamuna {
    background: linear-gradient(135deg, #14532d 0%, #22c55e 100%);
}
.house-card.narmada {
    background: linear-gradient(135deg, #7f1d1d 0%, #ef4444 100%);
}
.house-card.godavari {
    background: linear-gradient(135deg, #78350f 0%, #eab308 100%);
}

.house-crest {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.house-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.house-value {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--white);
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--light);
}

.accordion-icon {
    font-size: 1rem;
    transition: var(--transition);
    color: var(--secondary-hover);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background-color: var(--white);
}

.accordion-content-inner {
    padding: 1.25rem 0;
    border-top: 1px solid var(--light);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Footer Section */
.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 5rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-text {
    line-height: 1.2;
}

.footer-logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.footer-logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 0.5rem;
}

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

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
}

.footer-contact-icon {
    color: var(--secondary);
    font-size: 1.1rem;
}

.sub-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 4rem;
    font-size: 0.85rem;
}

.sub-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .grid-4, .stats-grid, .house-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        margin-top: 2rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-slider {
        height: 450px;
    }
    .slide-content h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-slider {
        height: 380px;
    }
    .slide-content h2 {
        font-size: 1.85rem;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .house-grid {
        grid-template-columns: 1fr;
    }
    .top-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .sub-footer .container {
        flex-direction: column;
        text-align: center;
    }
}

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

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--light);
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 1rem;
    background-color: var(--light);
    border-radius: var(--radius-sm);
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.mobile-nav-item.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-nav-item.active .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Admission Ticker Bar */
.admission-ticker-bar {
    background-color: #002f6c; /* School Primary Blue (#002f6c) */
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 3px solid var(--secondary); /* Golden bottom border */
    z-index: 99;
    position: relative;
}

.admission-ticker-bar marquee {
    vertical-align: middle;
}

.admission-ticker-bar .ticker-text {
    display: inline-block;
    padding-left: 20px;
}

.admission-ticker-bar .ticker-text strong {
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
}

.admission-ticker-bar a.tel-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.7);
    padding: 0 2px;
    transition: var(--transition);
}

.admission-ticker-bar a.tel-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

@media (max-width: 768px) {
    .admission-ticker-bar {
        padding: 6px 0;
        font-size: 0.85rem;
    }
}
