/* ==========================================================================
   QUANTUM VANGUARD - Modern SaaS Multi-Page Portal
   Primary: #7B4DAF (Purple) | Accent: #D4AF37 (Gold)
   Location: Street 22, Prince Saad Ibn Abdul Aziz, Al Khobar, Saudi Arabia
   Phone: +966 56 642 6633 | Address: 734241 190499, Al Khobar, Saudi Arabia
   ========================================================================== */

:root {
  /* Color System */
  --primary: #7B4DAF;
  --primary-dark: #5C2D91;
  --primary-darker: #2D1452;
  --primary-light: #9B6EC6;
  --primary-glow: rgba(123, 77, 175, 0.25);
  --primary-subtle: rgba(123, 77, 175, 0.08);

  --gold: #D4AF37;
  --gold-dark: #b89528;
  --gold-glow: rgba(212, 175, 55, 0.35);

  --bg-white: #ffffff;
  --bg-off-white: #fafafa;
  --bg-light: #f6f5fa;
  --bg-dark: #0f0f1c;

  --text-dark: #121224;
  --text-body: #4a4a60;
  --text-muted: #7e7e96;
  --text-light: #a0a0b8;

  --border-light: #eeeaf5;
  --border: #e2dceb;

  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(123, 77, 175, 0.1);
  --shadow-lg: 0 20px 50px rgba(123, 77, 175, 0.16);
  --shadow-3d: 0 20px 45px rgba(123, 77, 175, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
  --shadow-pill: 0 8px 30px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  --font-inter: 'Inter', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   1. GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-inter);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-outfit);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

p, span, a, li, label, input, select, textarea {
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-pill);
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: var(--bg-white);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: 6rem 0;
  width: 100%;
  overflow: hidden;
}

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

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

.mt-2 {
  margin-top: 2rem;
}

.full-width {
  width: 100%;
}

.text-purple-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Badges & Headings */
.section-badge {
  display: inline-block;
  font-family: var(--font-outfit);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  border: 1px solid rgba(123, 77, 175, 0.15);
  max-width: 100%;
  word-break: break-word;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  word-wrap: break-word;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #e5c249, var(--gold-dark));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

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

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

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


/* ==========================================================================
   2. SLEEK, COMPACT & SLIM FLOATING PILL GLASS HEADER
   ========================================================================== */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.6rem 0;
  pointer-events: none;
}

.pill-header {
  pointer-events: auto;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.4rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.pill-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

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

.logo-group {
  display: flex;
  align-items: center;
  padding: 0;
}

.site-logo {
  height: 62px;
  width: auto;
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
  transition: var(--transition);
}

.site-logo:hover {
  transform: scale(1.04);
}

/* Desktop Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-inter);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition);
}

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

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* MEGA DROPDOWN (HOVER BRIDGE FIX) */
.has-dropdown {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 760px;
  max-width: 90vw;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
  border: 1px solid var(--border-light);
  z-index: 1200;
  margin-top: 0;
}

.mega-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

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

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-item:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.mega-icon {
  font-size: 1.35rem;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.mega-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Header Actions & iOS Switch Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ios-switch-container {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.ios-label {
  font-family: var(--font-outfit);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ios-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.ios-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ios-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: 0.3s;
  border-radius: 20px;
}

.ios-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .ios-slider {
  background-color: var(--primary);
}

input:checked + .ios-slider:before {
  transform: translateX(16px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(13, 13, 28, 0.96);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
}

.close-menu svg {
  width: 32px;
  height: 32px;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-link {
  font-family: var(--font-outfit);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg-white);
}

.mobile-link:hover {
  color: var(--gold);
}


/* ==========================================================================
   3. HERO SECTION WITH CLEAN EXECUTIVE CORPORATE CARD & RESPONSIVE BADGES
   ========================================================================== */
.hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 135px;
  padding-bottom: 7.5rem;
  color: var(--bg-white);
  width: 100%;
}

.page-banner.hero {
  min-height: 35vh;
  padding-top: 130px;
  padding-bottom: 3.5rem;
}

.hero-glow-1 {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(155, 110, 198, 0.4) 0%, rgba(123, 77, 175, 0) 70%);
  top: -120px;
  right: -100px;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0) 70%);
  bottom: 40px;
  left: -120px;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-container-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  text-align: left;
  max-width: 100%;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-outfit);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  max-width: 100%;
  word-break: break-word;
}

.hero-title {
  font-size: clamp(1.8rem, 4.2vw, 3.3rem);
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* ROTATING HEADLINE HIGHLIGHT BOX (FLUID RESPONSIVE NO-OVERFLOW) */
.animated-highlight-box {
  display: inline-block;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.15);
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
  transition: var(--transition);
  max-width: 100%;
  white-space: nowrap;
}

