﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #87CEEB 0%, #5DADE2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Bar with Wave Effect */
nav {
    background-color: #FFFFFF;
    position: relative; 
}

    nav::after {
        content: '';
        position: absolute;
        bottom: -60px;
        left: 0;
        width: 100%;
        height: 60px;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,60 Q100,10 200,60 Q300,110 400,60 Q500,10 600,60 Q700,110 800,60 Q900,10 1000,60 Q1100,110 1200,60 L1200,0 L0,0 Z" fill="%23FFFFFF"/></svg>');
        z-index: 1;
        transform: scaleX(-1.5);
    }


.nav-content {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-content img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

    .nav-links a {
        color: #333333;
        text-decoration: none;
        font-size: 16px;
        transition: opacity 0.3s;
    }

        .nav-links a:hover {
            opacity: 0.8;
        }

/* Main Content Area */
main {
    flex: 1;
    max-width: 1800px;
    width: 100%;
    margin: 60px auto 40px;
    padding: 0 20px;
    color: white;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #7CB342;
    color: white;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

    .footer-section h3 {
        margin-bottom: 15px;
        font-size: 20px;
    }

    .footer-section ul {
        list-style: none;
    }

        .footer-section ul li {
            margin-bottom: 8px;
        }

    .footer-section a {
        color: white;
        text-decoration: none;
        opacity: 0.9;
        transition: opacity 0.3s;
    }

        .footer-section a:hover {
            opacity: 1;
        }

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .nav-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }
}

#form1 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* User Dropdown Styling - FIXED */
.user-dropdown {
    position: relative;
}

    .user-dropdown .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
        min-width: 320px;
        padding: 0;
        margin-top: 0.5rem;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        max-height: 90vh;
        overflow-y: auto;
    }

        .user-dropdown .dropdown-menu .px-4 {
            padding-left: 1.5rem !important;
            padding-right: 1.5rem !important;
        }

    .user-dropdown .form-label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .user-dropdown .form-control {
        font-size: 14px;
        padding: 0.5rem 0.75rem;
    }

    .user-dropdown .form-check-label {
        font-size: 14px;
    }

    .user-dropdown .btn-primary {
        font-size: 14px;
        padding: 0.5rem 1rem;
    }

    .user-dropdown .dropdown-item {
        font-size: 14px;
        padding: 0.5rem 1.5rem;
    }

.user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .user-toggle i {
        font-size: 16px;
    }