.force-font,
.force-font a {
    font-family: Arial, sans-serif !important; /* Forces a reliable font */
    letter-spacing: 0; /* Resets letter-spacing for this font */
    word-spacing: 0;   /* Resets word-spacing for this font */
}


.footer-social a {
     overflow: hidden;
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    text-decoration: none;
}

.footer-social a:hover {
    transform: scale(1.3) rotate(10deg);
    background: var(--color-yellow);
    color: #333;
}

/* Individual icon colors on hover */
.footer-social a[aria-label="Facebook"]:hover {
    background: #1877F2;
    color: white;
}

.footer-social a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.footer-social a[aria-label="YouTube"]:hover {
    background: #FF0000;
    color: white;
}

.footer-social a[aria-label="WhatsApp"]:hover {
    background: #25D366;
    color: white;
}


/* --- 1. FONT & GLOBAL SETUP --- */

/* * CRITICAL: Create a folder named 'fonts' in the same directory
 * as this HTML file and place 'Wicked Mouse Demo.otf' inside it.
 */
@font-face {
    font-family: 'WickMouse';
    src: url('fonts/Wicked Mouse Demo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-primary: 'WickMouse', cursive;
    --color-blue: #87CEEB;     /* Sky Blue */
    --color-yellow: #FFD700;  /* Sunshine Yellow */
    --color-green: #90EE90;   /* Grass Green */
    --color-red: #FF6B6B;     /* Cherry Red */
    --color-purple: #C8A2C8;  /* Light Purple */
    --color-white: #FFFFFF;
    --color-text: #333;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: #f9f9f9;
    color: var(--color-text);
    line-height: 1.6;
    letter-spacing: 1px;
    word-spacing: 2px;
    overflow-x: hidden;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: 2px;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 2rem; color: var(--color-red); }

p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    color: var(--color-red);
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* === FIX: Added horizontal padding to prevent content from touching edges === */
    padding: 0 2rem; 
}

/* --- SECTION PADDING FIX --- */
section {
    /* === UPDATE: Slightly more vertical padding === */
    padding: 10rem 0;
    /* overflow: hidden; <-- Correctly REMOVED */
}

section:nth-of-type(odd) {
    background-color: var(--color-white);
}

/* --- 2. PRELOADER & ANIMATIONS --- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--color-white);
}

.loader-logo {
    font-size: 3rem;
}

.loader-text {
    font-size: 1.5rem;
    margin-top: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes moveCloud {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

@keyframes moveBalloon {
    0% { transform: translateY(50px) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(10deg); }
    100% { transform: translateY(50px) rotate(0deg); }
}

/* === NEW ANIMATION: For leadership cards === */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* === NEW ANIMATION: For buttons === */
@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}


.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.cloud {
    position: absolute;
    font-size: 8rem;
    opacity: 0.3;
    animation: moveCloud 60s linear infinite;
}
.cloud.c1 { top: 10%; animation-duration: 50s; }
.cloud.c2 { top: 30%; animation-duration: 70s; animation-delay: -10s; }
.cloud.c3 { top: 60%; animation-duration: 45s; animation-delay: -20s; }

.balloon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.7;
    animation: moveBalloon 20s infinite ease-in-out;
}
.balloon.b1 { left: 10%; animation-duration: 15s; }
.balloon.b2 { left: 80%; animation-duration: 25s; animation-delay: -5s; }

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 3. HEADER & NAVIGATION --- */

header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* === UPDATE: Padding is now handled by .container === */
    padding: 1rem 0; 
    height: 80px;
}

.nav-logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.1) rotate(-3deg);
}

