
/* Flexbox Order Definitions for Subsections */
.custom-title-section { order: 1; }
.main-content-section { order: 2; }
.mission-statement-section { order: 3; }
.vision-statement-section { order: 4; }
.team-section { order: 5; }
.team-members-section { order: 6; }
.history-section { order: 7; }

/* Flexbox Order Definitions for Main Sections */
.page-container {
    display: flex;
    flex-direction: column;
}

.page-container .hero-section { order: 1; }
.page-container .about-section { order: 2; }
.page-container .cta-section { order: 3; }

/* Hero Code is dynamically added through theme */

/* About Section */

/* Custom Title Styling */
.custom-title {
    font-size: 48px;
    display: flex;
    flex-direction: row; /* Ensure the first letter and rest of title are in a row */
    line-height: 1;
    align-items: flex-start; /* Align items to the top */
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
}

.first-line {
    display: flex;
    align-items: flex-start; /* Align items to the top */
}

.first-letter {
    font-size: 96px;
    color: var(--color-secondary);
    line-height: 0.8; /* Adjust line height */
    margin-right: 5px;
    margin-top: -20px; /* Negative margin to move it up */
}

.rest-of-title {
    padding-top: 10px; /* Add padding to align with the first letter */
}

/* Section Title */
.section-title {
    color: var(--color-secondary);
    font-weight: bold;
    margin-bottom: 20px;
}


.about-section {
    padding: 50px 0;
}
/* About Card Styling */
.about-card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.first-letter-content {
    font-size: 56px;
    color: var(--color-primary);
    line-height: 0.8;
    margin-top: -10px;
}
.rest-of-content {
    font-size: 18px;
}
/* Mission and Vision Card Styling */
.mission-statement-section{
    margin-bottom: 20px;
}
.mission-vision-card {
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.mission-vision-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.mission-vision-card .card-title {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mission-vision-card .card-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
}

.mission-vision-card .card-text {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.mission-vision-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}



/* Team Section Styling */
.team-section {
    background-color: var(--color-off-white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.team-title {
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.team-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
}

.team-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.team-text {
    flex: 1 1 300px;
}

.team-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
}

.team-image-container {
    flex: 1 1 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
    
}

.team-image:hover {
    transform: scale(1.05);
}


/* History Section Styling */
.history-section {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.history-title {
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.history-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
}

.history-content-wrapper {
    display: flex;
    gap: 1.5rem;
}

.history-icon-line {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.history-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    margin-bottom: 0.5rem;
    position: relative;
}

.history-icon::before {
    content: '\f19c'; /* Font Awesome icon for 'building' */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.vertical-line {
    flex-grow: 1;
    width: 2px;
    background-color: var(--color-primary);
}

.history-content {
    flex-grow: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark-gray);
}

.history-content p {
    margin-bottom: 1rem;
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* Team Members START */
.team-members-section {
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.team-members-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 30px;
}



.team-member-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.team-member-name {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.team-member-title {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.team-member-description {
    font-size: 0.9rem;
    color: var(--color-info);
    margin-bottom: 15px;
}

.team-member-site {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.team-member-site:hover {
    background-color: var(--color-secondary);
}


@media (max-width: 1200px) {

}

@media (max-width: 991px)
{

}

@media (max-width: 768px) {
   
    /* Team Section  */
    .team-content {
        flex-direction: column;
    }
    .hero-title-container {
        max-width: 600px;
    }
    .team-text, .team-image-container {
        flex-basis: 100%;
    }

    .team-image-container {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 1.5rem;
    }

    /* History Section */
    .history-section {
        padding: 1.5rem;
    }

    .history-title {
        font-size: 1.75rem;
    }

    .history-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

  
}


@media (max-width: 480px) {

    /* Custom Title Styling */
    .custom-title {
        font-size: 36px;
        display: flex;
        flex-direction: row;
        align-items: flex-start; /* Align items to the top */
    }

    .first-line {
        border: 1px solid red;
        display: flex;
        align-items: flex-start; /* Align items to the top */
    }

    .first-letter {
        font-size: 56px;
        color: var(--color-secondary);
        line-height: 0.8; /* Adjust line height */
        margin-top: -10px; /* Negative margin to move it up */
    }

    .rest-of-title {
        padding-top: 5px; /* Add padding to align with the first letter */
    }
    /* Team Section */
    .team-section {
        padding: 1.5rem;
    }

    .team-title {
        font-size: 1.75rem;
    }

    .team-description {
        font-size: 1rem;
    }
    /* History Section */
    .history-section {
        padding: 1rem;
    }

    .history-title {
        font-size: 1.5rem;
    }

    .history-icon {
        width: 35px;
        height: 35px;
    }

    .history-icon::before {
        font-size: 1.25rem;
    }
}


