/* ============================================================
   ELITE SOLUTIONS – Main Stylesheet
   Version: 1.0
   Author: Elite Solutions
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   0.  CSS Custom Properties (Design Tokens)
────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --clr-primary:       #0A6EBD;
  --clr-primary-dark:  #07508A;
  --clr-primary-light: #E8F4FD;
  --clr-secondary:     #F97316;
  --clr-accent:        #10B981;
  --clr-dark:          #0F172A;
  --clr-dark-2:        #1E293B;
  --clr-text:          #334155;
  --clr-text-light:    #64748B;
  --clr-border:        #E2E8F0;
  --clr-bg:            #F8FAFC;
  --clr-white:         #FFFFFF;

  /* Typography */
  --font-heading: 'Poppins', 'Cairo', sans-serif;
  --font-body:    'Inter',   'Cairo', sans-serif;

  /* Spacing */
  --section-py: 100px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* Shadows */
  --shadow-sm:  0 2px 8px  rgba(10,110,189,.08);
  --shadow-md:  0 8px 30px rgba(10,110,189,.12);
  --shadow-lg:  0 20px 60px rgba(10,110,189,.18);

  /* Transition */
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

/* ──────────────────────────────────────────────────────────
   1.  Reset / Base
────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* topbar (~42px) + navbar (~78px) */
  font-size: 16px;
  overflow-x: clip; /* AOS pre-animation offsets would otherwise create a horizontal scrollbar */
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  /* Allow graceful animation transitions for AOS */
  html:not(.force-animations) [data-aos] {
    transition-duration: 0.4s !important;
  }
}

/* ──────────────────────────────────────────────────────────
   2.  Utility Classes
────────────────────────────────────────────────────────── */
.section-py  { padding: var(--section-py) 0; }
.section-py-sm { padding: 60px 0; }
.bg-light-blue { background: var(--clr-primary-light); }
.bg-dark       { background: var(--clr-dark) !important; }
.text-primary  { color: var(--clr-primary) !important; }
.text-secondary{ color: var(--clr-secondary) !important; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--clr-dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 560px;
  line-height: 1.8;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--clr-primary-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,110,189,.35);
}

.btn-primary-custom:hover::before { opacity: 1; }

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .95rem;
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-custom:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,110,189,.25);
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--clr-secondary);
  color: var(--clr-white);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-secondary-custom:hover {
  background: #e06210;
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(249,115,22,.35);
}

/* ──────────────────────────────────────────────────────────
   3a.  Topbar
────────────────────────────────────────────────────────── */
#topbar {
  background: var(--clr-dark);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: 9px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1060;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: transform var(--transition);
}

/* Hide topbar when navbar is scrolled to save space */
#topbar.hide-topbar {
  transform: translateY(-100%);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  white-space: nowrap;
}

.topbar-item:hover { color: var(--clr-white); }

.topbar-item i {
  color: var(--clr-secondary);
  font-size: .9rem;
  flex-shrink: 0;
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.15);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social-btn {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  transition: var(--transition);
}

.topbar-social-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.topbar-cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  background: var(--clr-secondary);
  color: var(--clr-white);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid transparent;
}

.topbar-cta-mini:hover {
  background: transparent;
  border-color: var(--clr-secondary);
  color: var(--clr-secondary);
}

@media (max-width: 767px) {
  .topbar-left .topbar-item.hide-mobile { display: none; }
  .topbar-left .topbar-divider.hide-mobile { display: none; }
  #topbar { padding: 6px 0; }
}

@media (max-width: 480px) {
  .topbar-left { gap: 12px; }
  .topbar-right .topbar-cta-mini { display: none; }
}

/* ──────────────────────────────────────────────────────────
   3b.  Main Navbar
────────────────────────────────────────────────────────── */

/* Topbar height variable — matches the JS offset calculation */
:root { --topbar-h: 42px; }

#mainNavbar {
  position: fixed;
  top: var(--topbar-h);       /* sits directly below topbar */
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  transition:
    background  var(--transition),
    box-shadow  var(--transition),
    padding     var(--transition),
    top         var(--transition);
  padding: 18px 0;
}

/* When scrolled: topbar is hidden, navbar slides to top */
#mainNavbar.scrolled {
  top: 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  padding: 10px 0;
  backdrop-filter: blur(12px);
}

