/* Override site-wide default font from Kanit to Plus Jakarta Sans */
body {
    font-family: var(--font_plusjakartasans) !important;
}

@media (min-width: 1600px) {
    .container.large {
        max-width: 1520px;
    }
}

/* Mobile: add breathing room — 12px extra each side (24px total) */
@media only screen and (max-width: 767px) {
    .container,
    .container.large {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

.casestudies-project-area .container {
  padding-left: 0px !important;
}


.bg-navigation {
  background-color: rgba(11, 37, 64, 0.9) !important;
  backdrop-filter: blur(6px);
}
.bg-navigation {
  background-color: rgba(11, 37, 64, 0.9) !important;
  backdrop-filter: blur(6px);
}

.header__navicon .fa-solid {
    color: #ffffff;
}
.header-area.sticky button i {
    color: #ffffff;
}

/* Override theme's CSS transitions — let GSAP handle all animation */
.offcanvas-3__area {
    transition: none !important;
    will-change: transform, opacity;
}
.offcanvas-3__menu ul li {
    transition: none !important;
}
/* Clean link style — remove theme gradient text trick + 3D transform */
.offcanvas-3__menu li a {
    -webkit-text-fill-color: var(--white) !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    background-image: none !important;
    background-size: unset !important;
    color: var(--white) !important;
    transform: none !important;
    opacity: 0.7;
    transition: opacity 0.2s ease !important;
}
.offcanvas-3__menu li a:hover {
    opacity: 1;
}
/* Hide the dot bullet on hover */
.offcanvas-3__menu li:before {
    display: none !important;
}

.offcanvas-3__menu-wrapper .nav-menu ul .dp-menu {
    margin-bottom: 24px;
}

.offcanvas-3__menu-wrapper .nav-menu .menu-item-has-children .dp-menu li {
    padding-left: 40px;
}
.offcanvas-3__menu-wrapper .nav-menu .menu-item-has-children .dp-menu li:first-child {
    margin-top: 16px;
}

.home-hero-area .section-subtitle {
    font-size: 20px!important;
}

.bg-dark {
    background-color: #0b2540!important;
}
/* .header__logo {
    padding-left: 16px;
} */

/* Navigation: increase depth with more top/bottom spacing */
.header-area .header-area__inner {
    height: 120px;      /* was 100px — 20% increase */
}

@media only screen and (max-width: 1919px) {
    .header-area .header-area__inner {
        height: 100px;  /* was 80px — 25% increase */
    }
}

.header-area.sticky .header-area__inner {
    height: 80px !important;  /* was 70px — ~15% increase */
}

/* Fix white strip above hero on inner pages — convert margin to padding */
.services-hero-area {
    margin-top: 0 !important;
    padding-top: 200px !important;
}
@media only screen and (max-width: 1919px) {
    .services-hero-area {
        padding-top: 160px !important;
    }
}
@media only screen and (max-width: 767px) {
    .services-hero-area {
        padding-top: 120px !important;
    }
}

/* Standardized section spacing system - overrides theme chaos */
.spacing-none { padding-top: 0 !important; padding-bottom: 0 !important; }
.spacing-small { padding: 40px 0 !important; }
.spacing-medium { padding: 80px 0 !important; }
.spacing-large { padding: 120px 0 !important; }

/* Responsive scaling */
@media only screen and (max-width: 1199px) {
    .spacing-small { padding: 30px 0 !important; }
    .spacing-medium { padding: 60px 0 !important; }
    .spacing-large { padding: 80px 0 !important; }
}

/* Amend: Client logos block — reduce whitespace top and bottom */
.client-area {
    padding: 40px 0 !important;
}

/* Amend: Reduce gap between logos block and insights section */
.home-blog-area {
    padding-top: 50px !important;
}

/* Reduce whitespace above client logos (from testimonials section) */
.testimonial-area.spacing-bottom-normal {
    padding-bottom: 40px !important;
}

@media only screen and (max-width: 1199px) {
    .client-area {
        padding: 0px 0 !important;
    }
    .home-blog-area {
        padding-top: 40px !important;
    }
    .testimonial-area.spacing-bottom-normal {
        padding-bottom: 30px !important;
    }
}

/* Reduce whitespace below testimonial section */
/* The .center-stuff transform shifts the card UP visually but the layout still reserves the original space, */
/* creating a phantom gap. Negative margin-bottom pulls the next section up to close it. */
.testimonial-area .testimonial-wrapper-box {
    margin-bottom: -170px;
}

.testimonial-area.spacing-bottom-normal {
    padding-bottom: 70px !important;
}

@media only screen and (max-width: 1200px) {
    .testimonial-area.spacing-bottom-normal {
        padding-bottom: 0px !important;
    }
}

@media only screen and (max-width: 1199px) {
    .testimonial-area .testimonial-wrapper-box {
        margin-bottom: -140px;
    }
}

@media only screen and (max-width: 767px) {
    .testimonial-area .testimonial-wrapper-box {
        margin-bottom: -120px;
    }
}

 /*home video*/
.home-image-area .image-wrapper-box {
    position: relative;
    margin-inline-end: calc((100vw + 24px - var(--container-max-widths)) / -2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Maintain 16:9 aspect ratio */
.video-aspect-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    overflow: hidden;
}

/* Full bleed background video */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*@media (max-width: 580px) {*/
/*    .home-image-area .video-button-box {*/
/*        z-index: 10;*/
/*        display: flex; !* ensures it's visible *!*/
/*        justify-content: center;*/
/*        align-items: center;*/
/*        width: 100%;*/
/*        height: 100%;*/
/*        top: 0;*/
/*        inset-inline-start: 0;*/
/*        position: absolute;*/
/*        background: rgba(0, 0, 0, 0.4); !* optional dim overlay *!*/
/*    }*/

/*    .home-image-area .video-btn {*/
/*        width: 80px;*/
/*        height: 80px;*/
/*        font-size: 24px;*/
/*        border-radius: 50%;*/
/*    }*/
/*}*/

@media (max-width: 517px) {

    .image-wrapper-box {
        position: relative;
        width: 100%;
    }

    .video-aspect-wrapper {
        width: 100%;
        height: auto;            /* allow natural video height */
        max-height: 400px;       /* stop it from growing too tall */
        overflow: hidden;
        display: block;
    }

    .background-video {
        width: 100% !important;
        height: auto !important;
        display: block;
        object-fit: cover;
    }
}


/*home video*/
.bg-box {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-service-box.video-active .bg-box {
    opacity: 1;
}

.home-service-box:hover .title,
.home-service-box.video-active .title {
    color: var(--white);
}

.home-service-box:hover .text,
.home-service-box.video-active .text {
    color: var(--white);
}

.home-service-box:hover .wc-btn-primary,
.home-service-box.video-active .wc-btn-primary {
    background-color: var(--theme);
    border-color: rgba(0, 0, 0, 0);
}
.home-services-text-area .section-header .text-wrapper {
  display: block !important;
  max-width: 860px;
  margin-left: 0;
  margin-right: 0;
  margin-top: 32px;
  margin-bottom: 80px;
}

/*home Services*/
.section-header-left {
    text-align: left;
}

.section-title-line {
    font-size: 48px;
    font-family: var(--font_plusjakartasans);
    font-weight: 400;
    text-align: left;
    line-height: .81;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.section-title-line span {
    font-size: 48px;
    font-weight: 400;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    margin-top: 20px;
}
.section-title-line span:after {
    position: absolute;
    content: "";
    width: 300px;
    height: 1px;
    background-color: var(--primary);
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: calc(100% + 30px);
}

/* When the title line sits on a dark background, make the line white */
.bg-dark .section-title-line span:after {
    background-color: var(--white);
}

p {
  font-family: var(--font_plusjakartasans)!important;
}
.text {
  font-family: var(--font_plusjakartasans);
}
.body-text{
  font-family: var(--font_plusjakartasans)!important;
}
.fs-18{font-size: 18px; line-height: 25.38px;}
.fw-b{font-weight: 700;}
@media only screen and (max-width: 991px) {
    .section-title-line {
        font-size: 32px;
    }

    .section-title-line span {
        font-size: 32px;
    }
}

.section-header-left-white {
    text-align: left;
}

.section-title-line-white {
    font-size: 48px;
    font-family: var(--font_plusjakartasans);
    font-weight: 600;
    text-align: left;
    line-height: .81;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.section-title-line-white span {
    font-size: 48px;
    font-weight: 600;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    margin-top: 20px;
    color: #ffffff;
}
.section-title-line-white span:after {
    position: absolute;
    content: "";
    width: 300px;
    height: 1px;
    background-color: var(--white);
    top: 50%;
    transform: translateY(-50%);
    inset-inline-start: calc(100% + 30px);
}

@media only screen and (max-width: 767px) {
    .section-title-line-white,
    .section-title-line-white span {
        font-size: 32px !important;
    }

    .service-page-area .section-header h2 {
        font-size: 24px !important;
    }
}

.section-header-stacked {
    grid-template-columns: 1fr!important;
}

.insights-title-line {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.insights-title-line span {
    display: inline-block;
    position: relative;
}

.insights-title-line span::after {
    content: "";
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;
    width: 90%;
    height: 1px;
    background-color: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

/*testimonial */

.testimonial-area .slider-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 190px);
    margin-inline-start: -190px;
}
.testimonial-area .slider-nav .nav-icon.swiper-button-disabled, .testimonial-area .slider-nav [role=button].swiper-button-disabled {
    opacity: .3;
}
.testimonial-area .slider-nav .nav-icon, .testimonial-area .slider-nav [role=button] {
    cursor: pointer;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(18, 18, 18, .15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--primary);
    transition: all .5s;
}

.testimonial-area .slider-nav .nav-icon:hover, .testimonial-area .slider-nav [role=button]:hover {
    background-color: var(--theme);
    border-color: rgba(0, 0, 0, 0);
    color: var(--black);
}


.testimonial-wrapper {
    padding: 80px 100px;
    background-color: #0E2540!important;
    box-shadow: 0px 30px 200px rgba(16, 25, 56, 0.08);
    border-radius: 5px;

    @media only screen and (max-width: 1399px) {
        padding: 50px 60px;
    }

    @media only screen and (max-width: 767px) {
        padding: 30px 20px;
    }

}

.testimonial-area .testimonial-item .text {
    font-family: var(--font_plusjakartasans);
    font-size: 22px;
    line-height: 1.4;
    color: var(--white);
}

.testimonial-area .testimonial-wrapper:before, .testimonial-area .testimonial-wrapper:after {
    position: absolute;
    content: "";
    width: 27%;
    height: 0px;
    background-color: var(--theme);
    top: 0;
    inset-inline-end: 50%;
}
@media only screen and (max-width: 770px) {
    .slider-nav {
        display: none!important;
    }
}
/* testimonial area style  */


@media only screen and (max-width: 992px) {
    .client-area .clients-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr)!important;
    }
}


.profiles-area .profiles-wrapper-box {
    margin-top: 40px;
}
.profiles-area .profiles-wrapper {
    display: grid;
    gap: 0 120px;
    grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 767px) {
    .profiles-area .profiles-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

.profiles-area .profiles-wrapper>* {
    border-top: 0px solid var(--primary);
}
.profiles-area .profiles-wrapper>* {
    border-bottom: 4px solid var(--theme);
}

.profiles-box {
    display: grid;
    gap: 50px;
    grid-template-columns:  1fr;
    padding-bottom: 61px;
    padding-top: 0px;
}
.profiles-box .content-wrapper {
    display: grid
;
    gap: 30px 50px;
    grid-template-columns: 1fr;
}
.profiles-details-area .profiles-thumb {
    display: inline-block;
    position: relative;
    padding-top: 60px;
    z-index: 1;
    justify-content: center;
    max-width: 805px;
}
.profiles-thumb .shape-1 {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: -999!important;
    width: 62%;
}

.profiles-box .text-wrapper p:not(:first-child) {
    margin-top: 25px;
}

.profiles-box .section-header .meta-wrapper {
    margin-top: 40px;
}

.profiles-box .section-header .meta-wrapper .portfolio-list {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.profiles-box .section-header .meta-wrapper .portfolio-list a {
    font-size: 16px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    display: inline-block;
}
.profiles-box .section-header .meta-wrapper .portfolio-list a:hover {
    color: var(--theme);
}

@media only screen and (max-width: 767px) {
    .profiles-box {
        padding-top: 20px;
    }
}



/*profiles */

/* case studies */
.casestudies-project-area .section-header {
    display: grid;
    gap: 20px 60px;
    grid-template-columns: 600px auto;
    align-items: center;
    justify-content: space-between;
}

@media only screen and (max-width: 767px) {
    .casestudies-project-area .section-header {
        display: grid;
        gap: 40px 80px;
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: space-between;
    }
}

.casestudies-project-area .slider-nav {
    display: flex;
    gap: 20px;
}
.casestudies-project-area .nav-icon {
    width: 70px;
    height: 70px;
    font-size: 20px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
    color: var(--primary);
}
/* case studies */

.insights-thumb img {
    transition: all .5s;
    width: 100%;
    height: 210px;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Type */
@media only screen and (max-width: 720px) {
    .section-title {
        font-size: 30px!important;
    }
}

.lead {
    font-weight: 500;
    font-size: 18px;
}

.small-heading {
    font-family: var(--font_plusjakartasans);
    font-weight: 700!important;
    font-size: 26px!important;
    line-height: 1.4!important;

}
.blog-box .small-heading {
    font-family: var(--font_plusjakartasans);
    font-weight: 700!important;
    font-size: 22px!important;
    line-height: 1.4!important;

}

.recent-blog-box .small-heading {
    font-family: var(--font_plusjakartasans);
    font-weight: 700!important;
    font-size: 22px!important;
    line-height: 1.4!important;

}
@media only screen and (max-width: 575px) {
    .small-heading {
        font-size: 22px!important;
    }
}

.small-heading-light {
    font-family: var(--font_plusjakartasans);
    font-weight: 500!important;
    font-size: 20px!important;
    line-height: 1.3!important;

}
.body-text {
    font-family: var(--font_plusjakartasans) !important;
    padding: 0;
    margin: 0;
    line-height: 1.41;
    font-weight: 400;
    font-size: 18px;
    color: var(--secondary);
}
.text-lead {
    font-size: 26px;
    line-height: 1.3!important;
}
.mt-0 {
    margin-top: 0px!important;
}
.mt-8 {
    margin-top: 8px!important;
}

.mt-16 {
    margin-top: 16px!important;
}
.mt-24 {
    margin-top: 24px!important;
}
.mt-32 {
    margin-top: 32px!important;
}

.mb-24 {
    margin-bottom: 24px!important;
}
.mb-80 {
    margin-bottom: 80px!important;
}
.mb-100 {
    margin-bottom: 100px!important;
}
@media only screen and (max-width: 1120px) {
    .mb-100 {
        margin-bottom: 60px!important;
    }
}


.pt-16 {
    padding-top: 16px!important;
}

.pt-40 {
    padding-top: 40px!important;
}
.pb-50 {
    padding-top: 50px!important;
}
.pt-56 {
    padding-top:56px!important;
}

@media only screen and (max-width: 991px) {
    .n-space-bottom-mob {
       padding-bottom: 0px!important;
       margin-bottom: 0px!important;
    }
}

.fc-theme {
    color: var(--theme)!important;
}
.fc-white {
    color: var(--white)!important;
}
.spacing-bottom-normal {
    padding-bottom: 80px;
}
.max-w-190 {
    max-width: 190px!important;
}
.max-w-400 {
    max-width: 400px!important;
}

.center-stuff {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.insights-title-wrapper {
    display: block;
}
.back-layer {
    z-index: -999;
}

.title-inner {
    padding-top: 218px;
    padding-bottom: 0px;
}

.section-single-wrapper {
    display: grid;
    align-items: flex-end;
    gap: 50px;
    grid-template-columns:1fr;
}

@media only screen and (max-width: 1919px) {
    .section-single-content {
        margin-top: 32px;
    }
}

.text-wrapper p:not(:last-child) {
    margin-bottom: 12px;
}

.section-spacing-standard-top {
    padding-top: 100px;
}
@media only screen and (max-width: 1919px) {
    .section-spacing-standard-top {
        padding-top: 80px;
    }
}
@media only screen and (max-width: 1399px) {
    .section-spacing-standard-top {
        padding-top: 70px;
    }
}
@media only screen and (max-width: 1199px) {
    .section-spacing {
        padding-top: 32px !important;
    }
    .section-spacing-standard-top {
        padding-top: 32px;
    }
}

.section-spacing-bottom {
    padding-top: 0px;
    padding-bottom: 60px;
}

.section-spacing-bottom-hero {
    padding-top: 0px;
    padding-bottom: 82px;
}

.section-spacing-small {
    padding-top: 100px;
    padding-bottom: 100px;
}
@media only screen and (max-width: 1399px) {
    .section-spacing-small {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media only screen and (max-width: 1199px) {
    .section-spacing-small {
        padding-top: 32px;
        padding-bottom: 60px;
    }
}

@media only screen and (max-width: 767px) {
    .section-spacing-small {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* services */
.text-wrapper ul {
    margin-top: 23px;
    display: grid;
    gap: 10px 50px;
    grid-template-columns: auto;
    line-height: 1.41;
    font-weight: 300;
    font-size: 18px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.text-wrapper ul li {
    position: relative;
    padding-left: 25px;
    color: var(--secondary);
    line-height: 1.6;
    margin-top: 16px;
}
.text-wrapper ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--theme);
}

.divider-line-box {
    border-top: 1px solid var(--border);
    margin-top: 66px;
}

.divider-line {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 40px 30px;
}

.working-step {
    padding-top: 50px;
    position: relative;
}

@media only screen and (max-width: 991px) {
    .divider-line {
        display: block;
        width: 100%;
    }
}

.testimonial-service-area {
    background-color: var(--light);
}

.testimonial-service-box .text {
    color: var(--dark);
    margin-top: 23px;
    font-weight: 400;
    font-size: 1.05em;
    line-height: 1.6;
}




@media only screen and (max-width: 1919px) {
    .testimonial-service-box {
        padding: 37px 30px 36px;
    }
}
.testimonial-service-box {
    background-color: #ffffff!important;
    box-shadow: 0px 30px 200px rgba(16, 25, 56, 0.08);
    padding: 47px 50px 46px;
    border-radius: 20px;
    transition: all .5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.customer-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-inline-start: 0;
    max-width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-inline-start: 1px solid var(--border);
}
.customer-wrapper .client-box {
    height: 200px;
    padding: 110px;
    border-inline-end: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.customer-wrapper .client-box img {
    max-width: 100%;
    max-height: 140px;
    height: auto;
    width: auto;
    object-fit: contain;
}

@media only screen and (max-width: 1919px) {
    .customer-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .customer-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 1120px) {
    .customer-wrapper .client-box {
        height: 200px;
        padding: 40px;
        border-inline-end: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        min-width: 0;
    }
}

@media only screen and (max-width: 920px) {
    .customer-wrapper .client-box {
        height: 200px;
        padding: 20px;
        border-inline-end: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        min-width: 0;
    }
}

.client-highlight-wrapper {
    display: grid;
    gap: 40px 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media only screen and (max-width: 991px) {
    .client-highlight-wrapper {
        grid-template-columns: 1fr;
    }
}

.client-highlight-wrapper .highlight-box {
    overflow-wrap: break-word;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.page-contact-area .section-content {
    display: grid;
    gap: 80px 120px!important;
    grid-template-columns: 1fr 840px!important;
    margin-top: 112px;
}
@media (max-width: 1199px) {
    .page-contact-area .section-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important; /* Optional: reduce spacing for smaller screens */
    }
}


.form-box {
    background-color: #ffffff!important;
    box-shadow: 0px 30px 200px rgba(16, 25, 56, 0.08);
    padding: 60px 80px; /* keep the spacing here */
    border-radius: 20px;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    align-items: stretch;   /* ✅ this allows children to stretch full width */
    text-align: left;       /* optional: centre might be causing the 'squashed' feel */
    width: 100%;            /* make sure it fills its container */
    max-width: 100%;        /* avoids unexpected limits */
    box-sizing: border-box; /* ensures padding doesn’t reduce content area */
}

@media (max-width: 769px) {
    .form-box {
        padding: 32px 32px!important;
    }
    .contact-formfield:not(:last-child) {
        margin-bottom: 24px;
    }
}
@media only screen and (max-width: 1199px) {
    .offcanvas-3__menu li a {
        font-size: 18px!important;
        line-height: 1.6em;
    }
}
.nav-logo {
    width: 220px;
    max-width: 220px!important;
    height: auto;
}
.home-hero-area-inner .shape-2 {
    bottom: 2px!important;
}
.pb-50 {
    padding-bottom: 50px!important;
}

.title-smaller-spacing {
    padding-top: 80px;
    padding-bottom: 0px;
}
.highlight-area-inner {
    padding-top: 40px;
}

/*services 2025*/

.service-page-area .service-page-wrapper {
  display: grid;
  gap: 0 60px;                 /* optional: narrower gap */
  grid-template-columns: 1fr 2fr;   /* ← 1/3 (image) : 2/3 (text) */
  align-items: start;          /* keeps tops aligned */
}

/* Ensure the image scales nicely inside its column */
.service-page-img .main-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Make it stack on smaller screens */
@media (max-width: 992px) {
  .service-page-area .service-page-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Centre and cap icon size on mobile */
  .service-page-img {
    display: flex;
    justify-content: center;
  }
  .service-page-img .main-image {
    width: auto !important;
    max-width: 120px !important;
    height: auto;
  }
}

/* optional: tweakable vars */
.divider-line-box {
  --arrow-size: 64px;        /* matches your :before width/height */
  --slide-distance: 60vw;    /* how far it starts from the left */
}

/* keep your existing rules … then add/adjust these: */
.working-step {
  padding-top: 50px;
  position: relative;
  height: var(--arrow-size); /* reserves a line-height for the icon */
}

/* start centred, but invisible */
.working-step::before {
  position: absolute;
  content: "";
  width: var(--arrow-size);
  height: var(--arrow-size);
  top: calc(var(--arrow-size) / -2);
  left: 50%;
  transform: translateX(-50%);           /* final resting position */
  opacity: 0;
  background-image: url(/assets/imgs/icon/icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--white);
}

/* when ready to play, animate from far-left into centre */
.divider-line-box.play .working-step::before {
  animation: arrow-in 900ms cubic-bezier(.22,.61,.36,1) forwards;
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .divider-line-box.play .working-step::before {
    animation: none;
    opacity: 1;
  }
}

/* keyframes: start far to the left, end perfectly centred */
@keyframes arrow-in {
  from {
    transform: translateX(calc(-50% - var(--slide-distance)));
    opacity: 0;
  }
  to {
    transform: translateX(-50%);
    opacity: 1;
  }
}

/* ---------- Footer ---------- */
.affiliations {
  /* tweak these knobs */
  --tile-w: 133px;  /* target width per logo */
  --tile-h: 64px;   /* target height per logo (caps tall portraits) */
  --logo-gap: 28px; /* space between logos */
}

/* grid + alignment */
.affiliations .affiliations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 60px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 992px) {
  /* Match footer-cta 3-column grid so sponsors align with Quick Links */
  .affiliations .affiliations-grid {
    grid-template-columns: 190px 190px 1fr;
    gap: 32px 120px;
  }
  .affiliations .col--left  { grid-column: 1 / 3; }
  .affiliations .col--right { justify-self: start; text-align: left; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .affiliations .affiliations-grid { gap: 32px 40px; }
}

/* label text */
.affiliations .text-small { font-size: 14px !important; color: var(--white-2); }

/* rows */
.affiliations .logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--logo-gap);
  margin-top: 14px;
}

/* each link is a fixed-size tile so spacing + visual weight are consistent */
.affiliations .logo-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tile-w);
  height: var(--tile-h);
}

/* images keep proportion and simply fit inside the tile */
.affiliations .logo-row img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  opacity: .85;
  filter: grayscale(100%);
  transition: opacity .2s ease, filter .2s ease;
}
.affiliations .logo-row a:hover img { opacity: 1; filter: none; }

/* desktop: keep the LEFT group to a single line */
@media (min-width: 992px) {
  .affiliations .col--left .logo-row { flex-wrap: nowrap; }
}
.copyright-area {
    margin-top: 64px;
}

.bg-theme {
    background-color: #ee82ee !important;
}
.mw-120 {
    max-width: 120px!important;
}
.mw-96 {
    max-width: 96px!important;
}

.pb-reduced{
    padding-bottom: 0px!important;
}
.case-study-nav {
    margin-top: 0px;
    position: relative;
    z-index: 50;
}

.case-study-nav-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.case-study-nav .nav-box {
    position: relative;
    height: 360px;
    overflow: hidden;
    cursor: pointer;
}

.case-study-nav .nav-bg {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.case-study-nav .nav-bg img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    will-change: transform;
    filter: brightness(0.85);
}

.case-study-nav .nav-box:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.case-study-nav .nav-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.2) 90%);
    z-index: 15;
    transition: opacity 0.4s ease;
}

.case-study-nav .nav-box:hover .nav-bg::after {
    opacity: 0.9;
}

.case-study-nav .nav-content {
    position: relative;
    z-index: 30;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.case-study-nav .nav-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.case-study-nav .nav-content span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.case-study-nav .previous .nav-content {
    align-items: flex-start;
    text-align: left;
}

.case-study-nav .next .nav-content {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 768px) {
    .case-study-nav .nav-box {
        height: 280px;
    }
}

.home-services-area .section-header-stacked .text-wrapper {
    display: block;
}

/* --- Ordered List Styling (Apple-inspired minimalism) --- */
.text-wrapper ol.text-block-number {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 24px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.text-wrapper ol.text-block-number > li {
    counter-increment: item;
    position: relative;
    padding-left: 42px;
    font-family: var(--font_plusjakartasans);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--secondary);
}

.text-wrapper ol.text-block-number > li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font_plusjakartasans);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    width: 30px;
    text-align: right;
}

/* Optional: subtle separator line (Apple-like visual rhythm) */
.text-wrapper ol.text-block-number > li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

/* Aligns beautifully with your existing p and ul styling */
.text-wrapper ol.text-block-number p {
    margin: 4px 0 0;
    color: var(--secondary);
    font-weight: 300;
}

.blog-details-fullBody p {
    line-height: 1.6;
    color: var(--secondary);
    font-family: var(--font_plusjakartasans);
    font-weight: 300;
}

.blog-details-fullBody p:not(:last-child) {
    margin-bottom: clamp(16px, 2vw, 24px);
}

.bg-dark .text-wrapper p,
.bg-dark .text-wrapper li,
.bg-dark .text-wrapper span {
    color: white !important;
}

.text-block-narrow,
.text-block-content {
    text-align: left;
}

.text-block-narrow {
    max-width: 860px;
}
.no-header-gap {
    margin: 0 !important;
    padding: 0 !important;
}
.no-header-gap.section-header-stacked {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Remove theme padding that was causing inconsistencies */
.home-services-area .section-header,
.home-services-area .section-header-stacked {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: block !important;
}

/* Consistent gap between heading and text (40px) */
.section-header .title-wrapper.title-spacing,
.section-header-stacked .title-wrapper.title-spacing {
    margin-bottom: 40px !important;
}

.case-project-area-inner {
  padding: 0 0 48px 0;
}

/* -------------------------------------------------------
   SECTION SPACING UTILITIES (Large / Small / Reduced)
   ------------------------------------------------------- */

.section-spacing-large {
    padding-top: 140px;
    padding-bottom: 156px;
}
@media only screen and (max-width: 767px) {
    .section-spacing-large {
        padding-top: 60px;
        padding-bottom: 92px;
    }
}

.section-spacing-small {
    padding-top: 40px;
    padding-bottom: 40px;
}
.section-spacing-mid {
    padding-top: 100px;
    padding-bottom: 40px;
}
@media only screen and (max-width: 767px) {
    .section-spacing-small {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .section-spacing-mid {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .projects-wrapper-box {
        padding-top: 32px;
    }
}

/* Reduced bottom spacing → override ONLY the bottom */
.section-spacing-reduced-bottom {
    padding-bottom: 0 !important;
}


@media only screen and (max-width: 1919px) {
    .watch-area-inner {
        padding-top: 15px;
    }
}

@media only screen and (max-width: 990px) {
    .home-work-area-inner {
        padding-top: 0px;
    }
    .home-work-area .works-wrapper-box {
        margin-top: 0px;
    }

    .insights-title-line {
      font-size: 32px!important;
    }
}

.page-contact-area-inner {
  padding-top: 60px!important;
}
@media only screen and (max-width: 990px) {
    .page-contact-area-inner {
      padding-top: 20px!important;
    }
}
.watch-area-inner {
    padding-top: 0px!important;
}
.highlight-area .highlight-wrapper-box {
    margin-top: 20px!important;
}
@media only screen and (max-width: 1199px) {
    .highlight-area .highlight-wrapper-box {
        margin-top: 0px!important;
    }
}

@media (min-width: 1400px) {
    .header-area .container {
        max-width: 1310px;
    }
}