/* style.css (appenditions for sub-hero, breadcrumbs, quote form & dropzone)
   Use this file to REPLACE the previous one so all pages share the same styles. */
/* ——— The file below contains EVERYTHING from earlier final + the new parts. ——— */

/* ........................... BRAND / GLOBAL ........................... */
:root {
    --brand: #F27C2B;
    --brand-600: #E56F22;
    --deep: #0E1329;
    --muted: #6B7280;
    --bg-soft: #F6F7F9;
    --card-gray: #6F6F6F;
    --footer-gray: #6F6F6F;
    --shadow: 0 14px 30px rgba(0, 0, 0, .08)
}

* {
    box-sizing: border-box
}

html,
body {
    scroll-behavior: smooth
}

body {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--deep);
    overflow-x: hidden
}

img {
    max-width: 100%;
    display: block
}

.text-deep {
    color: var(--deep) !important
}

.text-orange {
    color: var(--brand) !important
}

.text-white-70 {
    color: rgba(255, 255, 255, .7) !important
}

.text-white-75 {
    color: rgba(255, 255, 255, .82) !important
}

.bg-soft {
    background: var(--bg-soft) !important
}

.fw-extrabold {
    font-weight: 800
}

.section {
    padding: 70px 0;
    position: relative;
    overflow-x: hidden
}

@media (min-width:992px) {
    .py-6 {
        padding-top: 92px !important;
        padding-bottom: 92px !important
    }
}

/* ........................... HEADER ........................... */
.logo-mark {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--brand) 0%, #FFC58E 100%);
    display: inline-block;
    border-radius: 4px
}

.logo-text {
    letter-spacing: .1rem
}

.navbar .nav-link {
    font-weight: 400 !important;
    color: #40465a
}

.navbar .nav-link:hover {
    color: var(--brand)
}

.navbar .nav-link.active {
    color: var(--brand);
    position: relative
}

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: -10px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand)
}

.btn-ghost {
    background: transparent;
    border: 0;
    color: #40465a;
    font-weight: 400 !important;
    font-size: 14px !important;
}

/* ........................... BUTTONS ........................... */
.btn-cta {
    padding: .7rem 1.25rem
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-600);
    --bs-btn-hover-border-color: var(--brand-600);
    --bs-btn-focus-shadow-rgb: 242, 124, 43
}

/* Override Bootstrap's blue colors with orange */
.text-primary {
    color: var(--brand) !important;
}

.bg-primary {
    background-color: var(--brand) !important;
}

.btn-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-outline-primary {
    color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-outline-primary:hover {
    background-color: var(--brand) !important;
    color: #fff !important;
}

.btn-link {
    color: var(--brand) !important;
}

.link-primary {
    color: var(--brand) !important;
}

.border-primary {
    border-color: var(--brand) !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--brand) !important;
}