/* Logo */
.navbar-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--clr-white);
  letter-spacing: -.03em;
  transition: color var(--transition);
}

.navbar-brand .logo-text span { color: var(--clr-secondary); }

#mainNavbar.scrolled .navbar-brand .logo-text { color: var(--clr-dark); }

/* Nav links */
.navbar-nav .nav-link {
  color: rgba(255,255,255,.9) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--clr-secondary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-nav .nav-link:hover {
  color: var(--clr-white) !important;
  background: rgba(255,255,255,.1);
}

#mainNavbar.scrolled .navbar-nav .nav-link {
  color: var(--clr-text) !important;
}

#mainNavbar.scrolled .navbar-nav .nav-link:hover {
  color: var(--clr-primary) !important;
  background: var(--clr-primary-light);
}

/* CTA button */
.header-cta {
  padding: 10px 24px;
  background: var(--clr-secondary);
  color: var(--clr-white) !important;
  border-radius: var(--radius-xl);
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid transparent;
}

.header-cta:hover {
  background: transparent;
  border-color: var(--clr-secondary);
  color: var(--clr-secondary) !important;
  transform: translateY(-2px);
}

#mainNavbar.scrolled .header-cta { color: var(--clr-white) !important; }

/* Toggler */
.navbar-toggler {
  border: none;
  padding: 8px;
  color: var(--clr-white);
}

#mainNavbar.scrolled .navbar-toggler { color: var(--clr-dark); }
.navbar-toggler:focus { box-shadow: none; }

/* Hamburger */
.hamburger {
  width: 26px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-toggler[aria-expanded='true'] .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.navbar-toggler[aria-expanded='true'] .hamburger span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded='true'] .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
  #navbarCollapse {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    margin-top: 12px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .navbar-nav .nav-link { color: var(--clr-text) !important; }
  .navbar-nav .nav-link:hover { color: var(--clr-primary) !important; }
}

@media (max-width: 767px) {
  :root { --topbar-h: 38px; }
}


/* ──────────────────────────────────────────────────────────
   4.  Hero Section & Hero Image Slider (Swiper)
────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--clr-dark);
}

.hero-slider {
  width: 100%;
  height: 100vh;
  min-height: 640px;
  position: relative;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.swiper-slide-active .hero-slide-bg {
  transform: none;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(7, 80, 138, 0.75) 50%,
    rgba(15, 23, 42, 0.85) 100%
  );
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: var(--clr-white);
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  padding: 8px 22px;
  color: var(--clr-white);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--clr-white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d97706, #fbbf24);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Hero Slider Navigation Arrows */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-prev { left: 32px; }
.hero-slider-next { right: 32px; }

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-50%) scale(1.08);
}

/* Hero Slider Pagination */
.hero-slider .swiper-pagination {
  bottom: 35px;
  z-index: 10;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.35s ease;
  border-radius: 50px;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--clr-secondary);
  width: 34px;
}

@media (max-width: 991px) {
  .hero-slider {
    min-height: 580px;
  }
  .hero-slider-prev,
  .hero-slider-next {
    display: none;
  }
  .hero-slide-content {
    padding: 100px 0 60px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    min-height: 520px;
    height: 90vh;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }
}

/* ──────────────────────────────────────────────────────────
   5.  About Section
────────────────────────────────────────────────────────── */
#about { background: var(--clr-white); }

.about-image-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-main img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform .6s ease;
}

.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--clr-white);
  box-shadow: var(--shadow-md);
}

.about-img-secondary img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  top: 40px;
  left: -30px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-exp-badge .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-exp-badge .label {
  font-size: .8rem;
  opacity: .9;
  margin-top: 4px;
  line-height: 1.3;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
}

.about-feature:hover .about-feature-icon {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.about-feature-text h6 {
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 4px;
  font-size: .95rem;
}

.about-feature-text p { font-size: .88rem; color: var(--clr-text-light); margin: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--clr-border);
}

.about-stat-item { text-align: center; }

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-primary);
  line-height: 1;
}

.about-stat-label {
  font-size: .82rem;
  color: var(--clr-text-light);
  margin-top: 4px;
}

