@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@400;700&display=swap');
:root{
    --white: #f5f0f0;
    --off-white: #e9e9e9;
    --onyx: #101010;
    --rich-mahogany: #260101;
    --dark-garnet: #591202;
    --rust-brown: #A62F03;
    --autumn-leaf:#F26716;
}


body{
    background-color: var(--white);
    color: var(--onyx);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.header-color{
    position: sticky;
    top: 0;
    z-index: 1;
    height: 110px;
    background-color: var(--onyx);
    margin-top: -100px;
}

/* About Page Styles */
.about-container{
    display: flex;
    flex-direction: column;
}

.about-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    padding: 0;
    max-height: 400px;
}

.about-flex:not(.split){
    padding: 40px 20px;
}

/* Make two-column layouts split 50/50 */
.about-flex .col-md-6{
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    padding: 0;
}

.about-flex.split{
    gap: 0;
}
.about-flex.split .col-md-6{
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-image{
    width: 100% !important;
    height: 400px;
    object-fit: cover;
    display: block;
    margin: 0;
}

@media (max-width: 768px){
    .about-flex .col-md-6{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about-flex .col-md-6:first-child{
        padding: 20px;
    }
    .about-image{
        height: auto;
        object-fit: cover;
    }
    .about-flex.split{
        min-height: auto;
    }
}

.about-flex .who-are-we h2, .about-flex .what-we-do h2{
    color: var(--onyx);
    text-align: center;
    width: 100%;
}

.about-flex .who-are-we, .about-flex .what-we-do{
    padding-left: 50px;
    padding-right: 50px;
}

.about-flex .who-are-we h2, .about-flex .who-are-we p,
.about-flex .what-we-do h2, .about-flex .what-we-do p{
    color: var(--white);
}
.about-flex .who-are-we{
    background-color: var(--rich-mahogany);
}

.about-flex .what-we-do{
    background-color: var(--dark-garnet);
}

.about-flex .our-mission, .about-flex .our-values{
    padding: 20px;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: #e9e9e9b0;
}

.about-flex .our-mission {
    border-radius: 10px 0 0 10px;
}
.about-flex .our-values {
    border-radius: 0 10px 10px 0;
}

.did-you-know{
    background-color: var(--rust-brown);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.mission-values {
    background-image: url('../images/custom-design.svg');
    background-size: cover;
    background-position: center;
}

.did-you-know h2,
.mission-values h2,
.our-mission h2,
.our-values h2,
.what-we-do h2,
.who-are-we h2{
    margin-bottom: 15px;
}

/* Intro styles */
.intro{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--rich-mahogany), var(--rust-brown), var(--rich-mahogany));
    color: var(--white);
    text-align: center;
}
.intro h1{
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.05;
    margin: 0 0 12px 0;
    letter-spacing: 1.5px;
}
.divider{
    width: 250px;
    max-width: 35%;
    height: auto;
    margin-bottom: 18px;
    filter: invert(1);
    opacity: 0.95;
}

@media (max-width: 480px){
    .intro{
        padding: 36px 16px;
    }
    .divider{
        width: 120px;
    }
}

.did-you-know-content p{
    font-size: 18px;
}