/* ========================================
   WHAT WE DO PAGE STYLES
   ======================================== */

.what-we-do-page-wrapper {
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* ========================================
   NAVBAR OVERRIDES
   ======================================== */

.what-we-do-page-wrapper .navbar.transparent {
    background-color: #ffffff;
}

.what-we-do-page-wrapper .navbar.transparent .navbar-logo.white {
    opacity: 0 !important;
}

.what-we-do-page-wrapper .navbar.transparent .navbar-logo.black {
    opacity: 1 !important;
}

.what-we-do-page-wrapper .navbar.transparent .navbar-link {
    color: var(--color-black) !important;
}

.what-we-do-page-wrapper .navbar.transparent .navbar-menu-icon {
    filter: invert(1);
}

.what-we-do-page-wrapper .navbar.fixed {
    position: sticky !important;
    top: 0;
}


/* ========================================
   HEADER SECTION
   ======================================== */

.page-header {
    padding: 0 16px 32px;
}

.breadcrumbs {
    font-size: 12px;
    font-weight: 400;
    margin-top: 32px;
    margin-bottom: 24px;
    color: var(--color-charcoal);
    text-transform: uppercase;
}

.breadcrumbs a {
    text-decoration: none;
    color: inherit;
}

.page-header h1 {
    font-family: "loew-variable", sans-serif;
    font-size: 48px;
    font-weight: 700;
    font-stretch: 10%;
    line-height: 90%;
    margin-bottom: 24px;
    text-transform: uppercase;
    color: var(--color-black);
}

.subheading {
    font-size: 20px;
    /* Slightly smaller than Health Goal */
    line-height: 1;
    color: var(--color-charcoal);
    margin: 0;
    letter-spacing: -0.4px;
}


/* ========================================
   HERO IMAGE
   ======================================== */

.hero-image-section {
    width: 100%;
    padding: 0 16px 32px;
}

/* ========================================
   DESKTOP INTRO SECTION
   ======================================== */

.wd-desktop-intro {
    display: none;
}

.hero-img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    /* Mobile squareish */
    object-fit: cover;
}


/* ========================================
   CTA BAR (Green/Yellow)
   ======================================== */

.cta-bar-section {
    background-color: var(--color-fluoro);
    /* Using fluoro variable usually yields that neon yellow/green */
    padding: 32px 16px;
}

.cta-bar-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.cta-bar-content h2 {
    font-family: "loew-variable", sans-serif;
    font-size: 28px;
    font-stretch: 10%;
    line-height: 90%;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--color-black);
    margin: 0;
    font-weight: 700;
}

.wd-cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-charcoal);
    text-decoration: none;
    height: 64px;
    border-radius: 8px;
    /* Rounded corners as per image button style */
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.54px;
    width: 100%;
    box-sizing: border-box;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-charcoal);
    transition: color 300ms ease, border-color 300ms ease, transform 200ms ease, box-shadow 200ms ease;

    /* Fancy Hover Setup */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wd-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: -1;
    transition: background-color 300ms ease;
}

.wd-cta-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--color-charcoal);
    transition: height 300ms ease;
    z-index: -1;
}

.wd-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-fluoro);
    border-color: var(--color-charcoal);
    background-color: transparent;
}

.wd-cta-button:hover::after {
    height: 100%;
}


/* ========================================
   CONTENT SECTION
   ======================================== */

