/* =========================================================
   LITTLE HEARTS MODERN SCHOOL
   COMPLETE STYLESHEET
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --blue: #073b72;
    --blue-dark: #052b52;
    --blue-light: #1595cf;

    --text: #17202a;
    --muted: #66717c;

    --white: #ffffff;
    --light: #f6f8fa;

    --border: #e5e9ed;

    --container: 1200px;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

section {
    scroll-margin-top: 135px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(var(--container), calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9990;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        box-shadow 0.35s ease,
        background 0.35s ease;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    height: 42px;
    background: var(--blue);
    color: white;
}

.top-bar-content {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 13px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-contact a {
    transition: opacity 0.3s ease;
}

.top-contact a:hover {
    opacity: 0.7;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.navbar {
    height: 96px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 235px;
    height: 100%;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: 205px;
    height: auto;

    max-height: 80px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.logo:hover img {
    transform: scale(1.035);
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-links {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 43px;
}

.nav-links a {
    position: relative;

    padding: 38px 0;

    font-size: 16px;
    font-weight: 700;

    color: #303841;

    transition:
        color 0.3s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 27px;

    width: 0;
    height: 3px;

    border-radius: 10px;

    background: var(--blue-light);

    transition:
        width 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a:hover::after {
    width: 100%;
}


/* Active navigation item */

.nav-links a.active {
    color: var(--blue);
}

.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
    display: none;

    border: none;
    background: transparent;

    color: var(--blue);

    font-size: 30px;

    cursor: pointer;

    padding: 5px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 820px;
    height: 100vh;

    max-height: 950px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;
}


/* Background */

.hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: heroZoom 14s ease-in-out infinite alternate;
}


/* Hero zoom animation */

@keyframes heroZoom {

    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }

}


/* Dark overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 56, 0.88) 0%,
            rgba(3, 30, 56, 0.70) 35%,
            rgba(3, 30, 56, 0.30) 65%,
            rgba(3, 30, 56, 0.08) 100%
        );
}


/* Hero content */

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 115px;

    animation: heroContentIn 1s ease both;
}

