/* ==================================================
   ESC – GLOBAL DESIGN SYSTEM (PREMIUM INDUSTRIAL)
================================================== */

/* ========== ROOT VARIABLES ========== */
:root {
  /* ==================================================
     BRAND COLORS – ESC (ORANGE-FOCUSED)
  ================================================== */

  /* Blue (Support Color – not dominant) */
  --primary: #D87C00;
  --primary-dark: #D87C00;

  /* ORANGE / ELECTRIC (Main Accent from Logo) */
  --accent: #D87C00;        /* برتقالي راقي */
  --accent-dark: #D87C00;   /* برتقالي غامق */

  /* Dark Industrial Base */
  --secondary: #0E1A2B;
  --secondary-light: #1B2A44;

  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-section: #f8fafc;

  /* Borders */
  --border: #e2e8f0;

  /* Text */
  --text-main: #0f172a;
  --text-muted: #64748b;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 25px 60px rgba(15, 23, 42, 0.18);

  --transition: all 0.3s ease;
}
/* إخفاء شريط Google Translate العلوي */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-frame {
  display: none !important;
}




/* ==================================================
   RESET & GLOBAL
================================================== */
* {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.9;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

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

.section {
  padding: 90px 0;
}

/* ==================================================
   HEADER / NAVBAR
================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.nav-link {
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 14px;
  color: var(--secondary);
}

.nav-link:hover,
.nav-link.active {
  background: var(--bg-soft);
  color: var(--primary);
}


/* ==================================================
   HERO
================================================== */
/* ==================================================
   HERO – PREMIUM LAYOUT IMPROVEMENTS
================================================== */

/* Slide */
.hero-slide {
  min-height: 78vh;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,26,43,0.95),
    rgba(31,79,163,0.65)
  );
}

/* ===== HERO CONTENT BALANCED ===== */

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 150px;
}

/* الحاوية الداخلية */
.hero-inner {
  max-width: 760px;        /* توازن العرض */
  margin: 0 auto;         /* توسيط أفقي */
  text-align: center;     /* توسيط النص */
}

/* العنوان */
.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

/* الوصف */
.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 32px;
}

/* ===== HERO BUTTONS ===== */

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* زر أساسي */
.btn-hero-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 14px 34px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(242,153,31,.45);
  transition: all .3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(242,153,31,.6);
}

/* زر ثانوي */
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.65);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 18px;
  font-weight: 700;
  background: transparent;
  transition: all .3s ease;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

/* ===== MOBILE TUNING ===== */

@media (max-width: 768px) {
  .hero-content {
    padding: 90px 0 120px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

/* ==================================================
   HERO CAROUSEL CONTROLS – FIXED & VISIBLE
================================================== */

.hero-carousel-controls {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20; /* أعلى من overlay */

  display: flex;
  gap: 14px;
}

/* Button */
.hero-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;

  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover */
.hero-control:hover {
  background: rgba(242, 153, 31, 0.9);
  border-color: rgba(242, 153, 31, 1);
  transform: translateY(-2px);
}

/* Icons */
.hero-control i {
  font-size: 1rem;
}

/* إخفاء أزرار Bootstrap الافتراضية */
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-carousel-controls {
    bottom: 16px;
  }

  .hero-control {
    padding: 9px 18px;
    font-size: 0.85rem;
  }
}
/* ==================================================
   HERO VERTICAL CONTROLS – LEFT SIDE
================================================== */

/* تأكيد أن الهيرو هو المرجع */
.hero-section,
#heroCarousel {
  position: relative;
}

