/* ========================================================
   CMS IMAGE STANDARD — aspect-ratio, object-fit, fallback
   ======================================================== */

/* --- Base image box --- */
.cms-img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.cms-img-box img {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Cover vs Contain --- */
.cms-img-cover img {
    object-fit: cover;
}

.cms-img-contain img {
    object-fit: contain;
    padding: 12px;
}

/* --- Aspect Ratios --- */
.cms-ratio-hero {
    aspect-ratio: 21 / 9;
    min-height: 60vh;
}

.cms-ratio-project {
    aspect-ratio: 16 / 9;
}

.cms-ratio-service {
    aspect-ratio: 4 / 3;
}

.cms-ratio-blog {
    aspect-ratio: 4 / 3;
}

.cms-ratio-team {
    aspect-ratio: 3 / 4;
}

.cms-ratio-reference {
    aspect-ratio: 16 / 9;
    min-height: 80px;
}

.cms-ratio-gallery {
    aspect-ratio: 1 / 1;
}

.cms-ratio-about {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

/* --- Background image (hero, sections) --- */
.cms-bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Empty / fallback state --- */
.cms-img-placeholder {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a1a5b7;
    font-size: 13px;
    font-weight: 500;
    min-height: 120px;
}

/* --- dlab/dz-media overrides (template defaults) --- */
.cms-img-box.dz-media,
.cms-img-box.dlab-media {
    overflow: hidden;
}

.cms-img-box.dz-media img,
.cms-img-box.dlab-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .cms-ratio-project,
    .cms-ratio-service,
    .cms-ratio-blog {
        aspect-ratio: 4 / 3;
    }

    .cms-ratio-hero {
        aspect-ratio: 16 / 9;
        min-height: 40vh;
    }
}

@media (max-width: 575px) {
    .cms-ratio-team {
        aspect-ratio: 4 / 5;
    }

    .cms-ratio-gallery {
        aspect-ratio: 4 / 3;
    }
}

/* ========================================================
   Service Carousel Card — Swiper carousel slide
   ======================================================== */
.cms-service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cms-service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

.cms-service-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.cms-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cms-service-card:hover .cms-service-img img {
    transform: scale(1.05);
}

.cms-service-content {
    padding: 14px 14px 18px;
}

.cms-service-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.3;
    color: #1a1a2e;
}

