/* ===================================
   TABLE OF CONTENTS
   -----------------
   1. Theme Variables
   2. Base & Body Styles
   3. Buttons & CTAs
   4. Text Reveal & Animations
   5. Marquee & Logos
   6. Categories & Products
   7. Product Hero/Slider
   8. Footer & Widgets
   9. WhatsApp FAB
   10. Header & Language Controls
   11. Utilities & Overrides
   12. Media Queries
   =================================== */
/* 1. Theme Variables */
:root {
    --primary-color: #e2933f; /* brand primary */
    --primary-gradient-start: #cf8a3c; /* companion shade for hover/gradients */
    --primery-fill: #F7F8F9; /* light background fill */
    --secondary-color: #e2933f; /* use brand for secondary accents too */
    --success-color: #25D366;
    --light-color: #FFFFFF;
    --tertiary-color: #F7F8F9;
    --text-dark: #101213;
    --text-secondary: #57636C;
    --border-color: #E0E3E7;
    --font-family: 'Cairo', sans-serif;
}

body {
    font-family: 'Cairo', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Brand gradients and creative utilities */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
    color: #fff; /* bold white text */
    font-weight: 800;
    transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
    background-size: 200% 200%;
    background-position: 0% 50%;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-gradient:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(226, 147, 63, 0.28);
}
/* KPIs CTA: scale only on hover, no hover shadow */
.kpi-cta { box-shadow: none; transition: transform .2s ease; }
.kpi-cta:hover { background-position: 0% 50%; transform: scale(1.05); box-shadow: none; }
/* Ensure icons in gradient buttons follow text color */
.btn-gradient i { color: currentColor; }
/* RTL: place icon on the right side inside buttons */
[dir="rtl"] .btn-gradient { flex-direction: row-reverse; }
[dir="rtl"] .btn-gradient i { margin-inline-end: .5rem; margin-inline-start: 0; }
[dir="ltr"] .btn-gradient i { margin-inline-start: .5rem; margin-inline-end: 0; }

/* Text reveal window */
.text-mask { overflow: hidden; padding: 2px 0; }
/* Progressive enhancement: content visible by default if JS fails */
.reveal-on-scroll { transform: none; }
.js .reveal-on-scroll { transform: translateY(110%); transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.js .reveal-on-scroll.is-visible { transform: translateY(0); }

/* Generic card hover accent */
.card--brand-hover { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card--brand-hover:hover { transform: translateY(-4px); border-color: var(--primary-color) !important; box-shadow: 0 14px 30px rgba(226, 147, 63, 0.25); }

/* Lottie BG layer for hover cards */
.bg-lottie-water, .bg-lottie { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity .5s ease-in-out; pointer-events: none; }
.card_base-2:hover .bg-lottie-water, .card_base-2:hover .bg-lottie { opacity: 1; }
.card_base-2 .icon_wrap, .card_base-2 .card_title_wrap-2, .card_base-2 .arrow-3 { position: relative; z-index: 1; }

/* Professional Marquee Animation */
@keyframes marquee {
    0% {
        transform: translate3d(0%, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Marquee Component */
.marquee-component {
    background: var(--light-color);
    width: 100%;
    overflow: hidden;
    /* Remove edge fading to avoid perceived gaps */
    -webkit-mask-image: none;
    mask-image: none;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content; /* width equals content width */
    /* animation: marquee 30s linear infinite;  -- disabled, GSAP drives animation */
    will-change: transform;
    direction: ltr; /* force left-to-right flow for consistent animation */
}

.marquee-track:hover {
    animation-play-state: running; /* keep running on hover */
}

.marquee-content {
    display: flex;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    padding-block: 10px;
    width: auto; /* natural width */
    flex-shrink: 0;
    justify-content: flex-start; /* avoid outer edge gaps */
    direction: ltr;
}

.marquee-content img {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.marquee-content img:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Legacy .animate-scroll removed (GSAP drives animation) */

/* Start animation only when JS adds this class (not required anymore, kept for compatibility) */
.marquee-track.running { animation-play-state: running; }

/* GSAP logo-wrapper stage (client logos) */
#client-logos-stage {
    position: relative;
    overflow: hidden;
    /* Match previous logo band height */
    height: clamp(60px, 10vw, 100px);
    /* Make the logo band full-bleed across the screen */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    direction: ltr; /* avoid RTL interference */
}
/* Track-based marquee inside stage */
#client-logos-stage .logos-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
    will-change: transform;
}
#client-logos-stage .logo-cell {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
#client-logos-stage .logo-cell img {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    transition: transform 0.2s ease;
}
#client-logos-stage .logo-cell img:hover {
    transform: scale(1.05);
}

.logo-wrapper {
    width: 20%; /* 5 across */
    position: absolute;
    visibility: hidden; /* shown by GSAP */
    top: 0;
    height: 100%;
    left: 0; /* anchor to left so xPercent positioning lines up */
}
.logo-wrapper .logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 2vw, 16px);
}
.logo-wrapper .logo img {
    height: clamp(60px, 10vw, 100px); /* match old size */
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    transition: transform 0.2s ease;
}
.logo-wrapper .logo img:hover {
    transform: scale(1.05);
}

/* Custom scrollbar for fleet categories */
.category-scrollbar::-webkit-scrollbar {
    height: 4px;
}
.category-scrollbar::-webkit-scrollbar-track {
    background: #f1f4f8;
}
.category-scrollbar::-webkit-scrollbar-thumb {
    background: #e2933f; /* brand orange */
    border-radius: 2px;
}

/* Fade-in animation for sections on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* FadeIn keyframes to support .animated sections like the old design */
@keyframes ff-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animated { opacity: 0; }
.fade-in { animation: ff-fadeIn 0.8s ease-out forwards; }

/* Floating animation for CTA buttons (match about.html) */
.float-btn { animation: float 3s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Old design: Fleet categories and products styles */
.categories-container-new {
  display: flex;
  justify-content: flex-start;
  gap: clamp(8px, 2.2vw, 16px);
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 12px 15px;
  margin-bottom: 24px;
  min-height: 150px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 12px;
}
.categories-container-new::-webkit-scrollbar { display: none; }

.products-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  justify-items: center;
  min-height: 330px;
}

/* Unified container styles for category cards */
.category-card {
  width: clamp(140px, 28vw, 190px);
  flex-shrink: 0;
  height: auto;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--light-color);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: center;
  box-shadow: none;
  scroll-snap-align: start;
}
.category-card:hover,
.category-card.active {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.category-card-image-wrapper {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 44px; /* leave space for title */
  width: auto;
  height: auto;
  background-color: transparent;
}
.category-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* prevent cropping */
  object-position: center;
  background-color: transparent;
  display: block;
  transform: none; /* remove zoom-in scaling that caused crop */
  transform-origin: center center;
  will-change: auto;
}
.category-card-title {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.875rem; /* ~14px */
  line-height: 1.2;
  font-weight: 600;
  color: #101213; /* black */
}

/* Removed obsolete alt .category-card block to avoid conflicts (use the unified definition above) */
.category-card.active .category-title { color: var(--primary-color); }
.category-image-wrapper { width: 140px; height: 130px; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); overflow: hidden; z-index: 0; }
.category-image-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.category-card:hover .category-image-wrapper img { transform: scale(1.05); }
.category-title { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 20px; font-weight: 700; color: #475569; }

/* Categories strip container to white */
#hero-categories {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
}
/* If the list itself needs white background */
#hero-categories-list {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
}