#hero-dynamic-text {
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: clamp(0.95rem, 3.8vw, 2.2rem);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  line-height: 1.7;
  max-width: 100%;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* CLEAN REALISTIC EXECUTIVE CORPORATE DISPLAY CARD */
.hero-corporate-display {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  box-sizing: border-box;
}

.hero-glass-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  transition: var(--transition);
  box-sizing: border-box;
}

.hero-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.card-top-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.card-top-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
}

.card-top-title h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.card-top-title p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.card-service-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.cs-icon {
  font-size: 1.25rem;
}

.cs-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cs-tag {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.card-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  font-family: var(--font-outfit);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: var(--transition);
  box-sizing: border-box;
}

.card-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.45);
}

/* FLOATING BADGES */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.65rem 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
  max-width: 90%;
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
}

.floating-badge small {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.badge-1 {
  top: -10px;
  left: -15px;
  animation: floatBadge1 4s ease-in-out infinite alternate;
}

.badge-2 {
  bottom: 0px;
  right: -15px;
  animation: floatBadge2 5s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

/* Stats Bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 13, 24, 0.45);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  z-index: 2;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

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

.stat-number {
  font-family: var(--font-outfit);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   4. 3D INTERCONNECTED PIPELINE SECTION
   ========================================================================== */
.interconnected-section {
  background: var(--bg-light);
  padding: 6rem 0;
}

.pipeline-container {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3.5rem;
  width: 100%;
}

.col-header-badge {
  background: var(--primary-subtle);
  border: 1px solid rgba(123, 77, 175, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  text-align: center;
  margin-bottom: 2rem;
}

.col-header-badge h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
}

.pipeline-nodes {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.pipeline-node {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.6rem;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.pipeline-node:hover, .pipeline-node.active {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 15px 35px var(--primary-glow);
  background: var(--bg-white);
}

.node-left { justify-content: flex-start; }
.node-right { justify-content: flex-start; }

.node-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px var(--primary-glow);
}

.node-icon-box svg { width: 24px; height: 24px; }

.node-check-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.node-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.node-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.node-connector-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 10px var(--primary);
  top: 50%;
  transform: translateY(-50%);
}

.right-dot { right: -7px; }
.left-dot { left: -7px; }

.pipeline-center-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 380px;
  position: relative;
}

.animated-line {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), #10b981);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  opacity: 0.6;
  transition: var(--transition);
}

.animated-line.active, .animated-line:hover {
  opacity: 1;
  height: 5px;
  box-shadow: 0 0 15px var(--primary);
}

.pulse-particle {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: movePulse 2.5s ease-in-out infinite;
}

@keyframes movePulse {
  0% { left: -35px; }
  100% { left: 100%; }
}


/* ==========================================================================
   5. ANIMATED PROCESS FLOW SECTION
   ========================================================================== */
.process-section {
  padding: 6.5rem 0;
  background: var(--bg-white);
}

.process-flow-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
  width: 100%;
}

.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

.process-steps-list::before {
  content: '';
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 26px;
  width: 3px;
  background: var(--border);
  z-index: 1;
}

