/* Import Google Fonts for modern Arabic Typography */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Tajawal:wght@300;400;500;700;900&display=swap');

/* ==========================================
   1. Design Tokens & Root Variables
   ========================================== */
:root {
  /* Colors */
  --primary-navy: #0B1F3A;
  --royal-blue: #1E5BFF;
  --light-sky: #EAF3FF;
  --cta-orange: #FF9F1C;
  --cta-orange-hover: #e58d14;
  --pure-white: #FFFFFF;
  --text-gray: #5F6B7A;
  --border-color: #E2E8F0;
  --accent-green: #2EC4B6;
  
  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #1E5BFF 0%, #0A3C9B 100%);
  --gradient-dark: linear-gradient(135deg, #0B1F3A 0%, #051020 100%);
  --gradient-orange: linear-gradient(135deg, #FF9F1C 0%, #FF7A00 100%);
  --gradient-soft: linear-gradient(180deg, #EAF3FF 0%, #FFFFFF 100%);
  --gradient-glass: rgba(255, 255, 255, 0.85);

  /* Fonts */
  --font-headings: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-body: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 10px 20px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 31, 58, 0.12);
  --shadow-blue: 0 10px 25px rgba(30, 91, 255, 0.25);
  --shadow-orange: 0 10px 25px rgba(255, 159, 28, 0.35);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   2. Reset & Global Styles
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--pure-white);
  color: var(--primary-navy);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-headings);
  outline: none;
}

ul {
  list-style: none;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light-sky);
}
::-webkit-scrollbar-thumb {
  background: var(--royal-blue);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-navy);
}

/* ==========================================
   3. Typography & Titles
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 800;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Double color section title underline */
h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60px;
  height: 4px;
  background-color: var(--cta-orange);
  border-radius: var(--radius-full);
}

h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 70px;
  width: 20px;
  height: 4px;
  background-color: var(--royal-blue);
  border-radius: var(--radius-full);
}

.center-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.center-title h2::after {
  right: 50%;
  transform: translateX(50%);
}
.center-title h2::before {
  right: calc(50% - 45px);
  transform: translateX(50%);
}

.section-desc {
  color: var(--text-gray);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}

/* ==========================================
   4. Reusable Layout Components
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.bg-sky {
  background-color: var(--light-sky);
}

.bg-dark {
  background: var(--gradient-dark);
  color: var(--pure-white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--pure-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 159, 28, 0.45);
}

.btn-secondary {
  background: var(--gradient-blue);
  color: var(--pure-white);
  box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(30, 91, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
  background: var(--primary-navy);
  color: var(--pure-white);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
}

.btn-outline-white:hover {
  background: var(--pure-white);
  color: var(--primary-navy);
  transform: translateY(-3px);
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* Micro pulse for CTAs */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(255, 159, 28, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 159, 28, 0); }
}

.pulse-anim {
  animation: pulse 2s infinite;
}

/* Truck entering animation */
@keyframes truck-in {
  0% { transform: translateX(-150px); opacity: 0; }
  70% { transform: translateX(10px); }
  100% { transform: translateX(0); opacity: 1; }
}

/* Shield protection pulse */
@keyframes shield-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px var(--royal-blue)); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Scroll Reveal classes */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-slow);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   5. Header Navigation
   ========================================== */
header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

/* Class added via JS on scroll */
header.scrolled {
  background-color: var(--gradient-glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 5px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .header-container {
  height: 70px;
}

.logo-wrapper {
  width: 180px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 1rem;
  padding: 8px 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--royal-blue);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

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

.header-ctas {
  display: flex;
  gap: 12px;
}

.header-ctas .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1010;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-navy);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* ==========================================
   6. Hero Section
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px; /* Offset for header */
  display: flex;
  align-items: center;
  background: var(--gradient-soft);
  overflow: hidden;
}

/* Background elements */
.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-shape-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 91, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  top: -100px;
  left: -100px;
}

.hero-shape-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: -50px;
  right: -50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--royal-blue);
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  color: var(--cta-orange);
}

