/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- 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: #C79570;
    --dark-bg: #1a1a1a;
    --second-font: amazing !important;
    --arabic-font: Tajawal !important;
}

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-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);
}

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

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

.list-unstyled {
    text-align: left !important;
}

.btn-explode {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--main-color);
    border: none;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: color 0.3s ease, background 1s ease; /* smooth return */
}

/* Explosion Layer */
.btn-explode::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle,
    rgba(0, 0, 0, 0.58) 0%,
    #000000 40%,
    transparent 60%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0.9;
    z-index: 0; /* behind text */
}

.btn-explode:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    z-index: -1;
    transition: width 1s ease, height 1s ease, opacity 1s ease;

}

.btn-explode:hover {
    color: #ffffff;
    background: var(--main-color);
    transition: width 1s ease, height 1s ease, opacity 1s ease;
    z-index: 2222;
}

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

/* Modern Button */
.btn-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--main-color);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 16px;
    overflow: hidden;
}

.btn-modern:hover {
    background: #b0825f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(199, 149, 112, 0.3);
    color: white;
}

.arrow-icon {
    transition: transform 0.3s ease;
    margin-inline-start: 10px;
}

.btn-modern:hover .arrow-icon {
    transform: translateX(5px);
}

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

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

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- TOP NAVBAR -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.topbar {
    background-color: var(--main-color);
    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;
}

.social-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    margin-left: 6px;
}

.social-icon img {
    width: clamp(16px, 0.8vw, 30px) !important;
    height: clamp(16px, 0.8vw, 30px) !important;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.social-icon:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- MAIN NAVBAR -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
#mainNavbar {
    z-index: 1000;
    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; /* JS or CSS handles the topbar offset */
}

#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;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    transition: 0.3s ease;
}

#mainNavbar .contact-number {
    color: #ffffff;
    font-weight: 600;
}

#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 Management */
.logo-white, .logo-black {
    transition: 0.3s ease;
    max-height: 80px;
    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;
}

/* 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: #000 !important;
    box-shadow: none !important;
    transition: all 2s ease;
}

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

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- HERO --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
#hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-section {
    min-height: 100vh;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    inset: 0;
    margin-top: 47px;
}

.sub-sec-title-container {
    display: flex;
    align-items: center;
    justify-content: start;
}

.sub-sec-title {
    color: #d0d0d0;
    padding: 5px 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(2px);
}

.hero-title {
    font-size: clamp(2rem, 3vw, 5rem);
    font-weight: bold;
    text-align: left;
}

.hero-title .letter {
    display: inline-block;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    margin-right: 0.01em;
}

.word-wrapper {
    display: inline-block;
    white-space: nowrap;
    margin-right: 0.3em;
    vertical-align: top;
}

/* Optional: Removes margin from the very last word so it aligns perfectly to the right */
.word-wrapper:last-child {
    margin-right: 0;
}

.hero-btn-container {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-top: 50px;
    gap: 20px;
}

.hero-left-animation {
    animation: floatMoveTwo 15s ease-in-out infinite;
}

@keyframes floatMoveTwo {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, -10px);
    }
    50% {
        transform: translate(10px, 10px);
    }
    75% {
        transform: translate(10px, -10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/*----hero right----*/
.hero-img-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hero-img-stretched {
    width: 100%;
    height: 100%; /* Forces image to match the container/column height */
    object-fit: cover; /* Crops the image proportionally so it never looks stretched/distorted */
    object-position: center; /* Ensures the subject remains centered */
    border-radius: 30px;
    transition: transform 0.5s ease;
}

/* Hover effect to show off full resolution */
.hero-img-container:hover .hero-img-stretched {
    transform: scale(1.05);
}

.hero-img-container img {
    object-fit: cover;
    border-radius: 20px;
    animation: floatMove 15s ease-in-out infinite;
    animation-iteration-count: infinite;
}

@keyframes floatMove {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, -10px);
    }
    50% {
        transform: translate(-10px, 10px);
    }
    75% {
        transform: translate(-10px, -10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes floatMoveThree {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, 10px);
    }
    50% {
        transform: translate(10px, -10px);
    }
    75% {
        transform: translate(10px, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Make image + circle move together */
.hero-img-container img,
.video-circle {
    animation: floatMove 15s ease-in-out infinite;
}

/* Video circle */
.video-circle {
    position: absolute;
    top: 35%;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    overflow: visible;
}


/* play button centered perfectly */
.video-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--main-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 20;
    overflow: visible;
}

.video-btn i {
    z-index: 50;
}

.video-btn:hover i {
    color: #ffffff !important;
}

/* Two explosion waves */
.video-btn::before,
.video-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--main-color);
    transform: translate(-50%, -50%);
    animation: explodeWave 2.5s infinite ease-out;
}

/* Delay second wave */
.video-btn::after {
    animation-delay: 1.5s;
}

.video-btn:hover {
    background: #ffffff !important;
}

@keyframes explodeWave {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 180px; /* big enough to cover background */
        height: 180px;
        opacity: 0;
    }
}