.form-check-input:checked {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.page-link {
    color: var(--brand) !important;
}

.page-item.active .page-link {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.nav-pills .nav-link.active {
    background-color: var(--brand) !important;
}

.progress-bar {
    background-color: var(--brand) !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-hover-color: #fff
}

.link-orange {
    color: var(--brand);
    text-decoration: none;
    border-bottom: 2px solid rgba(242, 124, 43, .35);
    padding-bottom: 2px
}

.link-orange:hover {
    color: var(--brand-600)
}

/* ........................... HERO ........................... */
.bg-hero {
    background: linear-gradient(#F3F4F6 0%, #F8F9FB 100%)
}

.hero-chip {
    height: 18px;
    min-width: 150px
}

.hero-lines a {
    color: #768199;
    text-decoration: underline
}

.hero-img {
    max-height: 460px;
    object-fit: contain
}

/* ........................... SUB HERO (inner pages) ........................... */
.sub-hero {
    padding: 56px 0;
    background: #6f6f6f;
    position: relative;
    overflow: hidden;
    height: 25vh;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url(images/Untitled-1.svg);
    /*background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url(images/layers_background.webp);*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}

.breadcrumb {
    --bs-breadcrumb-divider: "›"
}

.breadcrumb * ::before{
    color: white !important;
}

.breadcrumb-light .breadcrumb-item a {
    color: #fff;
    text-decoration: none
}

.breadcrumb-light .breadcrumb-item.active {
    color: #fff
}

/* ........................... WHY / CHIPS ........................... */
.bg-why {
    background: var(--card-gray)
}

.why-list i {
    color: var(--brand)
}

.chip {
    background: #fff;
    border-radius: .75rem;
    padding: .7rem 1rem;
    font-weight: 600;
    color: #3a3a3a;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: var(--shadow)
}

.hero-img-why {
    border-radius: 18px
}

/* ........................... SERVICES PILLS ........................... */
.services-head {
    position: relative
}

.sv-accent {
    height: 3px;
    width: 260px;
    background: var(--brand);
    border-radius: 2px;
    margin-top: .75rem;
    margin-bottom: .75rem;
    margin-inline-start: 1rem
}

.services-pills .nav-link {
    background: #fff;
    border: 1px solid #EAEAEA;
    color: #0E1329;
    border-radius: 999px;
    padding: .7rem 1.15rem;
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(14, 19, 41, .05);
    transition: .2s ease
}

.services-pills .nav-link:hover {
    transform: translateY(-2px)
}

.services-pills .nav-link.active {
    color: #fff;
    background: #0E1329;
    border-color: #0E1329;
    box-shadow: 0 10px 24px rgba(14, 19, 41, .18), 0 0 0 .2rem rgba(242, 124, 43, .35)
}

.service-img {
    /* min-height: 440px; */
    object-fit: cover;
    border-radius: 14px;
    aspect-ratio: 4/3 !important;
}

/* ........................... ACHIEVEMENTS ........................... */
.stat-card {
    background: var(--card-gray);
    color: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow)
}

.stat-card i {
    color: var(--brand);
    font-size: 28px
}

/* ........................... TECHNOLOGIES ........................... */
.tech-card {
    background: var(--card-gray);
    border-radius: 22px;
    color: #fff;
    margin-top: 60px; /* Space for the protruding image on desktop */
    padding-top: 40px; /* Additional padding to accommodate the image */
}

.tech-image-container {
    position: absolute; /* Desktop: image protrudes above card */
    top: -130px; /* Move image up to protrude from the card */
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* Slightly smaller than card width */
    z-index: 2;
}

.tech-card .tech-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    background: #545454;
}

.tech-content {
    position: relative;
    z-index: 1;
    margin-top:50px !important; /* Desktop: content spacing below image */
    padding-top: 20px; /* Additional padding for better spacing */
}
@media screen and (max-width: 576px) {
    /* Mobile: image sits inside card with clean spacing */
    .tech-card {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .tech-image-container {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        z-index: auto !important;
        margin: 0 !important;
        aspect-ratio: 4/3;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 16px;
        margin-bottom: 16px; /* Space between image and text */
    }
    .tech-card .tech-image {
        height: 100% !important;
        object-fit: contain !important;
        background: none !important;
        box-shadow: none !important;
    }
    .tech-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

.tech-card .btn {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand)
}

/* ........................... INDUSTRIALS SCROLLER ........................... */
.industry-img {
    height: 260px;
    object-fit: cover
}

.snap-row {
    scroll-snap-type: x proximity
}

.snap-row>[class*="col"] {
    scroll-snap-align: start
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand);
    border: 0;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: var(--shadow)
}

/* ........................... PROJECTS SWIPER SLIDER ........................... */
.projects-slider-container {
    position: relative;
    padding: 0 56px;
}

.projects-swiper {
    position: relative;
    height: 460px;
    overflow: visible;
}

.projects-swiper .swiper-wrapper {
    align-items: center;
}

.projects-swiper .swiper-slide {
    width: min(900px, 92vw);
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.project-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.project-link:hover .project-img {
    transform: scale(1.02);
}

/* Swiper navigation buttons */
.projects-prev,
.projects-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    border-radius: 0.5rem !important;
    background: var(--brand) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 5;
    margin-top: 0 !important;
}

.projects-prev {
    left: -20px;
}

.projects-next {
    right: -20px;
}

.projects-prev:after,
.projects-next:after {
    display: none;
}

.projects-prev i,
.projects-next i {
    font-size: 14px;
}

/* Swiper slide effects */
.projects-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 3;
    filter: none;
}

.projects-swiper .swiper-slide-prev,
.projects-swiper .swiper-slide-next {
    transform: scale(0.92);
    opacity: 0.45;
    z-index: 2;
    filter: saturate(0.8) blur(0.2px);
}

.projects-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    transform: scale(0.88);
    opacity: 0.2;
    z-index: 1;
    filter: blur(0.6px);
}

