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

body {
    background: white;
    color: #222;
    line-height: 1.7;
}
:root {
    --nav-height: 130px;
}

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

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

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


.logo img {
    height: 120px;
}

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

.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-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: 10000;   /* ADD THIS */
}

.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 {
    width: 28px;
    height: 22px;
    position: relative;
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
    margin-top: 12px;   /* adjust this value */
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #0c1b4d;
    left: 0;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }


/* ================= 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;        /* push everything to top */
    padding: 0 2%;   /* left right bottom spacing */
    color: white;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 1;
}

.hero-left {
    align-self: end;
    justify-self: start;
    position: relative;
    z-index: 2;
    padding-bottom: 0px;   /* distance from bottom */
}

.hero-right {
    align-self: start;
    position: relative;
    z-index: 2;
}
.hero-right p:first-child {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.hero-right p:last-child {
    font-size: 1.2rem;
}

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

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

.hero-left {
    text-align: left;
}

.hero-right h5{
    font-size: clamp(1.7rem, 1.7vw, 1.7rem);
    color: white;
    margin-top: 0px;
}
.hero-right h6{
    font-size: clamp(1.7rem, 1.7vw, 1.7rem);
    color: #0d0063;
    margin-top: 0px;
}

.hero-left h1 {
    font-size: clamp(8rem, 8vw, 12rem);
    color: #0d0063;
    line-height: 0.9;
    z-index: 0;
}

.hero-left h2 {
    font-size: clamp(8rem, 8vw, 12rem);
    color: white;
    line-height: 0.9;
    z-index: 2;
}

/* Make ONLY the Themes section full width */
section:nth-of-type(3) {
    padding-left: 3%;
    padding-right: 3%;
}

/* Expand the grid to near screen edges */
section:nth-of-type(3) .grid {
    width: 100%;
}

/* ===== IMAGE ONLY BEHIND PARAGRAPH ===== */

.about-text-bg {
    position: relative;
    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::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
}

.about-text-bg p {
    position: relative;
    z-index: 2;
    color: rgb(0, 0, 0);
    text-align: justify;
    line-height: 1.9;
    font-size: 1.05rem;
}

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

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

/* FORCE 3 COLUMNS ONLY FOR THEMES SECTION */
section:nth-of-type(3) .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Optional: Better spacing for large screens */
@media (min-width: 1400px) {
    section:nth-of-type(3) {
        padding-left: 8%;
        padding-right: 8%;
    }
}

.card {
    background: #f8f9fb;
    padding: 25px;
    border-radius: 10px;
}
.card h4 {
    margin-bottom: 12px;
    color: #0c1b4d;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
.card p {
    text-align: justify;
}

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

footer {
    background: #0c1b4d;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}
@media (max-width: 900px) {

    .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;
    }

.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;   /* push to bottom */
    align-items: center;
    text-align: center;
    padding: 0 8% 30px 8%;       /* bottom spacing */
    min-height: calc(100vh - var(--nav-height));
}

.hero-left {
    align-self: center !important;
    justify-self: center !important;
    text-align: center;
}
.hero-right {
    align-self: center !important;
}

.hero-left,
.hero-right {
    width: 100%;
}

.hero-left h1,
.hero-left h2 {
    font-size: clamp(3rem, 10vw, 4.5rem);
    line-height: 1;
}

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

.about-text-bg p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.grid p {
    font-size: 0.9rem;
    line-height: 1.6;
}

}


@media (max-width: 768px) {
    section {
        padding: 60px 8%;
    }

    .card {
        padding: 20px;
    }
}

@media (max-width: 1200px) {
    .hero-left h1,
    .hero-left h2 {
        font-size: clamp(4rem, 7vw, 6rem);
    }
}

