 /* ---------------------------------------------------------------------------------------------------- */
/* 4. MAIN ABOUT CONTENT STYLES (To complement existing header/footer CSS) */
/* ---------------------------------------------------------------------------------------------------- */

/* --- Hero Section --- */

#hero_about {
    /* Uses the warm background of the footer/nav for brand consistency */
    padding: 80px 5%;
    text-align: center;
    border-bottom: 2px solid var(--orange-brown);
}

#hero_about h1 {
    /* Uses existing .heading1 style properties for brand look */
    font-size: 3.5rem; 
    color: var(--orange-brown); /* Darker brown for main title weight */
    margin-bottom: 5px;
}

#hero_about .tagline {
    font-family: var(--style-font); /* Uses the cursive font for a signature feel */
    font-size: 1.8rem;
    color: var(--signature-orange);
    font-weight: 400;
    margin-top: 10px;
}

/* --- Content Sections (Who We Are, Mission, Vision) --- */

.sections {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.content_split {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    padding: 30px 0;
}

.content {
    flex: 1;
}

.content h2 {
    /* Use properties similar to existing heading styles */
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    color: var(--orange-brown);
    border-bottom: 3px solid var(--signature-orange);
    padding-bottom: 5px;
    margin-bottom: 25px;
    display: inline-block;
}

.content p, .content ul li {
    font-size: 1.1rem;
    color: var(--orange-brown);
    margin-bottom: 15px;
    line-height: 1.7;
    font-weight: 400;
}

/* Image Placeholder Styling */
.imageContainer {
    min-height: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--signature-orange);
    background: url('../resources/aboutUs.png') center/cover no-repeat;
}

/* Unique styling for the Mission/Vision blocks to make them pop */
#our_mission, #our_vision {
    box-shadow: 0 0 15px #0002;
    
}

#our_vision{
    padding: 20px;
}

.mission,.vision{
    height: 230px;
    width: 380px;
}

.mission{
    background: url('../resources/aboutMission.png') center/contain no-repeat;
}

.vision{
    background: url('../resources/our_vision.png') center/contain no-repeat;
}

/* --- List Styles for Core Offerings (Who We Are) --- */

#who_we_are h3 {
    font-size: 1.5rem;
    color: var(--signature-orange);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

#who_we_are ul {
    list-style: none;
    padding-left: 0;
}

#who_we_are ul li {
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-left: 5px solid var(--signature-orange);
    border-radius: 8px;
    transition: background-color 0.3s;
}

#who_we_are ul li:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.assurance {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid var(--orange-brown);
    background-color: var(--light-orange);
    color: var(--orange-brown);
    border-radius: 10px;
    font-style: italic;
    font-weight: 500;
    text-align: center;
}

/* --- Team Section --- */

#our_team {
    /* background-color: var(--light-orange); Use a branded color for the background */
    text-align: center;
    padding: 60px 0;
}

#our_team h2 {
    /* Center the section heading */
    display: block;
    width: fit-content;
    margin: 0 auto 50px;
    color: var(--orange-brown);
    font-size: 2.8rem;
}

.team_grid {
    display: flex;
    justify-content: center; /* Center the grid items when there are not enough to fill the space */
    gap: 30px;
    flex-wrap: wrap;
    text-align: left;
}

.teamCard {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    flex: 1 1 250px; 
    background: rgb(254, 251, 251);
    /* border: 1px solid var(--signature-orange); */
    transition: transform 0.3s, box-shadow 0.3s;
}

.teamCard:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.teamCard h3 {
    font-size: 1.8rem;
    color: var(--signature-orange);
    margin-bottom: 8px;
    border-bottom: 2px solid var(--orange-brown);
    padding-bottom: 5px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.teamCard .title {
    font-size: 1.1rem;
    color: var(--orange-brown);
    font-weight: 500;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.teamCard p {
    font-size: 1rem;
    color: var(--orange-brown);
    line-height: 1.6;
}

/* ---------------------------------------------------------------------------------------------------- */
/* 5. RESPONSIVE ADJUSTMENTS for Main Content */
/* ---------------------------------------------------------------------------------------------------- */

@media screen and (max-width: 950px) {
    .content_split {
        flex-direction: column;
    }

    .content_split .content {
        width: 100%;
        text-align: center;
    }

    .content h2 {
        /* Center the heading on mobile */
        margin: 0 auto 25px;
        text-align: center;
    }

    .content p {
        text-align: left; /* Keep text aligned left for readability */
    }

    /* Reset order for smaller screens */
    #who_we_are .image,
    #who_we_are .text,
    #our_mission .image,
    #our_mission .text,
    #our_vision .image,
    #our_vision .text {
        order: initial;
    }
    
    .imageContainer {
        min-height: 250px;
        margin-bottom: 30px;
    }

    #hero_about h1 {
        font-size: 3em;
    }
}

@media screen and (max-width: 650px) {
    .sections {
        padding: 40px 3%;
    }
    .team_grid {
        flex-direction: column;
    }
    
    .teamCard {
        flex: 1 1 100%;
    }
    #hero_about h1 {
        font-size: 2.5em;
    }
    #hero_about .tagline {
        font-size: 1.4rem;
    }
}
/* Container for the brochure icons */
.brochure_elements_cont {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.brochure_elements img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brochure_elements img:hover {
    transform: scale(1.1);
}

/* Modal Overlay (Background) */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

/* Close Button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Form Styling */
#trialForm input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

#trialForm button {
    width: 100%;
    padding: 12px;
    background-color: #c7692b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#trialForm button:hover {
    background-color: #218838;
}