.content-section {
    padding: 48px 16px;
    padding: 48px 16px;
    display: block;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.content-text p {
    font-size: 20px;
    line-height: 1.2;
    color: var(--color-charcoal);
    margin: 0;
}

.content-list h3 {
    font-family: "LoewNext", system-ui, sans-serif;
    font-size: 28px;
    /* Small heading */
    color: var(--color-black);
    margin-bottom: 16px;
    font-weight: 900;
}

.content-list ul {
    padding-left: 20px;
    list-style: disc;
}

.content-list li {
    font-size: 16px;
    color: var(--color-charcoal);
    margin-bottom: 8px;
    line-height: 1.4;
}



/* ========================================
   TABLET STYLES (768px - 1023px)
   ======================================== */
@media (min-width: 768px) {
    .page-header {
        padding: 48px 32px;
    }

    .hero-image-section {
        padding: 0 32px 32px;
    }

    .hero-img {
        aspect-ratio: 16/9;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        row-gap: 48px;
    }

    .peptide-info-content {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .why-choose-container {
        padding: 0 16px;
    }
}


/* ========================================
   DESKTOP STYLES
   ======================================== */

@media (min-width: 1024px) {

    /* Tablet/Small Desktop tweaks */
    .page-header {
        padding: 48px 32px;
    }

    .hero-img {
        aspect-ratio: 16 / 9;
        /* Wider on tablet */
    }
}

@media (min-width: 1024px) {
    .what-we-do-page-wrapper {
        max-width: 100%;
    }

    /* Header */
    .page-header {
        padding: 64px 64px 32px;
        max-width: none;
        margin: 0 auto;
    }

    .page-header h1 {
        font-size: 64px;
        margin-bottom: 24px;
    }

    .subheading {
        font-size: 24px;
        max-width: 100%;
    }

    .hero-image-section {
        max-width: none;
        /* Removed 1000px limit */
        margin: 0 0 64px 0;
        padding: 0 64px;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
    }

    .hero-img {
        aspect-ratio: 21 / 9;
        /* Very wide landscape */
        border-radius: 8px;
        object-fit: cover;
        object-position: center top;
        height: auto;
        /* Allow height to scale */
        width: auto;
        /* Use intrinsic width */
        max-width: 100%;
        /* But don't overflow container */
    }


    /* CTA Bar - Full width or contained? 
       Design usually shows this bar spanning full width of screen 
    */
    .cta-bar-section {
        padding: 48px 64px;
        text-align: left;
        /* Text left aligned on desktop? */
        /* Image attached shows: Left aligned text, Button on right? 
           actually in the crop provided:
           "COMPLETE OUR..." (Big text)
           Button below it or to side?
           Wait, looking at image 2 (Desktop):
           Bottom Green Bar: 
           Text on Left (COMPLETE...)
           Button on Right (Schedule...)
        */
        display: flex;
        justify-content: center;
    }

    .cta-bar-content {
        max-width: 100%;
        /* Was 1440px */
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .cta-bar-content h2 {
        font-size: 28px;
        /* Large */
        max-width: 800px;
    }

    .wd-cta-button {
        width: auto;
        min-width: 250px;
        padding: 22px 32px;
    }

    /* Content Section */
    .content-section {
        padding: 0 64px 64px;
        max-width: none;
        margin: 0 auto;
        display: block;
    }

    .content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        gap: 64px;
        align-items: flex-start;
    }

    .content-text {
        flex: 1.2;
        /* Slightly larger text area */
    }

    .content-text p {
        font-size: 32px;
        /* Bigger statement text */
        letter-spacing: -0.5px;
        line-height: 1;
    }

    .content-list {
        flex: 0.8;
        padding-top: 8px;
        /* Align with text top visually */
    }

    .content-list h3 {
        font-size: 28px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    .content-list li {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .breadcrumbs {
        margin-bottom: 16px;
    }

}

/* ========================================
   WHAT IS PEPTIDE THERAPY STYLES
   ======================================== */

.peptide-info-section {
    padding: 64px 16px;
    background-color: #ffffff;
}

.peptide-info-content h2 {
    font-family: "loew-variable", sans-serif;
    font-size: 38px;
    font-stretch: 10%;
    line-height: 90%;
    margin-bottom: 32px;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 700;
}

.peptide-info-text p {
    font-size: 18px;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: 32px;
}

.peptide-info-text p:last-child {
    margin-bottom: 0;
}

/* Desktop Styles for Peptide Info */
@media (min-width: 1024px) {
    .peptide-info-section {
        padding: 120px 64px;
        max-width: none;
        margin: 0 auto;
    }

    .peptide-info-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 64px;
    }

    .peptide-info-content h2 {
        font-size: 54px;
        flex: 1;
        max-width: 50%;
    }

    .peptide-info-text {
        flex: 1;
        padding-top: 8px;
        /* Visual alignment with top of H2 approx */
    }

    .peptide-info-text p {
        font-size: 18px;
        margin-bottom: 8px;
        max-width: 600px;
    }
}

/* ========================================
   WHY CHOOSE TIDES SECTION STYLES
   ======================================== */

.why-choose-section {
    padding: 0 16px 64px;
    background-color: #ffffff;
}

.why-choose-header h3 {
    font-family: "loew-variable", sans-serif;
    font-size: 38px;
    font-stretch: 10%;
    line-height: 90%;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--color-black);
    margin-bottom: 32px;
    font-weight: 700;
}

.why-choose-container {
    display: flex;
    flex-direction: column;
}

/* --- Mobile List / Accordion --- */

.why-choose-list {
    display: flex;
    flex-direction: column;
}

.why-choose-item {
    border-bottom: 1px solid #E0E0E0;
    overflow: hidden;
}

.why-choose-item:last-child {
    border-bottom: 0;
}

.why-choose-item-header {
    cursor: pointer;
    /* Optional: Add hover state or icon if needed, but design looks clean */
}

.why-choose-item-header h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    /* Mobile size */
    color: #9C9C9C;
    letter-spacing: -0.48px;
    /* Inactive color */
    margin: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth ease-out */
    font-weight: 500;
    transform-origin: left center;
    padding: 16px 0;
}

.why-choose-item.active .why-choose-item-header h4 {
    color: var(--color-charcoal);
    /* Subtle indentation/slide */
}

.why-choose-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: translateY(-10px);
    /* Slide down effect */
}