/* الحاوية */
.hero-vertical-controls {
  position: absolute;
  top: 50%;
  left: 24px; /* يسار الهيرو */
  transform: translateY(-50%);
  z-index: 20;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* الزر */
.hero-vertical-btn {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  color: #ffffff;
  font-size: 1.25rem;

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover */
.hero-vertical-btn:hover {
  background: rgba(242, 153, 31, 0.9);
  border-color: rgba(242, 153, 31, 1);
  transform: scale(1.08);
}

/* إخفاء أزرار Bootstrap الافتراضية */
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-vertical-controls {
    left: 14px;
  }

  .hero-vertical-btn {
    width: 20px;
    height: 20px;
    font-size: 1.1rem;
  }
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 992px) {
  .hero-inner {
    margin-right: 0;
    padding: 0 15px;
  }

  .hero-content {
    padding: 120px 0 150px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-content h1,
  .hero-content p {
    text-align: center;
  }
}

/* ==================================================
   HERO BUTTONS – MOBILE FIX
================================================== */

@media (max-width: 576px) {

  /* لا تجعل الأزرار بعرض كامل */
  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: auto;          /* مهم */
    min-width: unset;
    padding: 12px 26px;   /* حجم أنيق */
    font-size: 0.95rem;
    border-radius: 14px;
  }
}



/* ==================================================
   HERO FORM
================================================== */
.hero-form-wrap {
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  background: #f9fbff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ==================================================
   BUTTONS
================================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 36px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(31,79,163,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(31,79,163,.45);
}

.btn-outline-primary {
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 14px;
  font-weight: 800;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(31,79,163,.35);
}

/* ==================================================
   SERVICES
================================================== */

.service-item {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);

  /* التعديلات الجديدة */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

/* توحيد ارتفاع الصور */
.service-item img,
.service-img {
  width: 100%;
  height: 220px;          /* عدّل الارتفاع حسب رغبتك */
  object-fit: cover;
  display: block;
}

/* محتوى البطاقة */
.service-text {
  position: relative;
  flex: 1;                /* يجعل جميع البطاقات متساوية */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* تأثير الخلفية عند hover */
.service-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: 0.4s;
  border-radius: 0 0 22px 22px;
}

.service-item:hover .service-text::before {
  opacity: 1;
}

/* تغيير لون النصوص عند hover */
.service-item:hover * {
  color: #fff !important;
  position: relative;
  z-index: 2;
}


/* ==================================================
   PARTNERS SECTIONS (AGENCIES & CLIENTS)
   ESC – Premium Industrial Style (ENHANCED)
================================================== */

/* ========== SHARED SECTION STYLES ========== */
.agencies-section,
.clients-section {
  padding: 60px 0 70px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

/* ========== SECTION HEADERS ========== */
.agencies-header,
.clients-header {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.agencies-header h6,
.clients-header h6 {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.agencies-title,
.clients-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ========== HEADER BUTTONS ========== */
.agencies-header .btn,
.clients-header .btn {
  margin-top: 10px;
  border-radius: 14px;
  font-weight: 800;
}

/* ==================================================
   AGENCIES (AUTHORIZED PARTNERS)
================================================== */

.agenciesSwiper {
  padding: 15px 10px 30px;
}

.agency-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  height: 175px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(31, 79, 163, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

/* LOGO STYLE */
.agency-card img {
   max-height: 90px;
  max-width: 100%;
  opacity: 0.88;
  transform: scale(0.92);
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
  animation: logoFloat 6.5s ease-in-out infinite;
}

/* HOVER CARD */
.agency-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent);
  box-shadow: 0 35px 85px rgba(244, 180, 26, 0.35);
}

/* HOVER LOGO */
.agency-card:hover img {
  transform: scale(1.08) rotate(-1deg);
  opacity: 1;
}

/* ==================================================
   CLIENTS (SUCCESS PARTNERS)
================================================== */

.clientsSwiper {
  padding: 15px 10px 30px;
}

.client-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  height: 175px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(31, 79, 163, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.09);
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

/* LOGO STYLE */
.client-card img {
  max-height: 90px;
  max-width: 100%;
  opacity: 0.88;
  transform: scale(0.92);
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
  animation: logoFloat 6.5s ease-in-out infinite;
}

/* HOVER CARD */
.client-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 40px 90px rgba(31, 79, 163, 0.35);
}

/* HOVER LOGO */
.client-card:hover img {
  transform: scale(1.1) rotate(-1deg);
  opacity: 1;
}

/* ==================================================
   FLOAT ANIMATION
================================================== */

@keyframes logoFloat {
  0% {
    transform: translateY(0) scale(0.95);
  }
  50% {
    transform: translateY(-6px) scale(1);
  }
  100% {
    transform: translateY(0) scale(0.95);
  }
}

/* ==================================================
   SWIPER PAGINATION
================================================== */

.agenciesSwiper .swiper-pagination,
.clientsSwiper .swiper-pagination {
  margin-top: 25px;
}

.agenciesSwiper .swiper-pagination-bullet,
.clientsSwiper .swiper-pagination-bullet {
  width: 22px;
  height: 4px;
  border-radius: 10px;
  background: rgba(31, 79, 163, 0.35);
  opacity: 1;
  margin: 0 6px !important;
  transition: all 0.35s ease;
}

.agenciesSwiper .swiper-pagination-bullet-active,
.clientsSwiper .swiper-pagination-bullet-active {
  width: 45px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-dark)
  );
}

/* ==================================================
   MOBILE OPTIMIZATION
================================================== */

@media (max-width: 768px) {

  .agencies-section,
  .clients-section {
    padding: 45px 0 55px;
  }

  .agencies-title,
  .clients-title {
    font-size: 1.9rem;
  }

  .agency-card {
    height: 155px;
    padding: 24px;
  }

  .client-card {
    height: 150px;
    padding: 22px;
  }

  .agency-card img,
  .client-card img {
    max-height: 70px;
  }
}


@keyframes logoPulse {
  0% {
    transform: scale(0.9) rotate(0deg);
    filter: saturate(90%);
  }
  50% {
    transform: scale(1.05) rotate(1deg);
    filter: saturate(115%);
  }
  100% {
    transform: scale(0.9) rotate(0deg);
    filter: saturate(90%);
  }
}

.agency-card::before,
.client-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%) rotate(25deg);
  transition: none;
  animation: shineMove 6s ease-in-out infinite;
}