.product-card-new {
  width: 300px;
  height: 330px;
  border: 1px solid var(--text-secondary);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--light-color);
}
.product-card-new:hover { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); }
.product-card-img-container { height: 210px; padding: 5px; background-color: var(--light-color); }
.product-svg { width: 100%; height: 100%; object-fit: contain; }
.product-card-details { height: 120px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.product-title { font-size: 20px; font-weight: 600; color: var(--text-dark); }
.product-spec { font-size: 14px; color: var(--text-secondary); }
.product-contact-btn { align-self: flex-end; margin-top: auto; background-color: var(--primary-color); color: var(--light-color); padding: 5px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; transition: background-color 0.3s; font-weight: 800; display: inline-flex; align-items: center; gap: .4rem; }
.product-contact-btn:hover { background-color: var(--primary-gradient-start); }
.product-contact-btn { margin-bottom: 6px; }
[dir="rtl"] .product-contact-btn { flex-direction: row-reverse; }
[dir="rtl"] .product-contact-btn i { margin-inline-end: .4rem; margin-inline-start: 0; }

/* Utility: push a single button to the right within flex/flow layouts */
.btn-right { margin-inline-start: auto; }

/* Map section (old design) */
.map-section { position: relative; width: 100%; height: 600px; background-color: var(--border-color); }
.map-section iframe { width: 100%; height: 100%; border: 0; }
.map-info-box { position: absolute; top: 12px; left: 12px; width: clamp(200px, 60%, 286px); background-color: var(--tertiary-color); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 10px; display: flex; gap: 10px; }

/* Responsive tweaks aligning old design */
@media (max-width: 1440px) {
  .products-grid-new { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 1024px) {
  .products-grid-new { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .product-card-img-container { height: 160px; }
}
@media (max-width: 768px) {
  .products-grid-new { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .product-card-img-container { height: 140px; }
  .product-card-details { padding: 4px; gap: 3px; }
  .map-info-box { display: none; }
}

/* Product swiper styles to mimic provided structure */
.bd { width: 100%; }
.bd_swiper { position: relative; }
.bd_swiper .item { background: var(--light-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; align-items: stretch; height: 100%; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.bd_swiper .tit_box { margin-bottom: 8px; }
.bd_swiper .tit1 a { font-size: 18px; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.bd_swiper .img_ { margin: 8px 0; }
.bd_swiper .rect-73 { position: relative; width: 100%; padding-top: 73%; overflow: hidden; border-radius: 8px; background: #fff; }
.bd_swiper .rect-73 img._full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bd_swiper .more { margin-top: 8px; }
.bd_swiper .more a { color: var(--primary-color); font-weight: 600; text-decoration: none; }

/* Footer tax widget: smaller, rounded logo + readable number */
footer .textwidget { margin-top: 8px; }
footer .textwidget .images {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
footer .textwidget .images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
footer .textwidget .tax {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* Hero-style product section */
.product-hero { position: relative; text-align: center; padding: 80px 20px; background: radial-gradient(circle, #f9f9f9, #eaeaea); overflow: hidden; }
.product-hero .product-container { max-width: 1200px; margin: 0 auto; position: relative; }
.product-hero .product-title { font-size: 2.5rem; font-weight: 800; color: var(--primary-color); position: relative; z-index: 2; letter-spacing: 1px; }
.product-hero .product-image-wrapper { position: relative; z-index: 2; margin-top: 12px; }
.product-hero .product-image { max-width: 100%; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.12)); }
.product-hero .background-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(3rem, 14vw, 10rem); color: rgba(28, 83, 158, 0.07); font-weight: 900; z-index: 1; pointer-events: none; letter-spacing: 4px; white-space: nowrap; }
.product-hero .read-more-button { display: inline-block; margin-top: 30px; padding: 12px 28px; background-color: var(--primary-color); color: #fff; font-weight: 800; text-decoration: none; border-radius: 10px; transition: background 0.3s ease, transform 0.2s ease; }
.product-hero .read-more-button:hover { background-color: var(--primary-gradient-start); transform: translateY(-2px); }

/* Product Section Slider (Flutter-like) */
.product-section {
  position: relative;
  min-height: clamp(420px, 68vh, 720px);
  background: #ffffff; /* set product section background to white */
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  z-index: 1; /* ensure above any previous overlapping elements */
  --slide-w: min(95vw, 1100px); /* unified slide/image width for positioning */
  display: flex;            /* help center child layer */
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  /* Make full-bleed width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: clamp(16px, 2vh, 24px);
  padding-bottom: clamp(88px, 14vh, 128px); /* space for indicators/CTAs */
}
/* Ensure the dynamic slides container fills and anchors positioning */
#hero-slides-container { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.product-slide { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; transition: opacity 0.5s ease-in-out; padding: 0; z-index: 3; }
.product-slide.active { opacity: 1; }
/* Fallback: ensure first slide visible if JS hasn't activated any */
.product-section #hero-slides-container > .product-slide:first-child { opacity: 1; }
/* Hide content of inactive slides */
.product-slide:not(.active) .product-title-overlay { display: none; }
.product-slide.active .product-title-overlay { display: block; }
.product-slide:not(.active) .product-image { display: none; }
.product-slide.active .product-image { display: block; }
.brand-background { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(3rem, 12vw, 8em); font-weight: 900; color: rgba(0,0,0,0.05); letter-spacing: clamp(6px, 2vw, 20px); z-index: 1; white-space: nowrap; pointer-events: none; }
.product-title { font-size: clamp(1.75rem, 5vw, 3em); font-weight: 800; color: #333; margin: 0 auto 24px; z-index: 3; position: relative; letter-spacing: 1px; text-align: center; }
.product-title-overlay {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: #e2933f; /* brand orange for overlay title */
  padding: 0;
  margin: 0;
  border-radius: 0;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  text-align: center;
  z-index: 5;
  box-shadow: none;
  backdrop-filter: none;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}
.product-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-image img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; display: block; }
.equipment-icon { font-size: clamp(3rem, 12vw, 8em); color: #4a5568; }

/* Read more button for product slides */
.read-more-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #153459; /* button foreground in brand blue */
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
  margin-top: 16px;
  z-index: 4;
  position: relative;
}
.read-more-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
 

/* removed older arrows block in favor of modern icon-only arrows */

/* CTA buttons below slider */
.product-ctas { position: absolute; bottom: clamp(12px, 2vh, 24px); left: 50%; transform: translateX(-50%); display: flex; gap: clamp(8px, 2vw, 16px); z-index: 11; flex-wrap: nowrap; align-items: center; justify-content: center; padding: 0 12px; width: var(--slide-w); white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.product-ctas a { white-space: nowrap; }
.cta-btn { display: inline-block; padding: 12px 20px; border-radius: 8px; font-weight: 800; letter-spacing: 1px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.cta-browse { background: var(--secondary-color); color: var(--primary-color); }
.cta-quote { background: var(--primary-color); color: #fff; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* Categories strip spacing on slider */
#hero-categories-list { margin-top: 8px; }

.product-indicators { position: absolute; bottom: clamp(56px, 10vh, 96px); left: 50%; transform: translateX(-50%); display: flex; gap: clamp(8px, 1.2vw, 14px); z-index: 10; width: var(--slide-w); justify-content: center; }
.indicator { width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease; }
.indicator.active { background: #90EE90; transform: scale(1.2); }
@media (max-width: 768px) {
  .product-title { font-size: 2rem; letter-spacing: 1px; }
  .product-image { width: var(--slide-w); height: auto; }
  .brand-background { font-size: 4em; letter-spacing: 10px; }
  .swiper-button { width: 60px; height: 60px; font-size: 2em; }
  .swiper-button-prev { left: 12px; }
  .swiper-button-next { right: 12px; }
  /* Keep CTAs side-by-side on mobile as requested */
  .product-ctas { flex-direction: row; gap: 10px; }
}

/* Background image for product section */
.product-section {
  position: relative; /* needed for overlay */
  background-image: url('https://storage.googleapis.com/flutterflow-io-6f20.appspot.com/projects/test-5wu8rw/assets/yuekd3p1lr9v/ipt1_03.jpg');
  background-size: cover;
  background-position: center;
}

/* 20% translucent overlay above the background image, below content */
.product-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1; /* keep below content */
}

/* Responsive product title size */
.product-title { font-size: clamp(1.5rem, 4.5vw, 48px); }

/* Hide the old brand overlay class only (keep #hero-brand-text visible) */
.brand-background { display: none; }

/* Center tiny dot */
.center-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 4px; height: 4px; border-radius: 50%; background: rgba(75, 57, 239, 0.29); z-index: 2; }
@media (max-width: 768px) { .center-dot { display: none; } }

/* Icon-only arrows, larger, RTL position: prev right, next left */
.swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  width: auto;
  height: auto;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(56px, 8vw, 120px);
  color: var(--primary-color);
  line-height: 1;
  padding: 0;
}
.swiper-button:hover { color: var(--secondary-color); }
.product-section .swiper-button:focus-visible,
.product-ctas a:focus-visible,
.cta-button:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 2px; border-radius: 8px; }
/* RTL-friendly: Prev on right (») and Next on left («), anchored to image edges */
.swiper-button-prev { right: calc((100vw - var(--slide-w)) / 2 + 8px); left: auto; }
.swiper-button-next { left: calc((100vw - var(--slide-w)) / 2 + 8px); right: auto; }
/* Double-arrow glyphs: prev points left « , next points right » */
.swiper-button-prev::before { content: '\00AB'; }
.swiper-button-next::before { content: '\00BB'; }
@media (max-width: 1024px) {
  .product-section .swiper-button { font-size: clamp(56px, 7.5vw, 88px); }
}
@media (max-width: 768px) {
  .product-section .swiper-button { font-size: clamp(48px, 9vw, 72px); }
}
@media (max-width: 480px) {
  .product-section .swiper-button { font-size: clamp(36px, 12vw, 56px); }
}
.product-indicators { display: flex; align-items: center; gap: 10px; justify-content: center; }
.product-indicators .indicator { width: 10px; height: 10px; border-radius: 50%; background: #9ca3af; opacity: 0.7; transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.product-indicators .indicator.active { background: #1e40af; opacity: 1; transform: scale(1.1); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.25); }

/* CTA buttons (no Tailwind @apply) */
.cta-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 10px; font-weight: 800; font-size: 18px; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.cta-button .icon { margin-left: 8px; }
.cta-button.primary { background: var(--secondary-color); color: #fff; font-weight: 800; }
.cta-button.primary:hover { background: #f0a85c; }
.cta-button.secondary { background: #374151; color: #fff; }
.cta-button.secondary:hover { background: #1f2937; }
/* RTL: keep icon on the right side for CTA buttons */
[dir="rtl"] .cta-button { flex-direction: row-reverse; }
[dir="rtl"] .cta-button .icon { margin-left: 0; margin-inline-end: 8px; }

/* Preferred contact radio pills (plain CSS, no Tailwind dependency) */
.pref-group .pref-pill {
  border-width: 1px;
  border-style: solid;
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 400; /* thinner by default */
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
/* Hover (when the input is not checked yet) */
.pref-group input[type="radio"] + .pref-pill:hover {
  transform: translateY(-2px);
}
/* Selected */
.pref-group input[type="radio"]:checked + .pref-pill {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  font-weight: 400; /* keep same weight when selected */
  transform: translateY(-2px);
}
/* Make sure icons follow current color */
.pref-group .pref-pill i { color: currentColor; }

/* Floating WhatsApp FAB breathing animation */
@keyframes whatsapp-breath {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.0); }
}

.whatsapp-fab { position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
/* Run breathing animation only on user interaction */
.whatsapp-fab:hover { animation: whatsapp-breath 2.2s ease-in-out infinite; }

/* Optional subtle outer ring */
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.08);
  z-index: 0;
  pointer-events: none;
}
/* Match ring animation only when hovering */
.whatsapp-fab:hover::after { animation: whatsapp-breath 2.2s ease-in-out infinite; }

/* Periodic bounce every ~30s applied to wrapper to avoid transform conflicts */
@keyframes whatsapp-bounce-periodic {
  0%, 96% { transform: translateY(0); }
  97% { transform: translateY(-8px); }
  98% { transform: translateY(0); }
  99% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.whatsapp-fab-wrap { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab, .whatsapp-fab::after, .whatsapp-fab-wrap { animation: none !important; }
}

/* Responsive sizing for floating WhatsApp button */
/* Base (tablet default): ~56px button, 32px icon */
.whatsapp-fab { width: 56px; height: 56px; }
.whatsapp-fab i { font-size: 32px; line-height: 1; }
/* Ensure wrapper offsets override Tailwind utilities */
.whatsapp-fab-wrap { position: fixed; bottom: calc(2rem + env(safe-area-inset-bottom)); right: 2rem; z-index: 11005; pointer-events: auto; }

/* Mobile (<=640px): smaller button and closer to edges */
@media (max-width: 640px) {
  .whatsapp-fab { width: 56px; height: 56px; }
  .whatsapp-fab i { font-size: 28px; }
  .whatsapp-fab-wrap { bottom: calc(1rem + env(safe-area-inset-bottom)); right: 1rem; }
}

/* Desktop (>=1024px): slightly larger than base but smaller than before */
@media (min-width: 1024px) {
  .whatsapp-fab { width: 60px; height: 60px; }
  .whatsapp-fab i { font-size: 32px; }
  .whatsapp-fab-wrap { bottom: 2.25rem; right: 2.25rem; }
}

/* Very large screens (>=1536px): slightly larger than desktop */
@media (min-width: 1536px) {
  .whatsapp-fab { width: 68px; height: 68px; }
  .whatsapp-fab i { font-size: 36px; }
  .whatsapp-fab-wrap { bottom: 2.75rem; right: 2.75rem; }
}

/* Header CTA + language cluster */
.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff; /* bold white text */
  border-radius: 8px; /* rounded-lg */
  padding: 10px 24px; /* match subpages: px-6 py-2.5 */
  font-weight: 800; /* stronger bold */
  font-size: 1rem; /* text-base */
  line-height: 1.25;
  text-decoration: none;
  transition: background-position .4s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 44px; /* minimum interactive size */
  min-height: 44px;
}
.header-button:hover { background-position: 100% 50%; transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
/* Ensure icons in header buttons follow text color */
.header-button i { color: currentColor; }
/* RTL: place icon on the right side for header CTA */
[dir="rtl"] .header-button { flex-direction: row-reverse; }
[dir="rtl"] .header-button i { margin-inline-end: .5rem; margin-inline-start: 0; }
[dir="ltr"] .header-button i { margin-inline-start: .5rem; margin-inline-end: 0; }

@media (min-width: 640px) {
  .header-button { padding: 10px 24px; min-width: 44px; min-height: 44px; }
}
@media (min-width: 768px) {
  .header-button { padding: 10px 24px; min-width: 44px; min-height: 44px; }
}

.primary-btn { /* semantic alias for button variant */
  font: inherit; /* avoid empty ruleset lint, no visual change */
}

.border-left { width: 1px; height: 28px; background: rgba(21, 52, 89, 0.25); }
@media (min-width: 640px) { .border-left { height: 32px; } }

.language-link { color: #101213; text-decoration: none; font-weight: 700; }
/* Hover: yellow */
.language-link:hover { color: var(--secondary-color); }
.globe-svg svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .globe-svg svg { width: 24px; height: 24px; } }

/* ========================================
   UNIFIED LANGUAGE SWITCHER RULES (EN + AR)
   Text and icon hover together in all states
   ======================================== */

/* Base: smooth transitions for text and icon */
.language-link,
.language-link .arabic-text,
.language-link .globe-svg svg,
.language-link .globe-svg svg path {
  transition: color .08s ease-out, stroke .08s ease-out !important;
}

/* Icon always inherits link color */
.language-link .globe-svg svg,
.language-link .globe-svg svg path {
  color: inherit !important;
  stroke: currentColor !important;
}

/* Normal state hover */
.language-link:hover .arabic-text,
.language-link:hover .globe-svg svg,
.language-link:hover .globe-svg svg path {
  color: currentColor !important;
  stroke: currentColor !important;
}

/* Hero overlay state: white base */
.header-on-hero .language-link,
.header-on-hero .language-link .arabic-text,
.about-override .language-link,
.about-override .language-link .arabic-text {
  color: #ffffff !important;
}

/* Hero overlay state: icon inherits white */
.header-on-hero .language-link .globe-svg svg,
.header-on-hero .language-link .globe-svg svg path,
.about-override .language-link .globe-svg svg,
.about-override .language-link .globe-svg svg path {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Hero overlay hover: yellow for both text and icon */
.header-on-hero .language-link:hover,
.header-on-hero .language-link:hover .arabic-text,
.header-on-hero .language-link:hover .globe-svg svg,
.header-on-hero .language-link:hover .globe-svg svg path,
.about-override .language-link:hover,
.about-override .language-link:hover .arabic-text,
.about-override .language-link:hover .globe-svg svg,
.about-override .language-link:hover .globe-svg svg path {
  color: var(--secondary-color) !important;
  stroke: var(--secondary-color) !important;
}

/* Active nav link state (works even if Tailwind arbitrary classes are purged) */
#nav-links .nav-link.nav-active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color);
}
#mobile-menu .mobile-nav-link.nav-active {
  color: var(--primary-color) !important;
}

/* Language link colors now handled in unified section above */
.header-on-hero .site-logo,
.about-override .site-logo {
  filter: brightness(0) invert(1);
}

/* Header overlay behavior using .header-on-hero */
.header-on-hero .header-button {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}
.header-on-hero .header-button:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Header mobile responsiveness: prevent overflow on small screens */
/* Hide contact button from header on screens less than 480px */
@media (max-width: 480px) {
  header .header-button.primary-btn {
    display: none !important;
  }
  /* Show contact button in mobile drawer */
  #mobile-menu .mobile-contact-btn {
    display: inline-flex !important;
  }
}

/* Hide mobile drawer contact button on larger screens */
@media (min-width: 481px) {
  #mobile-menu .mobile-contact-btn {
    display: none !important;
  }
}

@media (max-width: 420px) {
  header .gapping-div { gap: 0.5rem !important; }
  header .border-left { display: none; }
  header .header-button {
    padding: 6px 10px;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 9999px;
  }
  /* Add spacing between label and icon only when label is visible */
  header .header-button .btn-label + i { margin-inline-start: 0.4rem; }
  /* Make language label a bit tighter on small phones */
  header .language-link { font-size: 0.875rem; }
  header .language-link .arabic-text { font-size: 0.75rem; }
}

@media (max-width: 360px) {
  /* Hide CTA label; keep only icon to save space */
  header .header-button .btn-label { display: none; }
  header .header-button { padding: 8px; }
  /* Narrow screens: make drawer use viewport width to avoid clipping */
  #mobile-menu { width: 85vw !important; }
}
/* Semantic utilities */
.text-dark { color: var(--text-dark); }
.text-secondary { color: var(--text-secondary); }
.text-brand { color: var(--primary-color); }
a.link-brand { color: var(--primary-color); }
a.link-brand:hover { color: var(--primary-gradient-start); }
/* Removed deprecated background override utilities for Tailwind arbitrary colors */

/* ========================================
   INDEX PAGE STYLES (moved from inline)
   ======================================== */

/* Hero Section Styles */
.hero { 
  position: relative; 
  z-index: 1; 
  background: radial-gradient(1200px 600px at 70% 0%, rgba(226,147,63,0.25), transparent), linear-gradient(180deg, #0a1a33 0%, #0d2242 40%, #102a51 100%); 
  color: var(--text-on-dark, #ffffff); 
  min-height: 100vh; 
  min-height: 100svh; 
  display: grid; 
  place-items: center; 
  padding: 6rem 0 8rem; 
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeLegibility; 
}
.hero__bg { 
  position: absolute; 
  inset: 0; 
  z-index: 1; 
  background-image: url('../assest/intro-photo.webp');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
}
.hero__bg img { display: none; }

.hero__overlay { 
  position: absolute; 
  inset: 0; 
  z-index: 2; 
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.36), rgba(0,0,0,0.44)); 
}

.hero__video { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  z-index: 3; 
}

.hero__tint { 
  position: absolute; 
  inset: 0; 
  z-index: 4; 
  background: linear-gradient(180deg, rgba(0,0,0,0.44), rgba(0,0,0,0.44)); 
}

@media (max-width: 1024px) {
  .hero { background-attachment: scroll; }
}

.hero__content { 
  position: relative; 
  z-index: 5; 
  width: min(1100px, 92vw); 
  margin-inline: auto; 
  text-align: center; 
  display: grid; 
  place-items: center; 
  gap: 1.25rem; 
}

.hero-content-main { 
  display: grid; 
  gap: 1rem; 
  position: relative; 
  top: 0; 
}

.hero-preheading { 
  display: inline-block; 
  padding: .45rem 1rem; 
  font-weight: 700; 
  font-size: .95rem; 
  color: #fff; 
  background: rgba(255,255,255,0.08); 
  border: 1px solid rgba(255,255,255,0.18); 
  border-radius: 999px; 
  backdrop-filter: blur(6px); 
}

.hero__title {
  margin: 0;
  font-size: clamp(1.2rem, 6.8vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 800;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: normal;
  overflow: visible;
  padding-block: 2px;
}

.hero__title .accent { 
  color: var(--accent, #e2933f); 
  text-shadow: 0 1px 0 rgba(0,0,0,0.2); 
}

.hero__subtitle { 
  margin: 0 auto; 
  color: rgba(255,255,255,0.85); 
  font-size: clamp(1rem, 1rem + .4vw, 1.25rem); 
  line-height: 1.6; 
  font-weight: 600; 
  white-space: normal; 
  overflow: visible; 
  text-overflow: initial; 
}

.hero__cta { 
  margin-top: .4rem; 
  display: inline-flex; 
  gap: .75rem; 
  flex-wrap: nowrap; 
  justify-content: center; 
  align-items: center; 
}

.hero__cta .btn { white-space: nowrap; }

@media (min-width: 768px) {
  .hero__title { white-space: normal; }
}

.no-wrap { 
  white-space: nowrap; 
  word-break: keep-all; 
  overflow-wrap: normal; 
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}

.one-line-fluid { 
  font-size: clamp(1rem, 3.8vw, 2.2rem); 
  line-height: 1.2; 
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}

@supports (-webkit-touch-callout: none) {
  @media (min-width: 431px) {
    .hero__title { font-size: clamp(1.2rem, 6.2vw, 4rem); }
    .one-line-fluid { font-size: clamp(.98rem, 3.4vw, 2.1rem); }
  }
}

.btn { 
  --ring: 0 0 0 0 rgba(226,147,63,0); 
  display: inline-flex; 
  align-items: center; 
  gap: .55rem; 
  padding: .9rem 1.15rem; 
  border-radius: 10px; 
  border: 1px solid transparent; 
  font-weight: 650; 
  letter-spacing: .01em; 
  text-decoration: none; 
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; 
  will-change: transform; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.25), var(--ring); 
}

.btn--primary { 
  background: var(--accent, #e2933f); 
  color: #101213; 
  border-color: rgba(255,255,255,0.06); 
}

.btn--ghost { 
  background: transparent; 
  color: #ffffff; 
  border-color: #ffffff; 
  border-width: 2px; 
}

.btn:hover { 
  border-color: rgba(226,147,63,0.55); 
  box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 0 6px rgba(226,147,63,0.18); 
  transform: translateY(-1px); 
}

.btn--ghost:hover { 
  background: var(--accent, #e2933f); 
  color: #ffffff; 
  border-color: var(--accent, #e2933f); 
}

.btn--primary:hover { 
  background: #cf8a3c; 
  color: #101213; 
}

.hero__cta .btn--primary { color: #ffffff; }
.hero__cta .btn--primary:hover { 
  color: #ffffff; 
  box-shadow: none; 
  transform: scale(1.05); 
}

@keyframes fadeUp { 
  from { opacity: 0; transform: translateY(12px); } 
  to { opacity: 1; transform: translateY(0); } 
}

.hero-content-main > .hero__title { animation: fadeUp .7s ease-out both; }
.hero-content-main > .hero__subtitle { animation: fadeUp .9s ease-out both; }

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

.hero__subtitle .sep { 
  display: inline-block; 
  margin-inline: .65rem; 
  color: var(--accent, #e2933f); 
  font-weight: 900; 
  line-height: 1; 
}

@media (prefers-reduced-motion: reduce) { 
  .hero__subtitle .sep { animation: none; } 
}

.hero-footer { 
  position: absolute; 
  bottom: 2rem; 
  left: 0; 
  right: 0; 
  width: 100%; 
  z-index: 5; 
}

.hero-footer .container { 
  width: min(1100px, 92vw); 
  margin-inline: auto; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 1rem; 
  color: rgba(255,255,255,0.9); 
  padding-right: 4rem; 
}

.hero-socials { 
  display: flex; 
  align-items: center; 
  gap: .85rem; 
  font-size: 1.2rem; 
}

.hero-socials a { 
  color: rgba(255,255,255,0.95); 
  transition: color .2s ease; 
  text-decoration: none; 
}

.hero-socials a:hover { color: #e2933f; }

.hero-contact { 
  display: flex; 
  align-items: center; 
  gap: .6rem; 
  font-weight: 700; 
}

.hero-contact a { 
  color: rgba(255,255,255,0.95); 
  text-decoration: none; 
  transition: color .2s ease; 
}

.hero-contact a, .hero-contact i { 
  color: rgba(255,255,255,0.9); 
  transition: color .2s ease; 
}

.hero-contact a:hover, .hero-contact i:hover { color: var(--accent, #e2933f); }
.hero-contact i { color: rgba(255,255,255,0.95); transition: color .2s ease; }
.phone-pair:hover a, .phone-pair:hover i { color: #e2933f; }

@media (max-width: 640px) {
  .hero-socials a, .hero-contact a { 
    min-width: 44px; 
    min-height: 44px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
  }
  .hero__cta .btn { min-height: 44px; }
  .hero__cta { gap: .5rem; }
  .btn { 
    width: auto; 
    justify-content: center; 
    font-size: .95rem; 
    padding: .8rem 1rem; 
  }
  .hero-footer .container { 
    flex-direction: column; 
    gap: .75rem; 
    padding-right: 0; 
  }
  .hero__subtitle { font-size: .95rem; }
}

@media (max-width: 430px) {
  .hero__content { width: 94vw; }
  .hero__title { 
    font-size: clamp(1.15rem, 6.6vw, 3.6rem); 
    letter-spacing: -0.012em; 
  }
  .hero__subtitle { font-size: .95rem; }
  .hero__subtitle .sep { 
    margin-inline: .3rem; 
    transform: scale(.85); 
  }
}

@media (max-width: 390px) {
  .hero__title { 
    font-size: clamp(1.05rem, 6vw, 3rem); 
    letter-spacing: -0.014em; 
  }
  .hero__subtitle { font-size: .9rem; }
}

@media (max-width: 370px) {
  .hero__content { width: 90vw; }
  .hero-content-main { gap: .45rem; top: -10px; }
  .hero__title { 
    font-size: clamp(1rem, 5.5vw, 2.2rem); 
    letter-spacing: -0.01em; 
  }
  .hero__subtitle { 
    font-size: .85rem; 
    line-height: 1.45; 
  }
  .hero__subtitle .sep { 
    display: inline-block; 
    margin: 0 .16rem; 
    transform: scale(.75); 
  }
  .hero__cta { gap: .4rem; }
  .btn { 
    font-size: .86rem; 
    padding: .58rem .78rem; 
  }
  .one-line-fluid { 
    font-size: clamp(.7rem, 3vw, .95rem); 
    letter-spacing: -0.006em; 
  }
}

@media (min-width: 3840px) {
  .hero__content { width: min(1600px, 70vw); }
  .hero-content-main { gap: 1.5rem; top: 0; }
  .hero__title { font-size: 6rem; }
  .hero__subtitle { font-size: 2rem; max-width: 70ch; }
  .hero__cta { gap: 1rem; }
  .btn { font-size: 1.25rem; padding: 1.1rem 1.6rem; }
}

@media (prefers-reduced-motion: reduce) { 
  .btn { transition: none; } 
  .hero__bg img { transform: none; } 
}

/* Global Styles */
html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%; 
  scrollbar-width: none; 
}

html::-webkit-scrollbar { 
  width: 0 !important; 
  height: 0 !important; 
  background: transparent; 
}

html, body { overflow-x: hidden; }

.hide-scrollbar { scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

.marquee-component, .product-section { overflow: hidden; }

#hero-categories-list { 
  position: relative; 
  display: flex; 
  gap: 12px; 
  overflow-x: auto; 
  overflow-y: visible; 
  -webkit-overflow-scrolling: touch; 
  padding-bottom: 16px; 
  margin-bottom: 16px; 
  scrollbar-width: none; 
  cursor: grab; 
}

#hero-categories-list::-webkit-scrollbar { 
  height: 0; 
  background: transparent; 
}

  #hero-categories-list .category-card { flex: 0 0 auto; }
  #hero-categories-list.dragging { cursor: grabbing; }
  #hero-categories-list.dragging, #hero-categories-list.dragging * { user-select: none; }

  #hero-categories-list::before, #hero-categories-list::after { 
    content: none !important; 
    display: none !important;
  }

  /* Services Section Styles */
  .title-line-3 { 
    background: linear-gradient(90deg, #e2933f, #cf8a3c); 
    border-radius: 999px; 
  }

.heading--3 { 
    font-size: clamp(1.5rem, 3.2vw, 2.25rem); 
    font-weight: 800; 
    color: #101213; 
}

.heading--3 .blue { color: #e2933f; }

._30px-divider { height: 30px; }
._20px-di-vider { height: 20px; }

.services-splide { position: relative; }

.services-track { 
  display: grid; 
  grid-auto-flow: column; 
  grid-auto-columns: var(--slide-w, 80%); 
  gap: 2rem; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  padding: .5rem .25rem 1rem; 
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: none; 
}

.services-track::-webkit-scrollbar { display: none; }

@media (min-width: 640px) { 
  .services-track { --slide-w: 60%; } 
}

@media (min-width: 1024px) { 
  .services-track { --slide-w: calc(25% - 1.5rem); } 
}

.service-slide { 
  position: relative; 
  scroll-snap-align: start; 
}

.service-card-splide { 
  position: relative; 
  height: 260px; 
  border-radius: 16px; 
  overflow: hidden; 
  border: 1px solid #e5e7eb; 
  box-shadow: 0 8px 20px rgba(21,52,89,0.06); 
  background: linear-gradient(180deg, #ffffff, #f8fafc); 
  display: flex; 
  align-items: flex-end; 
  justify-content: stretch; 
}

.service-media { 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(120% 80% at 70% 0%, rgba(226,147,63,0.18), transparent), linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.2)); 
  display: grid; 
  place-items: center; 
}

.service-media i { 
  font-size: 3rem; 
  color: #e2933f; 
  filter: drop-shadow(0 2px 8px rgba(226,147,63,0.35)); 
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill container */
  display: block;
}

.service-info { 
  position: relative; 
  width: 100%; 
  padding: 1rem; 
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 30%, rgba(255,255,255,1) 100%); 
}

.service-info h3 { 
  font-weight: 800; 
  font-size: 1.1rem; 
  color: #101213; 
  margin: 0; 
}

.service-info p { 
  margin-top: .25rem; 
  color: #57636C; 
  font-size: .95rem; 
  line-height: 1.6; 
  display: none; 
}

.service-card-splide:hover .service-info p { display: block; }

.services-arrows { 
  position: absolute; 
  inset-inline: 0; 
  top: 50%; 
  transform: translateY(-50%); 
  display: flex; 
  justify-content: space-between; 
  pointer-events: none; 
}

.services-arrow { 
  pointer-events: auto; 
  width: 44px; 
  height: 44px; 
  border-radius: 999px; 
  border: 1px solid #e5e7eb; 
  background: #fff; 
  color: #e2933f; 
  display: grid; 
  place-items: center; 
  box-shadow: 0 8px 20px rgba(21,52,89,0.08); 
  transition: transform .2s ease; 
}

.services-arrow:hover { transform: scale(1.06); }
.services-arrow:disabled { opacity: .4; cursor: not-allowed; }
.services-arrow i { font-size: 1rem; }

.black { color: #101213; }
.centre { text-align: center; }

/* Client Logos Marquee */
.scroller { 
  position: relative; 
  overflow: hidden; 
  width: 100%; 
}

.scroller-inner { 
  display: flex; 
  align-items: center; 
  gap: clamp(40px, 6vw, 80px); 
  will-change: transform; 
  animation: marquee-scroll var(--animation-duration, 24s) linear infinite; 
}

@keyframes marquee-scroll { 
  from { transform: translateX(0); } 
  to { transform: translateX(var(--loop-distance, -50%)); } 
}

.client-logo { 
  height: clamp(60px, 10vw, 100px); 
  width: auto; 
  object-fit: contain; 
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08)); 
  flex: 0 0 auto; 
}

.marquee-overlay { 
  position: absolute; 
  top: 0; 
  bottom: 0; 
  width: 48px; 
  pointer-events: none; 
  z-index: 2; 
}

.marquee-overlay.left { 
  left: 0; 
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0)); 
}

.marquee-overlay.right { 
  right: 0; 
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0)); 
}

@media (prefers-reduced-motion: reduce) { 
  .scroller-inner { animation: none; } 
}

/* Reveal Items */
.reveal-item { 
  opacity: 0; 
  transform: translateY(24px); 
  filter: blur(2px); 
  transition: opacity .6s ease, transform .6s ease, filter .6s ease; 
  will-change: opacity, transform, filter; 
}

.reveal-item.is-visible { 
  opacity: 1; 
  transform: none; 
  filter: none; 
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item { 
    opacity: 1; 
    transform: none; 
    filter: none; 
    transition: none; 
  }
}

/* Value Cards */
.values-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 2rem; 
  justify-items: center; 
}

.value-card { 
  position: relative; 
  background: #ffffff; 
  border: 1px solid #e5e7eb; 
  border-radius: 18px; 
  padding: 2.5rem 2rem; 
  text-align: center; 
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; 
  box-shadow: 0 8px 20px rgba(21,52,89,0.06); 
  margin-inline: auto; 
}

.value-card.reveal-item { 
  transition-delay: calc(0.2s * var(--reveal-index)); 
}

.value-card.reveal-item.is-visible { 
  transition-delay: 0s; 
}

.value-card:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 20px 40px rgba(21,52,89,0.15); 
  border-color: #dbe2ea; 
}

.value-card h3 { 
  font-size: 1.5rem; 
  font-weight: 800; 
  color: #101213; 
  margin-bottom: .5rem; 
}

.value-card p { color: #57636C; }

.icon-wrapper { 
  width: 80px; 
  height: 80px; 
  margin: 0 auto 1.25rem; 
  background-image: linear-gradient(to bottom right, #e2933f, #cf8a3c); 
  border-radius: 1.25rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 8px 20px rgba(226,147,63,0.25); 
  transform: rotate(45deg); 
  transition: transform .35s ease; 
}

.value-card:hover .icon-wrapper { transform: rotate(0deg); }

.icon-wrapper i { 
  color: #ffffff; 
  font-size: 2rem; 
  transform: rotate(-45deg); 
  transition: transform .35s ease; 
}

.value-card:hover .icon-wrapper i { transform: rotate(0deg); }

/* Header Overlay Styles */
header.about-override {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 50;
  background: transparent !important; 
  box-shadow: none !important;
  backdrop-filter: none !important; 
  -webkit-backdrop-filter: none !important;
  color: #fff !important;
}

header.about-override:hover { background: transparent !important; }
header.about-override .nav-link { color: #ffffff !important; }
header.about-override .nav-link:hover { color: #e2933f !important; }
header.about-override #menu-toggle-button { color: #ffffff !important; }

header.about-override .language-switcher,
header.about-override .language-switcher .language-nav__item,
header.about-override .language-switcher a { color: #ffffff !important; }

header.about-override .language-switcher a:hover { color: #e2933f !important; }
header.about-override .language-link { color: #ffffff !important; }
header.about-override .language-link:hover { color: #e2933f !important; }
header.about-override .globe-svg svg { color: #ffffff !important; }
header.about-override .cta-btn { background: #e2933f !important; color: #101213 !important; }

header.about-override .header-button {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: none !important;
}

header.about-override .header-button:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
}

header.about-override img[data-src="assets.logo"] { 
  filter: brightness(0) invert(1); 
  transition: filter .3s ease; 
}

header.about-override.is-scrolled img[data-src="assets.logo"] { filter: none; }

header.about-override #mobile-menu { 
  background: #ffffff !important; 
  color: #101213 !important; 
}

header.about-override #mobile-menu .mobile-nav-link { color: #101213 !important; }
header.about-override #mobile-menu .mobile-nav-link:hover { color: #e2933f !important; }

/* ================================
   Why Us (modern) section styles
   ================================ */
.why-us-section {
  padding: clamp(48px, 8vw, 80px) 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  position: relative;
  overflow: hidden;
}
.why-us-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226,147,63,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: whyus-float 20s ease-in-out infinite;
}
.why-us-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226,147,63,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: whyus-float 15s ease-in-out infinite reverse;
}
@keyframes whyus-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.whyus-container {
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.section-header { text-align: center; margin-bottom: clamp(24px, 5vw, 40px); }
.section-subtitle {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(226,147,63,0.10) 0%, rgba(244,168,84,0.06) 100%);
  border-radius: 999px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(16px, 3vw, 28px);
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: clamp(18px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  opacity: 0;
  transform: translateY(40px);
  animation: whyus-reveal 0.6s ease forwards;
}
.feature-card:nth-child(1) { animation-delay: 0.06s; }
.feature-card:nth-child(2) { animation-delay: 0.12s; }
.feature-card:nth-child(3) { animation-delay: 0.18s; }
.feature-card:nth-child(4) { animation-delay: 0.24s; }
@keyframes whyus-reveal { to { opacity: 1; transform: translateY(0); } }

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover::before { transform: scaleX(1); transform-origin: left; }
.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(226,147,63,0.2);
  box-shadow: 0 20px 60px rgba(226,147,63,0.15);
}

.icon-container {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; position: relative; transition: all 0.4s ease;
}
.icon-container::before {
  content: ''; position: absolute; inset: -4px; border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  opacity: 0; filter: blur(12px); transition: opacity 0.4s ease;
}
.icon-container i { font-size: 2rem; color: #fff; position: relative; z-index: 1; }
.feature-card:hover .icon-container { transform: scale(1.1) rotate(5deg); }
.feature-card:hover .icon-container::before { opacity: 0.6; }

.card-title { font-size: 1.35rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; transition: color 0.3s ease; }
.feature-card:hover .card-title { color: var(--primary-color); }
.card-description { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; }

.stats-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(226,147,63,0.1); padding: 6px 12px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 800; color: var(--primary-color);
  opacity: 0; transform: translateY(-10px); transition: all 0.3s ease;
}
.feature-card:hover .stats-badge { opacity: 1; transform: translateY(0); }

.card-decoration {
  position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px;
  background: linear-gradient(135deg, rgba(226,147,63,0.10) 0%, rgba(244,168,84,0.06) 100%);
  border-radius: 50%; opacity: 0; transition: all 0.5s ease;
}
.feature-card:hover .card-decoration { opacity: 1; bottom: -20px; right: -20px; }

@media (max-width: 768px) {
  .why-us-section { padding: 40px 12px; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-title { font-size: 2rem; }
  .section-description { font-size: 1rem; }
}

/* ================================
   FAQ Section (Creative Modern)
   ================================ */
.faq-section {
  padding: clamp(48px, 8vw, 80px) 0;
  background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
  position: relative;
}
.faq-container {
  max-width: 1280px;
  margin: 0 auto;
}
.faq-header {
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 56px);
}
.faq-subtitle {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}
.faq-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.faq-title .highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.faq-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  position: relative;
}
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open::before {
  transform: scaleY(1);
}
.faq-item.open {
  border-color: rgba(226,147,63,0.15);
  box-shadow: 0 8px 24px rgba(226,147,63,0.12);
}
.faq-item:hover {
  border-color: rgba(226,147,63,0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 24px 28px;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.faq-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(226,147,63,0.1) 0%, rgba(244,168,84,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.faq-item.open .faq-number {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  color: #fff;
  transform: scale(1.1);
}
.faq-question-text {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  transition: color 0.3s ease;
}
.faq-item.open .faq-question-text {
  color: var(--primary-color);
}
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(226,147,63,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.faq-icon i {
  font-size: 1rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  background: var(--primary-color);
  transform: rotate(180deg);
}
.faq-item.open .faq-icon i {
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 28px 0 84px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px 84px;
}
.faq-answer-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px 16px 20px 20px;
    gap: 12px;
  }
  .faq-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .faq-question-text {
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 20px 0 68px;
  }
  .faq-item.open .faq-answer {
    padding: 0 20px 20px 68px;
  }
}

/* ================================
   Core Values Section (Modern)
   ================================ */
.core-values-section {
  padding: clamp(48px, 8vw, 80px) 16px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.core-values-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(226,147,63,0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: values-pulse 8s ease-in-out infinite;
}
.core-values-section::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 8%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(226,147,63,0.03) 0%, transparent 70%);
  border-radius: 50%;
  animation: values-pulse 10s ease-in-out infinite reverse;
}
@keyframes values-pulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 0.8; }
}

.values-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.values-header {
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 56px);
}
.values-subtitle {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  text-transform: uppercase;
}
.values-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.values-title .highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.values-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(20px, 4vw, 40px);
}

.value-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #f0f2f5;
  cursor: pointer;
}
.value-card-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(226,147,63,0.05) 0%, rgba(244,168,84,0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.value-card-modern:hover::before {
  opacity: 1;
}
.value-card-modern:hover {
  transform: translateY(-8px);
  border-color: rgba(226,147,63,0.3);
  box-shadow: 0 16px 48px rgba(226,147,63,0.12);
}

.value-icon-hexagon {
  width: 72px;
  height: 72px;
  position: relative;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}
.value-icon-hexagon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.4s ease;
}
.value-icon-hexagon::after {
  content: '';
  position: absolute;
  inset: -6px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}
.value-card-modern:hover .value-icon-hexagon {
  transform: rotate(15deg) scale(1.1);
}
.value-card-modern:hover .value-icon-hexagon::after {
  opacity: 0.4;
}
.value-icon-hexagon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: #fff;
  z-index: 1;
}

.value-title-modern {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}
.value-card-modern:hover .value-title-modern {
  color: var(--primary-color);
}

.value-description-modern {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.value-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-gradient-start) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.value-card-modern:hover .value-accent-line {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .value-card-modern {
    padding: 24px;
  }
}


/* ============================== */
.projects-page {

            --primary-grad-1: #153459;
            --primary-grad-2: #1C539E;
            --accent-grad-1: #ffc107;
            --accent-grad-2: #fdbb2d;
        
}

        /* --- Global Setup --- */
        
        
        

        /* --- Hero Section --- */
        .hero-section {
            position: relative;
            min-height: 100vh;
            min-height: 100svh; /* iOS-friendly */
            /* Hero background with gradient overlay. Provide multiple image fallbacks in case herophoto.png is missing */
            background-image:
              linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.35) 35%, rgba(255,255,255,0) 70%),
              url('assest/herophoto.png'),
              url('assest/photo.jpeg');
            background-size: cover, cover, cover;
            background-position: center, center, center;
            background-repeat: no-repeat, no-repeat, no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: #ffffff;
        }

        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            animation: float 25s infinite ease-in-out;
        }

        @keyframes float { 0% { transform: translateY(10vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-110vh) rotate(720deg); opacity: 0; } }
        .hero-content { text-align: center; z-index: 10; padding: 2rem; animation: fadeInUp 1s ease-out; color: #ffffff; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

        .hero-title { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; background: linear-gradient(90deg, #fff, #e0e0e0, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
        @keyframes shimmer { to { background-position: -200% center; } }
        .hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.5rem); opacity: 0.9; margin-top: 1rem; }
        .scroll-down-arrow { margin-top: 3rem; animation: bounce 2s infinite; cursor: pointer; }
        @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }

        /* --- Stats Section (kept for future use if needed) --- */
        .stats-section { padding: 4rem 2rem; background: #F8FAFC; display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
        .stat-item { text-align: center; min-width: 150px; }
        .stat-number { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 900; background: linear-gradient(45deg, var(--accent-grad-1), var(--accent-grad-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
        .stat-label { font-size: 1.1rem; opacity: 0.9; margin-top: 0.5rem; color: #57636C; }

        /* --- Gallery Grid --- */
        .gallery-container { padding: 4rem 2rem; background: #ffffff; min-height: 100vh; }
        .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; max-width: 1600px; margin: 0 auto; }
        .project-card { position: relative; height: 400px; transform-style: preserve-3d; transition: transform 0.8s; cursor: pointer; opacity: 0; animation: cardFadeInUp .6s ease-out forwards; }
        @keyframes cardFadeInUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
        .card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid rgba(21,52,89,0.12); }
        .card-front { background: #ffffff; }
        .card-back { background: #ffffff; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; text-align: center; }
        .project-card.flipped { transform: rotateY(180deg); }
        .project-card:hover { transform: translateY(-10px) scale(1.03); }
        .project-card.flipped:hover { transform: rotateY(180deg) translateY(-10px) scale(1.03); }
        .card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
        .project-card:hover .card-image { transform: scale(1.05); }
        .card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); }
        .gallery-container .card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #ffffff; }
        /* Hide titles on cards (front overlay and back face) */
        .gallery-container .card-title { display: none !important; }
        .project-card .card-back h3 { display: none !important; }
        .card-category { display: inline-block; padding: 0.3rem 1rem; background: rgba(255,255,255,0.9); color: #153459; backdrop-filter: blur(5px); border-radius: 20px; font-size: 0.8rem; }

        /* --- Lightbox --- */
        .lightbox { position: fixed; inset: 0; background: rgba(10,10,10,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(8px); }
        .lightbox.active { display: flex; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .lightbox-content { position: relative; max-width: 90%; max-height: 90%; animation: zoomIn 0.4s ease; }
        @keyframes zoomIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
        .lightbox-caption { text-align: center; margin-top: 1rem; font-size: 1.2rem; }
        .lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; transition: all 0.3s ease; }
        .lightbox-close { top: 20px; right: 20px; }
        .lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
        .lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
        .lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.2); transform: scale(1.1) rotate(90deg); }
        .lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.1); }


/* ============================== */
body.projects-page{
            --primary-grad-1: #153459;
            --primary-grad-2: #1C539E;
            --accent-grad-1: #ffc107;
            --accent-grad-2: #fdbb2d;
        }
        /* --- Global Setup --- */
        
        
        

        /* --- Hero Section --- */
        body.projects-page .particle{
            position: absolute;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(5px);
            border-radius: 50%;
            animation: float 25s infinite ease-in-out;
        }

        @keyframes float {
          0%{ transform: translateY(10vh) rotate(0deg); opacity: 0; }
          10%{ opacity: 1; }
          90%{ opacity: 1; }
          100%{ transform: translateY(-110vh) rotate(720deg); opacity: 0; }
        }
        body.projects-page .hero-content{ text-align: center; z-index: 10; padding: 2rem; animation: fadeInUp 1s ease-out; color: #ffffff; }
        @keyframes fadeInUp {
          from{ opacity: 0; transform: translateY(40px); }
          to{ opacity: 1; transform: translateY(0); }
        }
        body.projects-page .hero-title{ font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; background: linear-gradient(90deg, #fff, #e0e0e0, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
        @keyframes shimmer { to{ background-position: -200% center; } }
        body.projects-page .hero-subtitle{ font-size: clamp(1rem, 2.5vw, 1.5rem); opacity: 0.9; margin-top: 1rem; }
        body.projects-page .scroll-down-arrow{ margin-top: 3rem; animation: bounce 2s infinite; cursor: pointer; }
        @keyframes bounce {
          0%, 20%, 50%, 80%, 100%{ transform: translateY(0); }
          40%{ transform: translateY(-15px); }
          60%{ transform: translateY(-7px); }
        }
        /* --- Stats Section (kept for future use if needed) --- */
        body.projects-page .stats-section{ padding: 4rem 2rem; background: #F8FAFC; display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
        body.projects-page .stat-item{ text-align: center; min-width: 150px; }
        body.projects-page .stat-number{ font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 900; background: linear-gradient(45deg, var(--accent-grad-1), var(--accent-grad-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
        body.projects-page .stat-label{ font-size: 1.1rem; opacity: 0.9; margin-top: 0.5rem; color: #57636C; }
        /* --- Gallery Grid --- */
        body.projects-page .gallery-container{ padding: 4rem 2rem; background: #ffffff; min-height: 100vh; }
        body.projects-page .gallery-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; max-width: 1600px; margin: 0 auto; }
        body.projects-page .project-card{ position: relative; height: 400px; transform-style: preserve-3d; transition: transform 0.8s; cursor: pointer; opacity: 0; animation: cardFadeInUp .6s ease-out forwards; }
        @keyframes cardFadeInUp { from{ opacity: 0; transform: translateY(50px); } to{ opacity: 1; transform: translateY(0); } }
        body.projects-page .card-face{ position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid rgba(21,52,89,0.12); }
        body.projects-page .card-front{ background: #ffffff; }
        body.projects-page .card-back{ background: #ffffff; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; text-align: center; }
        body.projects-page .project-card.flipped{ transform: rotateY(180deg); }
        body.projects-page .project-card:hover{ transform: translateY(-10px) scale(1.03); }
        body.projects-page .project-card.flipped:hover{ transform: rotateY(180deg) translateY(-10px) scale(1.03); }
        body.projects-page .card-image{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
        body.projects-page .project-card:hover .card-image{ transform: scale(1.05); }
        body.projects-page .card-content{ position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); }
        body.projects-page .card-title{ font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #ffffff; }
        /* Hide titles on cards (front overlay and back face) */
        .card-title{ display: none !important; }body.projects-page .card-back h3{ display: none !important; }body.projects-page .card-category{ display: inline-block; padding: 0.3rem 1rem; background: rgba(255,255,255,0.9); color: #153459; backdrop-filter: blur(5px); border-radius: 20px; font-size: 0.8rem; } /* --- Lightbox --- */
        .lightbox{ position: fixed; inset: 0; background: rgba(10,10,10,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(8px); }body.projects-page .lightbox.active{ display: flex; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from{ opacity: 0; } to{ opacity: 1; } }body.projects-page .lightbox-content{ position: relative; max-width: 90%; max-height: 90%; animation: zoomIn 0.4s ease; }
        @keyframes zoomIn { from{ transform: scale(0.7); opacity: 0; } to{ transform: scale(1); opacity: 1; } }body.projects-page .lightbox-img{ max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }body.projects-page .lightbox-caption{ text-align: center; margin-top: 1rem; font-size: 1.2rem; }body.projects-page .lightbox-close, body.projects-page .lightbox-nav{ position: absolute; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; transition: all 0.3s ease; }body.projects-page .lightbox-close{ top: 20px; right: 20px; }body.projects-page .lightbox-prev{ left: 20px; top: 50%; transform: translateY(-50%); }body.projects-page .lightbox-next{ right: 20px; top: 50%; transform: translateY(-50%); }body.projects-page .lightbox-close:hover, body.projects-page .lightbox-nav:hover{ background: rgba(255,255,255,0.2); transform: scale(1.1) rotate(90deg); }body.projects-page .lightbox-prev:hover, body.projects-page .lightbox-next:hover{ transform: translateY(-50%) scale(1.1); }


/* ============================== */
/* Projects page styles (cleaned 2025-10-05) */
/* ============================== */
body.projects-page {
  --primary-grad-1: #153459;
  --primary-grad-2: #1C539E;
  --accent-grad-1: #ffc107;
  --accent-grad-2: #fdbb2d;
}

body.projects-page .hero-section{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.35) 35%, rgba(255,255,255,0) 70%),
    url('../assest/photo.webp');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden; color: #ffffff;
}

body.projects-page .particle{ position: absolute; background: rgba(255,255,255,0.05); backdrop-filter: blur(5px); border-radius: 50%; animation: float 25s infinite ease-in-out; }
@keyframes float { 0%{ transform: translateY(10vh) rotate(0deg); opacity: 0; } 10%{ opacity: 1; } 90%{ opacity: 1; } 100%{ transform: translateY(-110vh) rotate(720deg); opacity: 0; } }

body.projects-page .hero-content{ text-align: center; z-index: 10; padding: 2rem; animation: fadeInUp 1s ease-out; color: #ffffff; }
@keyframes fadeInUp { from{ opacity: 0; transform: translateY(40px); } to{ opacity: 1; transform: translateY(0); } }
body.projects-page .hero-title{ font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; background: linear-gradient(90deg, #fff, #e0e0e0, #fff); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 4s linear infinite; }
@keyframes shimmer { to{ background-position: -200% center; } }
body.projects-page .hero-subtitle{ font-size: clamp(1rem, 2.5vw, 1.5rem); opacity: 0.9; margin-top: 1rem; }
body.projects-page .scroll-down-arrow{ margin-top: 3rem; animation: bounce 2s infinite; cursor: pointer; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100%{ transform: translateY(0); } 40%{ transform: translateY(-15px); } 60%{ transform: translateY(-7px); } }

/* Stats (optional) */
body.projects-page .stats-section{ padding: 4rem 2rem; background: #F8FAFC; display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; }
body.projects-page .stat-item{ text-align: center; min-width: 150px; }
body.projects-page .stat-number{ font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 900; background: linear-gradient(45deg, var(--accent-grad-1), var(--accent-grad-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.projects-page .stat-label{ font-size: 1.1rem; opacity: 0.9; margin-top: 0.5rem; color: #57636C; }

/* Gallery */
body.projects-page .gallery-container{ padding: 4rem 2rem; background: #ffffff; min-height: 100vh; }
body.projects-page .gallery-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; max-width: 1600px; margin: 0 auto; }
body.projects-page .project-card{ position: relative; height: 400px; transform-style: preserve-3d; transition: transform 0.8s; cursor: pointer; opacity: 0; animation: cardFadeInUp .6s ease-out forwards; }
@keyframes cardFadeInUp { from{ opacity: 0; transform: translateY(50px); } to{ opacity: 1; transform: translateY(0); } }
body.projects-page .card-face{ position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid rgba(21,52,89,0.12); }
body.projects-page .card-front{ background: #ffffff; }
body.projects-page .card-back{ background: #ffffff; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem; text-align: center; }
body.projects-page .project-card.flipped{ transform: rotateY(180deg); }
body.projects-page .project-card:hover{ transform: translateY(-10px) scale(1.03); }
body.projects-page .project-card.flipped:hover{ transform: rotateY(180deg) translateY(-10px) scale(1.03); }
body.projects-page .card-image{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
body.projects-page .project-card:hover .card-image{ transform: scale(1.05); }
body.projects-page .card-content{ position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent); }
body.projects-page .card-title{ font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #ffffff; }
body.projects-page .card-title{ display: none !important; }
body.projects-page .card-back h3{ display: none !important; }
body.projects-page .card-category{ display: inline-block; padding: 0.3rem 1rem; background: rgba(255,255,255,0.9); color: #153459; backdrop-filter: blur(5px); border-radius: 20px; font-size: 0.8rem; }

/* Lightbox */
body.projects-page .lightbox{ position: fixed; inset: 0; background: rgba(10,10,10,0.9); display: none; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(8px); }
body.projects-page .lightbox.active{ display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from{ opacity: 0; } to{ opacity: 1; } }
body.projects-page .lightbox-content{ position: relative; max-width: 90%; max-height: 90%; animation: zoomIn 0.4s ease; }
@keyframes zoomIn { from{ transform: scale(0.7); opacity: 0; } to{ transform: scale(1); opacity: 1; } }
body.projects-page .lightbox-img{ max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
body.projects-page .lightbox-caption{ text-align: center; margin-top: 1rem; font-size: 1.2rem; }
body.projects-page .lightbox-close, body.projects-page .lightbox-nav{ position: absolute; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; transition: all 0.3s ease; }
body.projects-page .lightbox-close{ top: 20px; right: 20px; }
body.projects-page .lightbox-prev{ left: 20px; top: 50%; transform: translateY(-50%); }
body.projects-page .lightbox-next{ right: 20px; top: 50%; transform: translateY(-50%); }
body.projects-page .lightbox-close:hover, body.projects-page .lightbox-nav:hover{ background: rgba(255,255,255,0.2); transform: scale(1.1) rotate(90deg); }
body.projects-page .lightbox-prev:hover, body.projects-page .lightbox-next:hover{ transform: translateY(-50%) scale(1.1); }