.nav-links {
    display: flex;
    list-style: none;
    /* === FIX: Reduced gap for better fit === */
    gap: 0.7rem;
    /* === FIX: Changed 'wrap' to 'nowrap' to stop wrapping === */
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.nav-links li {
    /* margin-left: 2rem; */
}

.nav-links a {
    /* === FIX: Slightly smaller font to fit all links === */
    font-size: 1.15rem;
    color: var(--color-text);
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--color-yellow);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:hover {
    color: var(--color-blue);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Add active state for current page */
.nav-links a.active {
    color: var(--color-blue);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--color-blue);
}

/* --- 4. HERO SECTION --- */

#home {
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--color-blue), #b1e0f7);
    /* === UPDATE: Added padding to match container === */
    padding: 0 2rem;
    overflow: hidden; /* Overflow hidden is OK here, just for the hero */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 6rem;
    text-shadow: 4px 4px 0px var(--color-red);
    animation: bounce 2s ease 1;
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: 2.5rem;
    color: var(--color-yellow);
    text-shadow: 2px 2px 0px var(--color-red);
    display: block;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
}

.hero-content .tagline {
    font-size: 2rem;
    color: var(--color-yellow);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.btn {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
    letter-spacing: 1.5px;
    margin: 0.5rem;
}

/* === NEW ANIMATION: Added wiggle on hover === */
.btn:hover {
    animation: wiggle 0.5s ease;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 5px 0 #c05050;
}

.btn-primary:hover {
    background: #e05a5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #c05050;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #c05050;
}

.btn-secondary {
    background: var(--color-yellow);
    color: var(--color-text);
    box-shadow: 0 5px 0 #cca700;
}

.btn-secondary:hover {
    background: #ffde40;
    transform: translateY(-3px);
    box-shadow: 0 8px 0 #cca700;
}

.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #cca700;
}

/* --- 5. ABOUT US SECTION --- */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.about-card .icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2.5s infinite;
}
.about-card:nth-child(2) .icon { animation-delay: 0.2s; }
.about-card:nth-child(3) .icon { animation-delay: 0.4s; }

.leadership-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 5rem;
    /* === FIX: Removed 'align-items: start;' to make cards equal height === */
}

.leadership-card {
    background: var(--color-green);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    /* === NEW ANIMATION: Added floating effect === */
    animation: float 6s ease-in-out infinite;
}

/* Stagger the animation */
.leadership-card:nth-child(2) {
    animation-delay: -3s;
}

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    animation-play-state: paused; /* Pause float on hover */
}

.leadership-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
}

.director-img {
    background-image: url('https://placehold.co/250x250/C8A2C8/white?text=Director');
}

.principal-img {
    background-image: url('https://placehold.co/250x250/FFD700/333?text=Principal');
}

.leadership-bio h3 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
    font-size: 1.8rem;
}

.leadership-bio h4 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.leadership-bio p {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* --- 6. ACADEMICS / CURRICULUM --- */

#academics {
    background: var(--color-yellow);
    position: relative;
}

#academics h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-red);
}

.academics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.curriculum-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.curriculum-card:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: var(--shadow-hover);
}

.card-header {
    padding: 2rem;
    font-size: 1.8rem;
    color: var(--color-white);
}
.card-header.pre-nursery { background: var(--color-blue); }
.card-header.nursery { background: var(--color-green); }
.card-header.lkg { background: var(--color-red); }
.card-header.ukg { background: var(--color-purple); }

.card-body {
    padding: 2rem;
}

.card-body ul {
    list-style: none;
    margin-top: 1rem;
}

.card-body li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 25px;
}

.card-body li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 0;
}

/* --- 7. GALLERY (DYNAMIC) --- */

.gallery-filters {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    background: var(--color-white);
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    margin: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-blue);
    color: var(--color-white);
}

#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    background: #f5f5f5;
    aspect-ratio: 1 / 1; /* Square aspect ratio */
}

.gallery-item::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Properly fit image */
    object-position: center; /* Center the image */
    display: block;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    box-shadow: var(--shadow-hover);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#lightbox.visible {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Maintain aspect ratio */
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 107, 107, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: bold;
    z-index: 10002;
}

#lightbox-close:hover {
    background: var(--color-red);
    color: var(--color-white);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
}