@keyframes heroContentIn {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Small location text */

.eyebrow {
    font-size: 15px;

    font-weight: 700;

    letter-spacing: 5px;

    color: #dceef8;

    margin-bottom: 28px;
}


/* Main hero title */

.hero h1 {
    font-family: var(--serif);

    font-size: clamp(65px, 7vw, 105px);

    line-height: 0.98;

    font-weight: 600;

    max-width: 900px;

    margin-bottom: 30px;
}

.hero h1 span {
    color: #b9e8fb;
}


/* Hero paragraph */

.hero-description {
    max-width: 600px;

    font-size: 18px;

    line-height: 1.8;

    color: rgba(255, 255, 255, 0.88);

    margin-bottom: 38px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}

.button {
    min-height: 56px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 30px;

    border-radius: 5px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button.primary {
    background: white;
    color: var(--blue);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.button.primary:hover {
    background: #e9f6fb;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.button.secondary {
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.7);

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(5px);
}

.button.secondary:hover {
    background: white;
    color: var(--blue);
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    z-index: 3;

    right: 45px;
    bottom: 30px;

    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: white;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(-3px);
}

.scroll-indicator span {
    width: 35px;
    height: 1px;

    background: white;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding: 120px 0;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.small-title {
    font-size: 13px;

    font-weight: 700;

    letter-spacing: 4px;

    color: var(--blue-light);

    margin-bottom: 18px;
}

.section-heading h2,
.center-heading h2,
.academics-content h2,
.contact-info h2 {
    font-family: var(--serif);

    font-size: clamp(45px, 5vw, 70px);

    line-height: 1.08;

    font-weight: 600;
}

.section-heading h2 span,
.center-heading h2 span,
.academics-content h2 span,
.contact-info h2 span {
    color: var(--blue-light);
}


/* Center heading */

.center-heading {
    max-width: 750px;

    text-align: center;

    margin: 0 auto 65px;
}

.center-heading > p:last-child {
    color: var(--muted);

    line-height: 1.8;

    margin-top: 20px;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: white;
}

.about-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.about-text {
    padding-top: 10px;
}

.about-text p {
    color: var(--muted);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 22px;
}


/* =========================================================
   FACTS
========================================================= */

.facts {
    padding: 45px 0;

    background: var(--blue);

    color: white;
}

.facts-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.fact {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 15px;

    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.fact:last-child {
    border-right: none;
}

.fact-number {
    font-family: var(--serif);

    font-size: 28px;

    color: #9ddcf3;
}

.fact strong {
    display: block;

    font-size: 16px;

    margin-bottom: 4px;
}

.fact span {
    display: block;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   VALUES
========================================================= */

.values {
    background: var(--light);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.value-card {
    position: relative;

    background: white;

    min-height: 330px;

    padding: 42px 30px;

    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.value-card::before {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: var(--blue-light);

    transition:
        width 0.4s ease;
}

.value-card:hover {
    transform: translateY(-10px);

    border-color: #d5e7ee;

    box-shadow:
        0 20px 50px rgba(0, 45, 90, 0.10);
}

.value-card:hover::before {
    width: 100%;
}

.card-number {
    position: absolute;

    top: 20px;
    right: 22px;

    font-size: 12px;

    font-weight: 700;

    color: #aeb7bf;
}

.value-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf8fc;

    color: var(--blue-light);

    font-size: 25px;

    margin-bottom: 30px;

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}

.value-card:hover .value-icon {
    transform: rotate(8deg) scale(1.08);

    background: #dff3fa;
}

.value-card h3 {
    font-family: var(--serif);

    font-size: 25px;

    margin-bottom: 15px;
}

.value-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   ACADEMICS
========================================================= */

.academics {
    background: white;
}

.academics-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.academics-content > p:not(.small-title) {
    max-width: 500px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.9;

    margin-top: 25px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    color: var(--blue);

    font-weight: 700;

    margin-top: 30px;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}

.text-link:hover {
    gap: 22px;

    color: var(--blue-light);
}

.academic-list {
    border-top: 1px solid var(--border);
}

.academic-item {
    display: grid;

    grid-template-columns: 60px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);

    transition:
        padding-left 0.3s ease,
        background 0.3s ease;
}

.academic-item:hover {
    padding-left: 10px;
}

.academic-item > span {
    color: var(--blue-light);

    font-size: 13px;

    font-weight: 700;
}

.academic-item h3 {
    font-size: 18px;

    margin-bottom: 6px;
}

.academic-item p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: stretch;
}

.contact-description {
    max-width: 500px;

    color: var(--muted);

    line-height: 1.8;

    margin: 25px 0 35px;
}

.contact-item {
    display: flex;

    gap: 18px;

    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf8fc;

    color: var(--blue);

    font-size: 18px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.08);

    background: #dff3fa;
}

.contact-item span {
    display: block;

    font-size: 12px;

    color: #8a939b;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    color: var(--text);

    font-size: 15px;

    line-height: 1.6;
}

.contact-item a {
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--blue-light);
}


/* =========================================================
   INSTAGRAM BUTTON
========================================================= */

.instagram-button {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 15px;

    padding: 15px 20px;

    background: var(--blue);

    color: white;

    font-weight: 700;

    border-radius: 4px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.instagram-button:hover {
    transform: translateY(-3px);

    background: var(--blue-light);

    box-shadow: 0 10px 25px rgba(7, 59, 114, 0.18);
}


/* =========================================================
   GOOGLE MAP
========================================================= */

.map-wrapper {
    min-height: 520px;

    overflow: hidden;

    border-radius: 5px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.10);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;

    min-height: 520px;

    border: 0;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 110px 0;

    background: var(--blue-dark);

    color: white;

    text-align: center;
}

.cta-content {
    max-width: 800px;
}

.cta .small-title {
    color: #9ddcf3;
}

.cta h2 {
    font-family: var(--serif);

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta h2 span {
    color: #9ddcf3;
}

.cta p:not(.small-title) {
    color: rgba(255, 255, 255, 0.7);

    line-height: 1.8;

    margin-bottom: 30px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #031d37;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.4fr 0.7fr 1fr;

    gap: 80px;

    padding: 70px 0;
}


/* =========================================================
   BEAUTIFUL FOOTER LOGO
========================================================= */

.footer-brand {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


/* Logo wrapper */

.footer-logo-wrap {
    position: relative;

    width: 200px;
    height: 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    overflow: hidden;

    border-radius: 14px;
}


/* Footer logo */

.footer-logo-wrap img {
    width: 180px;
    height: auto;

    max-height: 105px;

    object-fit: contain;

    display: block;

    /*
       Gentle floating animation
    */

    animation:
        footerLogoFloat 4s ease-in-out infinite;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}


/* Floating animation */

@keyframes footerLogoFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }

}


/* Logo hover */

.footer-logo-wrap:hover img {
    transform: scale(1.06);

    filter:
        drop-shadow(
            0 6px 16px rgba(255, 255, 255, 0.20)
        );
}


/* Shining effect */

.footer-logo-wrap::after {
    content: "";

    position: absolute;

    top: -30%;
    left: -100%;

    width: 40%;
    height: 160%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transform: skewX(-20deg);

    animation:
        logoShine 6s ease-in-out infinite;

    pointer-events: none;
}

@keyframes logoShine {

    0% {
        left: -100%;
    }

    35% {
        left: 150%;
    }

    100% {
        left: 150%;
    }

}


/* Footer tagline */

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;

    letter-spacing: 1px;

    margin-top: 2px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-brand:hover p {
    color: rgba(255, 255, 255, 0.85);

    transform: translateX(3px);
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer h4 {
    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 22px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    color: white;

    transform: translateX(4px);
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.65);

    font-size: 14px;

    line-height: 1.7;

    transition:
        color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    padding: 20px 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* =========================================================
   FLOATING CONTACT BUTTONS
========================================================= */

.floating-contact {
    position: fixed;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    z-index: 9999;

    display: flex;

    flex-direction: column;

    gap: 10px;

    align-items: center;
}


/* Individual button */

.floating-contact-button {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    text-decoration: none;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Icons */

.floating-contact-button svg {
    width: 24px;
    height: 24px;

    display: block;

    transition:
        transform 0.3s ease;
}


/* Instagram */

.floating-contact-button.instagram {
    background:
        radial-gradient(
            circle at 30% 107%,
            #fdf497 0 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%
        );
}


/* Call */

.floating-contact-button.call {
    background: #3f5fa0;
}


/* WhatsApp */

.floating-contact-button.whatsapp {
    background: #25D366;
}


/* Hover */

.floating-contact-button:hover,
.floating-contact-button:focus-visible {
    transform: scale(1.10);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.30);

    outline: none;
}

.floating-contact-button:hover svg {
    transform: scale(1.08);
}


/* =========================================================
   SCROLL REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .container {
        width: min(
            100% - 50px,
            var(--container)
        );
    }


    /* Header */

    .logo {
        width: 190px;
    }

    .logo img {
        width: 175px;
    }

    .nav-links {
        gap: 25px;
    }


    /* Layouts */

    .about-grid,
    .academics-grid,
    .contact-grid {
        gap: 55px;
    }


    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .fact {
        border-right: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 35px);
    }


    /* ================= TOP BAR ================= */

    .top-bar {
        height: 36px;
    }

    .top-bar-content {
        height: 36px;

        justify-content: center;

        font-size: 11px;
    }

    .top-bar-content > p {
        display: none;
    }

    .top-contact {
        gap: 15px;
    }


    /* ================= NAVBAR ================= */

    .navbar {
        height: 78px;
    }

    .logo {
        width: 180px;
    }

    .logo img {
        width: 160px;

        max-height: 65px;
    }


    /* ================= MOBILE MENU ================= */

    .menu-button {
        display: block;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 78px;

        left: -17px;
        right: -17px;

        background: white;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 25px 20px;

        box-shadow:
            0 15px 30px rgba(0, 0, 0, 0.10);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        padding: 15px 0;

        border-bottom:
            1px solid #edf0f2;

        font-size: 15px;
    }

    .nav-links a::after {
        display: none;
    }


    /* ================= HERO ================= */

    .hero {
        min-height: 720px;

        height: 90vh;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 31, 58, 0.88),
                rgba(4, 31, 58, 0.48)
            );
    }

    .hero-content {
        padding-top: 80px;
    }

    .eyebrow {
        font-size: 11px;

        letter-spacing: 3px;

        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: clamp(
            52px,
            15vw,
            75px
        );

        margin-bottom: 22px;
    }

    .hero-description {
        font-size: 15px;

        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .button {
        min-height: 50px;
    }

    .scroll-indicator {
        display: none;
    }


    /* ================= SECTIONS ================= */

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .academics-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .section-heading h2,
    .center-heading h2,
    .academics-content h2,
    .contact-info h2 {
        font-size: 48px;
    }


    /* ================= FACTS ================= */

    .facts {
        padding: 35px 0;
    }

    .facts-grid {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .fact {
        padding: 12px 5px;

        gap: 12px;
    }

    .fact-number {
        font-size: 20px;
    }

    .fact strong {
        font-size: 13px;
    }

    .fact span {
        font-size: 11px;
    }


    /* ================= VALUES ================= */

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }


    /* ================= CAMPUS ================= */

    .campus-image img {
        height: 400px;
    }

    .image-caption {
        left: 15px;
        right: 15px;
        bottom: 15px;

        min-width: 0;
    }


    /* ================= MAP ================= */

    .map-wrapper {
        min-height: 400px;
    }

    .map-wrapper iframe {
        min-height: 400px;
    }


    /* ================= CTA ================= */

    .cta {
        padding: 80px 0;
    }


    /* ================= FOOTER ================= */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 45px;

        padding: 55px 0;
    }


    /* =========================================================
   FOOTER LOGO
========================================================= */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-wrap {
    width: 210px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    margin-bottom: 12px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Logo */

.footer-logo-wrap img {
    width: 190px;
    height: auto;

    display: block;

    object-fit: contain;

    animation: footerLogoFloat 4s ease-in-out infinite;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}


/* Gentle floating animation */

@keyframes footerLogoFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }

}