.hero-title h1 {
  color: var(--primary-navy);
}

.hero-title h1 span {
  color: var(--royal-blue);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-elements {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.trust-item svg {
  color: var(--royal-blue);
  flex-shrink: 0;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pure-white);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Floating overlay icons in Hero */
.hero-card-floating {
  position: absolute;
  background-color: var(--pure-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  border: 1px solid var(--border-color);
}

.floating-1 {
  top: 10%;
  right: -20px;
  animation: float 4s ease-in-out infinite;
}

.floating-2 {
  bottom: 12%;
  left: -20px;
  animation: float 4s ease-in-out infinite 2s; /* offset */
}

.floating-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--light-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-blue);
}

.floating-1 .floating-icon-wrapper {
  background-color: #FFF2DF;
  color: var(--cta-orange);
}

.floating-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.floating-subtitle {
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* Animated Truck element */
.truck-animated-overlay {
  animation: truck-in 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ==========================================
   7. Trust Bar
   ========================================== */
.trust-bar {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--pure-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.trust-bar-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-left: 1px solid var(--border-color);
}

.trust-bar-card:last-child {
  border-left: none;
}

.trust-bar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--light-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-blue);
  flex-shrink: 0;
}

.trust-bar-card:nth-child(even) .trust-bar-icon {
  background-color: #FFF2DF;
  color: var(--cta-orange);
}

.trust-bar-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.trust-bar-info p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

/* ==========================================
   8. Why Choose Us Section
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--pure-white);
  padding: 35px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--light-sky);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  background-color: var(--royal-blue);
  color: var(--pure-white);
}

.why-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   STATS COUNTER SECTION
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--cta-orange);
  line-height: 1.1;
  margin-bottom: 10px;
  font-family: var(--font-headings);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--light-sky);
  opacity: 0.9;
}

/* ==========================================
   9. Services Section
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--pure-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 31, 58, 0) 50%, rgba(11, 31, 58, 0.6) 100%);
  pointer-events: none;
}

.service-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.service-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--royal-blue);
  align-self: flex-start;
  transition: var(--transition-fast);
}

.service-link svg {
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--cta-orange);
}

.service-link:hover svg {
  transform: translateX(-4px); /* RTL slide-left */
}

/* ==========================================
   10. Guarantee Section
   ========================================== */
.guarantee-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.guarantee-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.guarantee-shield-container {
  width: 150px;
  height: 150px;
  background-color: rgba(30, 91, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-orange);
  position: absolute;
  top: -40px;
  right: -20px;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  animation: shield-pulse 3s infinite ease-in-out;
}

.guarantee-image-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.guarantee-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
}

.guarantee-badge {
  background-color: rgba(30, 91, 255, 0.15);
  color: var(--light-sky);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(30, 91, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.guarantee-badge svg {
  color: var(--cta-orange);
}

.guarantee-content h2 {
  color: var(--pure-white);
  margin-bottom: 1.5rem;
}

.guarantee-content h2::after {
  background-color: var(--cta-orange);
}

.guarantee-desc {
  font-size: 1.15rem;
  color: var(--light-sky);
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 2.5rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}

.guarantee-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================
   11. Steps (Timeline) Section
   ========================================== */
.timeline-container {
  position: relative;
  padding: 40px 0;
}

/* Horizontal line on Desktop */
.timeline-line {
  position: absolute;
  top: 120px;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: var(--light-sky);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 0%; /* Will animate in JS or CSS */
  background-color: var(--royal-blue);
  transition: width 1.5s ease-out;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--pure-white);
  border: 4px solid var(--light-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
}

.timeline-step:hover .timeline-circle {
  border-color: var(--royal-blue);
  color: var(--pure-white);
  background-color: var(--royal-blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.1);
}

/* Active connection points */
.timeline-circle::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--cta-orange);
  border-radius: var(--radius-full);
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: var(--transition-fast);
}

.timeline-step:hover .timeline-circle::after {
  opacity: 1;
}

