/* About Page Specific Styles */

/* ==========================================================================
   ABOUT HERO SECTION - IMAGE-BASED DESIGN
   ========================================================================== */

.about-hero {
    margin-top: 125px;
    /* Account for fixed header height */
    position: relative;
    overflow: unset;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}

.about-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
}

/* Picture tag handles image selection based on media queries */

/* ::after effect for all screen sizes */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 38px;
    background: var(--text-white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 2;
}

/* About Container */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* What is MYFEMBREE used for Section */
.what-is-myfembree {
    padding: var(--spacing-xl) 0;
    background: var(--text-white);
    position: relative;
}


.what-is-title {
    font-size: calc(42px * var(--base-font-scale, 1));
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.what-is-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(92, 6, 140, 0) 100%);
}

.what-is-intro {
    font-size: calc(20px * var(--base-font-scale, 1));
    line-height: 36px;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: var(--spacing-lg);
    width: 63%;
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--font-weight-normal);
}

.conditions-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-align: left;
    width: 70%;
    max-width: 800px;
}

.condition-icon {
    flex-shrink: 0;
    width: 100px;
    height: 60.47px;
    object-fit: contain;
}

.condition-icon-1 {
    filter: hue-rotate(0deg) saturate(1.2);
}

.condition-icon-2 {
    filter: hue-rotate(15deg) saturate(1.1) brightness(1.1);
}

.condition-text {
    font-size: calc(var(--font-size-lg) * var(--base-font-scale, 1));
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    margin: 0;
    font-weight: var(--font-weight-normal);
    text-transform: lowercase;
}

/* How does MYFEMBREE work Section */
.how-myfembree-works {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--bg-gradient-purple) 0%, rgba(226, 220, 238, 0) 100%);
    position: relative;
}

.how-works-title {
    font-size: calc(30px * var(--base-font-scale, 1));
    font-weight: var(--font-weight-black);
    line-height: 40px;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.how-works-intro {
    font-size: calc(20px * var(--base-font-scale, 1));
    line-height: 36px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Card Container */
.content-card-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Responsive Image Implementation */
.content-card-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.content-card-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* Responsive image handled by <picture> element with <source> media queries */

/* Responsive Design */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
    .about-container {
        padding: 0 40px;
    }
}

/* Tablet screens (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-hero {
        margin-top: 125px;
        /* Account for fixed header height on tablet */
    }

    .about-hero-image {
        width: 100%;
    }

    .about-hero-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 1130px) {

    /* About hero section mobile layout */
    .about-hero {
        margin-top: 100px; /* Account for fixed header height on mobile */
    }

    .about-hero-image {
        width: 100%;
    }

    .about-hero-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Picture tag handles image selection automatically */

    .about-hero::after {
        width: 100%;
        max-width: 1000px;
        height: 30px;
        border-radius: 20px 20px 0 0;
    }

    .what-is-title,
    .how-works-title {
        font-size: calc(var(--font-size-3xl) * var(--base-font-scale, 1));
    }

    .what-is-title::after {
        width: 100%;
    }


    .what-is-title {
        padding: 0px 20px;
    }

    .how-myfembree-works {
        padding-top: var(--spacing-lg);
    }

    .what-is-intro {
        width: 87%;
        text-align: center;
    }

    .content-card-container {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .conditions-list {
        gap: var(--spacing-md);
        max-width: 100%;
    }

    .condition-item {
        gap: var(--spacing-sm);
        max-width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .condition-icon {
        width: 36%;
        height: 100%;
    }

    .condition-text {
        font-size: calc(var(--font-size-base) * var(--base-font-scale, 1));
    }

    /* Responsive image handled by <picture> element with <source> media queries */

}

@media (max-width: 480px) {
    .about-container {
        padding: 0 20px;
    }

    .about-hero {
        margin-top: 85px; /* Account for fixed header height on small mobile */
    }

    .about-hero-image {
        width: 100%;
    }

    .about-hero-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Picture tag handles image selection automatically */

    .about-hero::after {
        width: 100%;
        max-width: 1000px;
        height: 25px;
        border-radius: 15px 15px 0 0;
    }

    .what-is-title {
        font-size: calc(26px * var(--base-font-scale, 1));
        line-height: 39px;
        margin-bottom: var(--spacing-md);
    }

    .what-is-title {
        padding: 0px 25px;
    }

    .what-is-myfembree {
        padding: 0 0 var(--spacing-md) 0;
    }

    .how-myfembree-works {
        padding-top: var(--spacing-lg);
    }

    .how-works-title {
        font-size: calc(23px * var(--base-font-scale, 1));
        margin-bottom: var(--spacing-md);
        line-height: 33px;
        font-weight: var(--font-weight-black);
    }

    .how-works-intro {
        font-size: calc(18px * var(--base-font-scale, 1));
        line-height: 27px;
        margin-bottom: var(--spacing-md);
    }

    .what-is-intro {
        width: 100%;
        text-align: center;
        margin-top: 40px;
        font-weight: var(--font-weight-medium);
        font-size: calc(18px * var(--base-font-scale, 1));
        line-height: 27px;
    }

    .content-card-container {
        padding: 0 0px;
    }

    .condition-text {
        font-size: calc(18px * var(--base-font-scale, 1));
        line-height: 27px;
    }

    .condition-text-2 .p{
        padding-left: 10px;
    }

    .condition-icon {
        width: 100px;
        height: 60.47px;
    }

    .condition-item {
        gap: var(--spacing-xs);
        align-items: center;
        width: 100%;
    }

    /* Responsive image handled by <picture> element with <source> media queries */

}