/* About Page Specific Styles */

/* Removing styles from .about-section as it's no longer used as a main wrapper here */
/*
.about-section {
    padding: 40px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
*/

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
}

/* Card styling removed from the first section, only used for specific components now */
.about-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 1000px;
}

.about-intro p {
    text-align: left;
}

.company-mission {
    background-color: var(--light-bg-color);
    border-left: 4px solid #8b0000;
    padding: 20px;
    margin: 30px auto;
    border-radius: 0 8px 8px 0;
    max-width: 1000px;
}

.mission-statement {
    color: #8b0000;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Remove the underline effect */
.mission-statement::after {
    display: none;
}

/* Removed company-mission p style since we're now using mission-statement h3 */

.leadership-section {
    margin-top: 20px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.team-member {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow: hidden; /* Prevent content from spilling outside */
}

.team-member-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
    background-color: var(--light-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    flex: 1;
}

.team-member-info h3 {
    color: #8b0000;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.team-member-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.team-member-bio {
    font-size: 1rem;
    line-height: 1.6;
}

.team-email {
    margin-top: 10px;
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

.team-email:hover {
    text-decoration: underline;
}

/* Advisory Board section */
.advisory-board {
    /* Remove background color */
    background-color: transparent;
    /* Remove padding */
    padding: 0;
    /* Remove box shadow */
    box-shadow: none;
    margin: 40px auto 60px; /* Increased bottom margin from 40px to 60px */
    width: 100%;
    max-width: 1000px;
}

.advisory-board h3 {
    color: #8b0000;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.6rem;
}

.advisory-board p {
    text-align: center;
    line-height: 1.6;
}

/* Remove or comment out all styles related to the old .company-facts structure */
/*
.company-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin: 0 auto 20px;
    width: 100%;
    max-width: 1000px; 
}

.company-facts .feature-item.tracker-feature-row {
    display: flex;
    align-items: flex-start; 
    padding: 15px; 
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.company-facts .feature-icon {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex: 0 0 35px; 
    color: #8b0000;
    font-size: 1.4rem;
    margin-right: 10px;
}

.company-facts .feature-text {
    width: 100%;
}

.company-facts .feature-text h4 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.company-facts .feature-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 992px) {
    .company-facts {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .company-facts {
        grid-template-columns: 1fr; 
        gap: 20px; 
        margin: 0 auto 15px;
    }
}
*/

/* Ensure consistent paragraphs in the about section */
.about-section > p {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.leadership-hero {
    padding-top: 5px !important; /* Significantly reduced top padding */
    overflow: hidden; /* Prevent content from spilling outside */
}

.hero-2 {
    overflow: hidden; /* Prevent content from spilling outside */
}

.hero-2 .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.leadership-hero .container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    /* Reset container styles on mobile for proper containment */
    .leadership-hero .container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow: visible;
    }
    
    /* Reset hero-2 styles that might be causing overflow */
    .hero-2 {
        padding: 0 !important;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Completely reset the team member card for mobile */
    .team-member {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
        /* Change to column layout on mobile */
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* Center the image on mobile */
    .team-member-image {
        margin: 0 auto 20px !important;
    }
    
    /* Fix team member info width */
    .team-member-info {
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    /* Center team member name and title */
    .team-member-info h3,
    .team-member-title {
        text-align: center !important;
    }
    
    /* Ensure section title is properly contained */
    .leadership-section .section-title {
        padding: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Further adjustments to leadership section */
    .leadership-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