/* ──────────────────────────────────────────────────────────
   6.  Services Section
────────────────────────────────────────────────────────── */
#services { background: var(--clr-bg); }

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: rotate(-5deg) scale(1.08);
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: .92rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
}

.service-link i { transition: transform var(--transition); }
.service-link:hover i { transform: translateX(4px); }

/* Card colour variants */
.service-card.variant-2 .service-icon-wrap { background: #FFF7ED; color: var(--clr-secondary); }
.service-card.variant-2:hover .service-icon-wrap { background: var(--clr-secondary); color: var(--clr-white); }
.service-card.variant-3 .service-icon-wrap { background: #ECFDF5; color: var(--clr-accent); }
.service-card.variant-3:hover .service-icon-wrap { background: var(--clr-accent); color: var(--clr-white); }
.service-card.variant-4 .service-icon-wrap { background: #F5F3FF; color: #7C3AED; }
.service-card.variant-4:hover .service-icon-wrap { background: #7C3AED; color: var(--clr-white); }
.service-card.variant-5 .service-icon-wrap { background: #FEF2F2; color: #DC2626; }
.service-card.variant-5:hover .service-icon-wrap { background: #DC2626; color: var(--clr-white); }
.service-card.variant-6 .service-icon-wrap { background: #F0FDF4; color: #16A34A; }
.service-card.variant-6:hover .service-icon-wrap { background: #16A34A; color: var(--clr-white); }

/* ──────────────────────────────────────────────────────────
   7.  Products Slider
────────────────────────────────────────────────────────── */
#products { background: var(--clr-white); }

.product-swiper { padding: 20px 4px 60px; }

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clr-secondary);
  color: var(--clr-white);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,110,189,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.product-card:hover .product-overlay { opacity: 1; }

.product-overlay-btn {
  color: var(--clr-white);
  border: 2px solid var(--clr-white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}

.product-overlay-btn:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
}

.product-body { padding: 20px; }

.product-category {
  font-size: .75rem;
  color: var(--clr-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.product-card h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-dark);
  margin-bottom: 8px;
}

.product-card p {
  font-size: .85rem;
  color: var(--clr-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary);
}

.product-price .currency { font-size: .85rem; font-weight: 600; }

.product-buy-btn {
  padding: 8px 20px;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.product-buy-btn:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
}

/* Swiper navigation overrides */
.swiper-button-next,
.swiper-button-prev {
  width: 46px !important;
  height: 46px !important;
  background: var(--clr-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--clr-primary) !important;
  transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after { font-size: 14px !important; font-weight: 900; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--clr-primary);
  color: var(--clr-white) !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--clr-border);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: 4px;
}

/* ──────────────────────────────────────────────────────────
   8.  Gallery Slider
────────────────────────────────────────────────────────── */
#gallery { background: var(--clr-dark); }

#gallery .section-title { color: var(--clr-white); }
#gallery .section-desc  { color: rgba(255,255,255,.65); }
#gallery .section-label { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }

.gallery-swiper { padding-bottom: 60px; }

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-card:hover .gallery-img-wrap img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,80,138,.9) 0%, rgba(10,110,189,.3) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h6 {
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}

.gallery-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1rem;
  opacity: 0;
  transition: var(--transition);
  transform: scale(.8);
}

.gallery-card:hover .gallery-zoom-btn {
  opacity: 1;
  transform: scale(1);
}

/* ──────────────────────────────────────────────────────────
   9.  Lightbox
────────────────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#lightbox.active { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 960px;
  width: 100%;
  animation: lb-in .3s ease;
}

@keyframes lb-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

#lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lb-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  border: none;
  color: var(--clr-white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-close:hover { background: var(--clr-secondary); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  border: none;
  color: var(--clr-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev { left: -70px; }
.lb-next { right: -70px; }
.lb-prev:hover, .lb-next:hover { background: var(--clr-primary); }

.lb-caption {
  text-align: center;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: 16px;
}

/* ──────────────────────────────────────────────────────────
   10. Clients Slider
────────────────────────────────────────────────────────── */
#clients { background: var(--clr-bg); }

.clients-swiper { padding: 20px 0 40px; }

.client-monument-card {
  padding: 24px 16px;
  text-align: center;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-monument-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  height: 100px;
  transition: var(--transition);
}

.client-logo-wrap img {
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(.55);
  transition: filter var(--transition), transform var(--transition);
}

.client-logo-wrap:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

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

/* ──────────────────────────────────────────────────────────
   11. Testimonials
────────────────────────────────────────────────────────── */
#testimonials { background: var(--clr-white); }

.testimonials-swiper { padding: 20px 4px 60px; }

.testi-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  position: relative;
  height: 100%;
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 6rem;
  line-height: 1;
  color: var(--clr-primary);
  opacity: .1;
  font-family: Georgia, serif;
}

.testi-card:hover {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testi-stars { color: #FBBF24; font-size: .9rem; margin-bottom: 16px; }

.testi-text {
  font-size: .95rem;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author { display: flex; align-items: center; gap: 14px; }

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-primary-light);
  flex-shrink: 0;
}

.testi-author-name {
  font-weight: 700;
  color: var(--clr-dark);
  font-size: .95rem;
}

.testi-author-role {
  font-size: .82rem;
  color: var(--clr-text-light);
}

/* ──────────────────────────────────────────────────────────
   12. Statistics Section
────────────────────────────────────────────────────────── */
#stats {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-item { text-align: center; position: relative; z-index: 1; }

.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--clr-white);
  margin: 0 auto 20px;
  backdrop-filter: blur(4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-secondary);
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  margin: 0 auto;
}

/* ──────────────────────────────────────────────────────────
   13. Why Choose Us
────────────────────────────────────────────────────────── */
#why-us { background: var(--clr-bg); }

.why-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--clr-border);
  transition: var(--transition);
  height: 100%;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon { transform: rotateY(180deg); }

.why-card h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--clr-dark);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: .88rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────
   14. CTA Section
