/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- GENERAL --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
@font-face {
    font-family: 'Noto Sans';
    src: url('../../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playpen Sans Arabic';
    src: url('../../fonts/PlaypenSansArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../../fonts/RobotoMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../../fonts/Tajawal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zain';
    src: url('../../fonts/Zain-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: amazing;
    src: url('../../fonts/amazing.ttf');
    src: url('../../fonts/amazing.ttf') format('embedded-opentype'),
    url('../../fonts/amazing.ttf') format('ttf'),
    url('../../fonts/amazing.ttf') format('truetype'),
    url('../../fonts/amazing.ttf#league_spartanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: wonderful;
    src: url('../../fonts/wonderful.otf');
    src: url('../../fonts/wonderful.otf') format('embedded-opentype'),
    url('../../fonts/wonderful.otf') format('otf'),
    url('../../fonts/wonderful.otf') format('truetype'),
    url('../../fonts/wonderful.otf#league_spartanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: kufi;
    src: url('../../fonts/NotoKufiArabic-VariableFont_wght.ttf');
    src: url('../../fonts/NotoKufiArabic-VariableFont_wght.ttf') format('embedded-opentype'),
    url('../../fonts/NotoKufiArabic-VariableFont_wght.ttf') format('ttf'),
    url('../../fonts/NotoKufiArabic-VariableFont_wght.ttf') format('truetype'),
    url('../../fonts/NotoKufiArabic-VariableFont_wght.ttf#league_spartanregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #f66464;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #208CCC !important;
    --bs-secondary: #f66464 !important;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #f66464;
    --bs-light: #F9F8F7;
    --bs-dark: #2B2C2E;
    --bg-primary: #208CCC !important;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --main-font: Nunito !important;
    --main-color: #231F55;
    --second-color: #5C5F93;
    --dark-bg: #1a1a1a;
    --second-font: amazing !important;
    --arabic-font: Tajawal !important;
    --primary: #2b2d42;
    --accent: #8d99ae;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
    --sections-bg: #efefef;
    --primary-color: #0d6efd;
    --transition-speed: 0.4s;
    --dir-factor: 1;
    --dir-mod: 1;
    --primary-glow: rgba(0, 123, 255, 0.1);
    --card-bg: #ffffff;
    --accent-color: #ff4757;
    --text-muted: #888;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --brand-overlay: rgba(35, 31, 85, 0.95);
    --shadow-default: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition-fast: all 0.3s ease;
    --transition-slow: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* thumb */
::-webkit-scrollbar-thumb {
    border-radius: 6px;
}

* {
    scrollbar-width: thin;
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--arabic-font), serif !important;
    background-color: #FDFDFD;
    color: var(--bs-body-color);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    max-width: clamp(1140px, 50vw, 1800px);
}

/* GSAP Targets */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(70px);
}

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

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.text-justify {
    text-align: justify;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

a {
    color: #535353;
    text-decoration: none;
}

a:hover {
    color: var(--main-color);
}

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

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

.list-unstyled {
    text-align: right !important;
    padding: 0;
}

.btn-explode {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-radius: 12px;
    color: #ffffff;
    background-color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 1s ease;
    height: 100%;
}

.btn-explode:hover {
    color: rgba(255, 255, 255, 0.8);
    background: var(--second-color);
    transition: all 1s ease;
    z-index: 2222;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-explode:hover .arrow-slide {
    position: relative;
    animation: slidingArrow 1s infinite;
}

@keyframes slidingArrow {
    0% {
        transform: translateX(0px)
    }
    50% {
        transform: translateX(5px)
    }
    100% {
        transform: translateX(15px)
    }
}

.btn-modern {
    text-decoration: none;
    color: #ffffff;
    padding: 8px 15px;
    background: var(--second-color);
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
}

.btn-modern:hover {
    background: var(--main-color);
    color: white;
    padding-left: 30px;
    transition: all 1s ease;
}

.btn-modern:hover .arrow-icon {
    color: var(--main-color);
    transition: all 1s ease;
}

.btn-modern:hover .icon-circle {
    margin-right: 20px;
    color: var(--main-color);
    transition: all 1s ease;
}

.sub-section-title-icons {
    color: var(--main-color);
    margin-right: 8px;
}

.section-label-title {
    color: rgba(112, 112, 112, 0.5);
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
    animation: toRight 1s ease;
}

.section-label-icons {
    color: #5596f6;
}

@keyframes toRight {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- TOP NAVBAR -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.topbar {
    background-color: #5C5F93;
    z-index: 1050 !important; /* Standard high z-index */
    position: relative;
    height: 48px;
}

.topbar .map-icon {
    font-size: 14px;
}

.topbar .address {
    font-size: clamp(0.8rem, 0.75vw, 1.6rem) !important;
    margin-left: 5px;
}

.topbar .address i {
    font-size: clamp(0.5rem, 0.85vw, 1.6rem) !important;
}

.address-separator {
    margin: 0 10px;
    opacity: 0.6;
}

.socials-links {
    color: rgb(255, 255, 255);
    transition: 1s;
}

.socials-links:hover i {
    color: rgba(255, 255, 255, 0.95);
    transform: scale(1.2);
    transition: 1s;
}

.header-email {
    color: #ffffff;
    transition: 1s;
}

.header-email:hover {
    color: rgba(255, 255, 255, 0.5);
    transition: 1s;
}

/*.facebook-color:hover {*/
/*    color: #1877F2;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.messenger-color:hover {*/
/*    color: #00B2FF;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.twitter-color:hover {*/
/*    color: #000000;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.linkedin-color:hover {*/
/*    color: #0A66C2;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.youtube-color:hover {*/
/*    color: #FF0000;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.instagram-color:hover {*/
/*    color: #E4405F;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.tiktok-color:hover {*/
/*    color: #000000;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*.snapchat-color:hover {*/
/*    color: #FFFC00;*/
/*    border-radius: 50%;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- MAIN NAVBAR -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
#mainNavbar {
    z-index: 9999;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 45px;
    transition: top 0.3s ease, background 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

#mainNavbar.fixed-top {
    top: 0;
    background: rgba(255, 255, 255, 0.5);
}

#mainNavbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, .12);
    padding: 10px 0;
    top: 0 !important;
}

/* Nav Links Styling */
#mainNavbar .nav-link {
    padding: 10px 40px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
    color: var(--main-color) !important;
}

#mainNavbar .contact-number {
    color: var(--main-color) !important;
    font-weight: 600;
}

.quotation-btn {
    font-size: 12px !important;
    font-weight: 600 !important;
}

#mainNavbar.scrolled .nav-link,
#mainNavbar.scrolled .contact-number {
    color: #515154;
    padding: 20px;
    transition: all 2s ease-in-out;
}

.contact-icon {
    color: var(--main-color);
    font-size: 18px;
    padding-right: 10px;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--main-color) !important;
}

.logo-white, .logo-black {
    transition: 0.3s ease;
    max-height: 50px;
    width: auto;
}

.logo-black {
    display: none;
}

#mainNavbar.scrolled .logo-white {
    display: none;
}

#mainNavbar.scrolled .logo-black {
    display: block;
}

/* Base Style */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: var(--main-color) !important;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 2s ease;
    margin-right: 5px;
}

/* Remove default Bootstrap icon bg */
.navbar-toggler-icon {
    background: none !important;
}

/* Icons */
.navbar-toggler i {
    color: #fff;
    font-size: 22px;
}

/* Default: show hamburger */
.toggler-close {
    display: none
}

/* When navbar is open → show X */
.navbar-toggler[aria-expanded="true"] .toggler-open {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .toggler-close {
    display: inline-block;
    transition: all 2s ease;
}

/* Keep same on hover/focus */
.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
    background: var(--second-color) !important;
    box-shadow: none !important;
    transition: all 2s ease;
}

.arabic {
    font-family: var(--arabic-font), sans-serif;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- LENIS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important; /* Force disable native smooth scroll to let Lenis handle it */
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* --------------- SCROLL CUE ---------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.all-scroll-cue {
    position: relative;
    width: 34px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--main-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.all-scroll-cue:hover {
    background: rgba(54, 54, 54, 0.64);
    transition: all 0.7s ease;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* --------------- PARALLAX SEPARATORS ---------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.parallax-sep {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sep-image-1 {
    background-image: url('../images/first-separator.jpg');
}

.other-scroll-cue {
    position: absolute;
    left: 50%;
    top: 345px;
    transform: translateX(-50%);
    width: 34px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.other-scroll-cue:hover {
    background: rgba(180, 180, 180, 0.8);
    transition: all 0.7s ease;
}

.other-scroll-chevron {
    color: var(--main-color);
}

.parallax-img {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- SLIDERS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.hero-slider {
    height: 100vh;
    position: relative;
}

.slider-title {
    color: #ffffff;
    font-size: 50px;
    text-shadow: 0 5px 12px rgba(0, 0, 0, 0.9);
    will-change: transform, opacity;
    text-align: right;
}

.slider-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    text-shadow: 0 5px 12px rgba(0, 0, 0, 0.9);
    will-change: transform, opacity;
    text-align: justify;
}

@media (min-width: 2500px) {
    .slider-title {
        color: #ffffff;
        font-size: 50px;
        text-shadow: 0 5px 12px rgba(0, 0, 0, 0.9);
        will-change: transform, opacity;
        text-align: right;
    }

    .slider-description {
        font-size: 25px;
    }
}

/* Ensure slides don't stack visually during the fade */
.swiper-slide:not(.swiper-slide-active) .slider-text {
    opacity: 0;
    visibility: hidden;
}

/* Add a subtle zoom-in effect to the background image while viewing */
.swiper-slide-active .hero-bg {
    animation: slowZoom 10s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.swiper-slide {
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(163, 158, 231, 0.4); /* light overall */
}

.hero-overlay {
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.5),
        rgba(110, 110, 110, 0.37),
        rgba(255, 255, 255, 0.24)
    );
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    width: 34px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: var(--main-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.hero-scroll-cue:hover {
    background: rgba(54, 54, 54, 0.64);
    transition: all 0.7s ease;
}

.scroll-chevron {
    color: #ffffff;
    font-size: 20px;
    background-color: transparent !important;
}

.slider-btn {
    display: inline-block;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- FEATURES --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.features-wrapper {
    margin-top: -130px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.feature-card:hover {
    background: rgb(232, 232, 232);
    transition: all 0.5s ease;
}

.feature-card:hover img {
    animation: swing 1s ease-in-out;
    transition: all 0.5s ease;
    transform-origin: top center;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- ABOUT --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
#about-section {
    z-index: 1 !important;
}

.about-description {
    text-align: justify;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PRODUCTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f0f0f5;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Image Wrapper */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5; /* Ensures uniform image sizes */
}

/* Dark Overlay on Hover */
.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover .product-image-wrapper::after {
    opacity: 1;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

/* Hover Action Buttons */
.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    opacity: 0;
    z-index: 2;
    display: flex;
    gap: 12px;
    transition: all 0.4s ease;
}

.product-card:hover .product-actions {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
}

.action-btn:hover {
    background: var(--second-color);
    color: #ffffff;
    transform: scale(1.1);
}

/* Product Details */
.product-details {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #5C5F93;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    display: block;
}

/* Bottom Section (Title & Button) */
.product-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
    min-height: 20px;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- TESTIMONIALS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.testimonial-description {
    font-size: 20px;
    text-align: justify;
}

.testimonial-quote-left {
    position: relative;
    top: 30px;
    left: -400px;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.49);
}

.testimonial-quote-right {
    position: relative;
    top: -50px;
    left: 400px;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.49);
}

.swiper-pagination {
    display: none;
}

.testimonial-bg {
    height: 450px; /* Adjust height */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-bg-img {
    background-image: url('../images/testimonial-bg.jpg');
}

.testimonial-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- CATEGORIES --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.category-accordion {
    display: flex;
    height: 500px;
    gap: 10px;
}

.category-member {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    transition: flex 2s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    border: solid 1px rgba(92, 95, 147, 0.2);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.category-member:hover {
    flex: 2;
}

.category-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--main-color) !important;
    opacity: 0;
    background: rgba(159, 157, 157, 0.91);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: all 1s ease;
}

.category-member:hover .category-info {
    opacity: 1;
    transition: all 2s ease;
    cursor: pointer;
    background: rgb(255, 255, 255);
}

.overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 768px) {
    .category-accordion {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 15px;
    }

    .category-member {
        height: 250px;
        flex: none;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- TEAMS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.team-accordion {
    display: flex;
    height: 300px;
    gap: 10px;
}

.team-member {
    flex: 2;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    position: relative;
    transition: flex 2s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.team-member:hover {
    flex: 4;
}

.member-info {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--main-color);
    opacity: 0;
    background: rgba(255, 255, 255, 0.75);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: all 2s ease;
}

.team-member:hover .member-info {
    opacity: 1;
    transition: all 2s ease
}

/* Mobile fallback for teams */
@media (max-width: 450px) {
    .team-accordion {
        display: flex;
        flex-direction: column;
        height: 800px;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- CLIENTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.client-section {
    position: relative;
    background: #f0f0f0;
}

.clients-box-1 {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.clients-img-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-img-1 img {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.clients-img-1.default-img {
    opacity: 0.6;
    filter: grayscale(100%);
    transform: translateY(0);
}

.clients-img-1.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(100%);
}

/* --- HOVER EFFECT --- */
.clients-box-1:hover .clients-img-1.default-img {
    transform: translateY(-100%);
    opacity: 0;
}

.clients-box-1:hover .clients-img-1.hover-img {
    transform: translateY(0);
}

.clients-slider .swiper-wrapper,
.team-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

@media (min-width: 1400px) {
    .client-desc {
        padding-right: 450px;
        padding-left: 450px;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- FAQ --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.accordion-modern .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
}

.accordion-modern .accordion-button {
    background: transparent;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.5rem 0;
    box-shadow: none;
}

.accordion-modern .accordion-button:not(.collapsed) {
    color: var(--primary);
    box-shadow: none;
}

/* RTL accordion arrow */
.accordion-button::after {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(360deg);
    transition: all 1s ease;
}

/* Expanded state */
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    transition: all 0.7s ease;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- FOOTER --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
footer {
    background: #111;
    color: #fff;
    border-radius: 50px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 40px;
}

.footer-bg {
    height: 450px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bg-img {
    background-image: url('../images/footer-bg.jpg');
}

.footer-link {
    text-decoration: none;
    transition: 0.3s;
    text-align: right;
}

.footer-link:hover {
    color: #fff !important;
    padding-right: 5px;
}

.footer-scroll-cue {
    position: absolute;
    left: 50px;
    bottom: 20px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    backdrop-filter: blur(50px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.footer-scroll-cue:hover {
    background: #adadad;
    transition: all 0.7s ease;
}

.footer-scroll-chevron {
    color: var(--main-color);
}

.fixed-actions-container {
    pointer-events: none;
    top: 90%;
}

.footer-scroll-cue:hover, .whatsapp-btn:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Hide Back to Top initially */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #cecece;
    transition: 0.3s;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: relative;
    left: 40px;
    bottom: 20px;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-btn {
    order: -1;
    position: relative;
    right: 40px;
    bottom: 20px;
}

@media (min-width: 320px) and (max-width: 991px) {
    .whatsapp-btn,
    #backToTop {
        position: fixed !important;
    }
}

/* The Animation Definition */
@keyframes bounceUp {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px); /* Moves up 8px */
    }
    60% {
        transform: translateY(-4px); /* Slight secondary bounce */
    }
}

.back-to-top {
    pointer-events: auto; /* Ensure it's clickable */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--main-color) !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.back-to-top:hover {
    background: var(--second-color) !important;
}

.back-to-top i {
    color: #ffffff;
}


.back-to-top.show i {
    opacity: 1;
    visibility: visible;
    animation: bounceUp 2s infinite;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- MEDIA --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
@media (max-width: 768px) {
    .logo-container img {
        width: 80px;
    }

    .navbar-brand {
        margin: 0;
    }
}

@media (max-width: 991.98px) {
    .topbar {
        display: none;
    }

    #mainNavbar {
        background: #000;
        padding: 15px 0;
        top: 0;
    }

    #mainNavbar.scrolled {
        background: #fff;
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    }

    #mainNavbar .nav-link {
        color: #333 !important;
        text-align: center;
        padding: 12px;
    }
}

@media (max-width: 1600px) {
    footer {
        margin: 0;
        border-radius: 0;
    }

    .footer-bg {
        height: auto;
        padding: 0 !important;
    }

    .navbar-links-container {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* ===== NAV DROPDOWN ===== */
    .navbar .nav-item.dropdown .dropdown-menu {
        margin-top: 20px !important;
        border-top: 5px solid var(--main-color) !important;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
        background-color: #fff !important;
        padding: 10px !important;

        display: block !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
        position: absolute;
        z-index: 1000;
    }

    .navbar .dropdown-menu .dropdown-item.dropdown-menu-links {
        display: block !important;
        font-size: 16px;
        color: #5C5F93FF !important;
        font-weight: 500;
        padding: 10px 30px !important;
        border-radius: 8px;
        background: transparent !important;
        width: 100%;
        transition: transform .3s ease, background .3s ease !important;
        opacity: 0;
        transform: translateX(0);
    }

    .navbar .dropdown-menu .dropdown-item.dropdown-menu-links:hover {
        color: var(--main-color) !important;
        background: rgba(206, 206, 206, .39) !important;
        backdrop-filter: blur(20px);
        transform: translateX(8px);
    }

    .navbar .dropdown-menu .dropdown-item.dropdown-menu-links:hover {
        transform: translateX(-8px);
    }

    .navbar .nav-item.dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 30px;
        z-index: 10;
    }
}

/*@media (min-width: 1920px) {*/
/*    .logo-white,*/
/*    .logo-black {*/
/*        min-height: 80px !important;*/
/*    }*/
/*}*/

@media (min-width: 2150px) {
    .logo-white,
    .logo-black {
        min-height: 80px !important;
    }

    .nav-link,
    .dropdown-item,
    .btn-explode {
        font-size: 1.4rem !important;
    }
}

/* Apply hover ONLY on screens >= 990px AND on devices with a precise pointer (mouse/trackpad) */
@media (min-width: 990px) and (hover: hover) and (pointer: fine) {
    .nav-item.hover-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeDropdown 0.25s ease-in-out forwards;
    }

    .nav-item.hover-dropdown:hover > .nav-link {
        color: var(--bs-primary);
    }
}

@keyframes fadeDropdown {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGES :: ABOUT --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.py-custom {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
@media (min-width: 992px) {
    .py-custom {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Modern Image Hover Effects */
.image-wrapper {
    overflow: hidden;
    position: relative;
    transform: translateZ(0); /* Hardware acceleration */
}
.image-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-fit: cover;
}
.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Decorative Offset Shape for the Hero Section */
.about-decoration-shape {
    position: absolute;
    top: -20px;
    left: 130px;
    width: 80%;
    height: 100%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.5s ease;
}
.about-hero-image-box:hover .about-decoration-shape {
    transform: translate(-10px, 10px);
}

.mission-decoration-shape {
    position: absolute;
    top: -20px;
    right: 85px;
    width: 80%;
    height: 100%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.5s ease;
}
.mission-hero-image-box:hover .mission-decoration-shape {
    transform: translate(-10px, 10px);
}

.vision-decoration-shape {
    position: absolute;
    top: -20px;
    left: 130px;
    width: 80%;
    height: 100%;
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.1;
    transition: all 0.5s ease;
}
.vision-hero-image-box:hover .vision-decoration-shape {
    transform: translate(-10px, 10px);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .about-description {
        font-size: 1rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-5 {
        font-size: 2rem;
    }

    .about-decoration-shape,
    .mission-decoration-shape,
    .vision-decoration-shape {
        display: none;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- COUNTERS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.parallax-container {
    min-height: 40vh;
    position: relative;
    width: 100%;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.26);
    z-index: 2;
}

/* The Glass Card */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon i {
    color: #ffffff;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* RESPONSIVE FIXES */

/* Tablets/Mobile */
@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem 1rem;
    }

    .parallax-container {
        padding: 40px 0;
    }
}

@media (max-width: 400px) {
    .display-5 {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .row.g-3 {
        --bs-gutter-y: 1rem;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- SHARED COMPONENTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    z-index: 5;
}

.search-input {
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
    border: solid 1px #8d8d8d !important;
}

.search-input:focus {
    background-color: #efefef !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px);
}

.category-card, .product-card, .related-card {
    background: #fff;
    border-radius: 20px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-default);
    height: 100%;
}

.category-card:hover, .product-card:hover, .related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover) !important;
}

.category-card:hover .category-img,
.product-card:hover .product-img,
.related-card:hover .related-card__img {
    transform: scale(1.08);
}

.category-overlay-content, .product-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--brand-overlay);
    color: white;
    text-align: center;
}

.product-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.category-link, .product-link {
    text-decoration: none;
    color: inherit;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGE: CATEGORIES --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.category-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 6;
    background-color: #f8f9fa;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-title {
    margin-bottom: 0;
    transform: translateY(5px);
    transition: var(--transition-fast);
}

.category-count {
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-fast);
    display: inline-block;
}

.category-card:hover .category-title {
    transform: translateY(0);
}

.category-card:hover .category-count {
    opacity: 0.9;
    transform: translateY(0);
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGE: CATEGORY SHOW --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.product-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition-slow);
}

.product-overlay-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.product-card:hover .product-title {
    transform: translateY(0);
}

.product-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}



.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.category-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-radius: 12px; /* Slightly more modern 'squircle' shape */
    background-color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%; /* Ensures all pills in a row are same height */
}

.category-pill.active {
    background-color: #231f55;
    color: #ffffff !important;
    border-color: #231f55;
    box-shadow: 0 8px 15px rgba(35, 31, 85, 0.2);
}

.category-pill:hover:not(.active) {
    border-color: #231f55;
    color: #231f55;
    background-color: #f8f9ff;
    transform: translateY(-3px);
}

/* Responsive: 2 columns on tablets/phones */
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Stack on very small phones if text is long */
@media (max-width: 480px) {
    .category-pill {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGE: PRODUCTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.product-card-img-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.product-desc {
    text-align: justify !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

#product-grid > div {
    display: flex;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGE: PRODUCT SHOW --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.product-viewer__carousel {
    background: #fdfdfd;
    border: 1px solid #f0f0f0 !important;
}

.product-viewer__main-wrapper {
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
}

.product-viewer__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.carousel-control-icon-wrapper {
    width: 45px;
    height: 45px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.carousel-control-prev:hover .carousel-control-icon-wrapper,
.carousel-control-next:hover .carousel-control-icon-wrapper {
    background: var(--main-color);
    color: #fff;
}

.thumb-item {
    width: 80px;
    height: 100px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover, .thumb-item.active {
    opacity: 1;
}

.thumb-item.active img {
    border-color: var(--main-color) !important;
    border-width: 2px !important;
}

.product-viewer__name {
    letter-spacing: -1px;
    line-height: 1.1;
}

.line-height-lg {
    line-height: 1.6;
}

.product-viewer__description i {
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .product-viewer__main-wrapper {
        aspect-ratio: 1 / 1.2;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- RTL CAROUSEL FIX -----------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.carousel-item {
    margin-right: 0;
    margin-left: -100%;
    float: right;
}

.carousel-item.active {
    margin-left: 0;
}

/* Ensure the main image wrapper doesn't collapse */
.product-viewer__main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Prevent images from being pushed out of the frame */
.product-viewer__img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGE: RELATED PRODUCTS ------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.related-header__divider {
    height: 4px;
    width: 300px;
    background-color: var(--bs-primary);
    border-radius: 50px;
}

.related-card {
    transition: var(--transition-slow);
    border: solid 1px rgba(210, 210, 210, 0.63);
}

.related-card__viewport {
    aspect-ratio: 1 / 1;
    background-color: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-card__img {
    object-fit: contain;
    padding: 10px;
    transition: var(--transition-slow);
}

.related-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(35, 31, 85, 0.85) 0%, rgba(35, 31, 85, 0.65) 60%, rgba(35, 31, 85, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.related-card__title {
    transform: translateY(15px);
    transition: var(--transition-fast);
    font-size: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card__btn {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
}

.related-card:hover .related-card__overlay {
    opacity: 1;
}

.related-card:hover .related-card__title,
.related-card:hover .related-card__btn {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .related-card__overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(35, 31, 85, 0.85) 0%, rgba(35, 31, 85, 0.65) 60%, rgba(35, 31, 85, 0.1) 100%);
    }

    .related-card__title, .related-card__btn {
        transform: translateY(0);
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGES :: CONTACTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.section-padding-bottom {
    padding-bottom: 80px;
}

.border-radius-20 {
    border-radius: 20px;
}

/* --- 1. Contact Cards --- */
.contact-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    z-index: 1;
    border: 1px solid #f0f0f0;
}

.contact-card:hover, .contact-card.active-card {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 103, 255, 0.13); /* Orange tint shadow */
    border-color: transparent;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #FFF0EB;
    color: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    transition: 0.3s;
}

.contact-card:hover .icon-wrapper, .contact-card.active-card .icon-wrapper {
    background: var(--main-color);
    color: #fff;
}

.card-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* --- 2. Form & Map --- */
.contact-form-wrapper {
    padding: 60px;
}

.form-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--second-color);
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    width: 100%;
    border: none;
    border-bottom: 2px solid #eee;
    padding: 12px 0;
    font-size: 16px;
    color: #333;
    border-radius: 0;
    background: transparent;
    transition: 0.3s;
    text-align: right !important;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--main-color);
}

.btn-submit-modern {
    background: var(--main-color);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-submit-modern:hover {
    background: #002564;
    transform: translateX(5px);
}

input[name="my_name"],
input[name="valid_from"],
.honeypot-field {
    display: none !important;
    visibility: hidden !important;
}

.has-border {
    border-bottom: 1px solid #ddd;
}

.parallax-shadow {
    box-shadow: inset 0px 30px 40px -15px rgba(0, 0, 0, 0.5), /* Top Shadow */ inset 0px -30px 40px -15px rgba(0, 0, 0, 0.5) !important; /* Bottom Shadow */
}

.text-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

/* Fix Breadcrumb for RTL */
.breadcrumb {
    padding: 0;
    justify-content: flex-start;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

/* Flip the Breadcrumb Separator (The / symbol) */
.breadcrumb-item + .breadcrumb-item::before {
    float: right; /* Moves slash to the right of the text */
    padding-left: 0.5rem; /* Adds space to the left of the slash */
    padding-right: 0;    /* Removes default LTR right padding */
    content: var(--bs-breadcrumb-divider, "/"); /* Ensures the slash shows */
}

/* Ensure links and text don't have stray margins */
.breadcrumb-item + .breadcrumb-item {
    padding-right: 0.5rem;
    padding-left: 0;
}

.btn-dark {
    background: var(--main-color) !important;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGES :: QUOTATIONS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* 1. Target the main selection header */
.select2-container--default .select2-selection--single {
    width: 100% !important;
    border: none !important;
    border-bottom: 2px solid #eee !important; /* Match your default */
    padding: 12px 0 !important;
    height: auto !important; /* Allow padding to define height */
    font-size: 16px !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: 0.3s !important;
    display: flex;
    align-items: center;
}

/* 2. Remove the "box" and shadow when you click it */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-bottom: 1px solid #000 !important; /* Darker line on focus */
    box-shadow: none !important;
    outline: none !important;
}

/* 3. Align the text exactly to the left */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    padding-left: 0 !important;
    line-height: normal !important;
}

/* 4. Fix the search box inside the dropdown (the one in your screenshot) */
.select2-search--dropdown {
    padding: 10px !important;
}

.select2-search--dropdown .select2-search__field {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important; /* Make search a line too */
    padding: 8px 0 !important;
    outline: none !important;
}

/* 5. Clean up the dropdown list container */
.select2-dropdown {
    border: none !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px !important;
    border-radius: 0 0 8px 8px !important;
    margin-top: -1px; /* Joins it perfectly to the line */
}

/* 6. Style the individual options */
.select2-results__option {
    padding: 12px 15px !important;
    font-size: 14px;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: var(--main-color) !important;
    color: #ffffff !important;
    transition: all 0.7s ease;
}

.step-wrapper {
    animation: slideDown 0.4s ease forwards;
    opacity: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure our custom Select2 underline style is maintained */
.select2-container--default .select2-selection--single {
    border-bottom: 2px solid #eee !important;
}

.form-arrow {
    font-size: 18px;
    rotate: 180deg;
}