/* Mobile responsive lightbox */
@media (max-width: 768px) {
    #lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 2.5rem;
    }
    
    #lightbox img {
        max-width: 95%;
        max-height: 85%;
    }
}

/* --- 8. EVENTS (DYNAMIC) --- */

#events {
    background: var(--color-purple);
}

#events h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
}

#events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.4s ease;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.event-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    font-size: 1rem;
    color: var(--color-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-content h3 {
    font-size: 1.6rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

/* --- 9. ADMISSIONS & BLOG --- */

.admissions-blog-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

#admissions-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-primary);
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-yellow);
    box-shadow: 0 0 10px var(--color-yellow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group .icon {
    position: absolute;
    right: 15px;
    top: 48px;
    font-size: 1.2rem;
    color: #ccc;
}

#blog-news h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.blog-card h4 {
    font-size: 1.4rem;
    color: var(--color-green);
}

.blog-card .blog-meta {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.5rem;
}

/* --- 10. CONTACT --- */

#contact {
    background: var(--color-blue);
}

#contact h2 {
    color: var(--color-white);
    text-shadow: 2px 2px 0px var(--color-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.contact-info {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.contact-item .icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover .icon {
    transform: scale(1.2) rotate(-10deg);
}

.contact-item a {
    color: var(--color-text);
}
.contact-item a:hover {
    color: var(--color-red);
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-soft);
}

/* --- 11. FOOTER --- */

footer {
    background: #333;
    color: var(--color-white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-grid h4 {
    font-size: 1.5rem;
    color: var(--color-yellow);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    font-size: 2.5rem;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.3) rotate(10deg);
}

.footer-copyright {
    border-top: 1px solid #555;
    padding-top: 2rem;
    font-size: 1rem;
    color: #999;
}

.footer-location {
    font-size: 1rem;
    color: var(--color-yellow);
    font-weight: normal;
}

/* --- 12. RESPONSIVENESS (NAVBAR FIX APPLIED) --- */

@media (max-width: 1200px) {
    /* Container padding handles spacing */
}

@media (max-width: 992px) {
    h1 { font-size: 3.5rem; }
    .hero-content h1 { font-size: 4rem; }
    h2 { font-size: 2.5rem; }
    
    /* --- NAVBAR FIX: MOVED MOBILE MENU RULES HERE --- */
    .nav-links {
        position: fixed;
        top: 80px; /* Below nav */
        right: -100%; /* Off-screen */
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0; /* Use mobile spacing */
    }
    
    .nav-links a {
        font-size: 2rem; /* Big, easy-to-tap links */
        color: var(--color-blue);
    }
    
    .hamburger {
        display: block;
    }
    /* --- END OF NAVBAR FIX --- */


    .about-grid { grid-template-columns: 1fr; }
    .leadership-section { grid-template-columns: 1fr; } /* Stack leadership cards */
    .admissions-blog-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    .container { padding: 0 1rem; } /* Less padding on small mobile */
    
    /* Mobile nav rules are now in 992px block */

    .hero-content h1 { font-size: 3.5rem; }
    .hero-location { font-size: 1.8rem; margin-top: -1rem; }
    .hero-content .tagline { font-size: 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-grid > div { margin-bottom: 2rem; }
}

/* === ADD THIS NEW CSS RULE === */
.hero-left-gif {
    position: absolute;
    
    /* --- Your coordinates --- */
    left: 10px;   /* 40px from the left edge */
    top: 0px;   /* 120px from the top edge */
    
    /* --- Adjust size --- */
    width: 150px; /* Or whatever size you like */
    
    /* --- Layering --- */
    z-index: 5;  /* Puts it above the animated background but below the text */
}


/* === ADD THIS NEW CSS RULE === */
.academics-decoration {
    position: absolute;
    
    /* === FIX: Use bottom and right instead of top and left === */
    bottom: 120px;   /* 40px from the bottom of the section */
    right: 90px;    /* 50px from the right of the section */

    width: 700px;   /* Adjust size as needed */
    z-index: 6;     
}



/*---------------------------------------*/