────────────────────────────────────────────────────────── */
#cta {
  position: relative;
  overflow: hidden;
  background: var(--clr-dark-2);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(10,110,189,.4) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(249,115,22,.25) 0%, transparent 60%);
  z-index: 0;
  animation: cta-glow 6s ease-in-out infinite alternate;
}

@keyframes cta-glow {
  from { opacity: .7; }
  to   { opacity: 1; }
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  max-width: 520px;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}

.cta-shape.s1 { width: 300px; height: 300px; top: -80px; right: 10%; }
.cta-shape.s2 { width: 500px; height: 500px; bottom: -200px; right: -100px; }
.cta-shape.s3 { width: 150px; height: 150px; top: 40%; left: 5%; }

/* ──────────────────────────────────────────────────────────
   15. Contact Section
────────────────────────────────────────────────────────── */
#contact { background: var(--clr-white); }

.contact-info-card {
  background: var(--clr-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  opacity: .9;
}

.contact-info-inner { position: relative; z-index: 1; }

.contact-info-card h3 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  color: var(--clr-white);
  font-size: .9rem;
  margin-bottom: 2px;
}

.contact-item-text span {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  transform: translateY(-3px);
}

.contact-form-card {
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--clr-border);
  height: 100%;
}

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

.form-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 8px;
  display: block;
}

.form-control-custom {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(10,110,189,.12);
}

.form-control-custom.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-control-custom::placeholder { color: #94A3B8; }

textarea.form-control-custom { resize: vertical; min-height: 130px; }

.field-error {
  font-size: .8rem;
  color: #EF4444;
  margin-top: 5px;
  display: none;
}

.field-error.show { display: block; }

.form-success {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .9rem;
  display: none;
  margin-top: 16px;
}

.form-success.show { display: block; }

/* ──────────────────────────────────────────────────────────
   16. Footer
────────────────────────────────────────────────────────── */
#footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.75);
}

.footer-top { padding: 80px 0 48px; }

.footer-brand { margin-bottom: 20px; }

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--clr-white);
}

.footer-logo-text span { color: var(--clr-secondary); }

.footer-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  max-width: 280px;
  margin-top: 12px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-3px);
}

.footer-heading {
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--clr-secondary);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--clr-white);
  transform: translateX(4px);
}

.footer-links a i {
  font-size: .7rem;
  color: var(--clr-secondary);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .88rem;
}

