/* LOCAL FONT DEFINITIONS: Almarai (خط المراعي المحلي) */
 @font-face {
   font-family: 'Almarai';
   src: url('/assets/fonts/Almarai-Light.ttf') format('truetype');
   font-weight: 300;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Almarai';
   src: url('/assets/fonts/Almarai-Regular.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Almarai';
   src: url('/assets/fonts/Almarai-Bold.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Almarai';
   src: url('/assets/fonts/Almarai-ExtraBold.ttf') format('truetype');
   font-weight: 800;
   font-style: normal;
   font-display: swap;
 }

 /* LOCAL FONT DEFINITIONS: Scheherazade New (خط شهرزاد الجديد) */
 @font-face {
   font-family: 'Scheherazade New';
   src: url('/assets/fonts/ScheherazadeNew-Regular.ttf') format('truetype');
   font-weight: 400;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Scheherazade New';
   src: url('/assets/fonts/ScheherazadeNew-Medium.ttf') format('truetype');
   font-weight: 500;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Scheherazade New';
   src: url('/assets/fonts/ScheherazadeNew-SemiBold.ttf') format('truetype');
   font-weight: 600;
   font-style: normal;
   font-display: swap;
 }
 
 @font-face {
   font-family: 'Scheherazade New';
   src: url('/assets/fonts/ScheherazadeNew-Bold.ttf') format('truetype');
   font-weight: 700;
   font-style: normal;
   font-display: swap;
 }
 
 /* FONTAWESOME ICON FONT-FAMILY SAFEGUARDS */
 .fa-solid, .fas {
   font-family: "Font Awesome 6 Free" !important;
   font-weight: 900 !important;
 }
 
 .fa-brands, .fab {
   font-family: "Font Awesome 6 Brands" !important;
   font-weight: 400 !important;
 }
 
 .fa-regular, .far {
   font-family: "Font Awesome 6 Free" !important;
   font-weight: 400 !important;
 }
 
 /* HIDE SCROLLBAR UTILITY */
 .no-scrollbar::-webkit-scrollbar {
   display: none !important;
   width: 0 !important;
   width: 0 !important;
   height: 0 !important;
 }
 .no-scrollbar {
   -ms-overflow-style: none !important;
   scrollbar-width: none !important;
 }
 
 /* SLIM CUSTOM SCROLLBAR FOR DROPDOWNS */
 .slim-scrollbar::-webkit-scrollbar {
   width: 5px;
 }
 .slim-scrollbar::-webkit-scrollbar-track {
   background: #f1f5f9;
   border-radius: 9999px;
 }
 .slim-scrollbar::-webkit-scrollbar-thumb {
   background: #cbd5e1;
   border-radius: 9999px;
 }
 .slim-scrollbar::-webkit-scrollbar-thumb:hover {
   background: #94a3b8;
 }
 
 :root {
   --font-almarai: 'Almarai', sans-serif;
   --font-cairo: 'Cairo', sans-serif;
   --font-scheherazade: 'Scheherazade New', serif, sans-serif;
   --primary-green: #059669;
   --primary-green-hover: #047857;
   --whatsapp-green: #25d366;
   --whatsapp-green-hover: #128c7e;
 }
 
 html, body {
   overflow-x: clip;
 }

 body {
   font-family: var(--font-almarai);
   background-color: #ffffff;
   color: #0f172a;
 }

 /* NAVBAR CONTAINER & ULTRA SMOOTH FLOATING CAPSULE HEADER */
 #navbar-container {
   width: 100%;
 }
 #navbar-container header {
   background-color: #ffffff !important;
   transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
   will-change: transform, top, left, right, border-radius, box-shadow;
 }
 #navbar-container header.is-sticky-floating {
   position: fixed !important;
   top: 10px !important;
   left: 0.75rem !important;
   right: 0.75rem !important;
   max-width: 80rem !important;
   margin-left: auto !important;
   margin-right: auto !important;
   border-radius: 1.5rem !important;
   box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 8px 12px -6px rgba(15, 23, 42, 0.05) !important;
   border: 1px solid rgba(226, 232, 240, 0.95) !important;
   background-color: #ffffff !important;
   z-index: 50 !important;
 }
 @media (min-width: 640px) {
   #navbar-container header.is-sticky-floating {
     top: 16px !important;
     left: 1.5rem !important;
     right: 1.5rem !important;
   }
 }