.why-choose-item.active .why-choose-item-content {
    /* Max-height set by JS */
    opacity: 1;
    transform: translateY(0);
}

.why-choose-item-content p {
    font-size: 16px;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-top: 16px;
    margin-bottom: 16px;
    padding-right: 16px;
    font-weight: 400;
    /* Staggered text reveal handled by parent opacity mostly, 
       but could add individual delay if wanted. kept simple for now. */
}

.why-choose-mobile-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 32px;
    display: block;
    aspect-ratio: 16/9;
    /* Reserve space to avoid height calc issues */
    object-fit: cover;
}

/* Hide desktop image on mobile */
.why-choose-image-container {
    display: none;
}


/* ========================================
   DESKTOP STYLES
   ======================================== */

@media (min-width: 1024px) {
    .why-choose-section {
        padding: 0 64px 120px;
        max-width: none;
        margin: 0 auto;
    }

    .why-choose-header h3 {
        margin-bottom: 0;
    }

    .why-choose-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 64px;
        min-height: 600px;
        /* Ensure height for image */
    }

    /* Left Side: List */
    .why-choose-list {
        margin: auto;
        flex: 1;
        max-width: 550px;
        border-top: none;
        /* Moved border to first item to accommodate nested header */
    }

    .why-choose-item {
        border-bottom: 1px solid #E0E0E0;
    }

    .why-choose-item-header {
        padding: 0;
    }

    .why-choose-item-header h4 {
        font-size: 24px;
        /* Desktop Size */
        padding: 24px 0;
    }

    /* Content on Desktop: Text is shown when active, Image is on right */
    .why-choose-item-content {
        transition: max-height 0.4s ease-out;
        max-height: 0;
        /* Ensures hidden by default if logic requires, but we rely on active */
    }

    .why-choose-item.active .why-choose-item-content {
        max-height: 200px;
        /* Sufficient height for text */
    }

    .why-choose-item-content p {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 24px;
    }

    /* Ensure content is strictly hidden if not active on desktop? 
       Actually, design shows text under the heading for the active item.
       So the logic is same: expand text on active. 
    */

    .why-choose-mobile-img {
        display: none;
        /* Hide mobile image on desktop */
    }

    /* Right Side: Image */
    .why-choose-image-container {
        display: block;
        flex: 1;
        position: relative;
        /* Sticky image if list is long? 
           For 4 items, probably just static alignment is fine, 
           or we can make the image container sticky.
        */
    }

    .why-choose-desktop-img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
        aspect-ratio: 4/3;
        max-height: 600px;

        transition: opacity 0.5s ease-in-out, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        transform: scale(1);
    }

    /* When opacity is 0 (handled by JS class or inline style), we can also scale down slightly for a 'pop' in effect?
       Actually JS sets opacity. We can target the state when opacity is 0 if we added a class, 
       but currently JS sets inline opacity. 
       Let's stick to the current opacity transition but make it smoother in CSS.
    */
}

