/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}
/* =========================================================
   COGENTIX MODERN CASE STUDIES
========================================================= */

.cx-case-section {
    padding: 100px 5%;
    background: #f7faf7;
    overflow: hidden;
}

.cx-section-heading {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.cx-section-heading > span {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #d5e8d2;
    border-radius: 50px;
    color: #32953e;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.cx-section-heading h2 {
    margin: 22px 0 15px;
    color: #10261f;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -3px;
}

.cx-section-heading h2 b {
    display: block;
    color: #3ca746;
}

.cx-section-heading p {
    max-width: 680px;
    margin: auto;
    color: #687a72;
    font-size: 17px;
    line-height: 1.7;
}


/* CARD */

.cx-case-card {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 70px;
    background: #fff;
    border: 1px solid #e1ebe0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(40, 90, 45, .08);
}

.cx-case-top {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 70px;
}


/* IMAGE */

.cx-case-image {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 90px;
    font-weight: 900;
    color: rgba(53, 165, 66, .08);
}

.cx-image-box {
    width: 85%;
    height: 350px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #fff 20%, #eaf7e9 100%);
    overflow: hidden;
}

.cx-image-box img {
    position: relative;
    z-index: 2;
    max-width: 85%;
    max-height: 290px;
    object-fit: contain;
    transition: .6s ease;
    filter: drop-shadow(0 20px 20px rgba(30,80,35,.15));
}

.cx-case-card:hover .cx-image-box img {
    transform: scale(1.08) translateY(-8px);
}


/* FLOATING STATS */

.cx-stat {
    position: absolute;
    z-index: 5;
    padding: 14px 18px;
    border: 1px solid #e1ebe0;
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(30,80,35,.12);
    animation: cxFloat 4s ease-in-out infinite;
}

.cx-stat-one {
    right: 0;
    top: 65px;
}

.cx-stat-two {
    left: 0;
    bottom: 50px;
    animation-delay: 1s;
}

.cx-stat strong {
    display: block;
    color: #29963d;
    font-size: 22px;
}

.cx-stat span {
    color: #77857f;
    font-size: 11px;
}


/* CONTENT */

.cx-case-info {
    position: relative;
    z-index: 2;
}

.cx-category {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    background: #eaf7e9;
    color: #2e963d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cx-case-info h3 {
    margin: 22px 0;
    color: #10261f;
    font-size: clamp(45px, 5vw, 65px);
    line-height: .95;
    letter-spacing: -3px;
}

.cx-case-info h3 strong {
    display: block;
    color: #39a847;
}

.cx-case-info > p {
    max-width: 600px;
    color: #66776f;
    font-size: 17px;
    line-height: 1.8;
}


/* META */

.cx-info-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 30px;
    gap: 10px;
}

.cx-info-row div {
    padding: 14px;
    border-left: 2px solid #4aad4c;
    background: #f7faf7;
}

.cx-info-row small {
    display: block;
    margin-bottom: 5px;
    color: #87958e;
    font-size: 9px;
    letter-spacing: 1px;
}

.cx-info-row b {
    color: #183029;
    font-size: 12px;
}


/* DETAILS */

.cx-case-details {
    display: none;
    border-top: 1px solid #e2ece1;
}

.cx-case-card.cx-open .cx-case-details {
    display: block;
    animation: cxDetails .7s ease;
}

@keyframes cxDetails {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* DETAIL */

.cx-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 70px;
    border-bottom: 1px solid #e4ede3;
}

.cx-detail-reverse .cx-detail-title {
    order: 2;
}

.cx-detail-reverse .cx-visual,
.cx-detail-reverse .cx-result-graphic {
    order: 1;
}

.cx-detail-title > span {
    color: #3ba448;
    font-size: 12px;
    font-weight: 800;
}

.cx-detail-title small {
    display: block;
    margin-bottom: 15px;
    color: #3ba448;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.cx-detail-title h4 {
    margin: 0 0 20px;
    color: #10261f;
    font-size: 38px;
    line-height: 1.15;
}

.cx-detail-title h4 b {
    color: #3ca847;
}

.cx-detail-title p,
.cx-detail-text p {
    color: #6b7c74;
    font-size: 15px;
    line-height: 1.8;
}

.cx-results {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-top: 30px;
    border: 1px solid #dfeade;
    border-radius: 16px;
    overflow: hidden;
}

.cx-results div {
    padding: 18px;
    text-align: center;
    border-right: 1px solid #dfeade;
}

.cx-results div:last-child {
    border: 0;
}

.cx-results strong {
    display: block;
    color: #2f9d40;
    font-size: 28px;
}

.cx-results span {
    color: #7c8a83;
    font-size: 10px;
}


/* CHALLENGE VISUAL */