.footer-contact-item i {
  color: var(--clr-secondary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

.footer-bottom a {
  color: var(--clr-secondary);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--clr-white); }

/* ──────────────────────────────────────────────────────────
   17. Back-to-Top (Luxury Smooth Circular Progress)
────────────────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: rgba(14, 75, 130, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(10, 15, 25, 0.35), 0 0 15px rgba(14, 75, 130, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s, 
              background-color 0.3s, 
              border-color 0.3s, 
              box-shadow 0.3s;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
}

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

#backToTop:hover {
  background: var(--clr-primary-dark);
  border-color: var(--clr-secondary);
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 14px 32px rgba(14, 75, 130, 0.45), 0 0 20px rgba(212, 175, 55, 0.35);
}

#backToTop:active {
  transform: translateY(-2px) scale(0.98);
}

#backToTop .progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

#backToTop .progress-ring-bg {
  stroke: rgba(255, 255, 255, 0.15);
}

#backToTop .progress-ring-circle {
  stroke: var(--clr-secondary);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}

#backToTop .back-to-top-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

#backToTop:hover .back-to-top-icon {
  transform: translateY(-3px);
  color: var(--clr-secondary);
}

#backToTop.is-animating .back-to-top-icon {
  animation: backToTopBounce 0.6s ease infinite alternate;
}

@keyframes backToTopBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  #backToTop {
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }
}

/* ──────────────────────────────────────────────────────────
   18. Loading Screen (1-Second Image Showcase Sequence)
────────────────────────────────────────────────────────── */
#pageLoader {
  position: fixed;
  inset: 0;
  background: #080d16;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

/* Ambient dynamic background lighting */
.loader-bg-ambient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(14, 75, 130, 0.4) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(14, 75, 130, 0.25) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}

/* Preloader Main Card */
.loader-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: rgba(13, 20, 36, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(14, 75, 130, 0.3);
  border-radius: 24px;
  padding: 26px 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Branding */
.loader-brand {
  margin-bottom: 18px;
  width: 100%;
}

.loader-logo-wrap {
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 12px;
  display: inline-block;
}

.loader-logo-wrap img {
  height: 48px;
  width: auto;
  display: block;
}

.loader-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #f1c40f;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50px;
  padding: 4px 12px;
  margin-bottom: 6px;
}

.loader-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.loader-craft {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* Image Showcase Window */
.loader-showcase-window {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #05080f;
}

.loader-slides-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.loader-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  transition: opacity 0.35s ease, transform 1s ease-out, visibility 0.35s;
  pointer-events: none;
}

.loader-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.loader-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(9, 14, 23, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 14px;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.slide-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clr-secondary);
  letter-spacing: 0.5px;
}

.slide-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-title i {
  color: var(--clr-secondary);
}

.showcase-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
}

/* Timeline & Steppers */
.loader-timeline {
  width: 100%;
  margin-top: 18px;
}

.loader-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.loader-step {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.step-bar {
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.step-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0e4b82, #d4af37);
  border-radius: 4px;
  transition: width 1s linear;
}

.loader-step.completed .step-bar-fill {
  width: 100% !important;
  background: #d4af37;
}

.step-text {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.3s ease;
}

.loader-step.active .step-text,
.loader-step.completed .step-text {
  color: rgba(255, 255, 255, 0.9);
}

/* Live Status & Percentage */
.loader-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 2px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.loader-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot-anim 1s infinite alternate;
}

@keyframes pulse-dot-anim {
  from { opacity: 0.4; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1.2); }
}

.loader-counter {
  font-weight: 700;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--clr-secondary);
}

/* Skip Intro button */
.loader-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.loader-skip-btn:hover {
  color: #ffffff;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.1);
}