/* rotating text */
.text-circle img {
    width: 100%;
    animation: rotateText 10s linear infinite;
}

@keyframes rotateText {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* -------- Slice Reveal -------- */
.slice-overlay {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%; /* overshoot prevents leaks */
    display: flex;
    z-index: 50;
    pointer-events: none;
}

.slice-overlay span {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    animation: sliceReveal 2s cubic-bezier(.77, 0, .18, 1) forwards;
    backdrop-filter: blur(2px);
}

/* stagger */
.slice-overlay span:nth-child(1) {
    animation-delay: 0s;
}

.slice-overlay span:nth-child(2) {
    animation-delay: 0.12s;
}

.slice-overlay span:nth-child(3) {
    animation-delay: 0.24s;
}

.slice-overlay span:nth-child(4) {
    animation-delay: 0.36s;
}

@keyframes sliceReveal {
    to {
        transform: translateY(-120%);
    }
}

.modal {
    transition: all 1s ease-in-out;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- GENERAL --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.section-label-container {
    display: flex;
    align-items: center;
    justify-content: start;
    transform: none !important;
}

.section-label-title {
    color: rgba(112, 112, 112, 0.5);
    /*text-transform: uppercase;*/
    font-size: 20px;
    font-weight: bold;
    padding: 5px 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 50px;
}

.section-label-icons {
    color: var(--main-color);
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- ABOUT HOME PAGE -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.about-section {
    position: relative;
    background: #fdfdfd;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

/* Floating Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    border-bottom: 4px solid var(--main-color);
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--main-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #666;
}

/* Image Styling */
.main-about-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.about-visual-wrapper:hover .main-about-img {
    transform: scale(1.02);
}

/* Typography Enhancements */
.about-title {
    font-size: clamp(2rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #222;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-visual-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.about-shape {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    opacity: 0.1;
    border-radius: 30px;
    z-index: -1;
    transition: all 0.4s ease;
}

/* Animation on Hover */
.about-visual-wrapper:hover .about-shape {
    transform: translate(-10px, -10px) rotate(-2deg);
    opacity: 0.2;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- FEATURES -------------- */
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.features-section {
    position: relative;
    background: rgba(246, 240, 234, 0.93);
    padding-bottom: 5rem;
}

.feature-section-label-container {
    padding-top: 5rem;
}

.section-title {
    font-size: clamp(32px, 5vw, 50px); /* Responsive font size */
    font-weight: 700;
    color: #000;
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
}

/* -------------- CARD STYLING -------------- */
.stack-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    /* Default is auto height for mobile responsiveness */
    min-height: clamp(420px, 60vh, 450px);
    display: flex;
    flex-direction: column;
}

.feature-index {
    font-size: 38px;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    /* Reset absolute position for mobile to prevent overlap */
    position: relative;
}

.feature-title {
    font-size: clamp(24px, 4vw, 60px);
    color: #000000;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-wrap: nowrap;
}

.feature-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 25px;
    text-align: justify;
}

/* Image Wrapper */
.feature-thumb {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* same height, no distortion */
}

/* Target the auto-generated GSAP spacer */
.pin-spacer {
    /* Force the spacer to have no extra height */
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 40px !important;
    margin-top: 0 !important;

    /* Ensure the height doesn't expand beyond the card itself */
    min-height: unset !important;
}

/* Specific fix for the 3rd card spacer to remove the '7-scroll' gap */
.pin-spacer-card-3 {
    height: auto !important;
    padding-bottom: 0 !important;
}

/* Ensure the card inside doesn't jump when the spacer is collapsed */
.stack-card {
    position: relative;
    margin-bottom: 0 !important;
    background: #fff; /* Ensure it covers cards underneath */
}

section.stack-section {
    padding: 0 !important;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- TEAMS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.teams-bg {
    background: #F7F1EB;
}

.team-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    max-width: 1850px;
    margin: 0 auto;
    border-radius: 20px;
}

.team-section-padding {
    padding: 40px 0;
}

/* Parallax Background logic */
.team-parallax-bg {
    position: absolute;
    top: -20%; /* Extra height for movement */
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.team-wrapper {
    position: relative;
    padding: 0 100px;
    z-index: 2;
}

.team-card-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    background: #000;
}

.team-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the full card */
    transition: transform 1s ease;
}

.team-social-overlay {
    position: absolute;
    inset: 0; /* Cover everything */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.team-data-wrapper {
    position: relative;
    z-index: 10;
    padding: 20px;
    width: 100%;
}

.member-name, .member-job {
    display: block;
    pointer-events: none;
}

.member-name {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    transform: translateY(20px);
    opacity: 0;
}

.member-job {
    color: var(--main-color); /* Your brand color */
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transform: translateY(20px);
    opacity: 0;
    z-index: 1111;
}

/* Hover States */
.team-card-item:hover .team-image img {
    transform: scale(1.1);
}

.team-card-item:hover .team-social-overlay {
    opacity: 1;
}

.team-swiper-container {
    padding: 20px 0 20px;
}

.team-slider .swiper-slide {
    height: auto;
    /* Control how many items show via JS, but ensure height is consistent */
}

.team-slider .swiper-pagination-bullet-active {
    background: var(--main-color);
}

.team-slider .swiper-pagination-bullet {
    background: var(--main-color) !important;
}

.team-title {
    font-size: clamp(24px, 2vw, 45px);
    font-weight: bold;
    color: #fff;
    text-align: justify;
}

.padding {
    padding-right: 150px;
    margin-top: -100px;
}

/* Prevent Browser Repaint Collisions */
.team-section, .clients-section {
    backface-visibility: hidden;
    transform: translateZ(0); /* Force Hardware Acceleration */
    perspective: 1000px;
    /* Ensure no margin collapse is confusing ScrollTrigger */
    display: flow-root;
}

/* Ensure images don't cause layout shifting */
.team-image img, .clients-slider img {
    aspect-ratio: auto;
    content-visibility: auto; /* Optimizes off-screen rendering */
}

/* Firefox Only Performance Tweak */
@-moz-document url-prefix() {
    .team-parallax-bg {
        /* Firefox handles fixed backgrounds better than transform parallax sometimes */
        /* If jitter persists, we reduce the movement */
        transition: transform 0.1s linear;
    }
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- CLIENTS --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* Container Spacing */
.clients-section {
    padding: 100px 0;
    background: #F7F1EB;
    overflow: hidden;
}

/* The Brand Box Wrapper */
.clients-box-1 {
    position: relative;
    width: 100%;
    height: 80px; /* Adjust based on your logo height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Hides the hover image until triggered */
    cursor: pointer;
}

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

.clients-img-1 img {
    max-width: 150px; /* Adjust max width of logos */
    height: auto;
    object-fit: contain;
}

/* 1. Default Image Styling */
.clients-img-1.default-img {
    opacity: 0.6; /* Slight transparency for non-hover state */
    filter: grayscale(100%); /* Optional: Make default gray */
    transform: translateY(0);
}

/* 2. Hover Image Styling (Hidden initially) */
.clients-img-1.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(100%); /* Pushed down out of view */
}

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

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

/* Force Linear Movement for the Ticker Effect */
.clients-slider .swiper-wrapper,
.team-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Optional: Pause on hover so people can read the team names */
.clients-slider:hover .swiper-wrapper,
.team-slider:hover .swiper-wrapper {
    /* Note: To pause a linear Swiper, you usually need JS,
       but keeping it moving is better for the "endless" look */
}

.form-control {
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    color: #d5d5d5 !important;
    font-size: 16px;
    font-weight: 400;
    outline: none !important;
    box-shadow: none !important;
    transition: all .25s ease;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- FOOTER --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.footer-end-padding {
    background: #F7F1EB;
    padding-bottom: 2rem;
}

.footer-section {
    position: relative;
    overflow: hidden;
    max-width: 1850px;
    margin: 0 auto;
    border-radius: 20px;
    background-color: #1a0a05;
    height: 400px;
}

.footer-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    will-change: transform;
}

.footer-wrapper {
    position: relative;
    bottom: 30px;
    z-index: 2;
    color: #fff;
}

footer .site-name {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.59);
    text-align: justify;
    font-weight: 400;
}

.footer-main-section {
    color: var(--main-color);
    font-size: clamp(24px, 1vw, 30px);
}

.footer-links {
    color: #b4b4b4;
    font-size: 18px;
    text-wrap: wrap !important;
    font-weight: bold;
    background: linear-gradient(90deg, #fce176 0%, #c0fdc0 50%, #f54c4c 50%, 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    transition: all 1s ease-in-out;
}

.footer-links:hover {
    animation: swingColor 2s ease-in-out forwards;
}

@keyframes swingColor {
    0% {
        background-position: left;
    }
    50% {
        background-position: right;
    }
    100% {
        background-position: left;
    }
}

.footer-chevron {
    color: #515154 !important;
    font-size: 0.9rem;
    margin-right: 10px;
}

.form-control,
.form-control:focus,
.form-control:hover,
.form-control:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    background-color: #31211B !important;
    backdrop-filter: blur(5px);
}

.form-control {
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    color: #d5d5d5 !important;
    font-size: 16px;
    font-weight: 400;
    outline: none !important;
    box-shadow: none !important;
    transition: all .25s ease;
}

.form-control::placeholder {
    color: #d5d5d5;
}

.btn-explode-footer {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--main-color);
    border: none;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.3s ease, background 1s ease; /* smooth return */
}

/* Explosion Layer */
.btn-explode-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle,
    rgba(0, 0, 0, 0.58) 0%,
    #000000 40%,
    transparent 60%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0.9;
    z-index: 0; /* behind text */
}

.btn-explode-footer:hover::before {
    width: 900px;
    height: 900px;
    opacity: 1;
    z-index: -1;
    transition: width 1s ease, height 1s ease, opacity 1s ease;

}

.btn-explode-footer:hover {
    color: #ffffff !important;
    background: var(--main-color);
    transition: width 1s ease, height 1s ease, opacity 1s ease;
    z-index: 2222;
}

.back-to-top {
    position: fixed;
    bottom: 55px;
    right: 60px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    padding: 10px 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    background: linear-gradient(to right, rgba(195, 180, 255, 0.65), rgba(114, 234, 255, 0.65));
    color: #000;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animate the icon upward on hover */
.back-to-top i {
    display: inline-block;
    animation: upDown 2s infinite ease-in-out;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes upDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-back {
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.btn-back.show {
    opacity: 1;
    visibility: visible;
}

/* WhatsApp – bottom left with vibration */
.btn-whatsapp-pulse {
    position: fixed;
    bottom: 55px;
    left: 60px;
    z-index: 999;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 28px;
    text-align: center;
    line-height: 60px;
    transition: transform 1s ease, box-shadow 0.3s ease;
    animation: vibrate 2s infinite;
}

.btn-whatsapp-pulse:hover {
    color: white;
    background-color: #1ebe5b;
    animation: none;
    transform: scale(1.02);
}

/* Vibration animation */
@keyframes vibrate {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    60% {
        transform: rotate(3deg);
    }
    80% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.rights-and-site-footer {
    color: var(--main-color) !important;
    font-weight: bold;
    transition: all 1s ease;
}

.rights-and-site-footer:hover {
    color: rgba(255, 255, 255, 0.61) !important;
    transition: all 1s ease;
}

.gradient-hr {
    border: 0;
    height: 1px;
    background: #ffffff;
    margin-top: 20px;
}

.rights-and-dev-container {
    position: relative;
    width: 100%;
    height: 100%;
    top: 10px;
    left: 0;
}

.rights-and-dev-container p {
    color: #b4b4b4;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- BREADCRUMB --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.breadcrumb-section {
    position: relative;
    /* Increased padding for a larger, more "hero-like" feel */
    padding: 150px 0;
    overflow: hidden;
    background-color: #1a0a05;
}

/* The Background Image Layer */
.breadcrumb-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%; /* Extra height for GSAP to move */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(152, 147, 141, 0.3);
    z-index: 2; /* Middle Layer */
}

.breadcrumb-content-wrapper {
    position: relative;
    margin-top: 5rem;
    z-index: 3; /* Top Layer - Above the dark overlay */
}

.breadcrumb-active a,
.breadcrumb-active p {
    font-size: 24px !important; /* Larger text */
    font-weight: 700 !important; /* Bold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Extra pop */
}

.breadcrumb-section .text-black-50 {
    color: rgba(255, 255, 255, 0.9) !important; /* Bright white-ish */
}

.breadcrumb-active i {
    font-size: 20px !important;
    color: rgba(0, 0, 0, 0.54);
    margin: 0 15px;
    animation: slidingArrow 3s infinite;
}

.breadcrumb-title-section {
    display: flex;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.parent-breadcrumb {
    color: #000000 !important;
}

.child-breadcrumb {
    color: rgba(0, 0, 0, 0.54);
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PAGES :: ABOUT --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.about-page {
    padding: 80px 0;
}

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

.about-card-modern .description {
    font-size: 18px;
}

.about-page .about-page-img {
    width: 100%;
    height: 400px;
    animation: none;
}

.about-page .about-title {
    font-size: 40px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 60px;
}

.about-page .about-card {
    background: transparent;
    box-shadow: none;
}

.about-page .about-description {
    font-size: 20px;
    text-align: justify;
}

/* --- Separator --- */
.about-separator-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    /*margin: 80px 0;*/
    background-color: #000;
}

.separator-about-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

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

.separator-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-text {
    font-size: 50px;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- SERVICES PAGE --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.services {
    position: relative;
}

.services-title {
    font-size: 40px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    height: 100%;
    padding: 40px;
    position: relative;
    transition: transform 3s ease, box-shadow 3s ease;
    z-index: 1;
}

.service-card::before,
.service-card::after {
    content: "";
    position: absolute;
    inset: -120%;
    transform: rotate(-45deg) translateX(-100%);
    transition: transform 5s cubic-bezier(.22, .61, .36, 1);
    z-index: -1;
}

/* First layer */
.service-card::before {
    background: linear-gradient(
        135deg,
        var(--main-color) 0%,
        #884b1f
    );
}

/* Second layer (slightly delayed) */
.service-card::after {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05)
    );
    transition-delay: .15s;
}

/* Hover trigger */
.service-card:hover::before,
.service-card:hover::after {
    transform: rotate(-30deg) translateX(0%);
}

/* Card hover motion */
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 25px 50px -12px;
}

/* Text color adaptation */
.service-card:hover .service-title,
.service-card:hover .service-desc {
    color: #fff !important;
    transition: all 1s ease-in-out;
}

/* Image */
.service-card-img {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 18px;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}

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

/* Gradient overlay */
.service-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.65)
    );
}