/* Nav Link Hover & Active Animations (Green Theme) */
.nav-link {
  position: relative;
  transition: all 0.2s ease-in-out;
  color: #334155 !important;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 50%;
  transform: translateX(50%);
  width: 0%;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 9999px;
  transition: width 0.25s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 85%;
}

.nav-link.active {
  color: var(--primary-green) !important;
  font-weight: 800;
}

/* DESKTOP SERVICES DROPDOWN EXPLICIT HOVER & CLICK STYLING */
.services-dropdown-container {
  position: relative;
}

.services-dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(6px);
}

.services-dropdown-container:hover .services-dropdown-menu,
.services-dropdown-container.active .services-dropdown-menu,
.services-dropdown-container:focus-within .services-dropdown-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* DROPDOWN ITEM HOVER ANIMATION (GREEN ACCENTS) */
.dropdown-service-item {
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
}

.dropdown-service-item:hover {
  background-color: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.dropdown-service-item:hover .icon-box-mini {
  background-color: #059669 !important;
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.dropdown-service-item:hover .service-title-text {
  color: #047857 !important;
  font-weight: 800 !important;
}

/* HIGH CONTRAST BUTTON STYLING (GREEN THEME) */
.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
  transition: all 0.25s ease !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.25s ease !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
}

.btn-toggle {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  transition: all 0.2s ease !important;
}

.btn-toggle:hover {
  background-color: #e2e8f0 !important;
  color: #059669 !important;
  border-color: #94a3b8 !important;
}

/* FIXED FLOATING ACTION BUTTONS EXPLICIT STYLING */
.btn-floating-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-floating-whatsapp:hover {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55) !important;
}

.btn-floating-phone {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-floating-phone:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.55) !important;
}

/* DARK FOOTER EXPLICIT STYLING */
.footer-dark {
  background-color: #090d16 !important;
  color: #94a3b8 !important;
  border-top: 1px solid #1e293b !important;
}

.footer-dark h3 {
  color: #ffffff !important;
}

.footer-dark p, .footer-dark span {
  color: #cbd5e1;
}

.footer-dark a {
  color: #cbd5e1 !important;
  transition: color 0.2s ease;
}

.footer-dark a:hover {
  color: #34d399 !important;
}

.footer-dark-border {
  border-color: #1e293b !important;
}

/* HERO RESPONSIVE HEIGHT STYLING */
@media (min-width: 1024px) {
  .hero-full-screen {
    min-height: calc(100vh - 80px) !important;
  }
}

@media (max-width: 1023px) {
  .hero-full-screen {
    min-height: auto !important;
    height: auto !important;
  }
}

.hero-bg-gradient {
  background: radial-gradient(circle at 75% 30%, rgba(209, 250, 229, 0.6) 0%, rgba(248, 250, 252, 0.95) 60%, #ffffff 100%);
}

/* HIGH CONTRAST DYNAMIC GRADIENT TITLE */
.hero-gradient-text {
  color: #047857 !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900 !important;
}

/* ELEGANT FLOATING GLASS BADGES */
.badge-top-floating {
  top: -6px !important;
  right: -2px !important;
}

.badge-bottom-floating {
  bottom: -6px !important;
  left: -2px !important;
}

@media (min-width: 640px) {
  .badge-top-floating {
    top: -12px !important;
    right: 0px !important;
  }
  .badge-bottom-floating {
    bottom: -12px !important;
    left: 0px !important;
  }
}

@media (max-width: 639px) {
  .badge-top-floating, .badge-bottom-floating {
    transform: scale(0.88);
  }
}

.hero-img-drop-shadow {
  filter: drop-shadow(0 15px 25px rgba(5, 150, 105, 0.15));
}

.hero-slide-fade {
  animation: heroSlideFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes heroSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ABOUT SECTION LUXURY STYLING */
.about-card-glow {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
  box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.12), 0 0 15px rgba(255, 255, 255, 0.8) inset;
}

.about-feature-box {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.about-feature-box:hover {
  transform: translateY(-3px);
  border-color: #6ee7b7;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.15);
  background-color: #ffffff;
}

.about-feature-box:hover .icon-box {
  background-color: #059669 !important;
  color: #ffffff !important;
  transform: scale(1.05);
}

.about-stat-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: #6ee7b7 !important;
  box-shadow: 0 12px 25px -5px rgba(5, 150, 105, 0.12) !important;
}

/* Thumbnail Active Highlights */
.hero-thumb-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #e2e8f0;
}