@keyframes shineMove {
  0%   { transform: translateX(-120%) rotate(25deg); }
  50%  { transform: translateX(120%) rotate(25deg); }
  100% { transform: translateX(120%) rotate(25deg); }
}

.agency-card img,
.client-card img {
  animation:
    logoFloat 5s ease-in-out infinite,
    logoPulse 3.5s ease-in-out infinite;
  will-change: transform, filter;
}

.agency-card:hover img,
.client-card:hover img {
  transform: scale(1.25) rotate(-2deg);
  filter: saturate(130%) contrast(110%);
}

.agency-card,
.client-card {
  transform-style: preserve-3d;
}

.agency-card:hover,
.client-card:hover {
  transform: translateY(-16px) rotateX(8deg) rotateY(-8deg);
}


/* ==================================================
   SWIPER PAGINATION
================================================== */
.swiper-pagination-bullet {
  width: 22px;
  height: 4px;
  border-radius: 10px;
  background: rgba(31,79,163,.35);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  width: 42px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

/* ==================================================
   FLOATING ACTIONS
================================================== */
.floating-actions {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.fab-whatsapp { background: var(--primary); }
.fab-call { background: var(--secondary); }

/* ==================================================
   FOOTER
================================================== */
.footer {
  background: var(--secondary);
  color: #fff;
  padding: 70px 0 40px;
}

.footer a {
  color: rgba(255,255,255,.85);
}

.footer a:hover {
  color: #fff;
}


/* ==================================================
   PREMIUM SELECT DROPDOWN – ESC STYLE
================================================== */

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #ffffff;
  background-image:
    url("data:image/svg+xml;utf8,<svg fill='%23F2991F' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 22px;

  border: 2px solid #dbe3f1;
  border-radius: 16px;

  padding: 14px 18px 14px 48px;

  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;

  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover */
.form-select:hover {
  border-color: var(--primary);
}

/* Focus */
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 79, 163, 0.18);
  outline: none;
}

/* Placeholder (اختر المدينة) */
.form-select option[value=""] {
  color: #64748b;
  font-weight: 600;
}

/* ================================
   DROPDOWN OPTIONS (CRITICAL)
================================ */

/* All options */
.form-select option {
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background-color: #ffffff;
}

/* Hovered option (Chrome / Edge) */
.form-select option:hover {
  background-color: #e9f0ff;
}

/* Selected option */
.form-select option:checked {
  background-color: #F2991F;
  color: #ffffff;
}

/* ================================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {
  .form-select {
    font-size: 0.9rem;
    padding: 13px 16px 13px 44px;
  }
}


/* ==================================================
   VISION & MISSION SECTION
   ESC – Corporate Premium Style
================================================== */

/* Section wrapper */
section.py-5.bg-light {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fc 100%) !important;
  padding: 70px 0;
}