/* Body */
.service-card-body {
    padding: 28px;
    position: relative;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0b1c2d;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 22px;
    text-align: justify;
}

.section-padding {
    padding: 80px 0;
}

.btn-explode-service {
    position: relative;
    overflow: hidden;
    color: #000000;
    background: #ffffff;
    border: 1px solid #515154;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: color 0.3s ease, background 1s ease; /* smooth return */
}

/* Explosion Layer */
.btn-explode-service::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle,
    rgba(0, 0, 0, 0.58) 0%,
    #000000 40%,
    transparent 60%
    );
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0.9;
    z-index: 0; /* behind text */
}

.btn-explode-service:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
    z-index: -1;
    transition: width 1s ease, height 1s ease, opacity 1s ease;

}

.btn-explode-service:hover {
    color: #ffffff;
    background: var(--main-color);
    transition: width 1s ease, height 1s ease, opacity 1s ease;
    z-index: 2222;
}

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

/* pagination */
.active>.page-link, .page-link.active{
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #c79570;
    border-color: #c79570;
}

.page-link{
    color:#c79570;
}
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- SERVICE SHOW --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.main-service-image-wrapper {
    position: relative;
    padding: 20px;
}

.main-service-img {
    width: 100%;
    height: 450px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.service-label {
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.main-title {
    font-size: 30px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.divider-line {
    width: 125px;
    height: 5px;
    background: var(--main-color);
    margin: 25px 0;
    border-radius: 5px;
}

.main-description {
    font-size: 22px;
    color: #64748b;
    line-height: 1.8;
    text-align: justify;
}

/* --- 2. Related Services Grid --- */
.service-show-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
    height: 100%;
}

.card-img-container {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(199, 149, 112, 0.57);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
}

.plus-link {
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 50%;
    padding-left: 13px;
    padding-right: 13px;
    font-size: 40px;
    text-decoration: none;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.service-show-card:hover .card-overlay {
    opacity: 1;
}

.service-show-card:hover .plus-link {
    transform: translateY(0);
}

.service-show-card:hover img {
    transform: scale(1.1);
}

.card-info {
    padding: 30px;
}

.card-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.card-info p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.learn-more {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.learn-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

.related-section-title {
    font-size: 40px;
}

.section-subtitle {
    font-size: 20px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-100 {
    margin-bottom: 100px;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- PRODUCTS PAGE --------------
/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
.products {
    position: relative;
}

.products-title {
    font-size: 40px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 60px;
}

.product-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    height: 100%;
    padding: 40px;
    position: relative;
    transition: transform 3s ease, box-shadow 3s ease;
    z-index: 1;
}

.product-card::before,
.product-card::after {
    content: "";
    position: absolute;
    inset: -120%;
    transform: rotate(-45deg) translateX(-100%);
    transition: transform 5s cubic-bezier(.22, .61, .36, 1);
    z-index: -1;
}

/* First layer */
.product-card::before {
    background: linear-gradient(
        135deg,
        var(--main-color) 0%,
        #884b1f
    );
}

/* Second layer (slightly delayed) */
.product-card::after {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.05)
    );
    transition-delay: .15s;
}

/* Hover trigger */
.product-card:hover::before,
.product-card:hover::after {
    transform: rotate(-30deg) translateX(0%);
}

/* Card hover motion */
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 25px 50px -12px;
}

/* Text color adaptation */
.product-card:hover .product-title,
.product-card:hover .product-desc,
.product-card:hover .product-label {
    color: #fff !important;
    transition: all 1s ease-in-out;
}

/* Image */
.product-card-img {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 18px;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 10s ease;
    border: 1px solid rgba(0, 0, 0, 0.33);
    border-radius: 20px;
}

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


/* Body */
.product-card-body {
    padding: 28px;
    position: relative;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0b1c2d;
}

.product-label {
    color: var(--main-color);
}

.product-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 22px;
    text-align: justify;
}

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */
/* -------------- 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(255, 87, 34, 0.15); /* 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: #1a1a1a;
    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;
}

.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: #885127;
    transform: translateX(5px);
}

/* --- 3. FAQ Section & Animation Background --- */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-item {
    background: rgba(210, 188, 174, 0.38);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: 0.3s;
}

.faq-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #f4f4f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: #333;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-content {
    padding: 0 25px 25px 25px;
    color: #666;
    line-height: 1.6;
}

