/* ============================================================
   PHARMA PAGE STYLES  (loaded only on pharma.php)
   ============================================================ */

/* ---------------- hero section ---------------- */

.hero-section {
    background: #f6f8ff;
    padding: 165px 0px 100px;
    overflow: hidden;
}

.hero-section .container {
    max-width: 1270px;
}

.hero-section .hero-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.hero-section .hero-content,
.hero-section .hero-image {
    padding: 0 12px;
    box-sizing: border-box;
}

/* desktop 7/5 split: text left, image right */
.hero-section .hero-content {
    flex: 0 0 58%;
    max-width: 58%;
}

.hero-section .hero-image {
    flex: 0 0 42%;
    max-width: 42%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #F0F0F0;
    padding: 10px 18px;
    border-radius: 50px;
    margin-bottom: 0px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c389;
}

.hero-badge span {

    color: #1b3f8b;
    /* font-family: "Geist Mono", monospace; */
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}


.hero-title {
    font-size: 51px;
    font-weight: 400;
    letter-spacing: -0.07em;
    color: var(--blue);
    margin-bottom: 28px;
}

.hero-title span {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 600;
    font-size: 58px;
    background: var(--grad-green);
    -webkit-background-clip: text;
    background-clip: text;
    letter-spacing: -0.04em;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-right: .08em;
}

/* Fraunces italic has a deep descender — the "f" in "fast." hung below the
   box. background-clip:text paints only inside the element's box, and the
   entrance-animation splits the word into inline-block letters whose box is
   just one line tall, so the tail was sliced off flat. The extra bottom
   padding enlarges the paint area; the matching negative margin keeps the
   line spacing exactly as it was. */
.hero-title span,
.hero-title .hl-unit,
.hero-title .hl-unit .hl {
    padding-bottom: .3em;
    margin-bottom: -.3em;
}

.hero-description {
    max-width: 600px;
    color: #6d7588;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 38px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-buttons .btn-orange {
    min-width: 240px;
    height: 50px;
    background: #F7931E;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;               /* breathing room between the label and the arrow */
    padding: 0 9px 0 26px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .35s;
}

.hero-buttons .btn-orange:hover {
    color: #fff;
    transform: translateY(-4px);
}

.hero-buttons .btn-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #DD7E18;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;          /* keep the arrow circle round when space is tight */
}

.hero-buttons .btn-circle img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.hero-buttons .btn-white {
    width: 255px;
    height: 50px;
    background: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    padding: 0 12px 0 22px;
    color: #173F7B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
    transition: .35s;
}

.hero-buttons .btn-white:hover {
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
}

.hero-buttons .left-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .left-icon img {
    width: 18px;
    height: 18px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    overflow: hidden;
    /* Fixed square frame. The height used to come from the photo itself, which
       happened to be square — swapping in a wide photo collapsed the hero to
       roughly half its height. Pinning the shape keeps every division page the
       same size whatever the image's proportions are. */
    aspect-ratio: 1 / 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* fill the square frame instead of letterboxing */
    display: block;
    border-radius: 28px;
}

.hero-buttons .btn-orange:hover .btn-circle {
    background: #c86f10;
}

.hero-buttons .btn-white:hover {
    background: var(--orange);
}

/* ---------------- offerings ---------------- */

.offerings-pharma {
    padding-top: 0;
}

/* ---------------- faq ---------------- */

.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-section .faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 60px;
}

.faq-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid #f0f0f0;
    border-radius: 40px;
    background: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 550;
}

.faq-dot {
    width: 8px;
    height: 8px;
    background: #00b894;
    border-radius: 50%;
}

.faq-title {
    font-size: 49px;
    font-weight: 500;
    line-height: 1.05;
    color: var(--blue);
    margin-bottom: 20px;
}

.faq-title span {
    color: #00b894;
    font-style: italic;
    font-size: 49px;
    font-family: var(--font-serif);
}

.faq-description {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    max-width: 270px;
    font-weight: 400;
}

.faq-accordion .accordion-item {
    border-bottom: 1px solid #e6e6e6;
}

.faq-accordion .accordion-header {
    margin: 0;
}

.faq-accordion .accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border: none;
    cursor: pointer;
    background: #fff;
    box-shadow: none;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 500;
    color: #222;
}

.faq-accordion .accordion-button::after {
    content: "+";
    font-size: 28px;
    font-weight: 300;
    color: #555;
    line-height: 1;
    margin-left: 16px;
}

