/* ============================================
   PARTNERING PAGE STYLES (Figma Specs)
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.partnering-hero {
    display: flex;
    padding: 170px 30px 40px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #fff;
}

.partnering-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.partnering-hero__content {
    display: flex;
    width: 1000px;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.partnering-hero__title {
    color: #005395;
    text-align: center;
    font-family: "Funnel Display", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 120%;
    margin: 0;
}

.partnering-hero__intro {
    color: #005395;
    text-align: center;
    font-family: "Funnel Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 1%;
    max-width: 800px;
    margin: 0;
}

.partnering-hero__intro p {
    margin: 0;
}

/* Hero Image - now inside hero section */
.partnering-hero__image {
    width: 1280px;
    max-width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    transition: width 0.6s ease-out, height 0.6s ease-out, border-radius 0.6s ease-out, max-width 0.6s ease-out;
    will-change: width, height, border-radius;
}

@media (min-width: 1025px) {
    .partnering-hero__image.is-expanding {
        max-width: none;
    }
}

.partnering-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    will-change: transform;
}

/* Hide old image banner */
.partnering-image-banner {
    display: none;
}

/* ============================================
   FOCUS AREAS SECTION
   ============================================ */
.focus-areas {
    display: flex;
    padding: 80px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
    background: #fff;
    overflow: hidden;
}

.focus-areas .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: none;
    padding: 0;
}

.focus-areas__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    text-align: center;
    margin: 0;
    padding: 0 40px;
}

.focus-areas__title {
    color: #005395;
    text-align: center;
    font-family: "Funnel Display", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 130%;
    text-transform: capitalize;
    margin: 0;
}

.focus-areas__intro {
    color: #000;
    text-align: center;
    font-family: "Funnel Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 1%;
    width: 800px;
    max-width: 100%;
    margin: 0;
}

.focus-areas__intro p {
    margin: 0;
}

/* Focus Cards Carousel */
.focus-areas__carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.focus-areas__carousel {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    animation: scrollCarousel 90s linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Desktop: hide second row */
.focus-areas__carousel--row2 {
    display: none;
}

.focus-areas__carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-33.333% - 7px));
    }
}

.focus-card {
    display: flex;
    width: 210px;
    min-width: 210px;
    padding: 40px 16px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    border-radius: 20px;
    background: #D3EBFF;
}

.focus-card:nth-child(even) {
    background: #D1F0FB;
}

.focus-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.focus-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.focus-card__title {
    color: #005395;
    text-align: center;
    font-family: "Funnel Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 1%;
    text-transform: uppercase;
    margin: 0;
}

/* ============================================
   MARKET EXPERTISE SECTION
   ============================================ */
.market-expertise {
    display: flex;
    padding: 80px 30px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fff;
}

.market-expertise__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.market-expertise__title {
    color: #1BB6EA;
    text-align: center;
    font-family: "Funnel Display", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 130%;
    text-transform: capitalize;
    margin: 0;
}

.market-expertise__text {
    color: #000;
    text-align: center;
    font-family: "Funnel Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 1%;
    margin: 0;
}

.market-expertise__text p {
    margin: 0;
}

/* ============================================
   WHY COLLABORATE SECTION
   ============================================ */
.why-collaborate {
    display: flex;
    width: 100%;
    min-height: 1040px;
    padding: 80px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Commented out - not using for now
.why-collaborate__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 4, 60, 0.85) 0%, rgba(0, 4, 60, 0.95) 100%), #00043C;
    z-index: 0;
}
*/

.why-collaborate .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    align-self: stretch;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
}

.why-collaborate__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.why-collaborate__title {
    color: #1BB6EA;
    text-align: center;
    font-family: "Funnel Display", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 130%;
    text-transform: capitalize;
    margin: 0;
}

.why-collaborate__intro {
    color: #FFF;
    text-align: center;
    font-family: "Funnel Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 1%;
    margin: 0;
}

.why-collaborate__intro p {
    margin: 0;
}