.timeline-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-info p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==========================================
   12. Gallery Section
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 31, 58, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-normal);
  padding: 20px;
  text-align: center;
}

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

.gallery-icon-zoom {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--royal-blue);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: var(--shadow-blue);
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-icon-zoom {
  transform: scale(1);
}

.gallery-hover-overlay h4 {
  color: var(--pure-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-hover-overlay p {
  color: var(--light-sky);
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ==========================================
   13. Jeddah Neighborhoods Section
   ========================================== */
.areas-desc {
  max-width: 650px;
  margin: 1rem auto 2.5rem;
  color: var(--text-gray);
  text-align: center;
  font-size: 1.1rem;
}

.areas-chips-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 3.5rem;
}

.area-chip {
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease, 
              color 0.4s ease;
}

/* Gradient border mask on hover */
.area-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--royal-blue), var(--cta-orange));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.area-chip svg {
  width: 34px;
  height: 34px;
  color: var(--royal-blue);
  background-color: var(--light-sky);
  padding: 8px;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              color 0.4s ease, 
              background-color 0.4s ease;
}

.area-chip:hover {
  border-color: rgba(30, 91, 255, 0.2);
  color: var(--royal-blue);
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-lg), 0 10px 20px rgba(30, 91, 255, 0.05);
}

.area-chip:hover svg {
  color: var(--pure-white);
  background-color: var(--royal-blue);
  transform: scale(1.1) rotate(10deg);
}

.area-chip:hover::before {
  opacity: 1;
}

/* Staggered entry transitions */
.areas-chips-container.reveal-visible .area-chip {
  opacity: 1;
  transform: translateY(0);
}

