/* About Us page Styles */

.about-us-header {
    position: relative;
    background-image: url('../assets/stock/pexels-jakubzerdzicki-21228271.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.about-us-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

/* About Us specific h1 styling */
#about-us-title {
    position: relative;
    padding: 4rem 2rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.introTextBlock {
    position: relative;
    z-index: 2;
}

.card-learn-more{
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    z-index: 2;
    cursor: pointer;
}

.card-learn-more:hover {
    background-color: #ffffff;
    color: #2a252c;
    border: 1px solid #ffffff;
    z-index: 2;
}

.card-learn-more:visited {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #ffffff;
    z-index: 2;
}

/* Mission Section Styles */
.mission {
    padding: 2rem;
    max-width: 1440px;
    margin: 4rem auto 0 auto;
}

.mission-card {
    position: relative;
    background-image: url('../assets/stock/pexels-crazy-motions-80195021-12198537.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    margin: 2rem auto 0 auto;
    min-height: 450px;
    width: 100%;
    max-width: 1440px;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.card-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 750;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-align: left;
}

.card-content {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: 0em;
    color: #ffffff;
    line-height: 1.6;
    max-width: 55%;
    position: relative;
    z-index: 1;
}

/* Values Section Styles */
.values {
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.values-card {
    position: relative;
    background-image: url('../assets/stock/pexels-jakubzerdzicki-17668052.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    margin: 2rem auto 0 auto;
    min-height: 450px;
    width: 100%;
    max-width: 1440px;
}

.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* History Section Styles */
.history {
    background-color: #564d3c;
    max-width: none;
    width: 100%;
    margin: 4rem 0 0 0;
    padding: 0;
    min-height: fit-content;
}

.history .history-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.history-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.history-text {
    flex: 1;
    max-width: 60%;
}

#history-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 750;
    color: #ffffff;
    margin-bottom: 1rem;
}

#history-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 400;
    letter-spacing: 0em;
    color: #ffffff;
    line-height: 1.6;
}

#history-image {
    flex-shrink: 0;
    max-width: 35%;
    height: auto;
    object-fit: cover;
}

/* Responsive styles for history section */
@media (max-width: 768px) {
    .history-section {
        flex-direction: column;
        text-align: center;
    }
    
    .history-text {
        max-width: 100%;
    }
    
    #history-image {
        max-width: 80%;
        margin-top: 1rem;
    }
    
    /* Center cards in mobile view */
    .mission-card,
    .values-card {
        margin: 2rem auto 0 auto;
        width: calc(100% - 2rem);
        max-width: 80%;
    }
    
    .mission,
    .values {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .history-section {
        padding: 1.5rem;
    }
    
    #history-title {
        font-size: 1.8em;
    }
    
    #history-description {
        font-size: 1.2em;
    }
    
    #history-image {
        max-width: 100%;
    }
    
    /* Further adjust cards for smaller mobile screens */
    .mission-card,
    .values-card {
        margin: 1rem auto 0 auto;
        padding: 1.5rem;
        width: calc(100% - 1rem);
    }
    
    .mission,
    .values {
        padding: 0.5rem;
    }
    
    .card-content {
        width: 100%;
    }
}