.cx-visual {
    position: relative;
    min-height: 330px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    border-radius: 25px;
    background: radial-gradient(circle, #fff, #edf8ec);
    overflow: hidden;
}

.cx-circle {
    position: absolute;
    width: 270px;
    height: 270px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border: 1px dashed #abd6a9;
    border-radius: 50%;
    animation: cxRotate 15s linear infinite;
}

.cx-problem {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 85%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #deebdc;
    background: rgba(255,255,255,.9);
    box-shadow: 0 8px 20px rgba(40,90,45,.07);
}

.cx-problem i {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f7e7;
    color: #39a449;
    font-style: normal;
    font-weight: 700;
}

.cx-problem b {
    display: block;
    color: #1b322b;
    font-size: 13px;
}

.cx-problem span {
    color: #84918b;
    font-size: 10px;
}


/* FLOW */

.cx-tech-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.cx-tech-flow span {
    padding: 10px 16px;
    border-radius: 30px;
    background: #eaf7e9;
    color: #29983e;
    font-size: 12px;
    font-weight: 700;
}

.cx-tech-flow b {
    color: #48ad4b;
}


/* RESULT GRAPHIC */

.cx-result-graphic {
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    border-radius: 25px;
    background: linear-gradient(145deg,#eef8ed,#fff);
}

.cx-bar {
    width: 70px;
    height: 55%;
    position: relative;
    border-radius: 10px 10px 0 0;
    background: #cfe5ce;
    animation: cxGrow 1.2s ease;
}

.cx-bar.after {
    height: 85%;
    background: linear-gradient(to top,#29953c,#6aca60);
}

.cx-bar span {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
    color: #7b8982;
    font-size: 10px;
}

.finance-result {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background: radial-gradient(circle,#fff,#eaf7e9);
}

.finance-result strong {
    color: #29963d;
    font-size: 70px;
    line-height: 1;
}

.finance-result span {
    color: #7c8982;
}


/* BUTTON */

.cx-show-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 35px auto;
    padding: 13px 20px 13px 24px;
    border: 1px solid #b9dcb7;
    border-radius: 50px;
    background: #fff;
    color: #268d3b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.cx-show-btn i {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f7e8;
    font-style: normal;
    transition: .3s ease;
}

.cx-show-btn:hover {
    color: #fff;
    background: #29963e;
    border-color: #29963e;
    transform: translateY(-3px);
}

.cx-case-card.cx-open .cx-show-btn i {
    transform: rotate(180deg);
}


/* CTA */

.cx-case-cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg,#123b25,#19703a);
}

.cx-cta-content {
    max-width: 850px;
    margin: auto;
}

.cx-cta-content > span {
    color: #a8eca1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.cx-cta-content h2 {
    margin: 20px 0;
    color: #fff;
    font-size: clamp(38px,5vw,65px);
    line-height: 1.05;
}

.cx-cta-content h2 b {
    display: block;
    color: #8cf281;
}

.cx-cta-content p {
    max-width: 650px;
    margin: auto auto 30px;
    color: #c8ddd0;
    line-height: 1.7;
}

.cx-cta-content a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px 14px 25px;
    border-radius: 50px;
    background: #fff;
    color: #237b37;
    text-decoration: none;
    font-weight: 700;
}

.cx-cta-content a b {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3da94a;
    color: #fff;
}


/* ANIMATIONS */

@keyframes cxFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes cxRotate {
    from {
        transform: translate(-50%,-50%) rotate(0);
    }

    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

@keyframes cxGrow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}


/* MOBILE */

@media(max-width:767px) {

    .cx-case-section {
        padding: 60px 15px;
    }

    .cx-section-heading {
        margin-bottom: 40px;
    }

    .cx-section-heading h2 {
        font-size: 40px;
    }

    .cx-case-top {
        display: block;
        padding: 35px 20px;
    }

    .cx-case-image {
        min-height: 290px;
        margin-bottom: 35px;
    }

    .cx-image-box {
        width: 90%;
        height: 270px;
    }

    .cx-image-box img {
        max-height: 220px;
    }

    .cx-number {
        font-size: 65px;
    }

    .cx-stat {
        transform: scale(.85);
    }

    .cx-stat-one {
        right: -5px;
        top: 25px;
    }

    .cx-stat-two {
        left: -5px;
        bottom: 15px;
    }

    .cx-case-info h3 {
        font-size: 48px;
    }

    .cx-info-row {
        grid-template-columns: 1fr;
    }

    .cx-detail {
        display: flex;
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
    }

    .cx-detail-reverse .cx-detail-title,
    .cx-detail-reverse .cx-visual,
    .cx-detail-reverse .cx-result-graphic {
        order: initial;
    }

    .cx-detail-title h4 {
        font-size: 31px;
    }

    .cx-results {
        grid-template-columns: 1fr;
    }

    .cx-results div {
        border-right: 0;
        border-bottom: 1px solid #dfeade;
    }

    .cx-results div:last-child {
        border-bottom: 0;
    }

    .cx-tech-flow {
        flex-wrap: wrap;
    }

    .cx-visual,
    .cx-result-graphic {
        width: 100%;
    }

}

/* =========================================================
   MISSION + VISION
========================================================= */

.cx-about-info {
    position: relative;

    width: 320px;

    margin-left: 28px;   /* space between circle and cards */

    display: flex;
    flex-direction: column;

    gap: 20px;

    z-index: 5;
}


/* =========================================================
   CARDS
========================================================= */

.cx-info-card {
    position: relative;

    width: 100%;

    padding: 21px 20px;

    background: #ffffff;

    border: 1px solid #dfeade;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(35, 90, 40, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* GREEN LEFT LINE */

.cx-info-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 20px;
    bottom: 20px;

    width: 3px;

    border-radius: 5px;

    background: #55a94b;
}


/* hover */

.cx-info-card:hover {
    transform: translateX(8px);

    border-color: #a9d49f;

    box-shadow:
        0 20px 45px rgba(35, 100, 40, 0.14);
}


/* =========================================================
   CARD TOP
========================================================= */

.cx-info-top {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 9px;
}


.cx-info-number {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #e9f7e6;

    color: #3f9d3f;

    font-size: 10px;

    font-weight: 700;
}


.cx-info-label {
    color: #4c9f45;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.cx-info-card h3 {
    margin: 0 0 7px;

    color: #14231a;

    font-size: 20px;

    font-weight: 700;
}


.cx-info-card p {
    margin: 0;

    color: #65736b;

    font-size: 12px;

    line-height: 1.65;
}


/* =========================================================
   VERY SUBTLE BACKGROUND DECORATION
========================================================= */

.cx-about-hero::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -180px;
    top: -120px;

    border-radius: 50%;

    background: rgba(90, 180, 80, 0.05);

    filter: blur(70px);

    pointer-events: none;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .cx-about-title {
        font-size: 56px;
    }

    .cx-about-right {
        min-height: 560px;
    }

    .cx-about-image,
    .cx-image-circle {
        width: 420px;
        height: 420px;
    }

    .cx-about-info {
        left: 345px;
        width: 325px;
    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .cx-about-title {
        font-size: 46px;
    }

    .cx-about-image,
    .cx-image-circle {
        width: 340px;
        height: 340px;
    }

    .cx-about-info {
        left: 275px;
        width: 285px;
    }

    .cx-info-card {
        padding: 17px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .cx-about-hero {
        padding: 70px 0;
    }

    .cx-about-content {
        padding-right: 0;
    }

    .cx-about-title {
        font-size: 46px;
    }


    .cx-about-right {

        margin-top: 65px;

        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: center;
    }


    .cx-about-image,
    .cx-image-circle {
        width: 380px;
        height: 380px;
    }


    .cx-about-info {

        position: relative;

        left: auto;
        top: auto;

        transform: none;

        width: 100%;

        margin-top: -25px;

        padding: 0 25px;

        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .cx-about-hero {
        padding: 55px 0;
    }

    .cx-about-title {
        font-size: 37px;
    }

    .cx-about-description {
        font-size: 14px;
    }


    .cx-about-image,
    .cx-image-circle {
        width: 300px;
        height: 300px;
    }


    .cx-about-info {

        margin-top: 25px;

        padding: 0;

        grid-template-columns: 1fr;
    }


    .cx-info-card p {
        font-size: 12px;
    }

}/* Ensure the wrapper is a flex container so image and text are side-by-side */
.about-hero-image-wrapper {
    display: flex;
    align-items: center; /* Aligns the circle and text vertically */
}

/* Style for the circle container */
.about-hero-image-circle {
    flex-shrink-0; /* Prevents the circle from shrinking */
    margin-right: 50px; /* Adds space between the circle and the text column. Adjust this value as needed. */
}

/* Optional: Adjust margin for smaller screens if necessary */
@media (max-width: 768px) {
    .about-hero-image-wrapper {
        flex-direction: column; /* Stacks them vertically on smaller screens */
        align-items: center;
    }
    .about-hero-image-circle {
        margin-right: 0;
        margin-bottom: 30px; /* Adds space below the circle when stacked */
    }
    .about-hero-mission-vision {
        text-align: center; /* Centers text when stacked */
    }
}/* Wrapper with extra space on the right so buttons don't touch or overlap the image */
.about-hero-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns circle to the left of the column */
    padding-right: 180px; /* Creates physical space for the floating cards */
}

/* Perfect Circle Image Styles (Untouched) */
.about-hero-image-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Modern Glassmorphic Floating Cards */
.modern-floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
    border-radius: 16px;
    width: 250px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: all 0.3s ease-in-out;
}

.modern-floating-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Positioned well outside the right edge of the circle */
.mission-float {
    top: 18%;
    right: 0px;
}

.vision-float {
    bottom: 18%;
    right: -30px;
}

/* Card Header & Glow Dots */
.card-icon-title {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.mission-dot {
    background-color: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.vision-dot {
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.modern-floating-card h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

.modern-floating-card p {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive design for tablets and phones */
@media (max-width: 991.98px) {
    .about-hero-image-wrapper {
        flex-direction: column;
        justify-content: center;
        padding-right: 0;
        gap: 25px;
        min-height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .modern-floating-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 320px;
    }
}