@media (max-width: 576px) {
  .loader-card {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }
  .loader-showcase-window {
    height: 200px;
  }
  .loader-name {
    font-size: 1.15rem;
  }
  .slide-caption {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .step-text {
    font-size: 0.6rem;
  }
}

/* ──────────────────────────────────────────────────────────
   19. Responsive Tweaks
────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  .hero-image-wrapper { margin-top: 48px; }
  .hero-image-card img { height: 320px; }
  .hero-float-badge.badge-1 { left: 10px; bottom: -10px; }
  .hero-float-badge.badge-2 { right: 10px; top: 20px; }
  .lb-prev { left: -10px; }
  .lb-next { right: -10px; }
  .about-img-secondary { display: none; }
  .about-exp-badge { left: 10px; top: 10px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .cta-title { font-size: 1.8rem; }
  .contact-form-card, .contact-info-card { padding: 28px 24px; }
  .footer-heading::after { left: 0; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { text-align: center; justify-content: center; }
  .stat-divider { display: none; }
}

/* ════════════════════════════════════════════════════════════
   RTL & Arabic Brand Enhancements: Dr. Eng. Hatem Fawzi
   ════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Cairo', sans-serif;
  --font-body:    'Cairo', sans-serif;
  --clr-primary:       #0e4b82;
  --clr-primary-dark:  #082e52;
  --clr-primary-light: #f0f6fc;
  --clr-secondary:     #e28704;
  --clr-secondary-dark:#b45309;
}

html[dir="rtl"] body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .topbar-divider {
  margin: 0 16px;
}

html[dir="rtl"] .topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

html[dir="rtl"] .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand Logo */
.site-logo-wrap {
  display: inline-flex;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.96); */
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all var(--transition);
}

.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

#mainNavbar.scrolled .site-logo-wrap {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 4px 10px;
}

#mainNavbar.scrolled .site-logo {
  height: 42px;
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  margin-bottom: 20px;
}

.footer-logo-box .site-logo {
  height: 48px;
}

/* RTL Hero Controls */
html[dir="rtl"] .hero-slider-prev {
  right: 32px;
  left: auto;
}
html[dir="rtl"] .hero-slider-next {
  left: 32px;
  right: auto;
}

/* Badges & Career Highlights */
.career-badge-card {
  background: #ffffff;
  border: 1px solid rgba(14, 75, 130, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(14, 75, 130, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.career-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(14, 75, 130, 0.12);
  border-color: var(--clr-secondary);
}
.career-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.career-badge-card:hover .career-badge-icon {
  background: var(--clr-secondary);
  color: #ffffff;
}
.career-badge-text h6 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-dark);
}
.career-badge-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.5;
}

/* About image RTL tweaks */
html[dir="rtl"] .about-img-secondary {
  left: -20px;
  right: auto;
}
html[dir="rtl"] .about-exp-badge {
  right: -20px;
  left: auto;
}

/* Map Card */
.map-container-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  border: 2px solid var(--clr-border);
  background: #ffffff;
  position: relative;
}
.map-container-box iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

/* Direct Contact Buttons */
.contact-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.contact-quick-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
}
.contact-quick-btn.whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.contact-quick-btn.phone {
  background: var(--clr-primary);
  color: #ffffff;
}
.contact-quick-btn.phone:hover {
  background: var(--clr-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 75, 130, 0.35);
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 95px;
  left: 32px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1040;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  html[dir="rtl"] .about-img-secondary {
    display: none;
  }
  html[dir="rtl"] .about-exp-badge {
    right: 10px;
    top: 10px;
  }
  .floating-whatsapp {
    left: 20px;
    bottom: 85px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

/* ════════════════════════════════════════════════════════════
   HERO SLIDER LUXURY CINEMATIC PRESENTATION
   ════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  overflow: hidden;
  background: #0b1329;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image: smooth scaling & positioning */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  z-index: 1;
  will-change: transform, opacity;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    135deg,
    rgba(11, 19, 41, 0.88) 0%,
    rgba(14, 75, 130, 0.65) 50%,
    rgba(11, 19, 41, 0.88) 100%
  ); */

   background: linear-gradient(
    135deg,
    rgba(11, 19, 41, 0.2) 0%,
    rgba(7, 7, 7, 0.3) 50%,
    rgba(11, 19, 41, 0.2) 100%
  );

  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  padding: 130px 0 90px;
}

/* Base states: initial visible rendering, GSAP controls active animation */
.hero-badge,
.hero-title,
.hero-desc,
.hero-buttons {
  will-change: transform, opacity;
}

/* Navigation Arrows */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  z-index: 10;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-slider-prev { left: 32px; }
.hero-slider-next { right: 32px; }

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
  bottom: 35px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50px;
  margin: 0 !important;
  cursor: pointer;
}

.hero-slider .swiper-pagination-bullet-active {
  width: 42px;
  background: #f59e0b;
  border-color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.7);
}

/* Product & Gallery Card hovers */
.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(14, 75, 130, 0.14);
}
.gallery-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}
