/* Reset / Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Gimlet';
    src: url('fonts/GimletText-Regular-Testing.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gimlet Bold';
    src: url('fonts/GimletDisplay-Bold-Testing.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ===== Documentation Dropdown ===== */

.dropdown {
    position: relative;
}

/* Keep nav link styling consistent */
.dropbtn {
    color: #e2e8f0;
    text-decoration: none;
    font-family: 'Gimlet Bold', Arial, sans-serif;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0; /* aligns to right side of nav */
    top: 100%;
    background-color: #1dd2ff; /* matches your header */
    min-width: 220px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
}

/* Dropdown links */
.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #020617;
    text-decoration: none;
    font-family: 'Gimlet', Arial, sans-serif;
}

/* Hover effect */
.dropdown-content a:hover {
    background-color: #0f6c83; /* matches your cards */
    color: #ffffff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #00942e; /* dark blue */
    color: #e2e8f0; /* light text */
}

/* Layout */
header {
    background: #1dd2ff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
    font-family: 'Gimlet Bold', Arial, sans-serif;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    font-family: 'Gimlet Bold', Arial, sans-serif;
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #242b2e; /* accent */
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: auto;
}

h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: 'Gimlet Bold', Arial, sans-serif;
}

/* Hero */
#hero {
    text-align: center;
    padding: 0.75rem 1rem;
}

#hero h2 {
    font-size: 2.5rem;
}

#hero p {
    margin: 1rem 0 2rem;
    color: #ffffff;
    font-family: 'Gimlet', Arial, sans-serif;
}

#hero video {
    width: 100%;
    max-width: 700px;
    margin-top: 1rem;
    border-radius: 12px;
}

#hero img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
}

/* Team Section */
#team {
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.team-member {
    background: #0f6c83;
    padding: 1rem;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    font-family: 'Gimlet Bold', Arial, sans-serif;
}

.team-member p {
    font-size: 0.7rem;
    color: #ffffff;
    font-family: 'Gimlet', Arial, sans-serif;
}

.team-member a {
    font-family: 'Gimlet', Arial, sans-serif;
}

/* Responsive */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

#timeline {
    text-align: center;
}

#timeline img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Buttons */
button {
    background: #38bdf8;
    color: #020617;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    transition: transform 0.1s ease, background 0.2s ease;
}

button:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
}

#about p {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: 'Gimlet', Arial, sans-serif;
}

#about h3 {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    scroll-margin-top: 80px;
}

#about li {
    font-family: 'Gimlet', Arial, sans-serif;
}

#about img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Features */
#features ul {
    list-style: disc;
    padding-left: 1.5rem;
}

#features li {
    margin-bottom: 0.5rem;
    font-family: 'Gimlet', Arial, sans-serif;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.75rem;
    border-radius: 6px;
    border: none;
    background: #1e293b;
    color: #e2e8f0;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #020617;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    #hero h2 {
        font-size: 2rem;
    }
}