.areas-chips-container.reveal-visible .area-chip:nth-child(1) { transition-delay: 0.05s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(2) { transition-delay: 0.1s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(3) { transition-delay: 0.15s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(4) { transition-delay: 0.2s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(5) { transition-delay: 0.25s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(6) { transition-delay: 0.3s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(7) { transition-delay: 0.35s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(8) { transition-delay: 0.4s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(9) { transition-delay: 0.45s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(10) { transition-delay: 0.5s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(11) { transition-delay: 0.55s; }
.areas-chips-container.reveal-visible .area-chip:nth-child(12) { transition-delay: 0.6s; }

.areas-cta-wrapper {
  text-align: center;
}

.areas-cta-wrapper .btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-orange);
  border-radius: var(--radius-full);
}

/* ==========================================
   14. Testimonials (Reviews) Section
   ========================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background-color: var(--pure-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.review-rating {
  color: #FFB020;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--primary-navy);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.author-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-blue);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.review-card:nth-child(2n) .author-avatar-initials {
  background: var(--gradient-orange);
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-info p svg {
  color: var(--accent-green);
}

/* ==========================================
   15. FAQ Section (Accordion)
   ========================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--pure-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--pure-white);
  transition: var(--transition-normal);
}

.faq-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  padding-left: 15px; /* offset for icon */
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--royal-blue);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: var(--transition-normal);
}

/* Horizontal line */
.faq-toggle-icon::before {
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
  width: 2px;
  height: 14px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(135deg);
  color: var(--cta-orange);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #FAFCFF;
}

.faq-body {
  padding: 0 24px 24px;
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content {
  /* Dynamic height in JS, using fallback for CSS */
  max-height: 500px; 
}

.faq-item.active .faq-body {
  border-top: 1px solid var(--border-color);
}

/* ==========================================
   16. Final CTA Section
   ========================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
}

.final-cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.final-cta-shape-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.1) 0%, rgba(11, 31, 58, 0) 75%);
  top: -200px;
  right: -100px;
}

.final-cta-shape-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 91, 255, 0.08) 0%, rgba(11, 31, 58, 0) 75%);
  bottom: -200px;
  left: -100px;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.final-cta-content h2 {
  color: var(--pure-white);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.final-cta-content h2::after {
  background-color: var(--cta-orange);
}

.final-cta-desc {
  font-size: 1.2rem;
  color: var(--light-sky);
  opacity: 0.9;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.final-cta-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.final-cta-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================
   17. Footer Block
   ========================================== */
footer {
  background: linear-gradient(180deg, #051020 0%, #02070e 100%);
  color: #B2BDCC;
  padding: 90px 0 25px;
  font-size: 0.95rem;
  border-top: 4px solid var(--royal-blue);
  position: relative;
  overflow: hidden;
}

/* Glowing background orb for premium depth */
footer::before {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(30, 91, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 45px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.footer-col {
  display: flex;
  flex-direction: column;
  position: relative;
}

.footer-logo {
  width: 200px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.footer-desc {
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: #93A3B8;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #B2BDCC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.social-link:hover {
  background-color: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--pure-white);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(30, 91, 255, 0.35);
}

.footer-col h3 {
  color: var(--pure-white);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

/* Expanding gradient underline on hover */
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45px;
  height: 3px;
  background: linear-gradient(90deg, var(--cta-orange) 0%, var(--royal-blue) 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col:hover h3::after {
  width: 80px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #93A3B8;
  transition: padding-right 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.footer-link svg {
  color: var(--royal-blue);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
}

.footer-link:hover {
  color: var(--pure-white);
  padding-right: 6px; /* RTL slide-right */
}

/* Move chevron forward (to the left in RTL) on hover */
.footer-link:hover svg {
  color: var(--cta-orange);
  transform: translateX(-5px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease;
}

.contact-info-item:hover {
  border-color: rgba(30, 91, 255, 0.1);
}

.contact-info-item svg {
  color: var(--royal-blue);
  margin-top: 3px;
  flex-shrink: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-info-item:hover svg {
  color: var(--cta-orange);
  transform: scale(1.15) rotate(-5deg);
}

.contact-info-text h4 {
  color: var(--pure-white);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text p, .contact-info-text a {
  color: #93A3B8;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--pure-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

.footer-copyright {
  color: #7D8C9E;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link {
  color: #7D8C9E;
  transition: var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--pure-white);
}

/* ==========================================
   18. Mobile Floating Bar & Sticky elements
   ========================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* Bottom Sticky CTA Bar on Mobile */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--pure-white);
  box-shadow: 0 -8px 25px rgba(11, 31, 58, 0.15);
  z-index: 998;
  border-top: 1px solid var(--border-color);
  padding: 10px 15px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-sticky-bar .btn {
  padding: 12px 6px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  gap: 6px;
}

.mobile-sticky-bar .btn svg {
  width: 16px;
  height: 16px;
}

.mobile-sticky-bar .btn-whatsapp {
  background-color: #25D366;
  color: var(--pure-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* ==========================================
   19. Lightbox (Interactive Gallery Overlay)
   ========================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--pure-white);
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 31, 58, 0.8);
  color: var(--pure-white);
  padding: 15px;
  text-align: center;
  font-family: var(--font-headings);
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  left: 25px; /* RTL top-left placement */
  color: var(--pure-white);
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--cta-orange);
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pure-white);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2010;
}

.lightbox-arrow:hover {
  background-color: var(--royal-blue);
  color: var(--pure-white);
}

.lightbox-prev {
  right: 25px;
}

.lightbox-next {
  left: 25px;
}

/* ==========================================
   20. Responsive Media Queries
   ========================================== */

/* Laptop & Large Screens (Desktop First) */
@media (max-width: 1200px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* Tablet (Portrait & Landscape) */
@media (max-width: 991px) {
  .section-padding { padding: 60px 0; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-badge, .hero-ctas, .hero-trust-elements { justify-content: center; align-self: center; }
  .hero-visual { order: -1; margin-bottom: 20px; } /* visual goes top */
  
  .trust-bar { margin-top: 0; padding: 40px 0 0; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-bar-card { border-left: none; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
  .trust-bar-grid :nth-child(3), .trust-bar-grid :nth-child(4) { border-bottom: none; padding-bottom: 0; }
  
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: 1fr; gap: 40px; }
  .guarantee-visual { order: -1; }
  
  .timeline-line { display: none; }
  .timeline-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline-step { flex-direction: row; text-align: right; gap: 20px; }
  .timeline-circle { margin-bottom: 0; flex-shrink: 0; }
  
  .final-cta-grid { grid-template-columns: 1fr; text-align: center; }
  .final-cta-buttons { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* Mobile Devices (Portrait) */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section-padding { padding: 50px 0; }
  
  /* Navigation mobile menu */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--pure-white);
    flex-direction: column;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 30px rgba(11, 31, 58, 0.15);
    transition: var(--transition-normal);
    z-index: 1005;
    gap: 30px;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .header-ctas { display: none; } /* Hide in header, shown in bottom bar */
  
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .guarantee-list { grid-template-columns: 1fr; }
  
  .floating-whatsapp-btn {
    bottom: 80px; /* offset for bottom bar */
    left: 20px;
  }
  
  .mobile-sticky-bar {
    display: grid;
  }
  
  body {
    padding-bottom: 70px; /* spacing for bottom bar */
  }
  
  /* Adjust floatings in Hero */
  .hero-card-floating {
    padding: 8px 12px;
  }
  .floating-1 { right: 0; }
  .floating-2 { left: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  .timeline-step { flex-direction: column; text-align: center; }
  .timeline-circle { margin-bottom: 12px; }
  
  /* Disable animations on very slow mobiles for performance */
  .reveal-hidden {
    transform: none;
    transition: opacity 0.4s ease;
  }
  .truck-animated-overlay {
    animation: none;
  }
  .float-anim {
    animation: none;
  }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-number { font-size: 2.8rem; }
}

/* ==========================================
   21. INTERNAL PAGES COMMON STYLES
   ========================================== */
.inner-hero {
  padding: 140px 0 60px;
  background: var(--gradient-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  text-align: right;
}
.inner-hero-center {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.inner-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 15px;
}
.inner-hero p {
  font-size: 1.15rem;
  color: var(--text-gray);
  line-height: 1.7;
}
.inner-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--pure-white);
}

.breadcrumb-bar {
  background-color: var(--pure-white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 700;
}
.breadcrumb-bar a {
  color: var(--royal-blue);
  transition: var(--transition-fast);
}
.breadcrumb-bar a:hover {
  color: var(--cta-orange);
}
.breadcrumb-bar span {
  color: var(--primary-navy);
}
.breadcrumb-separator {
  margin: 0 8px;
  color: #A0AEC0;
  font-weight: normal;
}

/* Internal Page Grids */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-story-text p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.vision-card, .mission-card {
  background-color: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}
.vision-card:hover, .mission-card:hover {
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-lg);
}

.inner-cta-banner {
  background: var(--gradient-dark);
  color: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.inner-cta-banner h2 {
  font-size: 2.2rem;
  color: var(--pure-white);
  margin-bottom: 15px;
}
.inner-cta-banner h2::after, .inner-cta-banner h2::before {
  display: none;
}
.inner-cta-banner p {
  font-size: 1.2rem;
  color: var(--light-sky);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 30px;
}
.inner-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Service Details Page */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}
.service-detail-content p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar-widget {
  background-color: var(--pure-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--light-sky);
  padding-bottom: 10px;
}
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: #F8FAFC;
  border: 1px solid var(--border-color);
  font-weight: 700;
  transition: var(--transition-fast);
}
.sidebar-link:hover, .sidebar-link.active {
  background-color: var(--royal-blue);
  color: var(--pure-white);
  border-color: var(--royal-blue);
  transform: translateY(-2px);
}
.sidebar-link svg {
  color: var(--royal-blue);
  transition: var(--transition-fast);
}
.sidebar-link:hover svg, .sidebar-link.active svg {
  color: var(--pure-white);
}

@media (max-width: 991px) {
  .inner-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .inner-hero-image { order: -1; max-width: 500px; margin: 0 auto 20px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   22. CONTACT PAGE & FORM STYLES
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background-color: var(--pure-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-normal);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--royal-blue);
}

.info-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--light-sky);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card:nth-child(even) .info-card-icon {
  background-color: #FFF2DF;
  color: var(--cta-orange);
}

.info-card-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--primary-navy);
}

.info-card-content p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-card-content a {
  color: var(--royal-blue);
  font-weight: 700;
}

.info-card-content a:hover {
  color: var(--cta-orange);
}

/* Form Styles */
.contact-form-wrapper {
  background-color: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.contact-form-wrapper h2::after, .contact-form-wrapper h2::before {
  display: none; /* No underlines on form heading */
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.form-control {
  font-family: var(--font-body);
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--primary-navy);
  background-color: #F8FAFC;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--royal-blue);
  background-color: var(--pure-white);
  box-shadow: 0 0 0 3px rgba(30, 91, 255, 0.1);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 18px;
  padding-left: 45px;
}

/* Success Message styles */
.form-success-message {
  display: none;
  background-color: rgba(46, 196, 182, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--primary-navy);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  text-align: center;
}

.form-success-message.active {
  display: block;
}

/* Map Grid */
.map-section {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 400px;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--light-sky);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.map-placeholder svg {
  color: var(--royal-blue);
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
}

.map-placeholder h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.map-placeholder p {
  color: var(--text-gray);
  max-width: 500px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   23. ADVANCED PREMIUM STYLING & ANIMATION OVERLAYS (ANTIGRAVITY UPGRADE)
   ========================================================================== */

/* Rotating Text Typing Layout */
.rotating-text {
  color: var(--cta-orange);
  border-left: 3px solid var(--cta-orange);
  padding-left: 8px;
  display: inline-block;
  white-space: nowrap;
  animation: typing-caret 0.8s infinite;
}

@keyframes typing-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--cta-orange); }
}

/* Subtitle for Hero styling */
.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--primary-navy);
}

/* Glassmorphism Panel Utilities */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(11, 31, 58, 0.08);
}

.hero-card-floating.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(30, 91, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hero-card-floating.glass-panel:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 15px 30px rgba(30, 91, 255, 0.15);
}

/* Sweep Shine Button Overlay */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.btn:hover::after {
  left: 150%;
  transition: all 0.8s ease;
}

/* Card Hover Border Glow (Tilt Feel) */
.why-card, .service-card, .review-card {
  position: relative;
  z-index: 1;
}

.why-card::before, .service-card::before, .review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--royal-blue), var(--cta-orange));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.why-card:hover::before, .service-card:hover::before, .review-card:hover::before {
  opacity: 1;
}

/* Why-card icon rotation animation on hover */
.why-card:hover .why-icon svg {
  transform: rotateY(360deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-icon svg {
  transition: transform 0.6s ease;
}

/* Interactive Timeline dynamic fillings */
.timeline-step.active .timeline-circle {
  border-color: var(--royal-blue);
  background-color: var(--royal-blue);
  color: var(--pure-white);
  box-shadow: var(--shadow-blue), 0 0 15px rgba(30, 91, 255, 0.4);
  transform: scale(1.15);
}

.timeline-step.active .timeline-circle::after {
  opacity: 1;
  transform: translateX(-50%) scale(1.2);
}

.timeline-step.active .timeline-info h3 {
  color: var(--royal-blue);
  transition: color 0.3s ease;
}

/* Interactive WhatsApp bubble popup layout */
.whatsapp-bubble {
  position: fixed;
  bottom: 100px;
  left: 35px;
  background-color: var(--pure-white);
  color: var(--primary-navy);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 4px 15px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  max-width: 240px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #E2E8F0;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  direction: rtl;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--pure-white) transparent;
  display: block;
  width: 0;
}

.whatsapp-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.close-bubble {
  color: var(--text-gray);
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: bold;
  padding: 2px;
  line-height: 1;
  transition: var(--transition-fast);
}

.close-bubble:hover {
  color: #FF5A5A;
}

/* Particle / Blob shape enhancements in Hero & CTAs */
.hero-shape-1, .hero-shape-2, .final-cta-shape-1, .final-cta-shape-2 {
  transition: transform 0.5s ease-out;
}

/* Magnetic link effects in Header */
.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--royal-blue);
}

/* Mobile Sticky Bar Glass styling */
.mobile-sticky-bar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================================
   24. STATS COUNTER GLASS CARDS & GRADIENT NUMBERS
   ========================================================================== */

/* Glassmorphism for Stats section cards */
.glass-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 91, 255, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 15px 35px rgba(30, 91, 255, 0.15);
}

/* Stat numbers gradient & text-shadow */
.glass-stat-card .stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFB020 0%, #FF7A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(255, 159, 28, 0.2));
  margin-top: 10px;
}

/* Icons within Stats Section */
.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(30, 91, 255, 0.12);
  border: 1px solid rgba(30, 91, 255, 0.2);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 15px rgba(30, 91, 255, 0.1);
}

.glass-stat-card:hover .stat-icon-wrapper {
  transform: scale(1.1) rotate(10deg);
  background: var(--royal-blue);
  color: var(--pure-white);
  box-shadow: 0 0 20px rgba(30, 91, 255, 0.4);
}

.glass-stat-card:nth-child(even) .stat-icon-wrapper {
  background: rgba(255, 159, 28, 0.12);
  border-color: rgba(255, 159, 28, 0.2);
  color: var(--cta-orange);
  box-shadow: 0 0 15px rgba(255, 159, 28, 0.1);
}

.glass-stat-card:nth-child(even):hover .stat-icon-wrapper {
  background: var(--cta-orange);
  color: var(--pure-white);
  box-shadow: 0 0 20px rgba(255, 159, 28, 0.4);
}

.glass-stat-card .stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #B2BDCC;
  margin-top: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.glass-stat-card:hover .stat-label {
  color: var(--pure-white);
}

/* Adjust stats section background */
.stats-section {
  position: relative;
  overflow: hidden;
}

/* TIMED & EXIT-INTENT POPUP STYLES */
.exit-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 31, 58, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.exit-popup-container.show {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  padding: 35px 25px;
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid var(--royal-blue);
}

.exit-popup-container.show .exit-popup-card {
  transform: scale(1);
}

.exit-popup-close {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.5rem;
  color: var(--text-gray);
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light-sky);
  transition: var(--transition-fast);
}

.exit-popup-close:hover {
  background: var(--primary-navy);
  color: var(--pure-white);
}

.exit-popup-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 159, 28, 0.1);
  color: var(--cta-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.exit-popup-title {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 800;
}

.exit-popup-desc {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.exit-popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.exit-popup-actions .btn {
  padding: 12px 20px;
  font-size: 0.9rem;
  flex: 1;
}

@media (max-width: 480px) {
  .exit-popup-card {
    padding: 30px 20px;
  }
  .exit-popup-actions {
    flex-direction: column;
    gap: 8px;
  }
  .exit-popup-actions .btn {
    width: 100%;
  }
}

/* PREMIUM HOMEPAGE GEOMETRIC DECORATIONS & DYNAMIC ANIMATIONS */
.hero-grid-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(30, 91, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 91, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  pointer-events: none;
}

.floating-vector {
  position: absolute;
  opacity: 0.15;
  color: var(--royal-blue);
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 8px rgba(30, 91, 255, 0.2));
}

.vector-box {
  top: 15%;
  left: 10%;
  animation: floatVector 12s ease-in-out infinite;
}

.vector-pin {
  bottom: 25%;
  right: 15%;
  color: var(--cta-orange);
  animation: floatVector 16s ease-in-out infinite 2s;
}

.vector-arrow {
  top: 45%;
  right: 40%;
  animation: floatVector 14s ease-in-out infinite 1s;
}

@keyframes floatVector {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(20px, -30px) rotate(15deg) scale(1.05);
  }
  66% {
    transform: translate(-15px, 20px) rotate(-10deg) scale(0.95);
  }
}

