html,
body {
    height: 100%;
}

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

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

body {
    background: #f4f6fa;
    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 {
    padding-top: var(--nav-height);
    flex: 1;
}

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

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

header h1 {
    color: white;
}

/* ================= MOVING ALERT ================= */

.alert-marquee {
    width: 100%;
    overflow: hidden;
    background: #f0c040;
    color: #0c1b4d;
    font-weight: 700;
    padding: 10px 0;
    white-space: nowrap;
}

.alert-marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeMove 12s linear infinite;
}

@keyframes marqueeMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

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

section {
    background: white;
    margin: 40px auto;
    max-width: 1100px;
    padding: 70px 60px;
    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;
}

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

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

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

table th {
    background: #f0f2f8;
    font-weight: 700;
}

/* For first table row if td is used instead of th */
table tr:first-child td {
    background: #f0f2f8;
    font-weight: 700;
}

.highlight {
    font-weight: 600;
    color: #b00020;
}

/* ================= NOTES ================= */

.note {
    margin-top: 10px;
    font-size: 0.9rem;
    text-align: justify;
}

.note a {
    color: #1e5bd9;
    text-decoration: none;
    font-weight: 500;
}

.note a:hover {
    text-decoration: underline;
}

/* ================= 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;
}

/* ================= 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;
    }

    header {
        padding: 20px;
    }

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

    table th,
    table td {
        padding: 12px;
    }

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