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

body {
    background: #f4f6fa;
    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;
    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;
}

.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: 20px;
    position: relative;
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
    margin-top: 12px;
}

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

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

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

.hamburger span:nth-child(3) {
    bottom: 2.5px;
}

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

.page-content {
    padding-top: var(--nav-height);
}

header {
    background: #0c1b4d;
    padding: 25px 12%;
}

header h1 {
    color: white;
}

section {
    margin: 40px 12%;
    padding: 70px 12%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

section h2 {
    margin-bottom: 20px;
    color: #0c1b4d;
}

section p {
    text-align: justify;
}

.intro-text {
    font-size: 1.05rem;
}

/* ================= TABLE ================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

table th {
    background: #f0f2f8;
}

/* ================= FORM ================= */

form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

textarea {
    min-height: 220px;
    padding: 12px;
    resize: vertical;
    font-size: 14px;
    line-height: 1.6;
}

button {
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

form button[type="submit"] {
    background: #f0c040;
}

form button[type="submit"]:hover {
    background: #ffd84d;
}

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

.sponsor-grid {
    width: 80%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.sponsor-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 30px 25px;
    text-align: center;
    min-height: 280px;
}

.sponsor-card h2 {
    margin-bottom: 12px;
    color: #0c1b4d;
    font-size: 1.5rem;
}

.sponsor-card p {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2b6edb;
}

.sponsor-details {
    text-align: justify;
    line-height: 1.9;
    font-size: 0.98rem;
    color: #333;
}

.empty-card {
    visibility: hidden;
}

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

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

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

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

    section {
        margin: 20px;
        padding: 40px 20px;
    }

    header {
        padding: 20px;
    }

    nav {
        padding: 0 20px;
    }

    .bank-flex {
        flex-direction: column;
        gap: 30px;
    }

    .sponsor-grid {
        width: calc(100% - 40px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 20px auto;
    }
}

@media (max-width: 600px) {
    .sponsor-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-card {
        padding: 25px 20px;
    }

    .empty-card {
        display: none;
    }
}