/* Float Animations for Hero Floating Cards */
@keyframes floatSlow1 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes floatSlow2 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1.5deg);
  }
}

.hero-visual .floating-1 {
  animation: floatSlow1 6s ease-in-out infinite !important;
}

.hero-visual .floating-2 {
  animation: floatSlow2 7s ease-in-out infinite 0.5s !important;
}

/* Glow Aura behind LCP Hero visual container */
.hero-image-container::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(30, 91, 255, 0.18) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* Premium gradient underline animated section titles */
h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--cta-orange) 0%, var(--royal-blue) 100%);
  border-radius: var(--radius-full);
  animation: lineGlow 3s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes lineGlow {
  0%, 100% { background-position: 0% 50%; width: 80px; }
  50% { background-position: 100% 50%; width: 110px; }
}

/* Enhanced Cards Hovers */
.trust-bar-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.trust-bar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--royal-blue), var(--cta-orange));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-bar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 10px 20px rgba(30, 91, 255, 0.05);
  border-color: rgba(30, 91, 255, 0.2);
}

.trust-bar-card:hover::before {
  transform: scaleY(1);
}

.why-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.why-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 91, 255, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 12px 24px rgba(30, 91, 255, 0.06);
  border-color: rgba(30, 91, 255, 0.25);
}

