/* =========================================
   NILE - Main Stylesheet
   النيل للخدمات العامة والتوريدات العمومية
   Nile for General Services and General Supplies
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;600;700;800&display=swap');

/* =============================================
   CSS Variables
   ============================================= */
:root {
  --primary: #1f32ff;
  --primary-dark: #1527cc;
  --primary-light: #4a5fff;
  --primary-subtle: #e8ebff;
  --secondary: #d61f26;
  --secondary-dark: #aa1a1f;
  --secondary-light: #e84d52;
  --white: #ffffff;
  --dark: #1a1a1a;
  --dark-2: #2d2d2d;
  --gray: #f5f5f5;
  --gray-2: #e8e8e8;
  --gray-3: #999999;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 10px rgba(31, 50, 255, 0.1);
  --shadow: 0 5px 25px rgba(31, 50, 255, 0.15);
  --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 5px 25px rgba(214, 31, 38, 0.25);
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --font-en: 'Poppins', 'Montserrat', sans-serif;
  --navbar-height: 80px;
  --section-padding: 90px 0;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

body.lang-en {
  font-family: var(--font-en);
  direction: ltr;
}

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

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

/* =============================================
   Page Loader
   ============================================= */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 90px;
  height: 90px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar-wrap {
  width: 200px;
  height: 4px;
  background: var(--gray-2);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 99px;
  animation: loaderFill 1.8s ease forwards;
}

.loader-text {
  font-size: 13px;
  color: var(--gray-3);
  letter-spacing: 1px;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* =============================================
   Container & Layout
   ============================================= */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-title .accent {
  color: var(--secondary);
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 99px;
  margin: 16px auto 0;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(31, 50, 255, 0.35);
}

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

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214, 31, 38, 0.4);
}

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

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

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: 10px;
}

/* =============================================
   Navbar
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  z-index: 9000;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

#navbar.scrolled {
  border-bottom-color: var(--primary-subtle);
  box-shadow: 0 4px 30px rgba(31, 50, 255, 0.12);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .name-ar {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.nav-logo-text .name-en {
  font-size: 10px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 50%;
  left: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 14px;
  left: 14px;
}

.nav-links a.active {
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.lang-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

.lang-toggle i {
  font-size: 15px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 99px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: var(--navbar-height);
  right: 0;
  left: 0;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  opacity: 0;
  transition: var(--transition);
  z-index: 8999;
  box-shadow: var(--shadow-dark);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-mobile a i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.nav-mobile-lang {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* =============================================
   Hero Section
   ============================================= */
#hero {
  min-height: 100vh;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #0a1580 0%, #1f32ff 40%, #1527cc 70%, #0d1e99 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--white);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  right: 10%;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 5%;
  opacity: 0.04;
  animation: floatShape 6s ease-in-out infinite;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 30px;
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
}

.hero-badge i {
  color: #ffd700;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.3));
  animation: heroLogoFloat 4s ease-in-out infinite;
  border-radius: 50%;
  background: white;
  padding: 8px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-title .line-2 {
  display: block;
  color: #ffd700;
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 700;
  margin-top: 6px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* =============================================
   About Brief (Home Page)
   ============================================= */
#about-brief {
  background: var(--white);
}

.about-brief-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-brief-visual {
  position: relative;
}

.about-brief-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-subtle), #d0d5ff);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.about-brief-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(31, 50, 255, 0.25));
  animation: heroLogoFloat 5s ease-in-out infinite;
}

.about-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.about-badge-float i {
  font-size: 22px;
  color: var(--primary);
}

.badge-years {
  bottom: -20px;
  right: -20px;
}

.badge-clients {
  top: -20px;
  left: -20px;
}

.badge-num {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.about-brief-content .section-header {
  text-align: right;
  margin-bottom: 24px;
}

body.lang-en .about-brief-content .section-header {
  text-align: left;
}

.about-brief-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}

