:root {
    --navy: #002147;
    --gold: #FFD700;
    --red: #D32F2F;
    --white: #ffffff;
    --light-gray: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

.container { width: 90%; max-width: 1200px; margin: auto; }

/* Top Bar */
.top-bar { background: var(--navy); color: white; padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar a { color: var(--gold); text-decoration: none; margin-left: 15px; }

/* Header & Logo */
.main-header { background: var(--white); padding: 10px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 70px; width: auto; }
.logo-text { display: flex; flex-direction: column; border-left: 2px solid var(--navy); padding-left: 10px; }
.school-name { font-weight: 800; font-size: 1.5rem; color: var(--navy); letter-spacing: 1px; }
.school-sub { font-size: 0.9rem; color: var(--red); font-weight: 600; }

/* Navigation & Dropdowns */
.nav-menu ul { list-style: none; display: flex; gap: 20px; }
.nav-menu ul li a { text-decoration: none; color: var(--navy); font-weight: 600; transition: 0.3s; padding: 10px 0; }
.nav-menu ul li a:hover { color: var(--red); }

.dropdown { position: relative; }
.dropdown-content {
    position: absolute; top: 100%; left: 0; background: var(--white);
    min-width: 200px; display: none; flex-direction: column;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); border-top: 3px solid var(--red);
}
.dropdown:hover .dropdown-content { display: flex; }
.dropdown-content li a { padding: 12px 20px; display: block; border-bottom: 1px solid #eee; }

/* 1. Hide the dropdown by default */
.dropdown-content {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 3px solid var(--red);
    list-style: none;
    z-index: 999;
}

/* 2. Show on Hover (Desktop) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
        animation: fadeIn 0.3s ease; /* Professional touch */
    }
}

/* 3. Smooth Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. Dropdown Link Styling */
.dropdown-content li a {
    padding: 12px 20px;
    display: block;
    color: var(--navy) !important;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.dropdown-content li a:hover {
    background-color: var(--light-gray);
    color: var(--red) !important;
}

/* --- 1. Desktop Styles (Default) --- */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--navy);
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

/* Hide Dropdowns Initially */
.dropdown-content {
    display: none !important; /* Force hide */
    position: absolute;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Show only on Hover for Desktop */
@media (min-width: 769px) {
    .dropdown:hover > .dropdown-content {
        display: block !important;
    }
}

/*-------------------hamberger css-----------------------------*/
/* HAMBURGER STYLING */
.hamburger {
    display: none; /* Hidden on Desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #002147; /* School Navy */
    transition: all 0.3s ease-in-out;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 992px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: -100%; /* Start hidden above screen */
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 1000;
        display: none; /* Hide by default on mobile */
    }
    /* Show when the parent 'li' has the active class */
    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Optional: Rotate the arrow icon */
    .dropdown.active .fa-chevron-down {
        transform: rotate(180deg);
        transition: 0.3s;
    }

    /* THE TOGGLE CLASS */
    .nav-menu.show-menu {
        top: 0;
        display: flex; 
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #002147;
    }

    /* HAMBURGER TO 'X' ANIMATION */
    .hamburger.is-active .bar:nth-child(2) { opacity: 0; }
    .hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .no-scroll { overflow: hidden; }
}


/* --- 2. Mobile Styles (Breakpoint) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Hamburger now visible */
    }

    .nav-menu {
        display: none; /* Hide full menu on mobile initially */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    /* Show menu when JS toggles 'active' class */
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    /* Mobile Dropdown Logic: Stay hidden until clicked */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f9f9f9;
        display: none !important;
    }

    /* Show when parent has .open class */
    .dropdown.open > .dropdown-content {
        display: block !important;
    }
}

.section-padding { padding: 60px 0; }

.flex-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
/* Section Header */
.section-header .subtitle {
    color: #d32f2f;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #f39c12;
    margin: 15px auto 40px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,33,71,0.1);
    border-color: #002147;
}