@media (max-width: 992px) {
    .projects-swiper {
        height: 400px;
    }

    .projects-swiper .swiper-slide {
        height: 360px;
    }
}

/* ........................... HOW ........................... */
.how-card {
    background: var(--card-gray);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: var(--shadow)
}

.how-num {
    position: absolute;
    inset-inline-start: 16px;
    top: 8px;
    font-size: 56px;
    font-weight: 800;
    opacity: .25
}

.how-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #8a8a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 16px
}

.how-icon i {
    font-size: 26px;
    color: #fff
}

/* ........................... TESTIMONIALS / BLOGS ........................... */
.testimonial {
    background: var(--card-gray);
    border-radius: 18px;
    padding: 24px;
    color: #fff;
    box-shadow: var(--shadow)
}

.testimonial .quote {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #eee
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover
}

/* ........................... CTA ........................... */
.cta-bar {
    background: var(--brand)
}

/* ........................... INPUTS ........................... */
.form-control {
    padding: .95rem 1rem;
    border-radius: .6rem;
    border: 1px solid #E1E4EA
}

.form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(242, 124, 43, .15);
    border-color: var(--brand)
}

/* ........................... QUOTE FORM ........................... */
.quote-form .drop-wrap {
    display: flex;
    flex-wrap: wrap
}

.drop-box {
    width: 92px;
    height: 92px;
    border: 1px dashed #cfd3de;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: .2s
}

.drop-box i {
    font-size: 26px;
    color: #9aa1b2
}

.drop-box .label {
    font-size: .72rem;
    color: #6b7280
}

.drop-box:hover {
    transform: translateY(-2px)
}

.drop-box.uploaded {
    border-style: solid
}

.drop-box.uploaded .label {
    color: var(--brand)
}

/* ........................... FOOTER ........................... */
.site-footer {
    background: var(--footer-gray);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden
}

.site-footer .footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: .75rem
}

.site-footer .footer-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.site-footer .footer-list li {
    margin: .35rem 0
}

.site-footer .footer-list a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none
}

.site-footer .footer-list a:hover {
    color: #fff
}

.footer-hr {
    border-top: 1px solid rgba(255, 255, 255, .2);
    margin: 24px 0
}

.social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8a8a8a;
    color: #fff;
    text-decoration: none
}

.social:hover {
    background: #9a9a9a
}

/* ........................... PARTNERS & FLOATING ........................... */
.grayscale {
    filter: grayscale(100%);
    opacity: .85;
    transition: .2s
}

.grayscale:hover {
    filter: none;
    opacity: 1
}

.whatsapp,
.to-top {
    position: fixed;
    right: 18px;
    width: 52px;
    height: 52px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 1040;
    transition: all 0.3s ease;
}

.whatsapp {
    background: #25D366;
    border: 0;
    animation: whatsappPulse 2s infinite;
}

.whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Phone Icon Styles */
.phone-icon {
    position: fixed;
    left: 18px;
    width: 52px;
    height: 52px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 1040;
    color: #fff;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #F27C2B 0%, #FF6B35 100%);
    border: 0;
    animation: phonePulse 2s infinite;
}

.phone-icon:hover {
    background: linear-gradient(135deg, #e66a1a 0%, #e55a2b 100%);
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 25px rgba(242, 124, 43, 0.6);
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 124, 43, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.to-top {
    right: 84px;
    display: none
}

/* ........................... SECTION TITLE ........................... */
.section-title {
    font-weight: 800;
    letter-spacing: .4px;
    position: relative;
    display: inline-block;
    margin-bottom:30px
}

.lead{
    margin-top: 10px !important;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-53%);
    bottom: -20px;
    width: 100%;
    height: 4px;
    margin: 7px;
    background: var(--brand);
    border-radius: 2px
}

/* ........................... HOVER / MICRO ANIMS ........................... */
.hover-raise {
    transition: transform .2s ease, box-shadow .2s
}

.hover-raise:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12)
}

.card-hover {
    transition: transform .25s ease, box-shadow .25s ease
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .16)
}

.floaty {
    animation: floaty s ease-in-out infinite
}

@keyframes floaty {

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

    50% {
        transform: translateY(-10px)
    }
}

/* ........................... REVEAL ON SCROLL ........................... */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease
}

.reveal.show {
    opacity: 1;
    transform: none
}

.fade-left {
    transform: translateX(-20px)
}

.fade-right {
    transform: translateX(20px)
}

