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

/* Design Tokens & Custom Properties */
:root {
  /* Color Palette */
  --primary: #0A192F;         /* Deep Navy */
  --primary-rgb: 10, 25, 47;
  --secondary: #172A45;       /* Lighter Navy */
  --accent: #D4AF37;          /* Classic Gold */
  --accent-rgb: 212, 175, 55;
  --accent-hover: #F3E5AB;    /* Soft Light Gold */
  --accent-dark: #AA820A;     /* Deep Gold */
  
  --bg-light: #FFFFFF;
  --bg-gray: #F8F9FA;
  --bg-dark: #071120;
  
  --text-dark: #1E293B;       /* Slate Dark */
  --text-muted: #64748B;      /* Slate Muted */
  --text-light: #F8F9FA;      /* Clean White */
  --text-accent: #D4AF37;
  
  /* Fonts */
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family: var(--font-en);
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.2);
  --glass: backdrop-filter: blur(12px) saturate(180%);
  --glass-bg: rgba(10, 25, 47, 0.85);
  
  /* Animations */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Direction-based overrides (automatically handled, but can set font-family) */
html[dir="rtl"] {
  --font-family: var(--font-ar);
}

/* Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section {
  padding-block: 6rem 5rem;
  position: relative;
}

.section-alt {
  background-color: var(--bg-gray);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Grid helper */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Interactive Elements & Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}

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

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

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 70px;
  background-color: rgba(6, 17, 33, 0.95);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}

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

.logo-title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-block: 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

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

/* Language and Quick Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-light);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.lang-switch:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.lang-switch svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Menu Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.burger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('hero_banner.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 750px;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-tagline {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
  display: inline-block;
  font-size: 0.9rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-light) 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #94A3B8;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Features Grid (Floating below hero or inside home) */
.features-band {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--accent);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px -15px rgba(212, 175, 55, 0.15);
}

.feature-icon-wrapper {
  background-color: rgba(212, 175, 55, 0.1);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--accent);
  color: var(--primary);
  transform: rotateY(180deg);
}

.feature-card svg {
  width: 32px;
  height: 32px;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About Us Section details */
.about-grid {
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-highlight {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  border-inline-start: 4px solid var(--accent);
  padding-inline-start: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item {
  background: var(--bg-alt);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 800;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.about-img-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img-box::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  border: 4px solid var(--accent);
  border-radius: var(--radius-md);
  bottom: -15px;
  right: -15px;
  z-index: 1;
}

html[dir="rtl"] .about-img-box::before {
  right: auto;
  left: -15px;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-color: var(--secondary);
}

/* Mission & Vision cards */
.mission-vision-wrapper {
  margin-top: 5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.mv-card {
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
}

html[dir="rtl"] .mv-card::before {
  left: auto;
  right: 0;
}

.mv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mv-title svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.mv-card p {
  color: #94A3B8;
  font-size: 1rem;
  line-height: 1.7;
}

/* Services Grid & Details */
.services-tabs-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.service-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--bg-gray);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--accent);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link svg {
  width: 14px;
  height: 14px;
  transition: var(--transition);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

html[dir="rtl"] .service-card:hover .service-link svg {
  transform: translateX(-4px);
}

/* Compliance Section */
.compliance-grid {
  align-items: center;
}

.compliance-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compliance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.compliance-check {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  padding: 0.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.compliance-check svg {
  width: 16px;
  height: 16px;
}

.compliance-item-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.compliance-item-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.compliance-cert-box {
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.compliance-cert-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cert-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cert-icon svg {
  width: 48px;
  height: 48px;
}

.cert-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cert-desc {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 2rem;
}

.cert-meta {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.cert-meta-item strong {
  display: block;
  color: var(--accent);
}

/* Contact Section & Map */
.contact-grid {
  gap: 4rem;
}

.contact-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.03);
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background-color: var(--bg-gray);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(10, 25, 47, 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-text h4 {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(212, 175, 55, 0.2);
  position: relative;
  background-color: var(--bg-gray);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #f3f4f6 0%, #e5e7eb 100%);
  color: var(--primary);
  gap: 1rem;
  position: relative;
}

.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--primary) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-pin {
  color: var(--accent);
  z-index: 2;
  animation: bounce 2s infinite;
}

.map-pin svg {
  width: 48px;
  height: 48px;
}

.map-info-bubble {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

/* Call to Action Bar (CTA) */
.cta-band {
  background-color: var(--primary);
  color: var(--text-light);
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.cta-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-text h2 span {
  color: var(--accent);
}

.cta-text p {
  color: #94A3B8;
  font-size: 1.1rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-title {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo-subtitle {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-logo-col p {
  color: #94A3B8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

html[dir="rtl"] .footer-col-title::after {
  left: auto;
  right: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-inline-start: 5px;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-info-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Modals (Partner Inquiry Modal) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 17, 33, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

html[dir="rtl"] .modal-close {
  right: auto;
  left: 1.5rem;
}

.modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Success Feedback Animation */
.success-banner {
  display: none;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgb(16, 185, 129);
  color: rgb(16, 185, 129);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  animation: fadeIn 0.4s ease-out;
}

.success-banner.active {
  display: flex;
}

.success-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Floating Elements: WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

html[dir="rtl"] .whatsapp-widget {
  right: auto;
  left: 2rem;
}

.whatsapp-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid white;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-tooltip {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition);
}

html[dir="rtl"] .whatsapp-tooltip {
  transform: translateX(-10px);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background-color: #EF4444;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

/* Animations declarations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .navbar .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
  }
  
  html[dir="rtl"] .navbar .nav-menu {
    left: auto;
    right: -100%;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: none;
    border-left: 1px solid rgba(212, 175, 55, 0.15);
  }
  
  .navbar .nav-menu.active {
    left: 0;
  }
  
  html[dir="rtl"] .navbar .nav-menu.active {
    right: 0;
  }
  
  .burger {
    display: flex;
  }
  
  /* Burger icon transforms to X */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-band {
    margin-top: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .modal-card {
    padding: 2rem;
  }
}