.about-feature-item i {
  width: 36px;
  height: 36px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* =============================================
   Services Section (Home)
   ============================================= */
#services-home {
  background: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

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

.service-card:hover {
  border-color: var(--primary-subtle);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

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

.service-icon-wrap {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-subtle), #d0d5ff);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.service-icon-wrap i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

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

.service-card:hover .service-icon-wrap i {
  color: var(--white);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* =============================================
   Why Us Section
   ============================================= */
#why-us {
  background: linear-gradient(135deg, #0a1580 0%, #1f32ff 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

#why-us .section-title {
  color: var(--white);
}

#why-us .section-desc {
  color: rgba(255,255,255,0.75);
}

#why-us .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

#why-us .divider {
  background: linear-gradient(90deg, #ffd700, rgba(255,215,0,0.4));
}

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

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.why-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-icon i {
  font-size: 28px;
  color: #ffd700;
}

.why-card:hover .why-icon {
  background: rgba(255, 215, 0, 0.15);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* =============================================
   Stats Counter Section
   ============================================= */
#stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 50px 20px;
  border-left: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:last-child {
  border-left: none;
}

body.lang-en .stat-item {
  border-left: none;
  border-right: 1px solid var(--border);
}

body.lang-en .stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--primary-subtle);
}

.stat-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.stat-num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-num .counter {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.stat-num .suffix {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
}

/* =============================================
   Testimonials Section
   ============================================= */
#testimonials {
  background: var(--gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 80px;
  color: var(--primary-subtle);
  font-family: Georgia, serif;
  line-height: 1;
}

body.lang-en .testimonial-card::before {
  right: auto;
  left: 24px;
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: #ffd700;
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.author-avatar.blue { background: var(--primary); }
.author-avatar.red { background: var(--secondary); }
.author-avatar.dark { background: var(--dark); }

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 13px;
  color: var(--gray-3);
}

/* =============================================
   Footer
   ============================================= */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand .footer-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 5px;
}

.footer-brand .footer-logo-text .name-ar {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand .footer-logo-text .name-en {
  font-size: 11px;
  color: var(--secondary-light);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  color: white;
  transform: translateY(-3px);
}

.social-btn.facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: white;
  transform: translateY(-3px);
}

.social-btn.linkedin {
  background: rgba(0, 119, 181, 0.15);
  color: #0077b5;
}

.social-btn.linkedin:hover {
  background: #0077b5;
  color: white;
  transform: translateY(-3px);
}

.social-btn.instagram {
  background: rgba(228, 64, 95, 0.15);
  color: #e4405f;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 99px;
}

body.lang-en .footer-col h4::after {
  right: auto;
  left: 0;
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-links a i {
  font-size: 12px;
  color: var(--primary-light);
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 4px;
}

body.lang-en .footer-links a:hover {
  padding-right: 0;
  padding-left: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--primary-light);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

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

/* =============================================
   Back To Top
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  z-index: 8888;
  border: none;
}

body.lang-en #back-to-top {
  left: auto;
  right: 28px;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

#back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(31, 50, 255, 0.4);
}

/* =============================================
   Page Banner (Inner Pages)
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, #0a1580 0%, #1f32ff 60%, #1527cc 100%);
  padding: calc(var(--navbar-height) + 60px) 0 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb i {
  font-size: 10px;
}

body.lang-en .breadcrumb i {
  transform: rotate(180deg);
}

.page-banner h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  margin: 0 auto;
}

/* =============================================
   About Page
   ============================================= */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 80px;
}

.about-img-card {
  background: linear-gradient(135deg, var(--primary-subtle), #c8ceff);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
}

.about-img-card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  animation: heroLogoFloat 5s ease-in-out infinite;
}

.about-text .section-header {
  text-align: right;
  margin-bottom: 24px;
}

body.lang-en .about-text .section-header {
  text-align: left;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 80px;
}

.vm-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
}

.vm-card.vision {
  background: linear-gradient(135deg, var(--primary-subtle), #d0d5ff);
  border-color: #c0c8ff;
}

.vm-card.mission {
  background: linear-gradient(135deg, #ffe8e8, #ffd0d2);
  border-color: #ffc0c2;
}

.vm-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.vm-card.vision .vm-icon {
  background: var(--primary);
  color: var(--white);
}

.vm-card.mission .vm-icon {
  background: var(--secondary);
  color: var(--white);
}

.vm-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}

.vm-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.goals-section {
  background: var(--gray);
  border-radius: var(--radius-xl);
  padding: 60px;
  margin-bottom: 80px;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.goal-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.goal-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.goal-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   Timeline V2 — Alternating Zigzag
   ============================================= */
.timeline-v2 {
  position: relative;
  padding: 10px 0 4px;
  max-width: 900px;
  margin: 0 auto;
}

/* Vertical center line */
.timeline-v2::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 99px;
  transform: translateX(-50%);
}

/* Each row = 3-col grid: [col-a] [dot-col] [col-b] */
.tl-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  margin-bottom: 40px;
  position: relative;
}

/* Dot column */
.tl-center {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  position: relative;
  z-index: 2;
}

.tl-dot {
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(31, 50, 255, 0.12);
  transition: var(--transition);
  flex-shrink: 0;
}

.tl-row:hover .tl-dot {
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(31, 50, 255, 0.18);
  transform: scale(1.15);
}

/* Content wrapper padding */
.tl-wrap {
  padding: 0 18px;
}

/* Card */
.tl-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tl-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transition: var(--transition);
}

.tl-row:hover .tl-card {
  border-color: rgba(31, 50, 255, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.tl-row:hover .tl-card::after {
  transform: scaleX(1);
}

.tl-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.tl-year-badge i {
  font-size: 12px;
  opacity: 0.8;
}

.tl-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.tl-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.78;
}

/* ---- Connector lines from dot to card ---- */
/* Right-side item: line goes from dot to the right card */
.tl-row.tl-right .tl-wrap::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 18px;
  left: 64px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* Left-side item: line goes from dot to the left card */
.tl-row.tl-left .tl-wrap::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 18px;
  right: 64px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

/* =============================================
   Timeline Responsive (mobile)
   ============================================= */
@media (max-width: 700px) {
  .timeline-v2::before {
    right: 20px;
    left: auto;
    transform: none;
  }

  body.lang-en .timeline-v2::before {
    left: 20px;
    right: auto;
  }

  .tl-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  /* Hide the empty placeholder column */
  .tl-row .tl-empty {
    display: none;
  }

  .tl-center {
    padding-top: 20px;
    flex-shrink: 0;
    width: 40px;
  }

  .tl-wrap {
    flex: 1;
    padding: 0;
  }

  .tl-card {
    padding: 20px 20px;
  }

  .tl-row.tl-right .tl-wrap::before,
  .tl-row.tl-left .tl-wrap::before {
    display: none;
  }
}

/* =============================================
   Services Page
   ============================================= */
.services-category {
  margin-bottom: 80px;
}

.services-category:last-child {
  margin-bottom: 0;
}

.service-cat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.service-cat-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}