.fade-down {
    transform: translateY(-20px)
}

/* ........................... DECORATIVE SHAPES ........................... */
.shape {
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 0;
    opacity: .9
}

.shape.dots {
    width: 22px;
    height: 22px;
    background: radial-gradient(var(--brand) 1.2px, transparent 1.2px) 0 0/4px 4px;
    border-radius: 2px;
    transform: rotate(45deg)
}

.shape.caret {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid var(--brand)
}

.shape.cross {
    width: 14px;
    height: 14px;
    position: absolute
}

.shape.cross::before,
.shape.cross::after {
    content: "";
    position: absolute;
    background: var(--brand);
    width: 14px;
    height: 2px;
    left: 0;
    top: 6px
}

.shape.cross::after {
    transform: rotate(90deg)
}

.shape.ring {
    width: 12px;
    height: 12px;
    border: 3px solid var(--brand);
    border-radius: 50%
}

.float-slow {
    animation: floaty 9s ease-in-out infinite
}

/* ........................... FAQ SECTION STYLES ........................... */
.faq-illustration-container {
    padding: 2rem;
}

.faq-content h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 1rem;
}

.faq-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 2rem;
}

.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 1rem;
}

.accordion-button {
    font-weight: 500;
    color: var(--deep);
    padding: 1.25rem 1.5rem;
    border: none;
    background-color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--brand);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: #f8f9fa;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .faq-content h2.section-title {
        font-size: 2rem;
    }

    .faq-content h3 {
        font-size: 1.5rem;
    }

    .faq-illustration-container {
        padding: 1rem;
        margin-bottom: 2rem;
    }
}