/* ========================================
   BENEFITS SECTION STYLES
   ======================================== */

.benefits-section {
    padding: 0 16px 64px;
    background-color: #ffffff;
}

.benefits-subheading {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--color-charcoal);
    margin-bottom: 16px;
    font-weight: 400;
}

.benefits-heading {
    font-family: "loew-variable", sans-serif;
    font-size: 38px;
    font-stretch: 10%;
    line-height: 90%;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 700;
    margin-bottom: 32px;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.benefit-image-wrapper {
    flex-shrink: 0;
    width: 80px;
    /* Adjust based on visuals */
    height: 80px;
}

.benefit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.benefit-title {
    font-family: "loew-variable", sans-serif;
    font-size: 28px;
    line-height: 90%;
    font-stretch: 10%;
    text-transform: uppercase;
    color: var(--color-black);
    font-weight: 700;
    margin: 0;
}


/* ========================================
   DESKTOP STYLES - BENEFITS
   ======================================== */

@media (min-width: 1024px) {
    .benefits-section {
        padding: 0 64px 120px;
        max-width: none;
        margin: 0 auto;
    }

    .benefits-heading {
        font-size: 54px;
        /* Big header on desktop */
        margin-bottom: 80px;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 Columns */
        column-gap: 64px;
        row-gap: 64px;
    }

    .benefit-item {
        align-items: center;
        gap: 32px;
    }

    .benefit-image-wrapper {
        width: 192px;
        /* Larger on desktop */
        height: 192px;
    }

    .benefit-title {
        font-size: 28px;
    }
}



@media screen and (min-width: 1440px) {

    /* Desktop Intro Section */
    .wd-desktop-intro {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 64px 64px;
        gap: 64px;
        max-width: none;
        margin: 0 auto;
    }

    .wd-intro-text {
        flex: 1;
        /* max-width: 600px; */
    }

    .wd-intro-text p {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -0.64px;
        font-weight: 400;
        color: var(--color-charcoal);
        margin: 0;
        text-align: justify;
    }

    .wd-intro-list {
        flex: 1;
        /* max-width: 500px; */
    }

    .wd-intro-list h3 {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--color-black);
        margin-bottom: 16px;
    }

    .wd-intro-list ul {
        list-style: disc;
        padding-left: 20px;
    }

    .wd-intro-list li {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        line-height: 1.5;
        color: var(--color-charcoal);
        margin-bottom: 8px;
    }

    .cta-bar-content h2 {
        font-size: 32px;
        letter-spacing: 0;
        line-height: 100%;
    }

    .peptide-info-content h2 {
        font-size: 64px;
        line-height: 90%;
        letter-spacing: 0;
    }

    .benefits-heading {
        font-size: 64px;
        line-height: 90%;
        letter-spacing: 0;
    }

    .benefit-title {
        font-size: 32px;
    }
}