/* Hover */

.footer-logo-wrap:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.18);
}

.footer-logo-wrap:hover img {
    transform: scale(1.04);
}


/* Tagline */

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);

    font-size: 13px;

    letter-spacing: 1px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-brand:hover p {
    color: white;

    transform: translateX(3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .footer-brand {
        align-items: center;

        text-align: center;
    }

    .footer-logo-wrap {
        width: 190px;
        height: 95px;
    }

    .footer-logo-wrap img {
        width: 172px;
    }

}

    /* Footer contact */

    .footer-contact {
        align-items: center;

        text-align: center;
    }


    /* Floating buttons */

    .floating-contact {
        right: 8px;

        gap: 7px;
    }

    .floating-contact-button {
        width: 40px;
        height: 40px;
    }

    .floating-contact-button svg {
        width: 21px;
        height: 21px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 450px) {

    .top-contact a:first-child {
        max-width: 190px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    .logo img {
        width: 145px;
    }


    .hero {
        min-height: 690px;
    }


    .hero h1 {
        font-size: 50px;
    }


    .hero-description {
        font-size: 14px;
    }


    .facts-grid {
        grid-template-columns: 1fr;
    }


    .section-heading h2,
    .center-heading h2,
    .academics-content h2,
    .contact-info h2 {
        font-size: 42px;
    }


    .campus-image img {
        height: 330px;
    }


    .footer-logo-wrap {
        width: 170px;
        height: 95px;
    }

    .footer-logo-wrap img {
        width: 155px;
    }

}