/* ........................... RECENT POSTS WIDGET ........................... */
.recent-post {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.recent-post:hover {
    background: #fff !important;
    border-color: rgba(242, 124, 43, 0.1) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.recent-post-image img {
    transition: transform 0.3s ease;
}

.recent-post:hover .recent-post-image img {
    transform: scale(1.05);
}

.hover-link {
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: var(--brand) !important;
}

.recent-post-content h6 a {
    transition: all 0.3s ease;
}

.recent-post-content h6 a:hover {
    color: var(--brand) !important;
}

/* Responsive adjustments for recent posts */
@media (max-width: 768px) {
    .recent-post {
        flex-direction: column;
        text-align: center;
    }

    .recent-post-image {
        margin-bottom: 1rem !important;
        margin-right: 0 !important;
    }

    .recent-post-image img {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .recent-post {
        padding: 1rem !important;
    }

    .recent-post-content h6 {
        font-size: 0.95rem;
    }

    .recent-post-content .small {
        font-size: 0.8rem !important;
    }
}

/* ====== Consultation Widget Styles ====== */
.consultation-widget {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    height: fit-content;
    position: relative;
}

.consultation-content {
    position: relative;
    z-index: 3;
    height: 100%;
}

.consultation-text-area {
    width: 60%;
    padding-top: 10px;
}

.consultation-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 20px !important;
}

.consultation-dots {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.4) 2px, transparent 2px);
    background-size: 10px 10px;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.consultation-btn {
    background-color: rgba(255,255,255,0.95);
    color: #ff6b35 !important;
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.consultation-btn:hover {
    background-color: white;
    color: #ff6b35 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.consultation-phone {
    margin-top: 15px;
}

.consultation-phone a {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.consultation-phone a:hover {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
}

.consultant-image-container {
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.consultant-img {
    width: 100%;
    max-width: 160px;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.consultation-circle-small {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    bottom: 60px;
    left: 15px;
    z-index: 1;
}

/* Responsive Design for Consultation Widget */
@media (max-width: 768px) {
    .consultation-widget {
        min-height: fit-content;
    }

    .consultation-text-area {
        width: 55%;
    }

    .consultant-image-container {
        width: 45%;
    }

    .consultant-img {
        max-width: 130px;
    }

    .consultation-title {
        font-size: 1.6rem;
    }

    .consultation-phone a {
        font-size: 1rem;
    }

    .consultation-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .consultation-widget {
        min-height: fit-content;
    }

    .consultation-text-area {
        width: 50%;
    }

    .consultant-img {
        max-width: 110px;
    }

    .consultation-title {
        font-size: 1.4rem;
        margin-bottom: 15px !important;
    }

    .consultation-dots {
        width: 50px;
        height: 50px;
        background-size: 8px 8px;
    }

    .consultation-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .consultation-phone a {
        font-size: 0.95rem;
    }
}







/* Image Popup Styles */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-popup-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-popup-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-popup-img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-popup-overlay.active .image-popup-img {
    transform: scale(1);
}

.image-popup-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    min-height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-popup-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-popup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 20px;
}

.image-popup-prev,
.image-popup-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.image-popup-prev:hover,
.image-popup-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.image-popup-prev {
    left: 20px;
}

.image-popup-next {
    right: 20px;
}

/* Prevent body scroll when popup is open */
body.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-popup-container {
        max-width: 100vw;
        max-height: 100vh;
        padding: 20px;
    }

    .image-popup-img {
        max-height: 90vh;
    }

    .image-popup-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .image-popup-nav {
        padding: 0 10px;
    }

    .image-popup-prev,
    .image-popup-next {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .image-popup-prev {
        left: 10px;
    }

    .image-popup-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .image-popup-container {
        padding: 15px;
    }

    .image-popup-img {
        max-height: 85vh;
    }

    .image-popup-close {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .image-popup-prev,
    .image-popup-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation for image change */
.image-popup-img.changing {
    opacity: 0;
    transform: scale(0.9);
}

.image-popup-img.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Custom scrollbar for popup content if needed */
.image-popup-overlay::-webkit-scrollbar {
    display: none;
}

.image-popup-overlay {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Focus styles for accessibility */
.image-popup-close:focus,
.image-popup-prev:focus,
.image-popup-next:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .image-popup-overlay {
        background: rgba(0, 0, 0, 0.95);
    }

    .image-popup-close,
    .image-popup-prev,
    .image-popup-next {
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .image-popup-overlay,
    .image-popup-img,
    .image-popup-close,
    .image-popup-prev,
    .image-popup-next {
        transition: none;
    }

    .spinner {
        animation: none;
    }
}


@media (max-width: 900px) {
    .phone_card{
        margin-top: 130px;
    }
}

/* ================== PRODUCT GALLERY CONTROLS ================== */
#productGalleryCarousel {
    position: relative;
    overflow: visible !important;
}

#productGalleryCarousel .carousel-control-prev,
#productGalleryCarousel .carousel-control-next {
    opacity: 1;
    width: 3rem;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Push arrows outside the image on desktop */
/* #productGalleryCarousel .carousel-control-prev { left: -2.5rem; } */
/* #productGalleryCarousel .carousel-control-next { right: -2.5rem; } */

#productGalleryCarousel .carousel-control-prev-icon,
#productGalleryCarousel .carousel-control-next-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    background-size: 40% 40%;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(33%) sepia(79%) saturate(478%) hue-rotate(176deg) brightness(92%) contrast(92%);
}

#productGalleryCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#productGalleryCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Keep arrows inside on mobile */
@media (max-width: 991.98px) {
    #productGalleryCarousel .carousel-control-prev { left: 8px; }
    #productGalleryCarousel .carousel-control-next { right: 8px; }
}

/* ================== SELECTION SUMMARY ================== */
#selectedOptions {
    background: #f8f9fa;
    border-color: #e9ecef;
}

#selectedOptions .badge {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
}

#selectedOptions .badge.bg-primary-soft {
    background: rgba(13, 110, 253, 0.12);
    color: var(--brand);
    border: 1px solid rgba(13, 110, 253, 0.25);
}

#selectedOptions .badge.bg-success-soft {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, 0.25);
}

/* ........................... MOBILE HEADER IMPROVEMENTS ........................... */
@media (max-width: 991.98px) {
    /* تحسين زر القائمة المحمولة */
    .mobile-menu-btn {
        border: 2px solid var(--brand);
        border-radius: 8px;
        padding: 8px 12px;
        background: transparent;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus {
        border-color: var(--brand);
        background: transparent;
        box-shadow: none;
    }

    .mobile-menu-btn .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F27C2B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 20px;
        height: 20px;
    }

    /* تحسين قائمة التنقل المحمولة */
    .mobile-nav-menu {
        background: white;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(242, 124, 43, 0.1);
    }

    .mobile-nav-list {
        padding-top: 20px;
        padding-bottom: 0;
    }

    .mobile-nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .mobile-nav-item:last-child {
        border-bottom: none;
    }

    .mobile-nav-item .nav-link {
        padding: 15px 25px;
        font-size: 16px;
        font-weight: 500;
        color: var(--deep);
        transition: all 0.3s ease;
        border-radius: 0;
        position: relative;
    }

    .mobile-nav-item .nav-link:hover {
        background: rgba(242, 124, 43, 0.05);
        color: var(--brand);
        padding-right: 35px;
    }

    .mobile-nav-item .nav-link.active {
        color: var(--brand);
        font-weight: 600;
        background: transparent;
    }

    .mobile-nav-item .nav-link.active::after {
        display: none;
    }

    /* تحسين القوائم المنسدلة للأجهزة المحمولة */
    .mobile-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: rgba(242, 124, 43, 0.02);
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .mobile-dropdown-item {
        padding: 12px 40px;
        font-size: 14px;
        color: var(--muted);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .mobile-dropdown-item:hover {
        background: rgba(242, 124, 43, 0.08);
        color: var(--brand);
        padding-right: 50px;
    }

    .mobile-dropdown-item:last-child {
        border-bottom: none;
    }

    /* تحسين الشعار للأجهزة المحمولة */
    .navbar-brand {
        font-size: 18px;
    }

    .logo-mark {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    /* تحسينات إضافية للشاشات الصغيرة جداً */
    .mobile-nav-item .nav-link {
        font-size: 15px;
        padding: 12px 20px;
    }

    .mobile-dropdown-item {
        padding: 10px 30px;
        font-size: 13px;
    }

    .navbar-brand {
        font-size: 16px;
    }

    .mobile-menu-btn {
        padding: 6px 10px;
    }

    .mobile-nav-menu {
        margin-top: 10px;
    }

    /* تحسين ترتيب عناصر اللغة وزر Get Quote للموبايل فقط */
    .mobile-nav-menu .mobile-controls {
        flex-direction: column !important;
        padding: 15px 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 10px;
    }

    .mobile-nav-menu .mobile-controls .dropdown {
        width: 100%;
        text-align: center;
    }

    .mobile-nav-menu .mobile-controls .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}
/* ================== ORDER BUTTON (WHATSAPP) ================== */
.btn-order {
    background: linear-gradient(135deg, var(--brand), var(--brand-600));
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-order:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.btn-order i {
    font-size: 1rem;
}
.btn-order.disabled,
.btn-order[aria-disabled='true'] {
    background: #c7c7c7;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.75;
}
/* ---- Product Gallery Carousel Arrows (LTR/RTL) ---- */
#productGalleryCarousel .carousel-control-prev,
#productGalleryCarousel .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1; /* keep visible */
}

#productGalleryCarousel .carousel-control-prev { left: 12px; }
#productGalleryCarousel .carousel-control-next { right: 12px; }

html[lang="ar"] #productGalleryCarousel .carousel-control-prev { right: 12px; left: auto; }
html[lang="ar"] #productGalleryCarousel .carousel-control-next { left: 12px; right: auto; }

#productGalleryCarousel .carousel-control-prev-icon,
#productGalleryCarousel .carousel-control-next-icon { display: none; }

#productGalleryCarousel .carousel-control-prev,
#productGalleryCarousel .carousel-control-next {
  background: transparent;
  border: none;
}

#productGalleryCarousel .carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  box-shadow: 0 6px 18px var(--shadow);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#productGalleryCarousel .carousel-arrow i { font-size: 1.1rem; }

#productGalleryCarousel .carousel-control-prev:hover .carousel-arrow,
#productGalleryCarousel .carousel-control-next:hover .carousel-arrow {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.04);
}

@media (max-width: 576px) {
  #productGalleryCarousel .carousel-control-prev,
  #productGalleryCarousel .carousel-control-next { width: 48px; height: 48px; }
  #productGalleryCarousel .carousel-arrow { width: 40px; height: 40px; }
}
/* ---- Arabic-only font: Noto Kufi Arabic ---- */
/* Embed font-face (avoids <link> in head) and apply only when page lang is Arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notokufiarabic/v27/CSRk4ydQnPyaDxEXLFF6LZVLKrodrOYFFlKp.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notokufiarabic/v27/CSRk4ydQnPyaDxEXLFF6LZVLKrodrJ8FFlKp.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notokufiarabic/v27/CSRk4ydQnPyaDxEXLFF6LZVLKrodrI0FFlKp.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}

/* Apply Arabic font only when locale is Arabic */
html[lang="ar"] body,
html[lang="ar"] {
  font-family: 'Noto Kufi Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Improve mobile horizontal slider scrolling for industries */
#industriesRow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