.process-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: var(--bg-off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.process-step-item:hover {
  transform: translateX(10px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.process-step-item.active {
  border-color: var(--primary);
  box-shadow: 0 15px 35px var(--primary-glow);
  background: var(--bg-white);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  font-family: var(--font-outfit);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: var(--transition);
}

.process-step-item.active .step-num {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary-light);
  box-shadow: 0 0 20px var(--primary-glow);
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* RIGHT ANIMATED CARD DISPLAY */
.process-preview-display {
  position: relative;
  min-height: 440px;
  width: 100%;
}

.process-card-preview {
  position: absolute;
  inset: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-3d);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.process-card-preview.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.process-card-preview h4 {
  font-size: 1.7rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

.step-interactive-box {
  margin-top: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px dashed var(--border);
}

.entity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.e-chip {
  background: var(--bg-white);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.e-chip.active {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary);
}

.box-status {
  font-size: 0.8rem;
  color: #15803d;
  font-weight: 700;
}

.cr-certificate {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.cert-header { font-size: 0.75rem; color: var(--gold); letter-spacing: 1px; }
.cert-title { font-size: 1.1rem; font-weight: 800; margin: 0.25rem 0; }
.cert-cr { font-size: 0.9rem; opacity: 0.9; }
.cert-status { margin-top: 0.75rem; font-size: 0.75rem; color: #4ade80; font-weight: 700; }

.compliance-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.c-item {
  background: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.launch-success {
  text-align: center;
  padding: 1rem;
}
.launch-success .rocket { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.launch-success strong { font-size: 1.1rem; color: var(--primary-dark); }
.launch-success p { font-size: 0.85rem; margin-top: 0.25rem; }


/* ==========================================================================
   6. ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.about-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

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

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.about-stat-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.about-stat-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.about-stat-card.card-2 {
  margin-left: 2rem;
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  color: var(--bg-white);
  border: none;
}
.about-stat-card.card-2 h3 { color: var(--gold); }
.about-stat-card.card-2 p { color: rgba(255, 255, 255, 0.85); }
.about-stat-card.card-3 { margin-left: 4rem; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-stat-card h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-stat-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}


/* ==========================================================================
   7. SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.services-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  width: 100%;
}

.services-nav-container {
  background: var(--bg-off-white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.services-tabs {
  display: flex;
  gap: 0.5rem;
  min-width: max-content;
}

.service-tab {
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-outfit);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.service-tab:hover {
  color: var(--primary);
  background: rgba(123, 77, 175, 0.05);
}

.service-tab.active {
  background: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.service-panels-container {
  padding: 3rem;
  min-height: 380px;
  width: 100%;
  box-sizing: border-box;
}

.service-detail-panel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: flex-start;
  animation: fadeInPanel 0.4s ease forwards;
  width: 100%;
}

.service-detail-panel.active {
  display: grid;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.panel-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.panel-desc p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
}

.panel-right {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.panel-right h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.panel-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-bullets li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* DEDICATED SERVICES PAGE STYLING */
.services-detail-page {
  padding: 4.5rem 0;
}

.service-full-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-3d);
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

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

.s-header-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.s-icon {
  font-size: 3rem;
  background: var(--primary-subtle);
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s-info {
  flex: 1;
  min-width: 0;
}

.s-info h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.s-info p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.s-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.s-expand-details {
  display: none;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1.5px dashed var(--border);
  animation: slideDown 0.35s ease forwards;
  width: 100%;
}

.s-expand-details.open {
  display: block;
}

.expand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.expand-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.expand-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

/* RESTAURANT CARDS FOR PAGE 9 */
.restaurant-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
  width: 100%;
}

.restaurant-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.restaurant-card h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.restaurant-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.restaurant-card .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: underline;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   8. PRICING / SPECIAL CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark), var(--primary));
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  color: var(--bg-white);
  text-align: center;
  width: 100%;
}

.cta-circles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.25) 0%, transparent 40%),
              radial-gradient(circle at 80% 50%, rgba(155, 110, 198, 0.3) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.special-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  max-width: 100%;
  word-break: break-word;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.cta-banner del {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: 0 0.25rem;
}

.cta-banner ins {
  text-decoration: none;
  color: var(--gold);
  font-size: clamp(1.6rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-left: 0.25rem;
}


/* ==========================================================================
   9. CONTACT SECTION & WHATSAPP INTEGRATION
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  width: 100%;
}

.contact-info-panel h3 {
  font-size: 2rem;
  color: var(--bg-white);
  margin-bottom: 0.75rem;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

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

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-details li svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.whatsapp-badge-cta .btn-secondary {
  width: 100%;
  background: #25D366;
  border-color: #25D366;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
}

.whatsapp-badge-cta .btn-secondary:hover {
  background: #1eb957;
  color: white;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  box-sizing: border-box;
  width: 100%;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-inter);
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-off-white);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
  padding: 0 0.25rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.65rem;
  left: 0.9rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-white);
}

.success-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  text-align: center;
  border: 1px solid #86efac;
}


/* ==========================================================================
   10. FEEDBACK SECTION
   ========================================================================== */
.feedback-section {
  padding: 3rem 0 1.5rem 0;
  background: var(--bg-white);
  width: 100%;
}

.feedback-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
}

.feedback-card h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.star {
  font-size: 2.5rem;
  color: #d1d5db;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.star:hover { transform: scale(1.25); }
.star.selected { color: #f59e0b; }


/* ==========================================================================
   11. ANIMATED FOOTER WITH RESPONSIVE FLUID CONTAINER
   ========================================================================== */
.rounded-footer {
  width: calc(100% - 3rem);
  max-width: 1400px;
  margin: 2.5rem auto 0 auto;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

/* INFINITE ANIMATED FOOTER BRAND TICKER */
.footer-ticker-wrapper {
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 3.5rem;
  width: 100%;
}

.footer-ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: scrollFooterTicker 25s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-outfit);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

@keyframes scrollFooterTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* LIVE STATUS ANIMATED BADGE */
.live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #4ade80;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1.25rem;
  max-width: 100%;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
  width: 100%;
}

.footer-logo {
  height: 65px;
  width: auto;
  filter: brightness(0) invert(1);
  max-width: 100%;
}

.brand-col p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.footer-col ul a, .footer-col ul li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-col .social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-col .social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-col .social-icons a:hover {
  background: var(--gold);
  color: var(--text-dark);
}

.footer-col .social-icons svg { width: 20px; height: 20px; }

.footer-bottom {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: #e2bd44;
}

.back-to-top svg { width: 22px; height: 22px; }


/* ==========================================================================
   12. RTL (ARABIC) SUPPORT
   ========================================================================== */
html[dir="rtl"] body {
  font-family: 'Outfit', var(--font-inter);
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

html[dir="rtl"] .mega-dropdown::before {
  left: auto;
  right: 50%;
  transform: translateX(50%) rotate(45deg);
}

html[dir="rtl"] .process-steps-list::before {
  left: auto;
  right: 26px;
}

html[dir="rtl"] .about-stat-card.card-2,
html[dir="rtl"] .about-stat-card.card-3 {
  margin-left: 0;
  margin-right: 2rem;
}

html[dir="rtl"] .form-group label {
  left: auto;
  right: 1.25rem;
}

html[dir="rtl"] .form-group input:focus ~ label,
html[dir="rtl"] .form-group textarea:focus ~ label,
html[dir="rtl"] .form-group input:not(:placeholder-shown) ~ label,
html[dir="rtl"] .form-group textarea:not(:placeholder-shown) ~ label {
  left: auto;
  right: 0.9rem;
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 2rem;
}

html[dir="rtl"] .cs-tag {
  margin-left: 0;
  margin-right: auto;
}


/* ==========================================================================
   13. REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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


/* ==========================================================================
   14. COMPREHENSIVE FLUID MOBILE SAFE RESPONSIVE BREAKPOINTS (ZERO OVERFLOW/CUTOFF)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }

  .pipeline-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pipeline-center-lines {
    display: none;
  }

  .process-flow-wrapper {
    grid-template-columns: 1fr;
  }

  .process-preview-display {
    min-height: 380px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-stat-card.card-2, .about-stat-card.card-3 {
    margin-left: 0;
  }

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

  .s-header-row {
    flex-direction: column;
  }

  .expand-grid, .restaurant-showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .rounded-footer {
    width: 100%;
    border-radius: 0;
    margin-top: 2rem;
  }

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

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .site-header-wrapper {
    padding: 0.4rem 0.5rem;
  }
  
  .pill-header {
    max-width: 100%;
    margin: 0 0.25rem;
    padding: 0.35rem 0.85rem;
  }

  .site-logo {
    height: 48px;
    max-height: 52px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .ios-switch-container {
    padding: 0.15rem 0.45rem;
    gap: 0.2rem;
  }

  .ios-label {
    font-size: 0.65rem;
  }

  .ios-switch {
    width: 30px;
    height: 16px;
  }

  .ios-slider:before {
    height: 10px;
    width: 10px;
    left: 3px;
    bottom: 3px;
  }

  input:checked + .ios-slider:before {
    transform: translateX(14px);
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 4.5rem;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }

  .animated-highlight-box {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    max-width: 100%;
    white-space: nowrap;
    border-radius: 10px;
  }

  #hero-dynamic-text {
    font-size: clamp(0.85rem, 4vw, 1.4rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    padding: 0;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  /* HERO GLASS CARD MOBILE FIT */
  .hero-corporate-display {
    padding: 0.5rem 0;
  }

  .hero-glass-card {
    padding: 1.5rem 1.1rem;
    max-width: 100%;
  }

  .floating-badge {
    position: relative;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0.5rem auto;
    width: 100%;
    justify-content: center;
    animation: none;
  }

  .badge-1, .badge-2 {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .hero-stats-bar {
    position: relative;
    padding: 1rem 0;
    margin-top: 1.5rem;
  }

  .stats-container {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* PIPELINE MOBILE FIT */
  .pipeline-node {
    padding: 1rem;
    gap: 0.85rem;
  }

  .right-dot, .left-dot {
    display: none;
  }

  /* SERVICES MOBILE FIT */
  .service-panels-container {
    padding: 1.5rem 1rem;
  }

  .service-full-card {
    padding: 1.5rem 1rem;
  }

  .s-icon {
    width: 60px;
    height: 60px;
    font-size: 2.2rem;
  }

  .s-info h3 {
    font-size: 1.4rem;
  }

  .s-actions .btn {
    width: 100%;
  }

  .expand-grid {
    padding: 1rem;
  }

  /* CTA BANNER MOBILE */
  .cta-banner {
    padding: 3.5rem 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  /* CONTACT & FEEDBACK MOBILE */
  .contact-form-card, .contact-info-panel, .feedback-card {
    padding: 1.75rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .rounded-footer {
    width: 100%;
    border-radius: 0;
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .site-logo {
    height: 40px;
  }

  .hero-glass-card {
    padding: 1.25rem 0.85rem;
  }

  .card-service-row {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .cs-text {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .feedback-card h2 {
    font-size: 1.75rem;
  }

  .star {
    font-size: 2rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }

  html[dir="rtl"] .back-to-top {
    left: 1.25rem;
    right: auto;
  }
}
