/* 
   ==========================================================================
   EXCELLENT INDIAN SCHOOL HOMEPAGE STYLESHEET
   Primary Theme: Navy Blue (#0f2b5c) & Gold Accent (#d4af37)
   Accent Crimson: (#b82626)
   ========================================================================== 
*/

/* --- CSS Variables & Resets --- */
:root {
    --primary-color: #0f2b5c;
    --primary-dark: #071733;
    --primary-light: #184187;
    --accent-color: #d4af37;
    --accent-hover: #bda032;
    --secondary-color: #b82626;
    --text-dark: #2c3e50;
    --text-muted: #66788a;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 8px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-light {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.margin-top {
    margin-top: 30px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Headings & Dividers --- */
.section-subtitle {
    display: block;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-size: 13px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin-bottom: 25px;
}

.divider.center {
    margin-left: auto;
    margin-right: auto;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--text-muted);
}

/* --- Top Announcement & Contact Bar --- */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-contact-info span {
    margin-right: 20px;
}

.top-contact-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Scrolling Announcement Ticker */
.ticker-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px 10px;
    overflow: hidden;
    max-width: 500px;
}

.ticker-title {
    font-weight: 600;
    color: var(--accent-color);
    margin-right: 10px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11px;
}

.ticker {
    display: flex;
    overflow: hidden;
    height: 18px;
    position: relative;
    width: 320px;
}

.ticker-item {
    position: absolute;
    width: 100%;
    white-space: nowrap;
    animation: ticker-slide 12s infinite linear;
    opacity: 0;
}

.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(2) { animation-delay: 4s; }
.ticker-item:nth-child(3) { animation-delay: 8s; }

@keyframes ticker-slide {
    0% { transform: translateY(100%); opacity: 0; }
    5% { transform: translateY(0); opacity: 1; }
    30% { transform: translateY(0); opacity: 1; }
    35% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(-100%); opacity: 0; }
}

/* --- Branding Header --- */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
}

.school-names h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.school-names .affiliation {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2px;
}

.school-names .motto {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 1px;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* --- Navigation Navbar --- */
.main-nav {
    background-color: #4d0195;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.main-nav.sticky-nav {
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 18px 20px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.nav-links > li:hover > a,
.nav-links > li.active > a {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.nav-links i {
    font-size: 10px;
    margin-left: 4px;
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-dark);
    width: 230px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--accent-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.dropdown-menu a:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 25px;
}

/* Nav Search Bar */
.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 10px;
}

.nav-search input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 6px;
    font-size: 13px;
    outline: none;
    width: 130px;
    transition: var(--transition);
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nav-search input:focus {
    width: 180px;
}

.nav-search button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 14px;
}

.nav-search button:hover {
    color: var(--accent-color);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 15px 0;
}

/* --- Hero Image Slider --- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    height: 520px;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    color: var(--white);
    text-align: center;
    z-index: 3;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 300;
}

.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 43, 92, 0.6);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.prev-btn { left: 25px; }
.next-btn { right: 25px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* --- Welcome & Principal Desk Section --- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}

.welcome-text p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.key-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.point-item i {
    color: var(--accent-color);
    font-size: 18px;
}

.point-item span {
    font-weight: 500;
    font-size: 14px;
}

/* Principal Card */
.principal-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.principal-img-container {
    position: relative;
    height: 250px;
}

.principal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-img-container .badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principal-content {
    padding: 25px;
}

.principal-content h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 2px;
}

.principal-designation {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.principal-message {
    font-style: italic;
    color: var(--text-muted);
    font-size: 13.5px;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-link:hover {
    color: var(--accent-color);
}

.read-more-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* --- Notice Board & Quick Links Section --- */
.info-hub-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-card-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-header .view-all {
    font-size: 12px;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
}

.info-card-header .view-all:hover {
    text-decoration: underline;
}

/* News List Container */
.news-list-container {
    padding: 10px 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.news-date .day {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.news-date .month {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.news-body h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.news-body h4 a:hover {
    color: var(--primary-color);
}

.news-body p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Quick Links Grid */
.quick-links-grid {
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 20px 10px;
    text-align: center;
    transition: var(--transition);
}

.quick-link-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.quick-link-item .icon-box {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 10px;
    transition: var(--transition);
}

.quick-link-item:hover .icon-box {
    color: var(--white);
    transform: scale(1.1);
}

.quick-link-item span {
    font-size: 13.5px;
    font-weight: 500;
}

/* --- Institutional Stats Section --- */
.stats-section {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 43, 92, 0.9);
}

.stats-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-icon {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- Facilities Grid --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.facility-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.facility-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.facility-info {
    padding: 25px;
    text-align: left;
}

.facility-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.facility-info p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 220px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 43, 92, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h4 {
    transform: translateY(0);
}

/* --- Contact & Maps Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-info-list {
    margin: 30px 0;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(15, 43, 92, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--primary-color);
}

.contact-info-item p {
    font-size: 13.5px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid #e2e8f0;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 350px;
}

/* --- Footer Styling --- */
.main-footer {
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

.school-desc p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.office-hours p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* 
   ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== 
*/

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 10px;
    }
    
    .logo-branding {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .school-names h1 {
        font-size: 22px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-hub-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    
    .top-contact-info {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 5px;
    }
    
    .ticker-wrap {
        width: 100%;
        justify-content: center;
    }
    
    /* Responsive Navigation Hamburger Menu */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-dark);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links > li:hover > a,
    .nav-links > li.active > a {
        border-bottom-color: transparent;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(0, 0, 0, 0.1);
        border-top: none;
    }
    
    .dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding-left: 35px;
    }
    
    .nav-search {
        margin: 15px 20px;
        width: calc(100% - 40px);
    }
    
    .nav-search input {
        width: 100%;
    }
    
    .nav-search input:focus {
        width: 100%;
    }
    
    /* Hero slider reductions */
    .slider-container {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
    }
    
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

@media (max-width: 500px) {
    .school-names h1 {
        font-size: 18px;
    }
    
    .key-points {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}