.why-collaborate__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 33px 32px;
    width: 100%;
}

.collab-card {
    display: flex;
    padding: 30px;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
    flex: 1 0 0;
    border-radius: 20px;
    background:
        linear-gradient(237deg, rgba(0, 0, 0, 0.00) 5.54%, rgba(0, 0, 0, 0.16) 96.73%),
        linear-gradient(230deg, rgba(121, 152, 255, 0.16) 3.47%, rgba(255, 255, 255, 0.00) 59.52%),
        rgba(6, 36, 135, 0.8);
}

.collab-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collab-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.collab-card__text {
    color: #FFF;
    font-family: "Funnel Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 1%;
    align-self: stretch;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .partnering-hero {
        padding: 170px 40px 40px;
    }

    .focus-areas {
        padding: 60px 0;
    }

    .focus-areas .container {
        padding: 0;
    }

    .market-expertise {
        padding: 60px 80px;
    }

    .why-collaborate {
        padding: 60px 80px;
    }
}

@media (max-width: 1024px) {
    .partnering-hero__title {
        font-size: 48px;
    }

    .partnering-hero__image {
        height: 400px;
    }

    .market-expertise__title,
    .why-collaborate__title {
        font-size: 32px;
    }

    .why-collaborate__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partnering-hero {
        padding: 120px 0 20px;
    }

    .partnering-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .partnering-hero__title {
        font-size: 36px;
    }

    .partnering-hero__intro {
        font-size: 18px;
        max-width: 100%;
    }

    .partnering-hero__image {
        height: 100vw;
        border-radius: 20px;
        max-width: 100%;
    }

    .focus-areas {
        padding: 20px 0;
        gap: 30px;
    }

    .focus-areas .container {
        padding: 0 16px;
        gap: 30px;
    }

    .focus-areas__header {
        max-width: 100%;
        padding: 0;
    }

    .focus-areas__title {
        font-size: 32px;
    }

    .focus-areas__intro {
        width: 100%;
        max-width: 100%;
    }

    .focus-areas__carousel-wrapper {
        width: auto;
        overflow: hidden;
        margin: 0 -16px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .focus-areas__carousel--row2 {
        display: flex;
        margin-left: 32px;
    }

    .focus-card {
        display: flex;
        width: 176px;
        min-width: 176px;
        padding: 32px 16px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .focus-card__icon {
        width: 72px;
        height: 72px;
    }

    .focus-card__title {
        color: var(--Neopharm-dark-blue, #005395);
        font-family: "Funnel Sans";
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        text-transform: uppercase;
    }

    .market-expertise {
        padding: 40px 0;
    }

    .market-expertise__content {
        max-width: 100%;
    }

    .market-expertise__title {
        font-size: 26px;
    }

    .why-collaborate {
        padding: 52vw 16px 40px;
        min-height: auto;
        background-attachment: scroll;
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-color: #00043C;
    }

    .why-collaborate .container {
        padding: 0;
        gap: 40px;
    }

    .why-collaborate__header {
        max-width: 100%;
    }

    .why-collaborate__title {
        font-size: 26px;
    }

    .why-collaborate__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .collab-card {
        display: flex;
        flex-direction: row;
        padding: 24px;
        justify-content: space-between;
        align-items: center;
        gap: 32px;
        align-self: stretch;
        border-radius: 20px;
        background: linear-gradient(237deg, rgba(0, 0, 0, 0.00) 5.54%, rgba(0, 0, 0, 0.20) 96.73%), linear-gradient(230deg, rgba(121, 152, 255, 0.20) 3.47%, rgba(255, 255, 255, 0.00) 59.52%), #062487;
    }

    .collab-card__icon {
        width: 56px;
        min-width: 56px;
        height: 56px;
        flex: 0 0 56px;
        order: 2;
    }

    .collab-card__text {
        color: #FFF;
        font-family: "Funnel Sans";
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        order: 1;
    }
}
