* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    overflow-x: hidden;
    color: #333;
}

header {
    background-color: #024da1;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, .logo a {
    display: flex;
    align-items: center;
    white-space: nowrap;
    color: #fff;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
}

.nav-icon {
    height: 38px;
    width: auto;
    margin-right: 12px; 
    border-radius: 4px; 
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center; 
}

.nav-links li {
    padding: 0 15px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

.dropbtn::after {
    display: inline-block;
    content: ""; /* No text content */
    margin-left: 8px;
    vertical-align: middle;
    /* Create a CSS triangle using borders */
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white; /* The color of the arrow */
    transition: transform 0.3s ease; /* For rotation effect */
}

.burger {
    display: none;
    cursor: pointer;
    z-index:2100;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (min-width: 827px) {
    .dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #ffffff;
        min-width: 200px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        top: 140%; 
        left: 0;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dropdown-content::before {
        content: "";
        position: absolute;
        top: -30px; /* Size of the gap */
        left: 0;
        width: 60%;
        height: 30px;
        background: transparent;
    }

    .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
    }
    
    .dropdown-content a:last-child {
    border-bottom: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
    }
}

.content-container {
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}

.vision-goal {
    padding: 20px 20px 40px;
    background-color: #fff;
    margin-bottom: 40px;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

.content-box h2, .founders-section h2 {
    color: #002b5b;
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

@media screen and (max-width: 826px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0px;
        background-color: #024da1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 60px;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 2000;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        padding: 15px 30px;
    }

    .nav-icon {
        height: 30px;
    }

    .burger {
        display: block;
    }

    /* Standard links stay white, but dropdown links need to be readable on mobile */
    .dropdown-content {
        position: static;
        display: block;
        background-color: #003a7a;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out, margin-top 0.3s;
        padding-left: 20px; 
        width: 100%;
        visibility: visible;
    }
    
    .dropdown-content a {
        color: #fff;
        padding: 10px 6px;
        display: block;
        font-size: 0.95rem;
        border-bottom: 1px solid #eee;
    }

    .dropdown-content a:last-child {
    border-bottom: none;
    }

    .mobile-dropdown-active .dropdown-content {
        max-height: 300px; 
        opacity: 1;
        margin-top: 10px;
    }

    .mobile-dropdown-active > .dropbtn::after {
        transform: rotate(-180deg);
    }

    .vision-goal {
        border-bottom: 2px solid #eee;
    }

    /* Founders Stacking Logic */
    .founders-list {
        flex-direction: column; /* Stack vertically */
        align-items: center;
    }

    .founder-card {
        width: 90%;
        max-width: none;
    }
}

.contact-section {
    padding: 30px 5%;
    display: flex;
    justify-content: center;
    background-color: #f9f9f9;
}

.contact-container {
    width: 100%;
    max-width: 600px; /* Keeps the form from getting too wide on desktop */
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-container h2 {
    color: #002b5b;
    margin-bottom: 10px;
}

.contact-container p {
    color: #666;
    margin-bottom: 30px;
}

/* Form Elements */
.styled-form {
    text-align: left; /* Aligns labels and inputs to the left */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #002b5b;
    margin-bottom: 8px;
}

/* Input & Select Styling */
.styled-form select, 
.styled-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #fafafa;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Critical for mobile responsiveness */
}

.styled-form select:focus, 
.styled-form textarea:focus {
    border-color: #00d4ff; /* Cyan focus state */
    outline: none;
    background-color: #fff;
}

/* Textarea Responsive Behavior */
.styled-form textarea {
    resize: vertical; /* Allows user to pull down but not out of bounds */
    min-height: 120px;
}

/* Button Styling */
.form-actions {
    margin-top: 30px;
}

.send-btn {
    width: 100%; /* Full width on mobile by default */
    padding: 15px;
    background-color: #002b5b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.send-btn:hover {
    background-color: #004085;
    transform: translateY(-2px);
}

/* --- Mobile Device Adjustments --- */
@media screen and (max-width: 600px) {
    .contact-container {
        padding: 25px 20px;
        border-radius: 0; /* Full width feel on small phones */
    }

    .styled-form textarea {
        rows: 4; /* Shorter default height on small screens */
        font-size: 16px; /* Prevents iOS auto-zoom on focus */
    }

    .send-btn {
        font-size: 1rem;
    }
}