@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= SCROLL ANIMATIONS ================= */

@keyframes sa-fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes sa-fade-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sa-fade-down {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-animate.left-animation {
    transform: translateX(-60px);
}

.scroll-animate.right-animation {
    transform: translateX(60px);
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.scroll-animate.fade-in {
    transform: none;
    transition: none !important;
}

.scroll-animate.fade-in.is-visible {
    animation: sa-fade-in 1.1s ease forwards;
}

.scroll-animate.fade-up {
    transform: none !important;
    transition: none !important;
}

.scroll-animate.fade-up.is-visible {
    animation: sa-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-animate.fade-down {
    transform: none !important;
    transition: none !important;
}

.scroll-animate.fade-down.is-visible {
    animation: sa-fade-down 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


html {
    scroll-behavior: auto !important;
    /* disable native smooth scroll — Lenis handles it */
    overflow-x: clip;
}

body {
    overflow-x: clip;
    /* clip prevents horizontal scroll from animations without creating a
       scroll container — so position:sticky still works on nav, services, etc. */
}

.container {
    padding: 0;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1130px;
    }
}

/* Change these 3 selectors — add h1 */

h2[data-animate] .anim-word,
h1[data-animate] .anim-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

h2[data-animate] .anim-char,
h1[data-animate] .anim-char {
    display: inline-block;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

h2[data-animate].chars-visible .anim-char,
h1[data-animate].chars-visible .anim-char {
    transform: translateY(0%);
    opacity: 1;
}

h1 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 36px;
    line-height: 50px;
    background: linear-gradient(89.99deg, #E15625 0.01%, #FF794A 63.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 20px;
}

h1 span {
    background: #256C91;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-family: 'Playfair Display';
    font-weight: 600;
    font-size: 35px;
    line-height: 47px;
    background: linear-gradient(89.99deg, #E15625 0.01%, #FF794A 63.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0;
}

h2 span {
    background: #256C91;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

p.description {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #464646;
    margin-bottom: 0;
}

#backToTopBtn {
    position: fixed;
    bottom: 55px;
    right: 20px;
    cursor: pointer;
    display: none;
}

#backToTopBtn div {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#backToTopBtn button {
    /* padding: 12px 20px; */
    width: 40px;
    height: 40px;
    background: #FF794A;
    border: 3px solid #FF794A;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    line-height: 28px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

#backToTopBtn p {
    font-size: 14px;
    color: #FF794A;
    margin-bottom: 0;
    margin-top: 5px;
}

#backToTopBtn.scrolled-90 p {
    color: #FF794A;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile#backToTopBtn {
        display: none !important;
    }

    #backToTopBtn {
        display: none;
    }

    #backToTopBtn.show {
        display: block;
    }

    .desktop {
        display: none;
    }

    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 22px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 10px;
    }

    p.description {
        font-size: 13px;
        line-height: 18px;
    }
}

.career-hero .container {
    padding: 35px;
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    border-radius: 15px;
}

.career-hero .hero-image img {
    width: 340px;
    height: auto;
}

.icp-career-hero {
    margin-top: 70px;
}

.icp-career-hero h1 {
    margin-bottom: 0;
}

.icp-career-hero img {
    /* height: 390px !important; */
    object-fit: contain;
    margin-top: -130px;
    margin-bottom: -130px;
}