.service-cat-title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.service-cat-title p {
  font-size: 14px;
  color: var(--text-light);
}

.service-cat-icon {
  margin-right: auto;
  font-size: 48px;
  color: var(--primary-subtle);
}

body.lang-en .service-cat-icon {
  margin-right: 0;
  margin-left: auto;
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-detail-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-detail-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

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

.sd-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-detail-card:hover .sd-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(-5deg);
}

.service-detail-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-detail-card > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sd-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.sd-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.sd-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, #0a1580, #1f32ff);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: var(--white);
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
}

.contact-info-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-info-card > p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

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

.ci-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffd700;
  flex-shrink: 0;
}

.ci-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}

.ci-text p, .ci-text a {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.ci-text a:hover {
  color: #ffd700;
}

.contact-social h4 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.contact-social .footer-social {
  display: flex;
  gap: 10px;
}

.contact-social .social-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 10px;
  font-size: 18px;
}

.contact-social .social-btn:hover {
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
}

.contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

.form-group label span {
  color: var(--secondary);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  background: var(--gray);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 50, 255, 0.08);
}

.form-control.error {
  border-color: var(--secondary);
  background: #fff8f8;
}

.form-control.success {
  border-color: #22c55e;
  background: #f0fdf4;
}

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

.field-error {
  display: none;
  font-size: 12px;
  color: var(--secondary);
  margin-top: 5px;
  font-weight: 500;
}

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

.form-submit-area {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  color: #22c55e;
  font-weight: 600;
  font-size: 14px;
}

.form-success-msg.visible {
  display: flex;
}

.form-success-msg i {
  font-size: 20px;
}

/* Map placeholder */
.map-placeholder {
  background: var(--gray);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-3);
  margin-top: 50px;
  text-align: center;
  padding: 40px;
}

.map-placeholder i {
  font-size: 50px;
  color: var(--primary-light);
  opacity: 0.4;
}

.map-placeholder h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
}

.map-placeholder p {
  font-size: 14px;
}

/* =============================================
   Legal Pages (Privacy & Terms)
   ============================================= */
.legal-page {
  background: var(--white);
}

.legal-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 24px;
}

.legal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--border);
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.legal-meta-item i {
  color: var(--primary);
}

.legal-section {
  margin-bottom: 50px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 99px;
  flex-shrink: 0;
}

.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 12px;
}

.legal-section p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-right: 20px;
  margin-bottom: 16px;
}

body.lang-en .legal-section ul {
  padding-right: 0;
  padding-left: 20px;
}

.legal-section ul li {
  position: relative;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 10px;
  padding-right: 18px;
}

body.lang-en .legal-section ul li {
  padding-right: 0;
  padding-left: 18px;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

body.lang-en .legal-section ul li::before {
  right: auto;
  left: 0;
}

.legal-highlight {
  background: var(--primary-subtle);
  border-right: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 20px 0;
}

body.lang-en .legal-highlight {
  border-right: none;
  border-left: 4px solid var(--primary);
  border-radius: 10px 0 0 10px;
}

.legal-highlight p {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0;
}

/* =============================================
   Scroll Animations
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* =============================================
   WhatsApp Float Button
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  left: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.45);
  z-index: 8888;
  transition: var(--transition);
  text-decoration: none;
}

body.lang-en .whatsapp-float {
  left: auto;
  right: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-brief-grid {
    gap: 50px;
  }
}

@media (max-width: 900px) {
  :root {
    --section-padding: 70px 0;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-brief-grid,
  .about-intro-grid,
  .contact-grid,
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-brief-content .section-header,
  .about-text .section-header {
    text-align: center;
  }

  body.lang-en .about-brief-content .section-header,
  body.lang-en .about-text .section-header {
    text-align: center;
  }

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

  .stat-item {
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  body.lang-en .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child, .stat-item:nth-last-child(2) {
    border-bottom: none;
  }

  .services-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .goals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-line { display: none; }
  .timeline-item, .timeline-item:nth-child(even) {
    flex-direction: column;
    gap: 0;
  }

  .timeline-dot { display: none; }

  .contact-info-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 30px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .testimonials-grid,
  .services-detail-grid,
  .goals-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .goals-section {
    padding: 40px 24px;
  }

  .legal-content-wrap {
    padding: 50px 16px;
  }
}
