/* ==========================================================
   JIYA MODEL SCHOOL - Modern Educational Portal Stylesheet
   West Bengal Premier School & Management System
   ========================================================== */

:root {
    --primary: #0f2e59;
    --primary-dark: #081a33;
    --primary-light: #1e4b85;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fef3c7;
    --secondary: #10b981;
    --dark: #0f172a;
    --slate: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--slate);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Section Header Typography */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

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

.section-padding {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 46, 89, 0.35);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 46, 89, 0.45);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

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

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

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

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ==========================================================
   1. TOP BAR
   ========================================================== */
.top-bar {
    background: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-item i {
    color: var(--accent);
}

.top-item a:hover {
    color: var(--accent);
}

.affiliation-pill {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
}

.live-clock-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    font-family: monospace, sans-serif;
    letter-spacing: 0.03em;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.time-sep {
    opacity: 0.4;
    margin: 0 4px;
}

.admin-badge-link {
    color: var(--accent);
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.admin-badge-link:hover {
    background: var(--accent);
    color: var(--dark) !important;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ==========================================================
   2. HEADER & NAVIGATION
   ========================================================== */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(15, 46, 89, 0.25);
    border: 2px solid var(--accent);
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.brand-text p {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

/* ==========================================================
   3. HERO BANNER
   ========================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(8, 24, 43, 0.92) 0%, rgba(15, 46, 89, 0.88) 100%),
                url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 1rem 0;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: var(--accent);
    position: relative;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    color: var(--dark);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-card-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.hero-card-header p {
    font-size: 0.85rem;
    color: var(--muted);
}

.quick-form .form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 46, 89, 0.12);
}

/* ==========================================================
   4. NOTICE TICKER
   ========================================================== */
.notice-ticker-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ticker-badge {
    background: #ef4444;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    flex-grow: 1;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.ticker-text a {
    color: var(--primary);
    text-decoration: underline;
    margin-left: 6px;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ==========================================================
   5. ABOUT US
   ========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--dark);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    font-weight: 800;
}

.experience-badge span {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1.8rem 0;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.about-feature-item i {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* ==========================================================
   6. ACADEMICS SECTION
   ========================================================== */
.academics-section {
    background: #ffffff;
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 3rem;
}

.academic-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.academic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(15, 46, 89, 0.2);
}

.academic-card:hover::before {
    background: var(--accent);
    height: 6px;
}

.academic-icon {
    width: 60px;
    height: 60px;
    background: rgba(15, 46, 89, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.academic-card:hover .academic-icon {
    background: var(--primary);
    color: var(--accent);
}

.academic-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.academic-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.academic-list {
    margin-bottom: 1.5rem;
}

.academic-list li {
    font-size: 0.88rem;
    color: var(--slate);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.academic-list li i {
    color: var(--secondary);
    font-size: 0.75rem;
}

/* ==========================================================
   7. FACILITIES
   ========================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 3rem;
}

.facility-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.facility-thumb {
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.facility-card:hover .facility-thumb img {
    transform: scale(1.08);
}

.facility-body {
    padding: 1.25rem;
}

.facility-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.facility-body p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ==========================================================
   8. WHY CHOOSE US
   ========================================================== */
.why-us-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.why-us-section .section-title {
    color: var(--white);
}

.why-us-section .section-desc {
    color: #cbd5e1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 3rem;
}

.why-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: var(--dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.why-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.why-item p {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* ==========================================================
   9. ADMISSIONS
   ========================================================== */
.admissions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 3rem;
    align-items: start;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.step-info p {
    font-size: 0.88rem;
    color: var(--muted);
}

.admission-form-wrapper {
    background: var(--white);
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.admission-form-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

/* ==========================================================
   10. GALLERY
   ========================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 46, 89, 0.9), transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

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

.gallery-overlay h5 {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ==========================================================
   11. TESTIMONIALS
   ========================================================== */
.testimonials-section {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(15, 46, 89, 0.15);
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--slate);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-details h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.author-details span {
    font-size: 0.78rem;
    color: var(--muted);
}

/* ==========================================================
   12. CONTACT US
   ========================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    margin-top: 3rem;
}

.contact-card {
    background: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.88rem;
    color: #cbd5e1;
}

.contact-form-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================
   13. FOOTER
   ========================================================== */
.main-footer {
    background: #061120;
    color: #94a3b8;
    padding: 4.5rem 0 1.5rem;
    border-top: 3px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 40px;
    margin-bottom: 3.5rem;
}

.footer-brand h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-seo-cloud {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-seo-cloud h5 {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-tag {
    font-size: 0.75rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.seo-tag:hover {
    color: var(--accent);
}

/* ==========================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        max-width: 520px;
        margin: 0 auto;
    }
    .academics-grid, .why-us-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .facilities-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.85rem;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }
    .top-bar-left, .top-bar-right {
        justify-content: center;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        overflow-y: auto;
    }
    .nav-menu.active {
        left: 0;
    }
    .header-cta {
        display: none;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .admissions-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .academics-grid, .why-us-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .facilities-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
