/**
 * Elementor Widget Styles
 * 
 * @package KKeyQik
 */

/* ==========================================================================
   Grid Layouts
   ========================================================================== */

.kkeyqik-services-grid,
.kkeyqik-case-studies-grid,
.kkeyqik-testimonials {
    display: grid;
    gap: 2rem;
}

.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .columns-4,
    .columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .columns-4,
    .columns-3,
    .columns-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Services Card Widget
   ========================================================================== */

.service-card {
    background: var(--kkeyqik-white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform var(--kkeyqik-transition), box-shadow var(--kkeyqik-transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--kkeyqik-primary), var(--kkeyqik-secondary));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--kkeyqik-white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-title a {
    color: var(--kkeyqik-dark);
}

.service-excerpt {
    color: var(--kkeyqik-text);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 0.875rem;
    color: var(--kkeyqik-primary);
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    color: var(--kkeyqik-primary);
    font-weight: 600;
    transition: color var(--kkeyqik-transition);
}

.service-link:hover {
    color: var(--kkeyqik-dark);
}

/* ==========================================================================
   Case Study Card Widget  
   ========================================================================== */

.case-study-card {
    background: var(--kkeyqik-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform var(--kkeyqik-transition);
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-client {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--kkeyqik-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.case-study-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.case-study-title a {
    color: var(--kkeyqik-dark);
}

.case-study-excerpt {
    color: var(--kkeyqik-text);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.case-study-link {
    color: var(--kkeyqik-primary);
    font-weight: 600;
}

/* ==========================================================================
   Testimonials Widget
   ========================================================================== */

.testimonial-card {
    background: var(--kkeyqik-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.star-rating {
    margin-bottom: 1rem;
}

.star {
    font-size: 1.25rem;
    color: #ddd;
}

.star-filled {
    color: #FFD700;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1rem;
    font-style: italic;
    color: var(--kkeyqik-text);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--kkeyqik-dark);
}

.author-position {
    font-size: 0.875rem;
    color: var(--kkeyqik-text);
}

/* ==========================================================================
   Text Slider / Marquee Widget (from original theme)
   ========================================================================== */

.scrolling-wrap {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    gap: 20px;
    margin-top: -14px;
}

.scrolling-wrap .comm {
    display: flex;
    align-items: center;
    animation: scroll 60s linear infinite;
    gap: 30px;
    cursor: pointer;
}

.scrolling-wrap .comm .cmn-textslide {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: capitalize;
    color: var(--kkeyqik-dark, #17012C);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

/* Force inner tags (h1-h6, p, div) to inherit/match parent exactly */
.scrolling-wrap .comm .cmn-textslide .text-slider-text,
.scrolling-wrap .comm .cmn-textslide h1,
.scrolling-wrap .comm .cmn-textslide h2,
.scrolling-wrap .comm .cmn-textslide h3,
.scrolling-wrap .comm .cmn-textslide h4,
.scrolling-wrap .comm .cmn-textslide h5,
.scrolling-wrap .comm .cmn-textslide h6,
.scrolling-wrap .comm .cmn-textslide p,
.scrolling-wrap .comm .cmn-textslide div,
.scrolling-wrap .comm .cmn-textslide span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    font-family: inherit;
    text-transform: inherit;
    margin: 0;
    padding: 0;
    display: inline-block;
    /* Fix block level headings breaking flex flow */
}

.scrolling-wrap .comm .cmn-textslide img {
    margin-right: 10px;
    max-width: inherit;
}

.scrolling-wrap .comm .cmn-textslide.stroke-text {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke: 1px var(--kkeyqik-dark, #17012C);
    -webkit-text-fill-color: transparent;
}

.scrolling-wrap:hover .comm {
    animation-play-state: paused;
}

@media (max-width: 1399px) {
    .scrolling-wrap .comm {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .scrolling-wrap {
        gap: 14px;
    }

    .scrolling-wrap .comm {
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .scrolling-wrap .comm {
        gap: 12px;
    }

    .scrolling-wrap .comm .cmn-textslide {
        font-size: 36px;
        line-height: 50px;
    }
}

.marquee-section-1 {
    position: relative;
    z-index: 8;
}

.marquee-section {
    position: relative;
    z-index: 8;
    overflow: hidden;
}

.mycustom-marque.style-2 {
    border: 1px solid var(--kkeyqik-dark, #17012C);
    background: var(--kkeyqik-white, #fff);
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.1);
    transform: rotate(1.913deg);
    margin-top: -15px;
    position: relative;
    z-index: 5;
}

@media (max-width: 1399px) {
    .marquee-section-1 {
        overflow: hidden;
    }

    .mycustom-marque.style-2 {
        margin-top: 0;
        transform: rotate(0);
    }

    .mycustom-marque .scrolling-wrap {
        margin-top: 0;
    }
}

.mycustom-marque.style-2 .scrolling-wrap .comm .cmn-textslide {
    font-size: 30px;
    font-weight: 800;
    text-transform: capitalize;
    color: var(--kkeyqik-dark, #17012C);
    padding-top: 10px;
}

.mycustom-marque.style-2.bg-2 {
    background-color: var(--kkeyqik-dark, #17012C);
    border: none;
    box-shadow: none;
    margin-top: 0;
}

.mycustom-marque.style-2.bg-2 .scrolling-wrap .comm .cmn-textslide {
    color: var(--kkeyqik-white, #fff);
    padding-top: 0;
}

.mycustom-marque.style-3 {
    background: var(--kkeyqik-secondary, #fb17ff);
    transform: rotate(-2.772deg);
    margin-top: -52px;
    position: relative;
    z-index: 4;
}

@media (max-width: 1399px) {
    .mycustom-marque.style-3 {
        margin-top: 0;
        transform: rotate(0);
    }

    .mycustom-marque.style-3 .scrolling-wrap .comm {
        animation: scroll2 60s linear infinite;
    }
}

.mycustom-marque.style-3 .scrolling-wrap .comm .cmn-textslide {
    font-size: 30px;
    font-weight: 800;
    text-transform: capitalize;
    color: var(--kkeyqik-dark, #17012C);
    padding-top: 0;
}

.mycustom-marque.style-3 .scrolling-wrap:hover .comm {
    animation-play-state: paused;
}

.mycustom-marque.style-3.bg-3 {
    background-color: var(--kkeyqik-primary, #6a47ed);
    border: none;
    box-shadow: none;
    margin-top: -70px;
}

@media (max-width: 1399px) {
    .mycustom-marque.style-3.bg-3 {
        margin-top: 0;
    }
}

.mycustom-marque.style-3.bg-3 .scrolling-wrap .comm .cmn-textslide {
    color: var(--kkeyqik-white, #fff);
    padding-top: 0;
}

.mycustom-marque.theme-blue-bg {
    background-color: var(--kkeyqik-primary, #6a47ed);
    padding: 20px 0;
}

.mycustom-marque.theme-blue-bg .scrolling-wrap .comm .cmn-textslide {
    color: var(--kkeyqik-white, #fff);
}

/* Style 4 - Glassmorphism Edges */
.style-4-glass-edges {
    position: relative;
    overflow: hidden;
    z-index: 8;
}

.style-4-glass-edges::before,
.style-4-glass-edges::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    /* Default values, can be overridden by Elementor inline styles */
    width: 150px; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.style-4-glass-edges::before {
    left: 0;
    -webkit-mask-image: linear-gradient(to right, black, transparent);
    mask-image: linear-gradient(to right, black, transparent);
}

.style-4-glass-edges::after {
    right: 0;
    -webkit-mask-image: linear-gradient(to left, black, transparent);
    mask-image: linear-gradient(to left, black, transparent);
}

.marquee-2 {
    margin-bottom: 30px;
}

@media (max-width: 1399px) {
    .marquee-2 {
        margin-bottom: 0;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll2 {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-200%);
    }
}

@keyframes scroll3 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Services Grid Styles (Ported from Original Theme) */
.service-box-items {
    margin-top: 30px;
    display: flex;
    gap: 17px;
    padding: 40px 20px;
    position: relative;
    border: 1px solid var(--kkeyqik-border, #E5E5E5);
    border-radius: 20px;
    background-color: var(--kkeyqik-white, #fff);
    transition: all 0.4s ease-in-out;
}

.service-box-items .content {
    h4 {
        margin-bottom: 5px;

        a {
            &:hover {
                color: var(--kkeyqik-primary, #6A47ED);
            }
        }
    }

    p {
        font-family: inherit;
        margin-bottom: 5px;
    }
}

.service-box-items .icon {
    flex-shrink: 0;
    width: 70px;
    font-size: 40px;
    color: var(--kkeyqik-primary, #6A47ED);
    line-height: normal;
}

.service-box-items .icon img {
    max-width: 100%;
}

.service-box-items .content {
    flex-grow: 1;
}

.service-box-items .content h4 {
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: 700;
}

.service-box-items .content h4 a {
    color: var(--kkeyqik-secondary, #17012C);
    transition: all 0.4s ease-in-out;
}

.service-box-items .content h4 a:hover {
    color: var(--kkeyqik-primary, #6A47ED);
}

.service-box-items .content p {
    font-family: inherit;
    margin-bottom: 15px;
    color: var(--kkeyqik-text, #504E4E);
    line-height: 1.6;
}

.service-box-items .link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--kkeyqik-secondary, #17012C);
    transition: all 0.4s ease-in-out;
    text-decoration: none;
}

.service-box-items .link-btn i {
    transition: margin-left 0.3s ease;
}

.service-box-items .link-btn:hover {
    color: var(--kkeyqik-primary, #6A47ED);
}

.service-box-items .link-btn:hover i {
    margin-left: 5px;
}

/* ==========================================================================
   Osty Button Widget
   ========================================================================== */

/* Variables */
:root {
    --osty-ease-out-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Default fallback if not set by Elementor */
    --osty-icon-width: 54px;
}

:root {
    --osty-ease-out-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================================
   Osty Button — compound selectors to beat Bootstrap's .btn
   ============================================================ */
.btn.btn-osty {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    position: relative;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    vertical-align: middle;
    overflow: visible;
    transition: none;
}

.btn-wrap {
    display: inline-block;
    vertical-align: middle;
}

/* Base states */
.btn.btn-osty .f-btn-l {
    background-color: var(--kkeyqik-secondary, #17012C);
    border-radius: 14px;
    transition: left .7s var(--osty-ease-out-elastic), opacity .3s, background-color .3s;
    width: var(--osty-icon-width, 54px);
    height: 100%;
    position: absolute;
    left: calc(var(--osty-icon-width, 54px) * -1 + 1px);
    top: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.btn.btn-osty .f-btn-r {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1.5rem;
    padding-right: 0px;
    height: 100%;
    min-height: 48px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 14px;
    background-color: var(--kkeyqik-primary, #6A47ED);
    transition: transform .7s var(--osty-ease-out-elastic),
                background-color .3s cubic-bezier(.25, 1, .5, 1),
                color .5s cubic-bezier(.25, 1, .5, 1),
                padding-right .7s var(--osty-ease-out-elastic),
                margin-right .7s var(--osty-ease-out-elastic);
    color: var(--kkeyqik-white, #fff);
    font-weight: 600;
    margin-right: 0;
    transform: translateX(0); /* explicit base state for smooth transition */
}

/* Hover States */
.btn.btn-osty:hover .f-btn-l {
    left: 0 !important;
    opacity: 1 !important;
    z-index: 1;
}

.btn.btn-osty:hover .f-btn-r {
    transform: translateX(calc(var(--osty-icon-width, 54px) + 8px)) !important;
    background-color: var(--kkeyqik-secondary, #17012C);
    padding-right: 1.5rem !important;
    margin-right: calc(var(--osty-icon-width, 54px) + 1px) !important;
}

/* SVG and Icon Handling */
.btn.btn-osty .f-btn-l svg {
    transform: translateX(-10px) scale(1);
    transition: transform .7s var(--osty-ease-out-elastic) .1s;
    height: 20px;
    width: auto;
}

.btn.btn-osty:hover .f-btn-l svg {
    transform: translateX(0);
}

.btn.btn-osty .f-btn-l svg path {
    fill: var(--kkeyqik-white, #fff);
}

.btn.btn-osty .f-btn-r span {
    white-space: nowrap;
}

.btn.btn-osty .f-btn-r .btn-r_icon {
    width: var(--osty-icon-width, 54px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: width 0.7s var(--osty-ease-out-elastic), margin-left 0.7s var(--osty-ease-out-elastic);
    overflow: hidden;
}

.btn.btn-osty .f-btn-r .btn-r_icon svg {
    transition: .5s cubic-bezier(.25, 1, .5, 1);
    height: 16px;
    width: auto;
}

/* Hover Collapse Fix */
.btn.btn-osty:hover .f-btn-r svg {
    transform: scale(0);
}

.btn.btn-osty:hover .f-btn-r .btn-r_icon {
    width: 0;
    margin-left: 0;
    border-left: none;
}

/* Size overrides removed in favor of granular controls */
/* Brand About Widget Styles (Ported) */
.about-wrapper {
    margin-top: 155px;
}

@media (max-width: 1600px) {
    .about-wrapper {
        margin-top: 0;
    }
}

.about-wrapper .about-image {
    position: relative;
    text-align: center;
    z-index: 2;
}

@media (max-width: 575px) {
    .about-wrapper .about-image {
        max-width: 400px;
    }

    .about-wrapper .about-image img {
        width: 100%;
        object-fit: cover;
    }
}

.about-wrapper .about-image .bg-shape {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .bg-shape img {
        width: 100%;
    }
}

.about-wrapper .about-image .grap-shape {
    position: absolute;
    bottom: 40px;
    left: 35px;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .grap-shape {
        display: none;
    }
}

.about-wrapper .about-image .box-shape {
    position: absolute;
    right: 25px;
    top: 32%;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .box-shape {
        display: none;
    }
}

.about-wrapper .about-image .emoji-shape {
    position: absolute;
    top: 20%;
    left: 164px;
    animation: bounce-x 7s infinite linear;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .emoji-shape {
        display: none;
    }
}

.about-wrapper .about-content {
    margin-left: 10px;
}

.about-wrapper .about-content .circle-progress-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

@media (max-width: 1399px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        margin-top: 40px;
        gap: 70px;
    }
}

@media (max-width: 991px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        margin-top: 30px;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar span {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content h6 {
    display: block;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
}

@media (max-width: 575px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content br {
        display: block;
    }
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar {
    position: relative;
    height: 120px;
    width: 120px;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div {
    position: absolute;
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div span {
    position: absolute;
    font-size: 20px;
    line-height: 92px;
    height: 90px;
    width: 90px;
    left: 5px;
    top: 5px;
    font-weight: 600;
    text-align: center;
    border-radius: 50%;
    background-color: var(--kkeyqik-light, #F3FEF6);
    color: #000000;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .background {
    background-color: #F3FEF6 !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .rotate {
    clip: rect(0 50px 100px 0);
    background-color: var(--kkeyqik-primary, #2f6d46) !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .left {
    clip: rect(0 50px 100px 0);
    opacity: 1;
    background-color: var(--kkeyqik-light, #F3FEF6) !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .right {
    clip: rect(0 50px 100px 0);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    opacity: 0;
    background-color: var(--kkeyqik-primary, #2f6d46) !important;
}

/* About Section & Brand Wrapper */
.about-section {
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 1600px) {
    .about-section {
        background-color: var(--kkeyqik-light, #F3FEF6);
    }
}

/* ==========================================================================
   Brand About Widget Styles (Converted from _about.scss)
   ========================================================================== */

/* Main Wrapper */
.about-wrapper {
    margin-top: 155px;
}

@media (max-width: 1899px) {

    /* max-xl4 */
    .about-wrapper {
        margin-top: 0;
    }
}

/* Left Column: Image Area */
.about-wrapper .about-image {
    position: relative;
    text-align: center;
    z-index: 2;
}

@media (max-width: 575px) {

    /* max-sm */
    .about-wrapper .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-wrapper .about-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Model Image — responsive margin */
.about-wrapper .about-image .about-model-img {
    margin-left: 150px;
}

@media (max-width: 991px) {
    .about-wrapper .about-image .about-model-img {
        margin-left: 0;
        margin: 0 auto;
    }
}

/* Brand Slider — center logo slides on mobile */
.about-section .brand-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .brand-slider .brand-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section .brand-slider .brand-img img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .about-section .brand-wrapper {
        margin-bottom: 50px;
    }

    .about-section .brand-slider .brand-img img {
        max-height: 45px;
    }
}

/* Decorative Shapes */
.about-wrapper .about-image .bg-shape {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .bg-shape img {
        width: 100%;
        height: 100%;
    }
}

.about-wrapper .about-image .grap-shape {
    position: absolute;
    bottom: 40px;
    left: 35px;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .grap-shape {
        display: none;
    }
}

.about-wrapper .about-image .box-shape {
    position: absolute;
    right: 25px;
    top: 32%;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .box-shape {
        display: none;
    }
}

.about-wrapper .about-image .emoji-shape {
    position: absolute;
    top: 20%;
    left: 164px;
    animation: bounce-x 7s infinite linear;
}

@media (max-width: 575px) {
    .about-wrapper .about-image .emoji-shape {
        display: none;
    }
}

/* Right Column: Content Area */
.about-wrapper .about-content {
    margin-left: 10px;
}

/* Circle Progress Bars */
.about-wrapper .about-content .circle-progress-bar-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
}

@media (max-width: 1399px) {

    /* max-xxl */
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        gap: 30px;
    }
}

@media (max-width: 991px) {

    /* max-lg */
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        margin-top: 40px;
        gap: 20px;
    }
}

@media (max-width: 575px) {

    /* max-sm */
    .about-wrapper .about-content .circle-progress-bar-wrapper {
        margin-top: 30px;
        flex-wrap: wrap;
        gap: 10px;
    }
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar span {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content h6 {
    display: block;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
}

@media (max-width: 575px) {
    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content br {
        display: block;
    }
}

/* Circle Bar Implementation */
.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar {
    position: relative;
    height: 120px;
    width: 120px;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div {
    position: absolute;
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div span {
    position: absolute;
    font-size: 20px;
    line-height: 92px;
    height: 90px;
    width: 90px;
    left: 5px;
    top: 5px;
    font-weight: 600;
    text-align: center;
    border-radius: 50%;
    background-color: var(--kkeyqik-light, #F3FEF6);
    color: #3B463F;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .background {
    background-color: #F3FEF6 !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .rotate {
    clip: rect(0 50px 100px 0);
    background-color: #2f6d46 !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .left {
    clip: rect(0 50px 100px 0);
    opacity: 1;
    background-color: var(--kkeyqik-light, #F3FEF6) !important;
}

.about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .right {
    clip: rect(0 50px 100px 0);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    opacity: 0;
    background-color: #2f6d46 !important;
}

/* About Section & Brands */
.about-section {
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 1899px) {

    /* max-xl4 */
    .about-section {
        background-color: var(--kkeyqik-light, #F3FEF6);
    }
}

.about-section .brand-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: 5;
    max-width: 1200px;
    width: 100%;
}

@media (max-width: 1899px) {

    /* max-xl4 */
    .about-section .brand-wrapper {
        max-width: initial;
        position: static;
        transform: initial;
        margin-bottom: 120px;
    }
}

@media (max-width: 1199px) {

    /* max-xl */
    .about-section .brand-wrapper {
        margin-bottom: 100px;
    }
}

@media (max-width: 991px) {

    /* max-lg */
    .about-section .brand-wrapper {
        margin-bottom: 80px;
    }
}

.about-section .brand-wrapper .brand-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.about-section .brand-wrapper .brand-title::before {
    position: absolute;
    top: 15px;
    left: 5%;
    content: "";
    height: 1px;
    width: 375px;
    background-color: #E5E5E5;
}

@media (max-width: 1399px) {

    /* max-xxl */
    .about-section .brand-wrapper .brand-title::before {
        display: none;
    }
}

.about-section .brand-wrapper .brand-title::after {
    position: absolute;
    top: 15px;
    right: 5%;
    content: "";
    height: 1px;
    width: 375px;
    background-color: #E5E5E5;
}

@media (max-width: 1399px) {

    /* max-xxl */
    .about-section .brand-wrapper .brand-title::after {
        display: none;
    }
}

.about-section .left-shape {
    position: absolute;
    bottom: 0;
    left: 0;
}

@media (max-width: 1399px) {

    /* max-xxl */
    .about-section .left-shape {
        display: none;
    }
}

/* Animations (Ported from _animation.scss) */
@keyframes float-bob-y {
    0% {
        transform: translateY(-30px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(-30px);
    }
}

.float-bob-y {
    animation: float-bob-y 3s infinite linear;
}

@keyframes float-bob-x {
    0% {
        transform: translateX(30px);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(30px);
    }
}

.float-bob-x {
    animation: float-bob-x 3s infinite linear;
}

@keyframes bounce-x {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30px);
    }

    100% {
        transform: translateX(0);
    }
}

.bounce-x {
    animation: bounce-x 7s infinite linear;
}

@keyframes img-anim-left {
    0% {
        transform: translateX(-5%);
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

.img-custom-anim-left {
    animation: img-anim-left 1.3s forwards cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
    opacity: 0;
}

/* ==========================================================================
   Section Utilities & Title Styles (Ported from _section.scss)
   ========================================================================== */

.fix {
    overflow: hidden;
}

.section-padding {
    padding: 120px 0;
}

@media (max-width: 1199px) {

    /* max-xl */
    .section-padding {
        padding: 100px 0;
    }
}

@media (max-width: 991px) {

    /* max-lg */
    .section-padding {
        padding: 80px 0;
    }
}

.section-title {
    position: relative;
    z-index: 8;
    margin-bottom: 30px;
    margin-top: -1px;
}

@media (max-width: 767px) {

    /* max-md */
    .section-title {
        margin-bottom: 0;
    }
}

.section-title .sub-title {
    padding: 6px 20px;
    border-radius: 100px;
    display: inline-block;
    background: var(--kkeyqik-white, #ffffff);
    margin-bottom: 20px;
}

.section-title .sub-title span {
    background: transparent;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--kkeyqik-primary, #2f6d46);
    font-size: 14px;
}

.section-title .sub-title.bg-color-2 {
    background: rgba(56, 75, 255, 0.10);
}

.section-title .sub-title.bg-color-3 {
    background: rgba(246, 243, 254, 0.10);
}

.section-title .sub-title.bg-color-3 span {
    color: var(--kkeyqik-white, #ffffff);
    -webkit-text-fill-color: initial;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.case-study-wrapper .case-study-box-items .thumb img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

@media (max-width: 575px) {
    .case-study-wrapper .case-study-box-items .thumb {
        height: 450px;
    }

    .case-study-wrapper .case-study-box-items .thumb img {
        object-fit: cover;
    }
}

.case-study-wrapper .case-study-box-items .thumb .post-box-items {
    position: absolute;
    top: 30px;
    left: 30px;
}

.case-study-wrapper .case-study-box-items .thumb .post-box-items ul {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a {
    border-radius: 33px;
    border: 0.5px solid var(--white, #fff);
    background: radial-gradient(258.86% 216.49% at -18.48% -74.46%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(25px);
    font-size: 14px;
    font-weight: 500;
    color: var(--white, #fff);
    padding: 11px 15px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a i,
.case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a span {
    margin-left: 0;
}

.case-study-wrapper .case-study-box-items .thumb .project-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.case-study-wrapper .case-study-box-items .thumb .project-title img {
    width: initial;
    height: initial;
    border-radius: 0;
    margin-right: 10px;
}

.case-study-wrapper .case-study-box-items .thumb .project-title a {
    color: var(--white, #fff);
}

.case-study-wrapper .case-study-box-items .thumb .number {
    right: 30px;
    bottom: 30px;
    position: absolute;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--white, #fff);
    font-size: 14px;
    font-weight: 500;
    color: var(--header, #17012C);
}

/* Project Grid Tags — Mobile: move to bottom, compact & elegant */
@media (max-width: 767px) {
    .case-study-wrapper .case-study-box-items .thumb {
        position: relative !important;
    }

    .case-study-wrapper .case-study-box-items .thumb .post-box-items {
        top: auto !important;
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
        position: absolute !important;
        z-index: 99 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .case-study-wrapper .case-study-box-items .thumb .post-box-items ul {
        display: contents !important; /* Lets li tags flow into parent flex container */
    }

    .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a {
        font-size: 11px !important;
        font-weight: 500 !important;
        padding: 6px 12px !important;
        border-radius: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a .material-icons-outlined {
        font-size: 12px !important;
        margin-left: 4px !important;
    }

    /* Move title and number to top of image */
    .case-study-wrapper .case-study-box-items .thumb .project-title {
        bottom: auto !important;
        top: 20px !important;
        left: 20px !important;
        z-index: 99 !important;
    }

    .case-study-wrapper .case-study-box-items .thumb .number {
        bottom: auto !important;
        top: 20px !important;
        right: 20px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 13px !important;
        z-index: 99 !important;
    }
}

/* Main Box Container */
.case-study-wrapper .main-box {
    padding: 0;
    gap: 30px;
    display: flex;
    height: 100%;
    align-items: stretch;
}

/* Tablet/mobile: keep same flex row layout as desktop, just tighten the gap */
@media (max-width: 1399px) {
    .case-study-wrapper .main-box {
        gap: 15px;
        height: auto;
    }
}

/* Accordion Item (Default - Collapsed) */
.case-study-wrapper .main-box .box {
    background-color: var(--theme, #2f6d46);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;

    /* Flex Logic: Start with share of space, allow shrinking/growing */
    flex: 1;
    width: auto !important;
    /* Override Main.js inline width */
    min-width: 0;
    /* Prevent overflow */

    min-height: 328px;
    height: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    border-radius: 24px;
    transition: all 0.4s ease-in-out;
}

.case-study-wrapper .main-box .box .title-items {
    position: relative;
    z-index: 5;
    height: 100%;
    transition: all 0.4s ease-in-out;
}

/* Title items stay visible on all devices — same vertical layout as desktop */

.case-study-wrapper .main-box .box .title-items h3 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    white-space: nowrap !important;
}

.case-study-wrapper .main-box .box .title-items h3 a {
    color: var(--white, #fff);
    display: inline-block;
    white-space: nowrap !important;
}

.case-study-wrapper .main-box .box .title-items .number {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--white, #fff);
    font-size: 14px;
    font-weight: 600;
    color: var(--header, #17012C);
    display: inline-block;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Number badge stays visible on all devices */

.case-study-wrapper .main-box .box::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(47, 109, 70, 0.7) 0%, rgba(47, 109, 70, 0.9) 100%);
}

/* Flex handles box widths naturally on all devices */

.case-study-wrapper .main-box .box .number-hover {
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--white, #fff);
    font-size: 14px;
    font-weight: 600;
    color: var(--header, #17012C);
    display: inline-block;
    position: absolute;
    top: 30px;
    left: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

/* number-hover hidden by default on all devices — only shown on .box.active */

.case-study-wrapper .main-box .box .project-content {
    position: absolute;
    bottom: -100px;
    left: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    right: 30px;
}

/* FIX 3: On tablet/mobile, keep project-content hidden for collapsed boxes.
   Only .box.active shows content — handled by .box.active rules below. */

.case-study-wrapper .main-box .box .project-content h3 {
    margin-bottom: 10px;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
}

.case-study-wrapper .main-box .box .project-content h3 a {
    color: var(--white, #fff);
}

.case-study-wrapper .main-box .box .project-content p {
    color: var(--white, #fff);
    line-height: 162%;
}

.case-study-wrapper .main-box .box .project-content .link-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white, #fff);
    text-transform: capitalize;
}

.case-study-wrapper .main-box .box .project-content .icon {
    transform: rotate(-40deg);
    color: var(--theme, #6A47ED);
    transition: all 0.4s ease-in-out;
}

.case-study-wrapper .main-box .box .project-content .icon:hover {
    transform: rotate(0);
}

/* Tablet/mobile: same expand/collapse behavior as desktop */
@media (max-width: 1399px) {

    /* Gap between stacked image and boxes */
    .case-study-wrapper .row > .col-xxl-6:last-child {
        margin-top: 15px;
    }

    /* Keep solid opaque background on collapsed boxes */
    .case-study-wrapper .main-box .box::before {
        background: linear-gradient(180deg, rgba(47, 109, 70, 0.85) 0%, rgba(47, 109, 70, 0.95) 100%);
    }

    /* Keep content hidden on collapsed boxes */
    .case-study-wrapper .main-box .box .project-content {
        opacity: 0;
        visibility: hidden;
        bottom: -100px;
    }

    /* Hide number-hover on collapsed boxes — only bottom number shows */
    .case-study-wrapper .main-box .box .number-hover {
        opacity: 0;
        visibility: hidden;
    }
}

.case-study-wrapper .main-box .box.active {
    /* Flex Logic: expand to take more space */
    flex: 3.5;
    width: auto !important;
    background-image: url(../images/05.jpg);
}

.case-study-wrapper .main-box .box.active::before {
    border: 0.5px solid var(--white, #fff);
    background: radial-gradient(258.86% 216.49% at -18.48% -74.46%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(25px);
}

/* Tablet: show number-hover at top-right on active box */
@media (min-width: 768px) {
    .case-study-wrapper .main-box .box.active .number-hover {
        opacity: 1;
        visibility: visible;
        top: 30px;
        left: auto;
        right: 30px;
    }
}

/* Mobile: hide number-hover entirely on active box */
@media (max-width: 767.98px) {
    .case-study-wrapper .main-box .box.active .number-hover {
        opacity: 0;
        visibility: hidden;
    }
}

.case-study-wrapper .main-box .box.active .project-content {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.case-study-wrapper .main-box .box.active .title-items {
    opacity: 0;
    visibility: hidden;
}

/* Loader Wrap */
.loader_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.portfolio_wrap.is-loading .loader_wrap {
    opacity: 1;
    visibility: visible;
}

.load_filter {
    display: inline-block;
    width: 60px;
    height: 60px;
}

.load-filter-icon {
    width: 60px;
    height: 60px;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES — Mobile Optimization
   ========================================================================== */

/* ===== Tablet (≤992px) ===== */
@media (max-width: 992px) {

    /* Service Grid: Reduce padding, let content breathe */
    .service-box-items {
        padding: 30px 16px;
        gap: 14px;
    }

    .service-box-items .content h4 {
        font-size: 20px;
    }

    /* Testimonials / Case Study Cards: Tighten padding */
    .testimonial-card {
        padding: 1.5rem;
    }

    .case-study-content {
        padding: 1.25rem;
    }

    /* Project Grid: Smaller accordion boxes */
    .case-study-wrapper .main-box {
        gap: 16px;
    }

    .case-study-wrapper .main-box .box {
        min-height: 260px;
        border-radius: 18px;
    }

    .case-study-wrapper .main-box .box .project-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .case-study-wrapper .main-box .box .project-content .link-btn {
        font-size: 13px;
    }

    /* Brand About: Scale down circle progress bars */
    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar {
        height: 100px;
        width: 100px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div {
        height: 84px;
        width: 84px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div span {
        font-size: 17px;
        line-height: 74px;
        height: 74px;
        width: 74px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .rotate {
        clip: rect(0 42px 84px 0);
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .left {
        clip: rect(0 42px 84px 0);
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .right {
        clip: rect(0 42px 84px 0);
    }
}

/* ===== Mobile (≤576px) ===== */
@media (max-width: 576px) {

    /* Service Grid: Stack icon and content vertically */
    .service-box-items {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 12px;
    }

    .service-box-items .icon {
        margin: 0 auto;
    }

    .service-box-items .content h4 {
        font-size: 18px;
    }

    .service-box-items .content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .service-box-items .link-btn {
        font-size: 13px;
    }

    /* Testimonials: Compact cards */
    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-content p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .author-image {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 0.875rem;
    }

    .author-position {
        font-size: 0.8rem;
    }

    .star {
        font-size: 1.05rem;
    }

    /* Case Study Card: Reduce image height and content padding */
    .case-study-thumbnail img {
        height: 160px;
    }

    .case-study-content {
        padding: 1rem;
    }

    .case-study-title {
        font-size: 1.1rem;
    }

    .case-study-excerpt {
        font-size: 0.8rem;
    }

    .case-study-client {
        font-size: 0.675rem;
    }

    /* Service Card (simple grid): Compact for mobile */
    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-excerpt {
        font-size: 0.85rem;
    }

    /* Project Grid: Shrink accordion boxes further */
    .case-study-wrapper .main-box {
        gap: 12px;
    }

    .case-study-wrapper .main-box .box {
        min-height: 200px;
        border-radius: 14px;
    }

    .case-study-wrapper .main-box .box .number-hover {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 12px;
        top: 16px;
        left: 16px;
    }

    .case-study-wrapper .main-box .box .project-content {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .case-study-wrapper .main-box .box .project-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .case-study-wrapper .main-box .box .project-content p {
        font-size: 13px;
        line-height: 150%;
    }

    /* Brand About: Further scale down progress bars */
    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar {
        height: 80px;
        width: 80px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div {
        height: 66px;
        width: 66px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar div span {
        font-size: 14px;
        line-height: 56px;
        height: 56px;
        width: 56px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .rotate {
        clip: rect(0 33px 66px 0);
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .left {
        clip: rect(0 33px 66px 0);
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .circle-bar .right {
        clip: rect(0 33px 66px 0);
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar .content h6 {
        font-size: 15px;
    }

    .about-wrapper .about-content .circle-progress-bar-wrapper .single-circle-bar span {
        font-size: 14px;
    }

    /* Brand About: Reduce left-column shape offset */
    .about-wrapper .about-content {
        margin-left: 0;
    }

    /* Osty Button: Allow text wrapping on very small screens */
    .btn-osty .f-btn-r span {
        white-space: normal;
    }
}

/* ===== Global Safety Rules ===== */
@media (max-width: 768px) {
    .site-content img, .elementor-widget img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== Additional Mobile Fixes (Full Site Responsive Task) ===== */
@media (max-width: 576px) {
    /* Marquee / Text Slider Fixes */
    body .elementor-widget .scrolling-wrap .comm .cmn-textslide,
    body .elementor-widget .mycustom-marque.style-2 .scrolling-wrap .comm .cmn-textslide,
    body .elementor-widget .mycustom-marque.style-3 .scrolling-wrap .comm .cmn-textslide {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .scrolling-wrap .comm img {
        height: 30px;
        width: auto;
    }
    
    /* Grid Fallbacks - Enforce 1 column strongly on mobile */
    body .elementor-widget .kkeyqik-services-grid,
    body .elementor-widget .kkeyqik-case-studies-grid,
    body .elementor-widget .kkeyqik-testimonials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About Brand Titles */
    .about-section .brand-wrapper .brand-title h2 {
        font-size: 24px;
        padding: 0 15px;
    }
}

/* ==========================================================================
   Elementor SVG Icon Fixes (Tabs & Lists) - Deep Inspection Fix
   Fixes issue where SVGs collapse to 0 width, overlapping text in editor 
   and failing WP lazy-loading on the frontend.
   ========================================================================== */