.faq-accordion .accordion-item.is-open {
    background-image: url('../images/faq-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faq-accordion .accordion-item.is-open .accordion-button {
    color: #1f2937;
    background: transparent;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    content: "\2212";
}

.faq-accordion .accordion-collapse {
    display: none;
}

.faq-accordion .accordion-collapse.show {
    display: block;
}

.faq-accordion .accordion-body {
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    padding: 0 30px 26px;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1199.98px) {

    .hero-title {
        font-size: 44px;
    }

    .hero-title span {
        font-size: 48px;
    }

    .division-img {
        width: 100%;
        height: 320px;
    }

    .feature-card {
        width: 100%;
    }

    .why-heading {
        font-size: 42px;
    }

    .why-heading span {
        font-size: 46px;
    }
}

@media (max-width: 991.98px) {

    /* hero — top padding must clear the FIXED navbar (~110px incl. the
       floating capsule on inner pages), else the brand switcher / badge at
       the top of the hero hides behind it on tablets and phones */
    .hero-section {
        padding: 150px 0 60px;
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-section .hero-content,
    .hero-section .hero-image {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-title span {
        font-size: 40px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    /* stats */
    .stats-section {
        padding: 40px 0;
    }

    .stat-item {
        margin-bottom: 30px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item h2 {
        font-size: 40px;
    }

    /* division cards */
    .division-section {
        padding: 60px 0;
    }

    .division-card {
        padding: 30px;
    }

    .division-img {
        height: 280px;
        margin-bottom: 20px;
    }

    .division-card h3 {
        font-size: 28px;
    }

    .division-card p {
        font-size: 16px;
    }

    .service-list li {
        justify-content: flex-start;
        text-align: left;
    }

    .division-section .btn-orange {
        margin-left: auto;
        margin-right: auto;
    }

    /* why choose us */
    .why-us-section {
        min-height: unset;
        padding: 70px 0;
        text-align: center;
    }

    .capability-badge {
        justify-content: center;
    }

    .why-heading {
        font-size: 34px;
    }

    .why-heading span {
        font-size: 38px;
    }

    .feature-card {
        height: auto;
        text-align: left;
    }

    /* faq */
    .faq-section {
        padding: 60px 0;
    }

    .faq-section .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-title {
        font-size: 36px;
    }

    .faq-title span {
        font-size: 36px;
    }

    .faq-description {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {

    /* stack the hero buttons — one per line, full width */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-buttons .btn-orange,
    .hero-buttons .btn-white {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .stat-item h2 {
        font-size: 34px;
    }

    .stat-item p {
        font-size: 14px;
    }

    .why-us-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* faq accordion */
    .faq-accordion .accordion-button {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-accordion .accordion-body {
        padding: 0 20px 20px;
    }
}

@media (max-width: 575.98px) {

    .hero-section {
        padding: 140px 0 45px;
    }

    .hero-badge span {
        font-size: 15px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero-title span {
        font-size: 30px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 26px;
        text-align: left;
    }

    .stat-item h2 {
        font-size: 28px;
    }

    /* division cards */
    .division-card {
        padding: 22px;
        border-radius: 20px;
    }

    .division-img {
        height: 200px;
        border-radius: 14px;
    }

    .division-card h3 {
        font-size: 22px;
    }

    .division-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    .division-section .btn-orange {
        width: 100%;
        max-width: 260px;
    }

    /* why choose us */
    .why-heading {
        font-size: 26px;
    }

    .why-heading span {
        font-size: 28px;
    }

    .feature-card {
        width: 100%;
        padding: 20px;
    }

    .feature-card h5 {
        font-size: 17px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* faq */
    .faq-title {
        font-size: 26px;
    }

    .faq-title span {
        font-size: 26px;
    }
}

@media (max-width: 380px) {

    .hero-title {
        font-size: 24px;
    }

    .hero-title span {
        font-size: 26px;
    }

    .hero-buttons .btn-orange,
    .hero-buttons .btn-white {
        font-size: 12px;
        padding-left: 18px;
    }

    .division-img {
        height: 160px;
    }
}

/* ============================================================
   Pharma page only — extra breathing room around the stats
   block on mobile (scoped here so index.php is unaffected).
   ============================================================ */
@media (max-width: 720px) {
    .stats {
        padding: 40px 0 50px;
    }
}