.cms-service-card:hover .cms-service-title {
    color: var(--frontend-primary, #C78A2C);
}

.cms-service-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Services Swiper navigation */
.services-swiper-outer {
    position: relative;
}

.services-swiper {
    padding: 10px 0 10px;
    position: relative;
}

.services-swiper .swiper-slide {
    height: auto;
}

.services-swiper .swiper-slide > a,
.services-swiper .swiper-slide > div {
    height: 100%;
}

.services-swiper-next,
.services-swiper-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.services-swiper-next::after {
    content: '\276F';
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.services-swiper-prev::after {
    content: '\276E';
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.services-swiper-next { right: -22px; }
.services-swiper-prev { left: -22px; }

.services-swiper-next:hover,
.services-swiper-prev:hover {
    background: var(--frontend-primary, #C78A2C);
}

.services-swiper-next:hover::after,
.services-swiper-prev:hover::after {
    color: #fff;
}

/* ========================================================
   Reference Carousel Card — Clickable with text
   ======================================================== */
.cms-ref-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    height: 100%;
}

.cms-ref-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.cms-ref-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.cms-ref-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cms-ref-card:hover .cms-ref-img img {
    transform: scale(1.05);
}

.cms-ref-content {
    padding: 12px 14px 16px;
}

.cms-ref-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.cms-ref-card:hover .cms-ref-name {
    color: var(--frontend-primary, #C78A2C);
}

.cms-ref-desc {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #777;
}

/* Clients swiper: bigger card spacing */
.clients-swiper {
    padding: 10px 25px 10px;
    position: relative;
}

.clients-swiper .swiper-slide {
    height: auto;
}

.clients-swiper .swiper-slide > a,
.clients-swiper .swiper-slide > div {
    height: 100%;
}

/* Clients swiper nav arrows */
.clients-swiper-next,
.clients-swiper-prev {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.clients-swiper-next::after {
    content: '\276F';
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.clients-swiper-prev::after {
    content: '\276E';
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.clients-swiper-next { right: -10px; }
.clients-swiper-prev { left: -10px; }

.clients-swiper-next:hover,
.clients-swiper-prev:hover {
    background: var(--frontend-primary, #C78A2C);
}

.clients-swiper-next:hover::after,
.clients-swiper-prev:hover::after {
    color: #fff;
}

/* ========================================================
   Homepage Section Header Sizing Standardization
   ======================================================== */
.section-head.style-1 h2.title,
.section-head.style-2 h2.title,
.section-head h2.title {
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1.25;
}

@media only screen and (max-width: 1280px) {
    .section-head.style-1 h2.title,
    .section-head.style-2 h2.title,
    .section-head h2.title {
        font-size: 28px !important;
    }
}

@media only screen and (max-width: 767px) {
    .section-head.style-1 h2.title,
    .section-head.style-2 h2.title,
    .section-head h2.title {
        font-size: 24px !important;
    }
}

/* ========================================================
   Custom Modern Blog Card Styles
   ======================================================== */
.cms-blog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.cms-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.cms-blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.cms-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cms-blog-card:hover .cms-blog-image img {
    transform: scale(1.05);
}

.cms-blog-content {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cms-blog-meta {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cms-blog-date {
    font-size: 12px;
    color: #7c8095;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.cms-blog-date i {
    color: var(--primary, #C78A2C);
}

.cms-blog-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.cms-blog-title a {
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.cms-blog-title a:hover {
    color: var(--primary, #C78A2C) !important;
}

.cms-blog-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5a5d72;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
}

.cms-blog-footer {
    margin-top: auto;
}

.cms-blog-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, #C78A2C) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.cms-blog-link i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.cms-blog-link:hover i {
    transform: translateX(4px);
}

/* ========================================================
   Section Background Image Overlay & Readability
   ======================================================== */
section[style*="background-image"] {
    position: relative;
    z-index: 1;
}

section[style*="background-image"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* Dark semi-transparent overlay */
    z-index: -1;
    pointer-events: none;
}

/* Force light text color on sections with background images for high contrast */
section[style*="background-image"] .section-head .title,
section[style*="background-image"] .section-head p,
section[style*="background-image"] p,
section[style*="background-image"] h2,
section[style*="background-image"] h3,
section[style*="background-image"] h4,
section[style*="background-image"] h5,
section[style*="background-image"] h6,
section[style*="background-image"] li,
section[style*="background-image"] .text,
section[style*="background-image"] span:not(.cms-filter-btn):not(.services-swiper-next):not(.services-swiper-prev):not(.clients-swiper-next):not(.clients-swiper-prev) {
    color: #ffffff !important;
}

/* Keep primary sub-titles visible and branded */
section[style*="background-image"] .section-head .sub-title {
    color: var(--primary, #C78A2C) !important;
}

/* Fix floating about image background showing white box behind the animation */
.about-bx1 .dz-media.cms-img-box {
    background: transparent !important;
    box-shadow: none !important;
}

/* ========================================================
   Standardize Homepage Section Spacing (Vertical Centering)
   ======================================================== */
.content-inner,
.content-inner-1,
.content-inner-2,
.clients-section-1 {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* Override helper classes to maintain strict symmetry */
.content-inner.pt-5 {
    padding-top: 100px !important;
}

@media only screen and (max-width: 991px) {
    .content-inner,
    .content-inner-1,
    .content-inner-2,
    .clients-section-1 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* ========================================================
   Contact Page Modernization Styles
   ======================================================== */
.cms-contact-info-wrap {
    padding-right: 20px;
}

@media (max-width: 991px) {
    .cms-contact-info-wrap {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

.cms-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.cms-contact-info-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--frontend-primary, #C78A2C) 10%, transparent);
    color: var(--frontend-primary, #C78A2C);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.cms-contact-info-card .content-box h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
    color: #1a1a2e;
}

.cms-contact-info-card .content-box p {
    font-size: 14px;
    color: #5a5d72;
    margin: 0;
    line-height: 1.5;
}

.cms-contact-info-card .content-box p a {
    color: #5a5d72;
    text-decoration: none;
    transition: color 0.2s;
}

.cms-contact-info-card .content-box p a:hover {
    color: var(--frontend-primary, #C78A2C);
}

.cms-contact-social {
    margin-top: 30px;
}

.cms-contact-social h5 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cms-contact-social .social-icons {
    display: flex;
    gap: 10px;
}

.cms-contact-social .social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a5d72;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cms-contact-social .social-icon-btn:hover {
    background: var(--frontend-primary, #C78A2C);
    color: #ffffff;
    border-color: var(--frontend-primary, #C78A2C);
    transform: translateY(-2px);
}

/* Contact Form Card Styles */
.cms-contact-form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 575px) {
    .cms-contact-form-card {
        padding: 24px;
    }
}

.cms-contact-form-card .form-title-box {
    margin-bottom: 30px;
}

.cms-contact-form-card .form-title-box h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px 0;
}

.cms-contact-form-card .form-title-box p {
    font-size: 14px;
    color: #7c8095;
    margin: 0;
}

/* Float Label Input Group */
.form-group-custom {
    position: relative;
    margin-bottom: 24px;
}

.form-group-custom input,
.form-group-custom textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 14.5px;
    color: #1a1a2e;
    background: #f8f9fc;
    border: 1px solid #e1e4ed;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group-custom textarea {
    resize: none;
}

.form-group-custom .icon-field {
    position: absolute;
    top: 17px;
    left: 16px;
    font-size: 18px;
    color: #8c93a8;
    transition: color 0.3s ease;
}

.form-group-custom label {
    position: absolute;
    top: 14px;
    left: 44px;
    font-size: 14.5px;
    color: #8c93a8;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Floating labels when focused or filled */
.form-group-custom input:focus ~ label,
.form-group-custom input:not(:placeholder-shown) ~ label,
.form-group-custom textarea:focus ~ label,
.form-group-custom textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    padding: 0 6px;
    background: #ffffff;
    color: var(--frontend-primary, #C78A2C);
    font-weight: 600;
}

.form-group-custom input:focus,
.form-group-custom textarea:focus {
    background: #ffffff;
    border-color: var(--frontend-primary, #C78A2C);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.form-group-custom input:focus ~ .icon-field,
.form-group-custom textarea:focus ~ .icon-field {
    color: var(--frontend-primary, #C78A2C);
}

/* Submit Button */
.cms-contact-submit-btn {
    background: var(--frontend-primary, #C78A2C);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cms-contact-submit-btn:hover {
    background: var(--frontend-primary-dark, #a36d1d);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.cms-contact-submit-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.cms-contact-submit-btn:hover i {
    transform: translate(3px, -2px);
}

/* Map Iframe Container */
.map-iframe-container {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 80px;
}

.map-iframe-container iframe {
    width: 100%;
    min-height: 450px;
    border: none !important;
    display: block;
}

/* ========================================================
   Modern References (Partners) Grid & Card Styles
   ======================================================== */
.cms-reference-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    cursor: default;
}

.cms-reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.cms-reference-logo-wrap {
    width: 100%;
    height: 100px;
    background: #f8f9fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cms-reference-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.cms-reference-card:hover .cms-reference-logo-wrap img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.cms-reference-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cms-reference-meta {
    margin-bottom: 8px;
}

.cms-reference-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--frontend-primary, #C78A2C);
    background: color-mix(in srgb, var(--frontend-primary, #C78A2C) 8%, transparent);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

.cms-reference-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.cms-reference-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #5a5d72;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.cms-reference-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #7c8095;
}

.cms-reference-footer span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cms-reference-footer span i {
    color: var(--frontend-primary, #C78A2C);
    font-size: 14px;
}

.cms-reference-footer a {
    color: #7c8095;
    text-decoration: none;
    transition: color 0.2s;
}

.cms-reference-footer a:hover {
    color: var(--frontend-primary, #C78A2C);
}

/* ========================================================
   Modern Testimonial Card Styles
   ======================================================== */
.cms-testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.cms-testimonial-card::after {
    content: "\f10d"; /* FontAwesome quote icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 24px;
    bottom: 24px;
    font-size: 60px;
    color: color-mix(in srgb, var(--frontend-primary, #C78A2C) 5%, transparent);
    pointer-events: none;
    z-index: 0;
}

.cms-testimonial-stars {
    display: flex;
    gap: 4px;
    color: #FFB800;
    font-size: 14px;
    margin-bottom: 16px;
    z-index: 1;
}

.cms-testimonial-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #5a5d72;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
    z-index: 1;
}

.cms-testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.cms-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.cms-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-testimonial-info {
    display: flex;
    flex-direction: column;
}

.cms-testimonial-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 2px 0;
}

.cms-testimonial-role {
    font-size: 12px;
    color: #7c8095;
    font-weight: 500;
}

/* ========================================================
   Contact Page Light Form & Icon Box Styles
   ======================================================== */
.contact-area2.bg-white {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 60px 40px !important;
}

@media only screen and (max-width: 575px) {
    .contact-area2.bg-white {
        padding: 40px 20px !important;
    }
}

.contact-area2.bg-white .form-control {
    background-color: #f8f9fc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1a1a2e !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    padding: 12px 20px !important;
}

.contact-area2.bg-white .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1) !important;
}

.contact-area2.bg-white .form-control::placeholder {
    color: #a0aec0 !important;
}

.contact-area2.bg-white textarea.form-control {
    min-height: 140px !important;
}

.icon-bx-wraper.style-5 {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    background-color: #f8f9fc;
    transition: all 0.3s ease;
}

.icon-bx-wraper.style-5.active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.icon-bx-wraper.style-5:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translateY(-3px);
}

.icon-bx-wraper.style-5 .icon-md {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.icon-bx-wraper.style-5.active .icon-md,
.icon-bx-wraper.style-5:hover .icon-md {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.icon-bx-wraper.style-5.active .icon-cell i,
.icon-bx-wraper.style-5:hover .icon-cell i {
    color: #ffffff !important;
}

.icon-bx-wraper.style-5.active a,
.icon-bx-wraper.style-5:hover a {
    color: #ffffff !important;
}

.icon-bx-wraper.style-5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.icon-bx-wraper.style-5 a:hover {
    color: var(--primary);
}

.icon-bx-wraper.style-5.active a:hover,
.icon-bx-wraper.style-5:hover a:hover {
    text-decoration: underline;
}

/* ========================================================
   Clients Swiper Outer Wrapper & Navigation Button Styles
   ======================================================== */
.clients-swiper-outer {
    position: relative;
    padding: 0 60px;
}

@media only screen and (max-width: 767px) {
    .clients-swiper-outer {
        padding: 0 40px;
    }
}

.swiper-button-next5,
.swiper-button-prev5 {
    width: 44px;
    height: 44px;
    background-color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.swiper-button-next5:hover,
.swiper-button-prev5:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

.swiper-button-next5 {
    right: 0px !important;
}

.swiper-button-prev5 {
    left: 0px !important;
}

.swiper-button-next5::after,
.swiper-button-prev5::after {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    background: none !important;
}

.swiper-button-next5::after {
    content: "\f054" !important; /* fa-chevron-right */
}

.swiper-button-prev5::after {
    content: "\f053" !important; /* fa-chevron-left */
}

/* Reference Card Zoom Hover */
.cms-ref-card {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-base);
}

.cms-ref-card img {
    transition: transform 0.6s cubic-bezier(.25,.8,.25,1) !important;
}

.cms-ref-card:hover img {
    transform: scale(1.06) !important;
}

/* Reference Card Square Layout */
.cms-project-card.cms-ref-card-square {
    aspect-ratio: 1 / 1 !important;
    min-height: auto !important;
    height: auto !important;
}

/* LightGallery Thumbnails Custom Styling */
.lg-outer .lg-thumb-item {
    width: 120px !important;
    height: 80px !important;
    border-radius: 6px !important;
    border: 2px solid transparent !important;
    transition: border-color 0.25s ease !important;
}
.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
    border-color: var(--primary) !important;
}
.lg-outer .lg-thumb-item img {
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}
.lg-outer .lg-toogle-thumb {
    background-color: #0d0d0d !important;
    color: #fff !important;
}




