html,
body {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --nav-height: 130px;
}

body {
    background: white;
    color: #222;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: white;
    z-index: 20000;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 40px;
}

#waveCanvas {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.logo img {
    height: 120px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    transition: 0.3s ease;
}

.menu li {
    position: relative;
}

.menu li a {
    text-decoration: none;
    color: #0c1b4d;
    font-weight: 500;
    transition: 0.3s;
}

.menu li a:hover {
    color: #2b6edb;
}

/* ================= DROPDOWN ================= */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: none;
    z-index: 30000;
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu li a {
    color: #0c1b4d;
    font-weight: 400;
}

@media (min-width: 901px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* ================= HAMBURGER ================= */

.hamburger {
    width: 32px;
    height: 24px;
    position: relative;
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 40000;
    margin-top: 45px;
    padding: 0;
}

.hamburger span {
    position: absolute;
    width: 32px;
    height: 3px;
    background: #0c1b4d;
    left: 0;
    border-radius: 3px;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

/* ================= PAGE CONTENT ================= */

.page-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.hero {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    background:
        radial-gradient(rgba(228,236,245,0), rgba(228,236,245,0)),
        url('IndiaGate.jpeg') top left / cover no-repeat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0 2%;
    color: white;
    position: relative;
}

.hero-left {
    align-self: end;
    position: relative;
    z-index: 2;
}

.hero-right {
    align-self: start;
    position: relative;
    z-index: 2;
}

.hero-left h1,
.hero-left h2 {
    font-size: clamp(8rem, 8vw, 12rem);
    line-height: 0.9;
}

.hero-left h1 {
    color: #0d0063;
}

.hero-left h2 {
    color: white;
}

.hero-right h5,
.hero-right h6 {
    font-size: 1.7rem;
}

.hero-right h5 {
    color: white;
}

.hero-right h6 {
    color: #0d0063;
}

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

section {
    padding: 80px 12%;
}

section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #0d0063;
}

.about-text-bg {
    padding: 50px;
    border-radius: 12px;
    max-width: 1100px;
    margin: 0 auto;
    background:
        linear-gradient(rgba(228,236,245,1), rgba(228,236,245,1)),
        url("image1.jpeg") center center / cover no-repeat;
}

.about-text-bg p {
    text-align: justify;
    line-height: 1.9;
}

/* ================= GRID ================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #f8f9fb;
    padding: 25px;
    border-radius: 10px;
}

.card h4 {
    margin-bottom: 12px;
    color: #0c1b4d;
}

.card p {
    text-align: justify;
}

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

.footer-logos {
    width: 100%;
    padding: 35px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
    margin-top: auto;
}

.footer-logos img {
    width: calc(25% - 40px);
    max-width: 160px;
    min-width: 120px;
    height: auto;
    object-fit: contain;
}

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

footer {
    background: #0c1b4d;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    nav {
        padding: 0 20px;
    }

    .logo img {
        height: 120px;
    }

    .hamburger {
        display: block;
    }

    .menu {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 20px;
        padding: 30px;
        display: none;
        z-index: 30000;
    }

    .menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* only text position changes on mobile/tablet */
    .hero-left,
    .hero-right {
        width: 100%;
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .hero-left {
        bottom: 140px;
    }

    .hero-right {
        bottom: 40px;
    }

    .hero-left h1,
    .hero-left h2 {
        font-size: clamp(3.5rem, 13vw, 5rem);
        line-height: 0.95;
    }

    .hero-right h5,
    .hero-right h6 {
        font-size: clamp(1rem, 4vw, 1.3rem);
        text-align: center;
    }
}

@media (max-width: 768px) {
 .hero-left {
        bottom: 200px;
    }

    .hero-right {
        bottom: 55px;
    }

    section {
        padding: 60px 8%;
    }

    .footer-logos img {
        width: calc(50% - 25px);
        max-width: 140px;
    }
}

@media (max-width: 480px) {

    .hero-left {
        bottom: 190px;
    }

    .hero-right {
        bottom: 55px;
    }

    .footer-logos img {
        width: calc(50% - 20px);
        max-width: 120px;
    }
}