/* Container Spacing */
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.about-section {
    padding: 40px 0;
    animation: fadeInUp 1s ease-out;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Typography Enhancements */
.section-title {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
    text-align: left;
}

.phil-item {
    background: rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.phil-item h3 {
    margin-bottom: 10px;
    color: var(--green);
}

.closing-statement {
    font-size: 1.3rem;
    margin-top: 40px;
    color: var(--dark-gray);
}

/* Founder Section */
.founder-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    margin-top: 50px;
}

.founder-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 100px 100px 0 0;
    /* Artistic arch shape */
    box-shadow: 15px 15px 0px var(--white);
}

.founder-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 60px auto;
    width: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .philosophy-grid,
    .founder-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }

    .founder-image img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Container Spacing */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    /* Top padding for absolute header */
}

.about-section {
    padding: 60px 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Typography Enhancements */
.section-title {
    font-size: clamp(3rem, 10vw, 5rem);
    color: var(--green);
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.text-block p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #444;
}

/* Philosophy Grid - Made into cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
    text-align: left;
}

.phil-item {
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent */
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.phil-item:hover {
    transform: translateY(-5px);
}

.phil-item h3 {
    margin-bottom: 15px;
    color: var(--green);
    font-size: 1.5rem;
}

.closing-statement {
    font-size: 1.5rem;
    margin-top: 50px;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Founder Section - Artistic Layout */
.founder-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
    margin-top: 40px;
}

.founder-image {
    flex: 1;
}

.founder-image img {
    width: 100%;
    max-width: 350px;
    height: 500px;
    object-fit: cover;
    border-radius: 180px 180px 20px 20px;
    /* Soft Arch shape */
    box-shadow: 20px 20px 0px var(--white);
}

.founder-text {
    flex: 1.5;
    font-size: 1.2rem;
    line-height: 1.9;
}

.founder-text .section-title {
    font-size: 3.5rem;
    text-align: left;
}

.section-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 80px auto;
    width: 30%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-container {
        padding-top: 100px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .founder-flex {
        flex-direction: column;
        text-align: center;
    }

    .founder-text .section-title {
        text-align: center;
    }

    .founder-image img {
        height: 400px;
    }
}

body {
    background-color: var(--sage-green);
    /* Adding a subtle paper/canvas texture to match the artistic vibe */
    background-image: url("https://www.transparenttextures.com/patterns/canvas-orange.png");
}

/* 1. Reduce padding on the individual sections */
.about-section {
    padding: 30px 0;
    /* Reduced from 60px */
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

/* 2. Tighten up the divider margins */
.section-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    /* Reduced from 80px */
    width: 30%;
}

/* 3. Adjust the founder section's top margin */
.founder-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
    margin-top: 20px;
    /* Reduced from 40px */
}

/* 4. Optional: If you want them to feel like one flow, 
   remove the top padding specifically for the founder section */
.founder-section {
    padding-top: 0;
}

.allison-regular {
    font-family: "Allison", serif;
    font-weight: 400;
    font-style: normal;
}

.section-title {
    font-family: "Allison", serif;
    font-weight: 400;
    font-style: normal;
    color: black;
}

h3 {
    color: black;
}

.courier-prime-bold {
    color: black;
}

.courier-prime-bold-italic {
    color: var(--green);
    font-size: 2.2rem;
}

/* Update your existing Mobile Media Query */
@media (max-width: 768px) {
    .about-container {
        padding-top: 80px;
        /* Reduced from 100px for a tighter start */
        padding-bottom: 30px;
    }

    .courier-prime-bold-italic {
        font-size: 1.4rem;
    }

    /* Reduce vertical gaps between the two main sections */
    .about-section {
        padding: 20px 0;
        /* Tightens up the space around the divider */
    }

    .section-divider {
        margin: 10px auto;
        /* Brings the sections even closer on mobile */
        width: 40%;
        /* Slightly wider divider looks better on small screens */
    }

    .philosophy-grid {
        margin: 30px 0;
        /* Less space between the text block and the cards */
        gap: 20px;
    }

    .founder-flex {
        margin-top: 15px;
        /* Brings Pooja's photo closer to the divider */
        gap: 30px;
        /* Reduces space between photo and text */
    }

    .founder-image img {
        height: auto;
        max-width: 300px;
        /* Slightly smaller photo so text is reached faster */
        box-shadow: 12px 12px 0px var(--white);
        /* Scales down the artistic shadow */
    }

    .closing-statement {
        margin-top: 30px;
        font-size: 1.2rem;
        /* Keeps it readable without overwhelming the screen */
    }
}