@media (min-width: 992px) and (max-width: 1200px) {

    .icp-career-hero img {
        margin-top: -74px;
        margin-bottom: -74px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .icp-career-hero .hero-content h1 {
        font-size: 27px !important;
        line-height: 40px !important;
    }

    .career-hero .container {
        padding: 30px !important;
    }

    .career-hero .hero-image img {
        width: 275px;
        margin-top: -75px;
        margin-bottom: -75px;
    }
}

@media (max-width: 767px) {
    .icp-career-hero {
        margin-top: 25px;
    }

    .icp-career-hero .container {
        padding: 17px 25px !important;
    }

    .icp-career-hero .hero-content h1 {
        font-size: 23px !important;
        line-height: 34px !important;
        margin-bottom: 0;
    }

    .icp-career-hero img {
        /* height: 280px !important; */
        margin-top: 0;
        margin-bottom: 0;
    }

    .icp-career-hero .hero-content {
        margin-bottom: 0;
    }

    .career-hero .hero-image img {
        width: 140px;
        margin-top: -150px;
        margin-bottom: -150px;
    }
}

@media (max-width: 575px) {
    .icp-career-hero .container {
        border-radius: 0;
    }
}

.icp-hover-outer {
    display: inline-block;
    border-radius: 50px;
    overflow: hidden;
    cursor: pointer;
    width: fit-content;
}

.icp-hover-outer .cf-submit {
    position: relative;
    z-index: 1;
    background: transparent;
    margin: 0;
    color: #fff;
}

.icp-hover-outer .cf-submit span {
    position: relative;
    z-index: 2;
    color: #fff;
}

.icp-hover-fill {
    position: absolute;
    inset: 0;
    clip-path: circle(0px at 50% 50%);
    pointer-events: none;
}

/* =============================================
   ABOUT INTRO SECTION
   ============================================= */

.about-intro-section {
    margin: 80px 0 50px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-intro-content h2 {
    margin-bottom: 6px;
}

.about-intro-content .description {
    margin-bottom: 0;
}

.about-intro-image {
    border-radius: 15px;
    height: 320px;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    transition: transform 0.5s ease;
}

.about-intro-image:hover img {
    transform: scale(1.02);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .about-intro-grid {
        gap: 30px;
    }

    .about-intro-image {
        height: 260px;
    }
}

@media (max-width: 991px) {
    .about-intro-section {
        margin: 60px 0 50px;
    }
}

@media (max-width: 767px) {
    .about-intro-section {
        margin: 30px 0;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-intro-image {
        height: 220px;
        order: -1;
    }
}

/* =============================================
   OUR APPROACH SECTION
   ============================================= */

.our-approach-section {
    padding: 50px 0;
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
}

.our-approach-header {
    margin-bottom: 0px;
}

.our-approach-header h2 {
    margin-bottom: 12px;
    text-align: left;
}

.our-approach-header .description {
    margin-bottom: 4px;
}

.our-approach-swiper-wrap {
    position: relative;
    padding: 0 40px;
}

.our-approach-swiper {
    overflow: visible;
    clip-path: inset(-30px -10px -10px -10px);
}

/* Cards */
.oa-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.oa-num {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 22px;
    border-radius: 0px 20px 0px 25px;
    width: 55px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transform: translate(-9px, 19px);
}

.oa-card {
    position: relative;
    width: 100%;
    border-radius: 0px 15px 15px 15px;
    padding: 54px 50px 32px;
    min-height: 200px;
    margin-top: -42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: default;
}

.oa-card--orange {
    background: #FF794A;
}

.oa-card--blue {
    background: #2356A5;
}

.oa-card--orange+.oa-num,
.oa-slide-inner:has(.oa-card--orange) .oa-num {
    background: #FFDBCF;
    color: #E15625;
}

.oa-slide-inner:has(.oa-card--blue) .oa-num {
    background: #D8E7FF;
    color: #2356A5;
}

.oa-title {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.oa-circle img {
    position: absolute;
    top: 35px;
    right: 0px;
}

/* Nav buttons */
.oa-nav-btn {
    position: absolute;
    top: 50%;
    /* transform: translateY(-50%); */
    width: 36px;
    height: 36px;
    border-radius: 50%;
    /* border: 1.5px solid #2356A5; */
    border: 0;
    background: transparent;
    color: #E15625;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease;
}

/* .oa-nav-btn:hover {
    background: #2356A5;
    color: #fff;
} */

.oa-prev {
    left: -12px;
}

.oa-next {
    right: -10px;
}

/* Disabled state */
.oa-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .our-approach-section {
        padding: 40px 0;
    }

    .oa-card {
        /* min-height: 155px; */
    }
}

@media (max-width: 767px) {
    .our-approach-section {
        padding: 25px 0;
    }

    .our-approach-header h2 {
        text-align: center;
    }

    .our-approach-header .description {
        text-align: center;
    }

    .our-approach-swiper-wrap {
        padding: 0 36px;
    }

    .oa-card {
        /* min-height: 150px; */
    }

    .oa-num {
        transform: translate(-5px, 19px);
    }

    .oa-title {
        font-size: 14px;
    }
}

/* =============================================
   WHY JAPAN SECTION
   ============================================= */

.why-japan-section {
    margin: 80px 0;
    position: relative;
}

.why-japan-right {
    position: absolute;
    bottom: 30px;
    right: 0;
    width: 200px;
}

.why-japan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-japan-image {
    position: relative;
    border-radius: 15px;
}

.why-japan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.why-japan-image:hover img {
    transform: scale(1.02);
}

.why-japan-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 80%;
}

.why-japan-title {
    margin-bottom: 50px;
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .why-japan-image {
        height: 100%;
    }

    .why-japan-image img {
        height: 260px;
    }
}

@media (max-width: 1024px) {
    .why-japan-grid {
        gap: 40px;
    }

    .why-japan-image {
        height: 260px;
    }

    .why-japan-right {
        display: none;
    }
}

@media (max-width: 991px) {
    .why-japan-section {
        margin: 50px 0;
    }

    .why-japan-title {
        margin-bottom: 25px;
    }

    .why-japan-image {
        height: 195px;
    }

    .why-japan-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .why-japan-section {
        margin: 25px 0;
    }

    .why-japan-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .why-japan-image {
        height: 220px;
        order: -1;
    }
}

/* =============================================
   OUTCOME SECTION
   ============================================= */

.outcome-section .outcome-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    position: relative;
}

.outcome-section .outcome-left {
    width: 50%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.outcome-section .outcome-box {
    /* padding: 50px; */
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    /* border-radius: 15px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 83vh;
    box-sizing: border-box;
    overflow: auto;
}

.outcome-section .outcome-box img {
    width: 100%;
    height: 100%;
    object-position: top;
}

.outcome-section .outcome-title {
    margin-bottom: 20px;
}

.outcome-section .outcome-sub {
    margin-bottom: 20px !important;
}

.outcome-section .outcome-right {
    width: 50%;
}

.outcome-section .outcome-card {
    padding: 30px;
    background: #2356A5;
    border-radius: 0px 15px 15px 15px;
    margin-bottom: 20px;
    position: relative;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.outcome-section .outcome-card .cards-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    z-index: 1;
}

.outcome-section .outcome-card:last-child {
    margin-bottom: 0;
}

.outcome-section .outcome-card h4 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.outcome-section .outcome-card p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

/* ICP scroll-driven horizontal */

.icp-outcome-section {
    height: 150vh;
    padding-top: 30px;
}

.icp-outcome-section .icp-pin-wrapper {
    position: sticky;
    top: 72px;
    overflow: hidden;
    width: 100%;
}

.icp-outcome-section .container,
.icp-outcome-section .container-fluid {
    padding: 0;
    max-width: 100%;
}

.icp-outcome-section .outcome-wrapper {
    display: flex;
    height: 100%;
    align-items: stretch;
    gap: 25px;
}

.icp-outcome-section .outcome-left {
    position: relative;
    top: auto;
    width: 49%;
    height: 85.5vh;
    flex-shrink: 0;
    padding-left: max(15px, calc((100vw - 1130px) / 2));
}

@media (min-height: 900px) {
    .icp-outcome-section .outcome-left {
        height: 83vh;
    }
}

/* Align outcome section with Bootstrap's lg container (960px) between 1025–1199px */
@media (min-width: 1025px) and (max-width: 1199px) {
    .icp-outcome-section .outcome-left {
        padding-left: max(15px, calc((100vw - 960px) / 2));
    }
}

@media (max-width: 575px) {
    .icp-outcome-section .outcome-right {
        padding: 0 15px !important;
    }
}

.icp-outcome-section .outcome-right {
    overflow: hidden;
    flex: 1;
    width: auto;
    height: 100%;
}

.icp-outcome-section .icp-cards-track {
    display: flex;
    flex-direction: row;
    gap: 11px;
    will-change: transform;
    height: 100%;
}

.icp-outcome-section .outcome-card {
    flex-shrink: 0;
    width: 72.5%;
    height: 83vh;
    margin-bottom: 0;
    justify-content: center;
    background: #FF794A;
    border-radius: 0px 15px 15px 15px;
    padding: 50px;
}

.icp-outcome-section .outcome-card.icp-card-alt {
    background: #2356A5;
}

.icp-outcome-section .outcome-card h4 {
    font-family: 'Inter';
    font-weight: 600;
    font-size: 22px;
    line-height: 31px;
    color: #FFFFFF;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.icp-outcome-section .outcome-card p {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
}

.icp-outcome-section .outcome-card ul li {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
}

/* Outcome left — image overlay, title, progress bar */

.icp-outcome-section .outcome-left .outcome-box {
    background: none;
    padding: 0;
    overflow: hidden;
}

.icp-outcome-section .outcome-left .services-left-img {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px 15px 0px 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.icp-outcome-section .outcome-left .services-left-img-inner {
    position: absolute;
    inset: 0;
}

.icp-outcome-section .outcome-left .services-left-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.icp-outcome-section .outcome-left .services-left-img::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(35, 86, 165, 0) 48%, rgba(35, 86, 165, 0.7) 68%, #2356a5 82%);
    z-index: 1;
}

.icp-outcome-section .outcome-left .srv-title-overlay {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    margin-bottom: 20px;
}

.icp-outcome-section .outcome-left .srv-title-overlay h2 {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.icp-outcome-section .outcome-left h2 span.anim-word span {
    background: text #fff !important;
}

.icp-outcome-section .outcome-left .srv-title-overlay p {
    color: #fff;
    margin-bottom: 30px;
}

.icp-outcome-section .outcome-left .srv-progress-bar {
    position: relative;
    z-index: 3;
    margin: 0 40px 35px;
    height: 4px;
    background: transparent;
    display: flex;
    gap: 6px;
    align-items: center;
}

.icp-outcome-section .outcome-left .srv-progress-fill {
    display: none;
}

.icp-outcome-section .outcome-left .srv-progress-segment {
    flex: 1;
    height: 2px;
    background: #093A85;
    position: relative;
}

.icp-outcome-section .outcome-left .srv-progress-fill-bar {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    width: 0%;
    background: #fff;
}

/* Responsive — tablet/mobile: disable horizontal scroll */

@media (max-width: 1024px) {
    .outcome-section .outcome-card .cards-img {
        display: none;
    }

    .outcome-section .outcome-wrapper {
        flex-direction: column;
    }

    .outcome-section .outcome-left,
    .outcome-section .outcome-right {
        width: 100%;
    }

    .outcome-section .outcome-box {
        height: auto;
    }

    .icp-outcome-section {
        height: auto;
    }

    .icp-pin-wrapper {
        position: relative;
        top: 0;
        height: auto;
        overflow: visible;
    }

    .icp-outcome-section .icp-pin-wrapper {
        position: static;
        top: auto;
        height: auto;
        overflow: visible;
    }

    .icp-outcome-section .outcome-wrapper {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .icp-outcome-section .outcome-left {
        width: 100%;
        height: auto !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .icp-outcome-section .outcome-box {
        height: auto !important;
    }

    .icp-outcome-section .outcome-left .services-left-img {
        height: 700px;
        border-radius: 15px 15px 0px 15px;
    }

    .icp-outcome-section .outcome-left .srv-title-overlay h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .icp-outcome-section .outcome-left .srv-progress-bar {
        display: none;
    }

    .icp-outcome-section .outcome-right {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .icp-outcome-section .icp-cards-track {
        flex-direction: column;
        transform: none !important;
        gap: 0;
        height: auto;
        will-change: auto;
        overflow: visible;
    }

    .icp-outcome-section .outcome-card {
        width: 100%;
        height: auto !important;
        min-height: 180px;
        padding: 30px;
        margin-bottom: 10px;
        border-radius: 0px 15px 15px 15px;
        transform-origin: top center;
        will-change: transform, filter;
    }

    .icp-outcome-section .outcome-card:nth-child(1) {
        z-index: 1;
    }

    .icp-outcome-section .outcome-card:nth-child(2) {
        z-index: 2;
    }

    .icp-outcome-section .outcome-card:nth-child(3) {
        z-index: 3;
    }

    .icp-outcome-section .outcome-card:nth-child(4) {
        z-index: 4;
    }

    .icp-outcome-section .outcome-card:nth-child(5) {
        z-index: 5;
    }
}

@media (max-width: 767px) {
    .outcome-section .outcome-box {
        height: auto;
    }

    .outcome-section .outcome-card {
        min-height: 150px;
    }

    .outcome-section .outcome-card h4 {
        font-size: 16px;
    }

    .outcome-section .outcome-card p {
        font-size: 12px;
    }

    .outcome-section .outcome-card p br {
        display: none;
    }

    .icp-outcome-section .outcome-left .services-left-img {
        height: 320px;
    }

    .icp-outcome-section .outcome-left .srv-title-overlay {
        padding: 0 20px;
        margin-bottom: 12px;
    }

    .icp-outcome-section .outcome-left .srv-title-overlay h2 {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .icp-outcome-section .outcome-left .srv-title-overlay p {
        margin-bottom: 16px;
    }

    .icp-outcome-section .outcome-left .srv-progress-bar {
        margin: 0 20px 20px;
    }

    .icp-outcome-section .outcome-card h4 br {
        display: none;
    }

    .icp-outcome-section .outcome-card h4 {
        margin-bottom: 5px;
    }

    .icp-outcome-section .outcome-card p {
        width: 100%;
        margin-bottom: 0;
    }

    .icp-outcome-section {
        padding-top: 0;
    }
}

/* Align full outcome section (image + cards) with Bootstrap sm container (540px) at 576–767px.
   +15px offset accounts for the container's own padding: 0 15px rule active at max-width: 768px */
@media (min-width: 576px) and (max-width: 767px) {
    .icp-outcome-section .outcome-wrapper {
        padding-left: max(15px, calc((100vw - 540px) / 2 + 15px));
        padding-right: max(15px, calc((100vw - 540px) / 2 + 15px));
    }

    .icp-outcome-section .outcome-left {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Align full outcome section (image + cards) with Bootstrap md container (720px) at 768–991px */
@media (min-width: 768px) and (max-width: 991px) {
    .icp-outcome-section .outcome-wrapper {
        padding-left: max(15px, calc((100vw - 720px) / 2));
        padding-right: max(15px, calc((100vw - 720px) / 2));
    }

    .icp-outcome-section .outcome-left {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Align full outcome section (image + cards) with Bootstrap lg container (960px) at 992–1024px */
@media (min-width: 992px) and (max-width: 1024px) {
    .icp-outcome-section .outcome-wrapper {
        padding-left: max(15px, calc((100vw - 960px) / 2));
        padding-right: max(15px, calc((100vw - 960px) / 2));
    }

    .icp-outcome-section .outcome-left {
        padding-left: 0;
        padding-right: 0;
    }
}

/* =============================================
   GOVERNANCE SECTION
   ============================================= */

.governance-section {
    margin: 50px 0;
}

.governance-section .container {
    position: relative;
}

.governance-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
}

.governance-card {
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    border-radius: 15px;
    padding: 50px;
    /* display: flex; */
    align-items: center;
    /* justify-content: space-between; */
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.governance-cards {
    display: flex;
    gap: 40px;
}

.governance-cards .details {
    flex: 1;
    max-width: 55%;
}

.governance-content h2 {
    margin-bottom: 20px;
}

.governance-content a {
    color: #2356A5;
    text-decoration: none;
}

.governance-content a:hover {
    text-decoration: underline;
}

.governance-logo-box {
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.governance-logo-box img {
    width: 160px;
    height: auto;
}

/* =============================================
   COMMITMENT SECTION
   ============================================= */
.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.commitment-img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.commitment-img {
    position: relative;
    z-index: 1;
    width: 80%;
    display: block;
    margin: 0 auto;
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(14px);
    }
}

.commitment-right h2 {
    margin-bottom: 30px;
    line-height: 1.15;
}

.commitment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.commitment-item {
    padding: 18px 22px;
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.commitment-item.ci-visible {
    opacity: 1;
    transform: translateY(0);
}

.ci-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ci-arrow svg {
    width: 27px;
    height: 27px;
}

.commitment-item p {
    margin: 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #2356A5;
}

@media (max-width: 1024px) {

    .governance-section {
        margin: 40px 0;
    }

    .governance-img {
        display: none;
    }

    .governance-card {
        padding: 40px;
        gap: 30px;
    }

    .governance-content {
        max-width: 65%;
    }

    .commitment-grid {
        gap: 30px;
    }

    .commitment-img-wrap {
        min-height: 340px;
    }
}

@media (max-width: 991px) {
    .governance-content h2 br {
        display: none;
    }

    .commitment-section {
        margin-bottom: 50px;
    }

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

    .commitment-right h2 br {
        display: none;
    }

    .commitment-img {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .governance-section {
        margin: 25px 0;
    }

    .governance-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .governance-cards .details {
        max-width: 100%;
    }

    .governance-cards {
        flex-direction: column;
    }

    .governance-content {
        max-width: 100%;
    }

    .governance-logo-box {
        min-width: unset;
        padding: 20px 30px;
    }

    .governance-logo-box img {
        width: 120px;
    }

    .commitment-section {
        margin-bottom: 25px;
    }

    .commitment-img-wrap {
        min-height: 280px;
    }

    .commitment-img {
        width: 65%;
    }
}

/* =============================================
   GET STARTED SECTION
   ============================================= */

.get-started {
    padding: 50px 0;
    background: linear-gradient(99.61deg, #FFF7F4 2.2%, #EFF5FF 96.03%);
    position: relative;
    z-index: 9;
}

.get-started-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
}

.get-started h2 {
    margin-bottom: 20px;
}

.get-started .get-buttons {
    display: flex;
    /* justify-content: center; */
    gap: 20px;
}

.get-started .get-buttons button {
    border-radius: 50px;
    border: 0;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 13px;
    /* padding: 8px 14px; */
    padding: 8px 30px;
    line-height: 24px;
    color: #FFFFFF;
    width: 100%;
}

.get-started .get-buttons .program {
    background: #2356A5;
    transition: all 0.3s ease;
}

.get-started .get-buttons .program:hover {
    background: #274a81;
}

.get-started .get-buttons .learn {
    background: #FF794A;
    transition: all 0.3s ease;
}

.get-started .get-buttons .learn:hover {
    background: #e34d18;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .get-started .get-buttons {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .get-started-img {
        display: none;
    }
}

@media (max-width: 992px) {
    .get-started .get-buttons {
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .descktop {
        display: none;
    }

    .get-started {
        padding: 25px 0;
    }

    .get-started h2 {
        text-align: center;
    }

    .get-started p.description {
        text-align: center;
        margin-bottom: 20px;
    }

    .get-started .get-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .get-started .get-buttons button {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1951px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 57.5%;
    }
}

@media (min-width: 1901px) and (max-width: 1950px) {
    .outcome-section .outcome-card:last-child {
        width: 56.5%;
    }
}

@media (min-width: 1851px) and (max-width: 1900px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 60.5%;
    }
}

@media (min-width: 1801px) and (max-width: 1850px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 62.5%;
    }
}

@media (min-width: 1751px) and (max-width: 1800px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 64.5%;
    }
}

@media (min-width: 1701px) and (max-width: 1750px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 65.5%;
    }
}

@media (min-width: 1651px) and (max-width: 1700px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 67%;
    }
}

@media (min-width: 1600px) and (max-width: 1650px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 72%;
    }
}

@media (min-width: 1451px) and (max-width: 1500px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 75%;
    }
}

@media (min-width: 1401px) and (max-width: 1450px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 79%;
    }
}

@media (min-width: 1351px) and (max-width: 1400px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 81%;
    }
}

@media (min-width: 1301px) and (max-width: 1350px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 84%;
    }
}

@media (min-width: 1251px) and (max-width: 1300px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 87%;
    }
}

@media (min-width: 1201px) and (max-width: 1150px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 93%;
    }
}

@media (min-width: 1101px) and (max-width: 1200px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 86%;
    }
}

@media (min-width: 1025px) and (max-width: 1100px) {
    .icp-outcome-section .outcome-card:last-child {
        width: 92%;
    }
}