.why-card:hover::after {
  opacity: 1;
}

/* ==========================================================================
   24. MOBILE RESPONSIVE OVERRIDES (About & Services Pages QA)
   ========================================================================== */

/* Responsive safety globals */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video, svg, picture {
  max-width: 100%;
  height: auto;
}

section, .container, .wrapper, .content, .card, .grid, .row {
  max-width: 100%;
}

/* Service card button actions class */
.service-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}

.service-card-actions .btn {
  padding: 8px 14px;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

/* Common overrides for Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .inner-hero-image {
    order: 1 !important; /* Text appears first, image second */
    margin: 20px auto 0 !important;
  }
}

/* Common overrides for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 76px !important; /* Spacing for bottom floating bar */
  }

  .section-padding {
    padding: 42px 0 !important; /* Responsive spacing */
  }

  .inner-hero {
    padding: 100px 0 40px !important;
  }

  .inner-hero h1 {
    font-size: 1.8rem !important; /* Size between 26px and 34px */
    line-height: 1.4 !important;
  }

  .inner-hero p {
    font-size: 1rem !important;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .vision-card, .mission-card {
    padding: 24px 20px !important; /* Card padding 18px to 22px */
  }

  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .why-card {
    padding: 24px 20px !important; /* Card padding 18px to 22px */
  }

  .services-grid {
    grid-template-columns: 1fr !important; /* Service grid becomes 1 column */
    gap: 18px !important;
  }

  .inner-cta-banner {
    padding: 40px 20px !important;
  }

  .inner-cta-banner h2 {
    font-size: 1.6rem !important;
  }

  .inner-cta-banner p {
    font-size: 1rem !important;
    margin-bottom: 24px !important;
  }

  /* Prevent translation animation overflow on mobile */
  .reveal-hidden {
    transform: translateY(20px) !important;
  }
  .reveal-visible {
    transform: translateY(0) !important;
  }
}

/* Small mobile overrides (max-width: 480px) */
@media (max-width: 480px) {
  .service-card-actions {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 8px !important;
  }

  .service-card-actions .btn {
    width: 100% !important;
    white-space: normal;
  }

  .inner-cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .inner-cta-buttons .btn {
    width: 100% !important;
    text-align: center !important;
  }

  .faq-header {
    padding: 16px 15px !important;
  }

  .faq-body {
    padding: 0 15px 15px !important;
  }
}

/* Extra small mobile overrides (max-width: 360px) { */
@media (max-width: 360px) {
  .logo-wrapper {
    width: 140px !important;
  }
  
  .inner-hero h1 {
    font-size: 1.6rem !important;
  }
}

/* Safe word wrapping for Arabic texts in lists, paragraphs, headers and FAQ */
p, a, h1, h2, h3, li, .faq-header h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}
