/* ============================================================
   ABOUT SECTION
   The primary intro area with a vertical gradient background.
   ============================================================ */

body {
    background: linear-gradient(180deg, #220800 0%, #000000 100%);
}

#about {
    text-align: center;

    padding: 8rem 1.25rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#about h2 {
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    font-family: "Orbitron", sans-serif;
    color: #FB9E0A;
    /* Accent */
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(16, 217, 238, 0.15);
    /* Subtle cyan divider line */
}

.about-item h3 {
    font-family: "Orbitron", sans-serif;
    color: #10D9EE;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-item p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d6f9fc;
    margin: 0;
}

/* ============================================================
   MEET THE TEAM SECTION
   Matches the aesthetic of How It Works and Get Involved
   ============================================================ */

#meet-the-team {
    padding: 6rem 1.25rem;
    text-align: center;
}

#meet-the-team h2 {
    text-align: center;
    font-family: "Orbitron", sans-serif;
    color: #FB9E0A;
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
}

.team-subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: "Orbitron", sans-serif;
    color: #10D9EE; /* Cyan accent */
    font-size: 2rem;
}

/* Responsive Grid for Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Team Card Styling (Matches .how-card) */
.team-card {
    background: linear-gradient(135deg, rgba(34, 8, 0, 0.8), rgba(0, 0, 0, 0.9));
    border: 1px solid #10D9EE;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.team-card:hover {
    box-shadow: 0 0 25px rgba(16, 217, 238, 0.3);
    border-color: #7CF7FC;
}

/* Headshot Styling */
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #FB9E0A; /* Accent ring */
}

.team-card h4 {
    margin: 0 0 0.5rem 0;
    font-family: "Orbitron", sans-serif;
    color: #FB9E0A;
    font-size: 1.5rem;
}

/* .team-role {
    display: block;
    font-family: "Orbitron", sans-serif;            if roles happen later feel free to add this with a span tag
    color: #10D9EE;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
} */

.team-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #d6f9fc;
    margin: 0;
    
    /* Limit height and allow scrolling for large bios */
    max-height: 250px; 
    overflow-y: auto;
    padding-right: 10px; /* Space for the scrollbar */
    text-align: left; /* Better readability for long blocks */
}


/* ============================================================
   HOW IT WORKS & GET INVOLVED
   Shared section styles and the 2x2 grid logic.
   ============================================================ */

#how-it-works,
#get-involved {
    padding: 6rem 1.25rem;
    text-align: center;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Creates the 2x2 structure */
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 0 auto;
}

.how-card {
    background: linear-gradient(135deg, rgba(34, 8, 0, 0.8), rgba(0, 0, 0, 0.9));
    border: 1px solid #10D9EE;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

.how-card:hover {
    transform: translateY(-10px);
    /* Lift effect */
    box-shadow: 0 0 25px rgba(16, 217, 238, 0.3);
    border-color: #7CF7FC;
    /* Glows brighter on hover */
}

.how-card h3 {
    font-family: "Orbitron", sans-serif;
    color: #FB9E0A;
    margin-bottom: 1rem;
}

.how-card ul {
    padding-left: 1.2rem;
    color: #d6f9fc;
}

.how-card li {
    margin-bottom: 0.5rem;
}


/* ============================================================
   COMPANY INFORMATION & INQUIRY FORM
   Detailed company data and the interactive contact form.
   ============================================================ */

#company {
    padding: 6rem 1.25rem;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-group {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-left: 3px solid #FB9E0A;
    /* Vertical accent bar */
}

.form-container {
    max-width: 600px;
    margin: 4rem auto 0 auto;
    background: #0a0a0a;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #10D9EE;
    box-shadow: 0 0 30px rgba(16, 217, 238, 0.1);
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Form Element Styling */
input,
textarea,
select {
    background: rgba(16, 217, 238, 0.05);
    border: 1px solid rgba(16, 217, 238, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #10D9EE;
    box-shadow: 0 0 15px rgba(16, 217, 238, 0.2);
}

#how-it-works h2,
#get-involved h2,
#company h2 {
    text-align: center;
    font-family: "Orbitron", sans-serif;
    color: #FB9E0A;
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
}

#company,
#get-involved {
    display: block;
    visibility: visible;
    opacity: 1;
}

/* ============================================================
   MOBILE ADJUSTMENTS
   Fixing layouts and such for smaller screens.
   ============================================================ */

@media (max-width: 768px) {

    /* Stack grids into a single column and reduce the gap */
    .how-it-works-grid,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cut the massive vertical desktop padding in half */
    #about,
    #how-it-works,
    #get-involved,
    #company {
        padding: 4rem 1rem;
    }

    /* Scale down headers and text so they don't break words or look bloated */
    #about h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-item h3 {
        font-size: 1.3rem;
    }

    .about-item p {
        font-size: 1rem;
    }

    /* Shrink the massive vertical padding */
    #meet-the-team {
        padding: 4rem 1rem;
    }
    
    /* Scale down headers */
    #meet-the-team h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    /* Shrink the inner padding of the cards */
    .team-card {
        padding: 1.5rem;
    }

    /* Cards & Forms */
    /* Shrink the inner padding of UI elements */
    .how-card {
        padding: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
        margin-top: 2rem;
        border-radius: 12px;
        /* Slightly soften corners for smaller screens */
    }

    .info-group {
        padding: 1.25rem;
    }
}

/* Even smaller tweaks for very narrow phones*/
@media (max-width: 480px) {
    #about h2 {
        font-size: 1.8rem;
    }

    /* Extra shrink for the main header on very narrow phones */
    #meet-the-team h2 {
        font-size: 1.8rem;
    }
}