.benefit-card.highlighted {
    background: #002147;
    color: #fff;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.benefit-card.highlighted .benefit-icon, 
.benefit-card.highlighted h3 {
    color: #f39c12;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #002147;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

.benefit-card.highlighted p {
    color: #ccc;
}

/* Chairman Column */
.chairman-col { flex: 2; } /* Takes up more space */
.chairman-card {
    display: flex;
    gap: 20px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.chairman-img {
    width: 280px;
    height: 310px;
    object-fit: cover;
    border-radius: 5px;
    border: 3px solid #F02244;
}
.quote { font-style: italic; color: var(--navy); font-weight: 600; margin-bottom: 10px; }

/* News Column */
.news-col { 
    flex: 1; 
    background: var(--navy); 
    color: white; 
    padding: 25px; 
    border-radius: 8px;
    max-height: 400px;
    overflow: hidden;
}
.news-col .section-heading { color: var(--gold); }
.news-list { list-style: none; }
.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.news-list li a { color: #fff; text-decoration: none; font-size: 0.95rem; }
.news-list li .date {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: bold;
}

/* RESPONSIVE FIX */
@media (max-width: 992px) {
    .flex-row {
        flex-direction: column; /* Stack on mobile/tablet */
    }
    .chairman-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Hero Slider */
.hero-slider { height: 70vh; position: relative; overflow: hidden; }
.slide { height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 15px; }
.cta-btn { background: var(--red); color: white; padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; }

.core-values {
    padding: 0; /* Removing padding to allow images to touch edges if desired */
    width: 100%;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    min-height: 400px;
}

.value-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    color: white;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Specific Background Images */
/*.v-vision { background-image: url('images/vision-bg.jpg'); }
.v-mission { background-image: url('images/mission-bg.jpg'); }
.v-objectives { background-image: url('images/objectives-bg.jpg'); }*/

/* Dark Overlay for readability */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 33, 71, 0.75); /* Navy blue with transparency */
    transition: background 0.3s ease;
    z-index: 1;
}

.value-card:hover .overlay {
    background: rgba(211, 47, 47, 0.85); /* Changes to Red on hover */
}

.value-content {
    position: relative;
    z-index: 2; /* Sits above the overlay */
}

/* Stats Section */
.stats-section {
    background: #002147;
    color: #fff;
    padding: 50px 0;
    margin-top: -30px; /* Overlap effect */
    position: relative;
    z-index: 2;
    border-radius: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #f39c12; /* Gold accent */
    margin-bottom: 5px;
}

/* Midas Spotlight */
.midas-wrapper {
    display: flex;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.midas-content {
    padding: 50px;
    flex: 1.5;
}

.midas-quote {
    flex: 1;
    background: #d32f2f;
    color: white;
    padding: 50px;
    display: flex;
    align-items: center;
    font-style: italic;
    font-size: 1.2rem;
}

.tag {
    background: #d32f2f;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .midas-wrapper { flex-direction: column; }
}

/*------------------Our Story CSS------------*/

/* About Hero */
.about-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), url('vision-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.about-hero h1 { font-size: 3rem; margin-bottom: 10px; }

/* Story Grid */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-text blockquote {
    font-size: 1.4rem;
    font-style: italic;
    color: #d32f2f;
    border-left: 5px solid #d32f2f;
    padding-left: 20px;
    margin-top: 20px;
}

/* Timeline Design */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #002147;
    top: 0; bottom: 0; left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px; height: 25px;
    right: -17px; background-color: white;
    border: 4px solid #d32f2f;
    top: 15px; border-radius: 50%; z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.right::after { left: -16px; }

.timeline-content {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Mobile Responsive Story & Timeline */
@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 15px; }
    .right { left: 0%; }
}
.value-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* RESPONSIVE: Stack on Mobile */
@media (max-width: 768px) {
    .values-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    
    .value-card {
        min-height: 300px;
    }
}

/* Welcome Section Styles */
.section-padding { padding: 40px 0; }

.welcome-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.welcome-image-box {
    flex: 1;
    position: relative;
    min-width: 350px;
}

.main-welcome-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px rgba(0, 33, 71, 0.05); /* Navy offset shadow */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #d32f2f; /* School Red */
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge .years { display: block; font-size: 1.8rem; font-weight: 800; }
.experience-badge .text { font-size: 0.8rem; text-transform: uppercase; }

.welcome-content { flex: 1.2; min-width: 350px; }

.sub-title { color: #d32f2f; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; }

.main-title { font-size: 2.8rem; color: #002147; line-height: 1.2; margin-bottom: 20px; }

.highlight { color: #d32f2f; position: relative; }

.lead-text { font-size: 1.2rem; font-weight: 600; color: #444; margin-bottom: 15px; }

.description { color: #666; line-height: 1.8; margin-bottom: 25px; }

.welcome-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #002147; }
.feature-item i { color: #d32f2f; }

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: #002147;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button:hover { background: #d32f2f; transform: translateY(-3px); }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .welcome-wrapper { flex-direction: column; text-align: center; }
    .welcome-features { justify-content: center; }
    .main-title { font-size: 2.2rem; }
}

.values-flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.value-circle {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px dashed #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #002147;
    transition: 0.4s;
}

.value-item:hover .value-circle {
    background: #d32f2f;
    color: #fff;
    border-style: solid;
    transform: rotate(360deg);
}

.value-item h4 {
    color: #002147;
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-item p {
    font-size: 0.9rem;
    color: #777;
}
/*----------------------mission vision objectives our story css-----------------------*/
.story-block {
    padding: 10px 0;
    overflow: hidden;
}

.story-block.alternate {
    background-color: #f8f9fa; /* Light gray for the middle section */
}

.block-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.block-image {
    flex: 1;
}

.block-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px #002147; /* School Navy offset shadow */
    transition: 0.3s ease;
}

.block-text {
    flex: 1;
}

.small-title {
    color: #d32f2f; /* School Red */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.block-text h2 {
    font-size: 2.5rem;
    color: #002147;
    margin: 10px 0 20px;
}

.block-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: #002147;
    margin-top: 20px;
}

/* List styling for Objectives */
.obj-list {
    list-style: none;
    padding: 0;
}

.obj-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.obj-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: 900;
}

/* Responsive Mobile Layout */
@media (max-width: 992px) {
    .block-grid {
        flex-direction: column !important; /* Forces image above text on all blocks */
        text-align: center;
        gap: 40px;
    }
    
    .accent-line {
        margin: 20px auto 0;
    }
    
    .block-image img {
        box-shadow: 10px 10px 0px #002147;
    }
}

/*----------------------presidents-pens-down-css-------------------------------------*/

/* Hero Section */
.president-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)), url('school-gate.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

/* Grid Layout */
.president-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    margin-top: -50px; /* Overlaps hero for a modern look */
}
.section-padding-president {padding: 80px 0}

/* Sidebar Profile */
.president-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.president-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-info {
    padding: 25px;
    text-align: center;
}

.card-info h3 { color: #002147; margin-bottom: 5px; font-size: 1.2rem; }
.designation { color: #d32f2f; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }

.moto-box {
    margin-top: 25px;
    background: #002147;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.moto-box h4 { font-style: italic; letter-spacing: 1px; }

/* Content Styling */
.welcome-title {
    font-size: 2.5rem;
    color: #002147;
    margin-bottom: 25px;
}

.lead-para {
    font-size: 1.2rem;
    color: #002147;
    font-weight: 600;
    line-height: 1.6;
    border-left: 5px solid #d32f2f;
    padding-left: 20px;
    margin-bottom: 30px;
}

.message-body p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

blockquote {
    background: #f0f4f8;
    padding: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #002147;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.signature {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 992px) {
    .president-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .president-sidebar {
        max-width: 400px;
        margin: 0 auto;
    }
}
/*----------------------------------------------ENd---------------------------------*/

/*--------------------------message-from-principal--CSS-starts--------------------------*/
/* Hero Style */
.principal-hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('campus-view.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 70px 0;
}

.principal-hero h1 { font-size: 2.8rem; }

/* Layout */
.principal-flex {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.principal-main-text { flex: 2; }
.principal-profile { flex: 1; position: sticky; top: 100px; }

/* Typography & Content */
.welcome-text {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.meaning-para {
    font-size: 1.2rem;
    font-style: italic;
    color: #0056b3;
    background: #eef6ff;
    padding: 20px;
    border-left: 5px solid #002147;
}

.intelligence-box {
    margin: 30px 0;
    padding: 25px;
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 10px;
}

.iq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.iq-list li {
    padding: 8px 0;
    color: #002147;
    font-weight: 600;
}

.iq-list i { color: #28a745; margin-right: 10px; }

/* Profile Photo */
.photo-frame {
    position: relative;
    padding: 10px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.photo-frame img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.facility-preview {
    margin-top: 30px;
    background: #002147;
    color: white;
    padding: 25px;
    border-radius: 0 0 20px 20px;
}

.facility-preview h4 { margin-bottom: 15px; border-bottom: 1px solid #ffffff33; padding-bottom: 5px; }
.facility-preview ul { list-style: none; padding: 0; }
.facility-preview li { margin-bottom: 10px; font-size: 0.9rem; }

/* Signature */
.principal-signature {
    margin-top: 40px;
    border-top: 2px solid #002147;
    padding-top: 20px;
}

.principal-signature h4 { font-size: 1.4rem; color: #002147; margin: 0; }
.principal-signature p { margin: 0; color: #666; }

/* Mobile View */
@media (max-width: 992px) {
    .principal-flex { flex-direction: column-reverse; }
    .principal-profile { position: static; width: 100%; max-width: 400px; margin: 0 auto; }
}
/*-----------------------------------------END-----------------------------------------------*/

/*----------------------------------------Ousr Staff CSS Starts-------------------------------*/

/* Hero Styles */
.staff-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.9)), url('staff-group.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 0;
}

/* Pedagogy Cards */
.pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -40px;
}

.p-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border-bottom: 4px solid #d32f2f;
}

.p-card i {
    font-size: 40px;
    color: #002147;
    margin-bottom: 20px;
}

/* Table Styles */
/*.table-container {
    margin-bottom: 50px;
    overflow-x: auto;*/ /* Makes tables scrollable on mobile */
/*}

.table-title {
    color: #002147;
    border-left: 5px solid #d32f2f;
    padding-left: 15px;
    margin-bottom: 20px;
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.staff-table th {
    background-color: #002147;
    color: white;
    text-align: left;
    padding: 15px;
}

.staff-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.staff-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.staff-table tr:hover {
    background-color: #f1f1f1;
}*/
/* Staff Directory Styles */
.staff-directory { background: #f4f7f9; padding: 60px 0; }
.main-title { color: #002147; margin-bottom: 40px; font-weight: 800; }

/* Tab Navigation */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-link {
    padding: 12px 25px;
    border: none;
    background: #e0e0e0;
    color: #333;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    border-radius: 5px;
}

.tab-link.active {
    background: #002147;
    color: #fff;
}

/* Tab Content Visibility */
.tab-content { display: none; animation: fadeIn 0.5s; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Table Styling */
.table-responsive { overflow-x: auto; margin-bottom: 30px; }

.staff-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.staff-table th {
    background: #002147;
    color: #fff;
    text-align: left;
    padding: 15px;
}

.staff-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.staff-table tr:hover { background: #f1f4f8; }

.admin-header { margin: 20px 0 10px; color: #d32f2f; font-weight: 700; }
.admin-table th { background: #d32f2f; }

/* Intro Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #002147;
    color: white;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .intro-grid { grid-template-columns: 1fr; }
}



/*----------------------------------------------End----------------------------------------------*/
/*------------------------------------Admission-process-page-css-start-----------------------------*/

/* Admission Hero */
.admission-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)), url('admission-bg.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 0;
}

/* Process Steps */
.process-flow {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.flow-card {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid #f39c12;
}

.step-num {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
}

/* Grid Layout */
.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.doc-checklist, .fee-policy {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.doc-checklist ul { list-style: none; padding: 0; }
.doc-checklist li { margin-bottom: 12px; color: #444; }
.doc-checklist i { color: #27ae60; margin-right: 10px; }

.note-box {
    background: #fff3cd;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Late Fee Alert */
.late-fee-alert {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Exam & Withdrawal Info */
.info-flex {
    display: flex;
    gap: 30px;
}

.info-box {
    flex: 1;
    background: #002147;
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.exam-tags span {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.85rem;
}

.warning-callout {
    border: 1px dashed #f39c12;
    padding: 15px;
    margin: 15px 0;
}

/* CTA Section */
.admission-cta {
    text-align: center;
    background: #f39c12;
    color: white;
    padding: 60px 0;
}

.cta-btn {
    display: inline-block;
    background: #002147;
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .process-flow, .admission-grid, .info-flex {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}

/*----------------------------------------------End----------------------------------------------*/
/*-----------------------------Online enquiry form css starts---------------------------------------*/
/* Form Container */
.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 33, 71, 0.1);
    border-top: 5px solid #002147;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #002147;
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
}

.form-group input, .form-group select, .form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.2);
}

/* Captcha Styling */
.captcha-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #d32f2f;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #002147;
}

#captcha-answer {
    width: 100px;
    padding: 8px;
}

/* Button */
.submit-btn {
    width: 100%;
    background: #002147;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #d32f2f;
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}
/*-------------------------------------------------ENd----------------------------------*/
/*-----------------------------Life at anandsagar overview css starts-----------------------*/
/* Hero Styles */
.overview-hero {
    background: linear-gradient(rgba(0,33,71,0.7), rgba(0,33,71,0.7)), url('school-campus.jpg');
    background-size: cover;
    padding: 100px 0;
    color: white;
    text-align: center;
}

/* Timeline/Routine Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #d32f2f;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -45px;
    background: #002147;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
}

.timeline-content {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.assembly-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #002147;
}

/* Academic Section Styles */
.academic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-box {
    background: #fff3e0;
    padding: 20px;
    border-left: 5px solid #ff9800;
    margin-top: 20px;
}

.a-card {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.a-card:hover { transform: translateY(-5px); }
.a-card i { font-size: 2.5rem; color: #d32f2f; margin-bottom: 15px; }

@media (max-width: 768px) {
    .academic-grid { grid-template-columns: 1fr; }

/* Gallery Layout */
/*.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #002147;
    background: transparent;
    color: #002147;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #002147;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
    color: #fff;
    font-weight: bold;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }

.gallery-item h4 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #002147;
    text-align: center;
}*/

    

}
/*-----------------------------Life at anandsagar overview css Ends-----------------------*/

/*-----------------------------Life at anandsagar holiastic development css starts-----------------------*/

/* Hero Section */
.holistic-hero {
    background: linear-gradient(rgba(0, 33, 71, 0.75), rgba(0, 33, 71, 0.75)), url('holistic-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

/* Intro Section */
.holistic-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.holistic-intro .intro-content {
    flex: 1;
    min-width: 300px;
}

.holistic-intro .intro-image {
    flex: 1;
    min-width: 300px;
}

.holistic-intro .intro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 15 10px 30px rgba(0,0,0,0.1);
}

/* House System Section */
.house-system-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap-reverse; /* Image on right for larger screens */
}

.house-system-grid .house-image {
    flex: 1;
    min-width: 300px;
}

.house-system-grid .house-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.house-system-grid .house-content {
    flex: 1;
    min-width: 300px;
}

.house-colors {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}

.house-colors span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* CCA Spotlight */
.cca-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.activity-img {
    height: 180px;
    overflow: hidden;
}

.activity-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-img img {
    transform: scale(1.05);
}

.activity-card h4 {
    color: #002147;
    font-size: 1.25rem;
    margin: 15px 15px 5px;
}

.activity-card p {
    font-size: 0.9rem;
    color: #555;
    padding: 0 15px 15px;
}

.more-activities {
    margin-top: 60px;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.activity-tags span {
    background: #002147;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Talent Showcase */
.talent-showcase {
    background: #002147;
    color: white;
}

.talent-showcase .showcase-image {
    max-width: 700px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.talent-showcase .showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

.talent-showcase .image-caption {
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: -4px; /* Adjust to cover image border */
}

/* General Utilities for Sections */
.bg-light { background-color: #f8f9fa; }
.bg-dark { background-color: #002147; }
.text-white { color: white; }
.text-white-75 { color: rgba(255,255,255,0.75); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .holistic-intro, .house-system-grid {
        flex-direction: column;
        gap: 30px;
    }
    .holistic-intro .intro-content, .house-system-grid .house-content {
        order: 2; /* Content below image on mobile */
    }
    .holistic-intro .intro-image, .house-system-grid .house-image {
        order: 1; /* Image above content on mobile */
    }
    .talent-showcase .showcase-image {
        margin: 30px auto;
    }
}

/*-----------------------------Life at anandsagar holiastic development css Ends-----------------------*/

/*-----------------------------Life at anandsagar home away frmo home css starts-----------------------*/

/* Color Palette: Warm Navy and Sunset Orange */
:root {
    --primary: #002147;
    --accent: #f39c12;
    --soft-bg: #fdfaf5;
}

.home-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/campus-scenic.jpg');
    height: 40vh;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.row-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.content-side { flex: 1; min-width: 300px; }
.image-side { flex: 1; min-width: 300px; position: relative; }

.image-side img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--accent);
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
}

.benefit-box { margin-top: 30px; }
.b-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.b-item i { font-size: 2rem; color: var(--accent); }

/* Food Cards */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.food-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    transition: 0.3s;
}

.food-card:hover { transform: translateY(-10px); background: var(--primary); color: white; }
.food-card i { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }

/* Transport Wrapper */
.transport-wrapper {
    background: var(--primary);
    color: white;
    padding: 50px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transport-list { list-style: none; padding: 0; margin-top: 20px; }
.transport-list li { margin-bottom: 10px; }
.transport-list i { color: var(--accent); margin-right: 10px; }

.transport-stats { display: flex; gap: 40px; }
.stat { text-align: center; }
.stat h3 { font-size: 3rem; color: var(--accent); }

/*-----------------------------Life at anandsagar home away frmo home css Ends-----------------------*/

/*-----------------------------Life at anandsagar sports games and adventure css starts -----------------------*/

/* Color Palette */
/*:root {
    --athletics-red: #d32f2f;
    --navy-blue: #002147;
    --gold: #f39c12;
}*/

/* Hero Section */
.sports-hero {
    background: linear-gradient(135deg, rgba(0,33,71,0.9), rgba(211,47,47,0.7)), url('sports-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-badge {
    background: #f39c12;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.highlight-quote {
    border-left: 5px solid #d32f2f;
    padding-left: 20px;
    font-style: italic;
    font-size: 1.2rem;
    color: #444;
    margin-top: 20px;
}

.phil-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: #002147;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.stat-box .number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f39c12;
}

/* Sports Cards */
.sports-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.sport-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    border-top: 5px solid #002147;
}

.sport-card:hover {
    transform: translateY(-10px);
}

.sport-card.special {
    background: #002147;
    color: white;
    border-top: 5px solid #f39c12;
}

.sport-card.special p { color: #ccc; }

.card-icon {
    font-size: 2.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
}

.sport-card.special .card-icon { color: #f39c12; }

/* CTA Section */
.adventure-cta {
    background: #d32f2f;
    color: white;
    padding: 80px 0;
}

.btn-primary {
    background: white;
    color: #d32f2f;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #002147;
    color: white;
}

@media (max-width: 768px) {
    .philosophy-grid { grid-template-columns: 1fr; }
}

/* Image Mosaic Styling */
.image-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    margin-top: 30px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 250px;
}

.mosaic-item.tall {
    grid-row: span 2;
    height: 515px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

.mosaic-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.mosaic-item:hover .overlay {
    opacity: 1;
}

/* Card Image Top */
.card-image {
    height: 180px;
    overflow: hidden;
    margin: -40px -40px 20px -40px; /* Adjust based on your card padding */
    border-radius: 15px 15px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-mosaic { grid-template-columns: 1fr; }
    .mosaic-item.tall { grid-row: auto; height: 250px; }
}
/*-----------------------------Life at anandsagar sports games and adventure css Ends-----------------------*/



/*------------------------------------Footer Starts Here--------------------------*/
/* Footer Styles */
.main-footer { background: #0a192f; color: #d1d1d1; padding: 60px 0 20px 0; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h3 { color: var(--gold); margin-bottom: 20px; font-size: 1.2rem; text-transform: uppercase; }
.footer-logo { height: 60px; margin-bottom: 20px; background: white; padding: 5px; border-radius: 5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #d1d1d1; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 5px; }

.social-links { margin-top: 20px; display: flex; gap: 15px; }
.social-links a { color: white; background: rgba(255,255,255,0.1); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: var(--red); transform: translateY(-3px); }

.media-links a { display: block; background: #112240; padding: 10px; margin-bottom: 10px; border-radius: 4px; color: white; text-decoration: none; border-left: 3px solid var(--gold); }
.media-links a:hover { background: #1a3060; }

.footer-bottom { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }

/* Responsive Grid */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* RESPONSIVE BREAKPOINTS */

/* Tablet & Mobile (Below 1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 5%;
    }
    .logo-text {
        display: none; /* Hide sub-text on small screens to save space */
    }
}

/* Mobile Devices (Below 768px) */
@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide utility bar to save vertical space */
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%; /* Hidden by default */
        background: var(--navy);
        width: 100%;
        height: calc(100vh - 80px);
        transition: 0.4s;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0; /* Slide in menu */
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-menu ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu ul li a {
        color: white;
        display: block;
        padding: 15px 0;
    }

    /* Dropdown adjustment for Mobile */
    .dropdown-content {
        position: static;
        background: #001a38;
        box-shadow: none;
        display: none; /* Toggle this with JS on click */
    }

    /* Mobile Hamburger Icon */
    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--navy);
        cursor: pointer;
    }

    .hero-slider {
        height: 300px; /* Force the 300px height you requested */
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}