/* Card base */
.info-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 38px 34px;
  height: 100%;

  border: 1px solid rgba(31, 79, 163, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);

  transition: all 0.35s ease;
  overflow: hidden;
}

/* Accent top line */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-dark)
  );
  border-radius: 0 0 8px 8px;
}

/* Hover effect */
.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(31, 79, 163, 0.2);
}

/* Titles */
.info-card h4 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 14px;
  position: relative;
}

/* Decorative underline */
.info-card h4::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-dark)
  );
}

/* Text */
.info-card p {
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin: 0;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

  section.py-5.bg-light {
    padding: 55px 0;
  }

  .info-card {
    padding: 28px 24px;
  }

  .info-card h4 {
    font-size: 1.2rem;
  }

}


/* ==================================================
   INNER HERO (ALL INNER PAGES)
   ESC – Premium Industrial Style
================================================== */

.inner-hero {
  position: relative;
  padding: 85px 0 90px;
  background: linear-gradient(
    135deg,
    #0e1a2b 0%,
    #08105fb9 100%
  );
  overflow: hidden;
}

/* subtle pattern / glow */
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(244, 180, 26, 0.15),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.06),
      transparent 60%
    );
}

/* bottom separator */
.inner-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-dark)
  );
}

/* Content */
.inner-hero .container {
  position: relative;
  z-index: 2;
}

/* Title */
.inner-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ==================================================
   OPTIONAL SUBTITLE (IF ADDED LATER)
================================================== */

.inner-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

/* ==================================================
   MOBILE OPTIMIZATION
================================================== */

@media (max-width: 768px) {

  .inner-hero {
    padding: 65px 0 70px;
  }

  .inner-hero h1 {
    font-size: 1.9rem;
  }

}


/* ==================================================
   WAVE SEPARATOR – PREMIUM STYLE
================================================== */

.wave-separator {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-separator path {
  fill: var(--bg-section); /* لون القسم التالي */
}

/* فاصل فوق قسم داكن */
.wave-separator.dark path {
  fill: #0e1a2b;
}

/* فاصل فوق Hero */
.wave-separator.hero path {
  fill: var(--bg-main);
}

/* Responsive */
@media (max-width: 768px) {
  .wave-separator {
    height: 60px;
  }
}
/* ==================================================
   YEARS EXPERIENCE BOX – ABOUT SECTION
================================================== */

.years-box {
  position: absolute;
  top: 0;
  left: 0;

  width: 190px;
  height: 190px;

  background: linear-gradient(
    135deg,
    #ffffff,
    #f8fafc
  );

  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5;
}

/* subtle accent line */
.years-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 60px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-dark)
  );
}

/* inner content */
.years-box-inner {
  text-align: center;
  line-height: 1.1;
}

/* number */
.years-number {
  display: block;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--secondary);
}

/* سنة */
.years-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: 4px;
}

/* خبرة */
.years-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Hover effect */
.years-box:hover {
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {
  .years-box {
    width: 150px;
    height: 150px;
  }

  .years-number {
    font-size: 2.6rem;
  }

  .years-text {
    font-size: 1rem;
  }
}


/* ===== CONTACT POPUP ===== */

.contact-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.contact-popup {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 26px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popupFade .35s ease;
}

/* Close */
.popup-close {
  position: absolute;
  top: 12px;
  left: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #64748b;
}

/* Options */
.contact-options {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.contact-option {
  flex: 1;
  padding: 14px 12px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all .3s ease;
}

.contact-option i {
  font-size: 1.4rem;
}

/* WhatsApp */
.contact-option.whatsapp {
  background: linear-gradient(135deg, #25D366, #1DA851);
}

.contact-option.phone {
  background: linear-gradient(135deg, #1F4FA3, #163B7A);
}

.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* Animation */
@keyframes popupFade {
  from {
    transform: translateY(20px) scale(.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