/* Active State for FAQ */
.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-icon {
    background: var(--main-color);
    color: #fff;
    transform: rotate(45deg); /* Turns Plus to X */
}

.faq-item.active .faq-header h3 {
    color: var(--main-color);
}

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

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

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

    .navbar-brand {
        margin: 0;
    }

    .section-label-container {
        display: flex;
        justify-content: center !important;
        align-items: center;
    }

    .main-service-img {
        height: 250px;
    }

    .about-section {
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .experience-badge {
        right: 0;
        padding: 1rem;
    }

    .features-section {
        padding-bottom: 20px;
    }

    .team-title {
        text-align: center;
    }

    .feature-section-label-container {
        padding-top: 3rem;
    }
    .hero-img-stretched {
        height: 280px;
    }

    .row {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .feature-thumb img {
        height: 100%;
        width: 70%;
        margin-bottom: 0;
        border-radius: 20px;
    }

    .footer-end-padding {
        padding-bottom: 0;
    }

    .footer-section {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    .video-circle {
        right: 0;
        top: 5%;
        width: 120px;
        height: 120px;
    }

    .video-btn {
        width: 60px;
        height: 60px;
    }

    .about-img-box img,
    .hero-left-animation,
    .hero-right-animation,
    .hero-img-container img {
        animation: none;
    }

    .about-img-box img {
        min-height: 300px !important;
    }
}

@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;
    }

    .hero-section {
        padding: 120px 10px;
    }

    .hero-img {
        margin-top: 3rem;
    }

    .video-circle {
        position: absolute;
        top: 50%;
        left: 30%;
        transform: translate(-50%, -50%);
    }

    .padding {
        padding: 0;
        margin: 0;
    }

    .footer-section {
        padding: 100px 0;
    }

    .footer-wrapper,
    .team-wrapper {
        padding: 0 20px;
    }

    .footer-section {
        height: auto;
    }

    .main-title {
        font-size: 36px;
    }

    .mb-100 {
        margin-bottom: 60px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .map-wrapper {
        min-height: 300px;
    }

    .separator-text {
        font-size: 30px;
    }

    .service-card,
    .product-card {
        padding: 10px;
    }

    .btn-explode-service {
        padding: 12px 25px;
    }

    .request-form-wrapper {
        display: block !important;
    }

    .product-title,
    .services-title {
        padding-bottom: 0 !important;
    }
}

@media (min-width: 650px) and (max-width: 991px) {
    .about-img-box img {
        height: 300px;
    }
}

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

    .hero-bg-img {
        margin-top: 0;
    }

    .padding {
        padding: 0;
        margin: 0;
    }

    .footer-section {
        padding: 100px 0;
    }

    .footer-wrapper,
    .team-wrapper {
        padding: 0 20px;
    }

    /* ===== STACK SECTION ===== */
    .stack-section {
        max-width: 1300px;
        margin: 0 auto;
    }

    .stack-card {
        /*height: 516px;*/
        padding: 10px 20px;
        display: block;
        margin-bottom: 50px;
    }

    .stack-card-left {
        padding-left: 70px;
    }

    .feature-index {
        position: absolute;
        top: 35px;
        left: 40px;
        font-size: 45px;
        color: rgba(0, 0, 0, .25);
    }

    .feature-thumb {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 80%;
        margin-bottom: 0;
        border-radius: 20px;
    }

    .feature-content {
        padding-right: 20px;
        position: relative;
        z-index: 2;
        padding-top: 40px;
    }


    /* ===== 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: 18px;
        color: #515154 !important;
        font-weight: 500;
        padding: 8px 20px !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);
    }

    [dir="rtl"] .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: 1024px) {
    .stack-card {
        min-height: 400px;
        display: flex;
    }
}

@media (min-width: 1600px) {
    .container-fluid {
        padding-left: 10%;
        padding-right: 10%;
    }

    .stack-section {
        max-width: 1600px;
    }

    .stack-card {
        min-height: 450px;
        display: flex;
    }
}

@media (min-width: 1920px) {
    body {
        font-size: 18px;
    }

    .logo-white,
    .logo-black {
        min-height: 80px !important;
    }

    .stack-section {
        max-width: 1800px;
    }
}

@media (min-width: 2150px) {
    body {
        font-size: 20px;
    }

    .container-fluid {
        padding-left: 12%;
        padding-right: 12%;
    }

    .logo-white,
    .logo-black {
        min-height: 140px !important;
    }

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

    .hero-title {
        font-size: 75px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .about-section {
        min-height: 60vh;
    }

    .stack-section {
        max-width: 2000px;
    }

    .stack-card {
        min-height: 500px;
        display: flex;
    }

    .feature-index {
        font-size: 70px;
        top: 50px;
        left: 60px;
    }

    .feature-content {
        padding-top: 80px;
        padding-right: 60px;
    }

    .about-card-modern .description {
        font-size: 20px;
    }
}

@media (min-width: 2000px) {
    /*.container {*/
    /*    max-width: 1800px; !* Expands the content for ultra-wide *!*/
    /*}*/

    .hero-title {
        font-size: 4.5rem; /* Large font for large screens */
    }

    /*.custom-large-screen-container {*/
    /*    max-width: 1100px !important;*/
    /*}*/
}