.hero-thumb-btn:hover {
  border-color: #6ee7b7;
  transform: translateY(-2px);
}

.hero-thumb-btn.active {
  border-color: #059669 !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.22) !important;
  transform: translateY(-2px) scale(1.02);
}

.hero-thumb-btn.active .thumb-title {
  color: #059669 !important;
  font-weight: 800 !important;
}

/* Progress bar fill for 3-second timer */
.hero-timer-bar {
  transition: width 0.1s linear;
}

/* Mobile Nav Drawer Transition */
.mobile-menu-drawer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* EXPLICIT EMERALD GREEN COLOR UTILITIES FOR STATIC TAILWIND COMPATIBILITY */
.text-emerald-600, .text-blue-600 {
  color: #059669 !important;
}

.text-emerald-700, .text-blue-700 {
  color: #047857 !important;
}

.text-emerald-400, .text-blue-400 {
  color: #34d399 !important;
}

.bg-emerald-600, .bg-blue-600 {
  background-color: #059669 !important;
}

.bg-emerald-50, .bg-blue-50 {
  background-color: #ecfdf5 !important;
}

.border-emerald-200, .border-blue-200 {
  border-color: #a7f3d0 !important;
}

.border-emerald-500, .border-blue-500 {
  border-color: #10b981 !important;
}

/* SLATE, AMBER & TEAL UTILITIES FOR DARK STATS BAR & CARDS */
.bg-slate-900 {
  background-color: #0f172a !important;
}

.border-slate-800 {
  border-color: #1e293b !important;
}

.divide-slate-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: #1e293b !important;
}

.text-slate-300 {
  color: #cbd5e1 !important;
}

.text-slate-400 {
  color: #94a3b8 !important;
}

.text-slate-950 {
  color: #020617 !important;
}

.text-amber-400 {
  color: #fbbf24 !important;
}

.bg-amber-400 {
  background-color: #fbbf24 !important;
}

.hover\:bg-amber-500:hover, .bg-amber-400:hover {
  background-color: #f59e0b !important;
}

.text-teal-400 {
  color: #2dd4bf !important;
}

.dir-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

/* 3-Second Timer Progress Bar Fill & Counter */
#heroTimerBar {
  background: linear-gradient(90deg, #059669 0%, #0d9488 100%) !important;
}

#heroSlideCounter {
  color: #059669 !important;
}

/* ==========================================================================
   ULTRA-PREMIUM 8 SERVICE CARDS STYLING & MICRO-INTERACTIONS
   ========================================================================== */

/* Common Card Base Effects */
.service-card-base {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, box-shadow;
}

.service-card-base:hover {
  transform: translateY(-8px);
}

.service-card-base:hover .card-img-scale {
  transform: scale(1.08) rotate(-1deg);
}

.card-img-scale {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Card Style 1: Glassmorphism Glow */
.card-style-1 {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}
.card-style-1:hover {
  border-color: #34d399;
  box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.2);
}

/* Card Style 2: Modern Curved Arc Header */
.card-style-2 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}
.card-style-2:hover {
  box-shadow: 0 22px 45px -12px rgba(13, 148, 136, 0.25);
  border-color: #0d9488;
}

/* Card Style 3: Neon Aura Glow */
.card-style-3 {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  position: relative;
}
.card-style-3:hover {
  border-color: #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.22);
}

/* Card Style 4: Notch Curve Badge */
.card-style-4 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
.card-style-4:hover {
  border-color: #059669;
  box-shadow: 0 18px 35px rgba(5, 150, 105, 0.15);
}

/* Card Style 5: Neumorphic Soft Layer */
.card-style-5 {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.07);
}
.card-style-5:hover {
  box-shadow: 0 24px 50px -10px rgba(5, 150, 105, 0.18);
  border-color: #6ee7b7;
}

/* Card Style 6: 2x2 Mini Matrix Frame */
.card-style-6 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}
.card-style-6:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.18);
}

/* Card Style 7: Ribbon Banner Corner */
.card-style-7 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.card-style-7:hover {
  border-color: #f59e0b;
  box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.2);
}
.card-ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 34px;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  z-index: 10;
}

/* Card Style 8: Holographic Royal Frame */
.card-style-8 {
  background: linear-gradient(165deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  box-shadow: 0 12px 35px -8px rgba(5, 150, 105, 0.12);
}
.card-style-8:hover {
  border-color: #059669;
  box-shadow: 0 24px 50px -10px rgba(5, 150, 105, 0.28);
}

