/* ==========================================================================
   DESIGN SYSTEM VARIABLES
   ========================================================================== */
:root {
  --bg-primary: #070a13;
  --bg-secondary: #0c1020;
  --bg-glass: rgba(15, 22, 42, 0.65);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  
  --color-primary: #ffb703;
  --color-primary-hover: #fb8500;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-whatsapp: #25d366;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #ffb703;
  
  --font-family: 'Tajawal', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 20px rgba(255, 183, 3, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --max-width: 1200px;
}

/* Light Theme Variables Override */
body.light-theme {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-hover: rgba(15, 23, 42, 0.16);
  --text-main: #0f172a;
  --text-muted: #475569;
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 30px rgba(255, 183, 3, 0.1);
}

body.light-theme .profile-cover {
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.5) 0%, var(--bg-primary) 100%) !important;
}

body.light-theme .profile-cover .badge {
  background-color: rgba(15, 23, 42, 0.03) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: var(--text-main) !important;
}

body.light-theme .timeline-dot {
  background-color: #ffffff !important;
  border-color: #ffb703 !important;
}

body.light-theme .lightbox-modal {
  background: rgba(15, 23, 42, 0.95) !important;
}

body.light-theme .btn-ghost {
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: var(--text-main) !important;
}

body.light-theme .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04) !important;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

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

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

li {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   GLOBAL REUSABLE COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  gap: 8px;
  transition: var(--transition-smooth);
  font-family: var(--font-family);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #070a13;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 0 15px rgba(251, 133, 0, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: #1e293b;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-dark:hover {
  background-color: #0f172a;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #fff;
  border: 1px solid var(--color-whatsapp);
}

.btn-whatsapp:hover {
  background-color: #1eb855;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.w-100 {
  width: 100%;
}

.text-gold {
  color: var(--text-gold);
}

.hidden {
  display: none !important;
}

/* Section Common Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background-color: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.2);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

/* Glassmorphism Card Style Base */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-glass);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 900;
}

.logo-mk {
  background-color: var(--color-primary);
  color: #070a13;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 900;
}

.logo-marketing {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

.btn-nav {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* Mobile Nav Trigger */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-menu-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 12px;
}

.mobile-nav-links a:hover {
  color: var(--color-primary);
  padding-right: 6px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

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

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

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--color-primary);
  background: linear-gradient(120deg, #ffb703 0%, #fb8500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

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

/* Funnel Graphic visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.funnel-visual {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.funnel-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.funnel-stage:hover {
  background: rgba(255, 183, 3, 0.03);
  border-color: rgba(255, 183, 3, 0.2);
  transform: scale(1.02);
}

.funnel-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 183, 3, 0.1);
  border-radius: 8px;
}

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

.funnel-text strong {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.funnel-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* funnel result node */
.funnel-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(251, 133, 0, 0.2) 100%);
  border: 1px solid var(--color-primary);
  padding: 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 183, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

/* Stats Row */
.hero-stats {
  margin-top: 80px;
  border-top: 1px solid var(--border-glass);
  padding-top: 40px;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

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

.stat-item strong {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-glass);
}

/* ==========================================================================
   3. TRUST BAR (MARQUEE)
   ========================================================================== */
.trust-bar {
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--border-glass);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  gap: 40px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); } /* Shift for loop direction RTL */
}

/* ==========================================================================
   4. PAIN POINTS
   ========================================================================== */
.pain-points {
  padding: 80px 0;
}

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

.pain-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.3); /* Muted Red Alert for problems */
  background: rgba(239, 68, 68, 0.02);
  transform: translateY(-4px);
}

.pain-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.pain-card p {
  font-size: 0.95rem;
  font-weight: 700;
}

.pain-transition {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 40px;
}

/* ==========================================================================
   5. SOLUTION COMPARISON
   ========================================================================== */
.solution {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--border-glass);
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.comparison-col {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 20px;
}

.comparison-header i {
  font-size: 2rem;
}

.comparison-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.comparison-bad {
  border-color: rgba(239, 68, 68, 0.15);
}

.comparison-bad .comparison-header i {
  color: var(--color-error);
}

.comparison-bad ul li i {
  color: var(--color-error);
  margin-left: 10px;
}

.comparison-good {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.05);
  background: rgba(15, 22, 42, 0.85);
}

.comparison-good .comparison-header i {
  color: var(--color-success);
}

.comparison-good ul li i {
  color: var(--color-success);
  margin-left: 10px;
}

.comparison-vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-gold);
  background: rgba(255, 183, 3, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-primary);
}

.comparison-col ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-col ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
}

/* ==========================================================================
   6. SERVICES
   ========================================================================== */
.services {
  padding: 80px 0;
}

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

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: rgba(255, 183, 3, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 183, 3, 0.1);
  color: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

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

.service-benefit {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-result {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border-glass);
  padding-top: 14px;
}

/* ==========================================================================
   7. PROCESS TIMELINE
   ========================================================================== */
.process {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--border-glass);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px; /* Alignment for RTL line on right */
  width: 2px;
  background-color: var(--border-glass);
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  z-index: 2;
  padding-right: 60px; /* Offset spacing from timeline */
}

.step-number {
  position: absolute;
  right: 0;
  top: 0;
  width: 52px;
  height: 52px;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.process-step:hover .step-number {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.3);
}

.step-content {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px 30px;
  width: 100%;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

/* ==========================================================================
   8. STATS DISPLAY BLOCK
   ========================================================================== */
.stats-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-glass);
}

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

.stat-block {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-block .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.stat-block .stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   9. REASSURANCE GUARANTEE
   ========================================================================== */
.guarantee {
  padding: 80px 0;
}

.guarantee-card {
  background: radial-gradient(100% 100% at 50% 0%, rgba(255, 183, 3, 0.05) 0%, rgba(7, 10, 19, 0.4) 100%), var(--bg-glass);
  border: 1px solid rgba(255, 183, 3, 0.15);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.guarantee-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.guarantee-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.guarantee-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-y: 1px solid var(--border-glass);
}

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

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.quote-icon {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 2rem;
  opacity: 0.05;
}

.testimonial-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   11. WHY US
   ========================================================================== */
.why-us {
  padding: 80px 0;
}

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

.why-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: rgba(255,183,3,0.15);
  background: rgba(255,183,3,0.01);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   12. FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle-icon {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-bottom: 20px;
  line-height: 1.6;
}

/* Active FAQ styles classes */
.faq-item.active {
  border-color: var(--border-glass-hover);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Estimated maximum height */
}

/* ==========================================================================
   13. CONTACT FORM
   ========================================================================== */
.contact-section {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-subtitle {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 10px;
  margin-bottom: 16px;
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 44px;
  height: 44px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.social-links a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Form Wrapper styles */
.contact-form-wrapper {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-header {
  margin-bottom: 30px;
  text-align: center;
}

.form-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group select {
  width: 100%;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}

.form-group select option {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

/* Success State styling */
.success-state {
  text-align: center;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-success);
}

.success-state h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.success-state p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-links h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
}

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

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ==========================================================================
   15. FLOATING ELEMENTS & MOBILE BOTTOM BAR
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px; /* Left aligned in RTL layouts */
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 99;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.wa-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-whatsapp);
  opacity: 0.4;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 10, 19, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  padding: 12px 16px;
  z-index: 998;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   16. MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .pain-grid,
  .services-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-table {
    grid-template-columns: 1fr;
  }
  
  .comparison-vs {
    margin: 10px auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .pain-grid,
  .services-grid,
  .why-grid,
  .testimonials-grid,
  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 80px;
    height: 1px;
  }
  
  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  /* Mobile bottom bar visibility */
  .mobile-bottom-bar {
    display: grid;
  }
  
  /* Prevent elements overlaying sticky bar */
  body {
    padding-bottom: 80px;
  }
  
  .floating-whatsapp {
    bottom: 90px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   PORTFOLIO SECTION STYLING
   ========================================================================== */
.portfolio {
  padding: 80px 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.portfolio-filters .filter-btn {
  background-color: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #070a13;
  box-shadow: 0 4px 10px rgba(255, 183, 3, 0.2);
}

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

.portfolio-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  opacity: 1;
}

.portfolio-card.hidden {
  display: none !important;
}

.portfolio-card:hover {
  border-color: rgba(255, 183, 3, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.portfolio-client-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.client-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--border-glass);
  object-fit: cover;
  background-color: var(--bg-secondary);
}

.client-details h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.client-sector {
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.portfolio-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.metric-badge {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.portfolio-links {
  display: flex;
  gap: 10px;
}

.portfolio-link-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.portfolio-link-btn.fb-link {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.portfolio-link-btn.fb-link:hover {
  background-color: var(--color-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.portfolio-link-btn.ig-link {
  background-color: rgba(219, 39, 119, 0.1);
  color: #db2777;
  border: 1px solid rgba(219, 39, 119, 0.2);
}

.portfolio-link-btn.ig-link:hover {
  background-color: #db2777;
  color: #fff;
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.3);
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ==========================================================================
   NEW UPGRADES STYLES (TWO-STEP FORM, STICKY CTA, QUALIFYING)
   ========================================================================== */

/* 1. Two-Step Form Styles */
.form-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}
.form-progress-bar::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-glass);
  z-index: 1;
}
.progress-line {
  position: absolute;
  top: 15px;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  z-index: 2;
  width: 0%;
  transition: width 0.4s ease;
}
.progress-step-node {
  width: 32px;
  height: 32px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
}
.progress-step-node.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.3);
}
.progress-step-node.completed {
  border-color: var(--color-success);
  background-color: var(--color-success);
  color: #fff;
}
.form-step {
  transition: opacity 0.3s ease;
}
.form-step.hidden {
  display: none !important;
}
.form-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}
.form-navigation .btn {
  flex: 1;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px; /* Prevents auto-zoom on mobile Safari */
  transition: var(--transition-smooth);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}
.form-group select option {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}
.form-group .form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
}

/* Form validation feedback classes */
.form-group input:focus:invalid {
  border-color: var(--color-error);
}
.field-error-msg {
  color: var(--color-error);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 6px;
}

/* 2. Sticky Mobile CTA bottom bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-cta-bar.show {
  transform: translateY(0);
}
.sticky-cta-bar .btn-sticky-primary {
  flex: 1;
  background-color: var(--color-primary);
  color: #070a13;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.2);
}
.sticky-cta-bar .btn-sticky-whatsapp {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 12px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

@media (min-width: 769px) {
  .sticky-cta-bar {
    display: none !important;
  }
}

/* 3. Section "لمن هذه الخدمة" (Qualifying Cards) */
.qualify-section {
  padding: 80px 0;
}
.qualify-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.qualify-card {
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.qualify-card.suitable {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.01);
}
.qualify-card.not-suitable {
  border-color: rgba(239, 68, 68, 0.15);
  background: rgba(239, 68, 68, 0.01);
}
.qualify-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.qualify-card.suitable h3 {
  color: var(--color-success);
}
.qualify-card.not-suitable h3 {
  color: var(--color-error);
}
.qualify-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.qualify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}
.qualify-item i {
  margin-top: 4px;
}
.qualify-card.suitable .qualify-item i {
  color: var(--color-success);
}
.qualify-card.not-suitable .qualify-item i {
  color: var(--color-error);
}

@media (max-width: 768px) {
  .qualify-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. Case Studies Showcase Upgrade */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.case-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.case-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-glass-hover);
}
.case-title-area h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.case-sector {
  font-size: 0.8rem;
  color: var(--text-gold);
  font-weight: 700;
}
.case-section-subtitle {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 12px;
  margin-bottom: 4px;
}
.case-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.case-results-badges {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
.case-result-badge {
  flex: 1;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.case-result-badge strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.case-disclaimer {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
}

@media (max-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* 5. Accordion upgrading layout */
.services-accordion-section {
  margin-top: 50px;
}
.services-accordion-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--text-main);
}
.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.acc-item:hover {
  border-color: var(--border-glass-hover);
}
.acc-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  text-align: right;
}
.acc-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 183, 3, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: 15px;
}
.acc-title-wrap {
  display: flex;
  align-items: center;
}
.acc-toggle-indicator {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.acc-item.active .acc-toggle-indicator {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-top: 1px solid transparent;
}
.acc-item.active .acc-content {
  border-color: var(--border-glass);
}
.acc-inner {
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 6. Legal / Guarantee Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.modal.hidden {
  display: none !important;
}
.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass-hover);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
}
.close-modal-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.close-modal-btn:hover {
  color: var(--color-primary);
}
.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.modal-body p {
  margin-bottom: 15px;
}
.modal-body ul {
  padding-right: 20px;
  list-style-type: square;
  margin-bottom: 15px;
}
.modal-body ul li {
  margin-bottom: 8px;
}
@keyframes slideIn {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Microcopy & details positioning under main CTA button */
.cta-microcopy {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  flex-wrap: wrap;
}
.cta-microcopy span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-microcopy i {
  color: var(--color-success);
}
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero-cta-wrap .hero-cta {
  justify-content: center;
  width: 100%;
}
@media (max-width: 768px) {
  .hero-cta-wrap {
    align-items: stretch;
  }
}

/* ==========================================================================
   LANDING PAGE OVERHAUL & PROFILE STYLING (NEW CUSTOM STYLES)
   ========================================================================== */

/* 1. Multi-Step Form */
.form-progress-container {
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  position: relative;
}
.form-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--text-gold));
  width: 50%;
  transition: width 0.3s ease;
}
.form-step {
  display: none;
  animation: fadeInStep 0.4s ease forwards;
}
.form-step.active {
  display: block;
}
@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}
.form-navigation {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}
.btn-back {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-back:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* 2. Suitable/Unsuitable Section */
.suitability {
  padding: 80px 0;
}
.suitability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .suitability-grid {
    grid-template-columns: 1fr;
  }
}
.suitability-col {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 35px;
  box-shadow: var(--shadow-card);
}
.suitability-col.suitable {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.01);
}
.suitability-col.unsuitable {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.01);
}
.suitability-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
}
.suitable .suitability-header { color: var(--color-success); }
.unsuitable .suitability-header { color: var(--color-error); }
.suitability-list {
  list-style: none;
  padding: 0;
}
.suitability-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.suitability-list li i {
  margin-top: 4px;
}

/* 3. Services Expandable Accordion */
.services-accordion-wrapper {
  margin-top: 50px;
  text-align: center;
}
.services-accordion-btn {
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--text-gold);
  border-radius: 30px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.services-accordion-btn:hover {
  background: var(--color-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}
.services-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  margin-top: 30px;
}
.services-accordion-content.open {
  max-height: 2500px;
}

/* 4. Case Studies Showcase styling */
.case-study-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}
.case-study-card:hover {
  transform: translateY(-4px);
}
.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.case-study-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-gold);
}
.case-study-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
}
.case-study-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .case-study-details {
    grid-template-columns: 1fr;
  }
}
.case-study-col h4 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.case-study-col p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.case-study-result-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 700;
  border-right: 4px solid var(--color-success);
  margin-top: 10px;
  display: inline-block;
}

/* 5. Sticky Bottom Bar visibility on scroll */
.mobile-bottom-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-bottom-bar.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* 6. Profile Page Layout */
.section {
  padding: 100px 0;
  position: relative;
}
.single-col-grid {
  grid-template-columns: 1fr !important;
}
.profile-cover {
  padding: 180px 0 100px;
  background: linear-gradient(180deg, rgba(15, 22, 42, 0.5) 0%, var(--bg-primary) 100%);
  position: relative;
}
.profile-cover .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.profile-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
.profile-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 2px;
  background: var(--border-glass);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-right: 60px;
}
.timeline-dot {
  position: absolute;
  right: 31px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--color-primary);
  z-index: 2;
}
.timeline-content {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-gold);
  margin-bottom: 10px;
}
.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* PM Info & Systems styles */
.pm-systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .pm-systems-grid {
    grid-template-columns: 1fr;
  }
}
.pm-system-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}
.pm-system-card i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.pm-system-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.pm-system-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Lightbox styles */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 30, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.lightbox-modal.open {
  display: flex;
}
.lightbox-content-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  color: var(--text-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.lightbox-close:hover {
  background: var(--color-error);
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   MOBILE UX & RESPONSIVE OPTIMIZATIONS (100% MOBILE UX FOCUS)
   ========================================================================== */

/* Very Small Screen Widths Adjustments (480px and below) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.4 !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
  }
  .section-subtitle {
    font-size: 0.9rem !important;
  }
  .btn-lg {
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center;
  }
  .cta-microcopy {
    gap: 8px !important;
    justify-content: center;
  }
  .contact-form-wrapper {
    padding: 24px 16px !important;
  }
  .form-step-title {
    font-size: 1rem !important;
  }
}

/* Profile Page Timelines & Cover Mobile Adjustments */
@media (max-width: 768px) {
  .section {
    padding: 60px 0 !important;
  }
  .profile-cover {
    padding: 140px 0 70px !important;
    text-align: center;
  }
  .profile-timeline {
    padding: 0 10px !important;
  }
  .profile-timeline::before {
    right: 20px !important;
  }
  .timeline-item {
    padding-right: 40px !important;
    margin-bottom: 30px !important;
  }
  .timeline-dot {
    right: 12px !important;
    top: 6px !important;
    width: 16px !important;
    height: 16px !important;
    border-width: 3px !important;
  }
  .timeline-content {
    padding: 18px !important;
  }
  .timeline-content h3 {
    font-size: 1.05rem !important;
  }
  .timeline-content p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }
  .pm-systems-grid, .suitability-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Card Height Stretches */
.services-grid, .pm-systems-grid, .suitability-grid {
  align-items: stretch;
}
.services-grid .service-card,
.pm-systems-grid .pm-system-card,
.suitability-grid .suitability-col {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   PRINT STYLES FOR PREMIUM OFFLINE PDF EXPORT
   ========================================================================== */
@page {
  size: A4 landscape;
  margin: 15mm 20mm;
}

@media print {
  /* Print-only CSS variables adjustment to ensure color fidelity */
  body, html {
    background-color: #0b0f1e !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Light Theme Print Color Overrides */
  body.light-theme, body.light-theme html {
    background-color: #ffffff !important;
    color: #0f172a !important;
  }

  /* Hide interactive/web-only components */
  .navbar,
  .nav-actions,
  .floating-whatsapp,
  .sticky-cta-bar,
  .mobile-bottom-bar,
  #contact-profile,
  .footer,
  .lightbox-modal,
  .services-accordion-wrapper,
  .nav-actions a,
  .portfolio-actions,
  #openGuaranteeModal,
  #themeToggleBtn {
    display: none !important;
  }

  /* Show offline print-friendly contact info */
  .print-only-contact {
    display: block !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Force grid layouts for clean paper page layout */
  .services-grid, .pm-systems-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  .suitability-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .single-col-grid {
    grid-template-columns: 1fr !important;
  }
  .comparison-table {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 20px !important;
  }
  .comparison-vs {
    margin: 0 auto !important;
    transform: none !important;
  }

  /* Force display backgrounds on glass cards */
  .glass-card,
  .service-card,
  .pm-system-card,
  .case-study-card,
  .timeline-content,
  .suitability-col,
  .comparison-col,
  .qualify-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Light Theme Card Print Overrides */
  body.light-theme .glass-card,
  body.light-theme .service-card,
  body.light-theme .pm-system-card,
  body.light-theme .case-study-card,
  body.light-theme .timeline-content,
  body.light-theme .suitability-col,
  body.light-theme .comparison-col,
  body.light-theme .qualify-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
  }

  /* Keep cover page beautiful */
  .profile-cover {
    padding: 80px 0 50px !important;
    background: linear-gradient(180deg, rgba(15, 22, 42, 0.5) 0%, #0b0f1e 100%) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.light-theme .profile-cover {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.5) 0%, #ffffff 100%) !important;
  }

  /* Prevent text clipping and enforce clean layout wraps */
  h1, h2, h3, h4, h5, h6, p, span, li, i, strong {
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.light-theme h1,
  body.light-theme h2,
  body.light-theme h3,
  body.light-theme h4,
  body.light-theme h5,
  body.light-theme h6,
  body.light-theme p,
  body.light-theme span,
  body.light-theme li,
  body.light-theme i,
  body.light-theme strong {
    color: #0f172a !important;
  }

  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid !important;
    break-after: avoid !important;
  }
  
  .text-gold, .highlight {
    color: #ffb703 !important;
  }
  
  .badge {
    background: rgba(255, 183, 3, 0.1) !important;
    border: 1px solid rgba(255, 183, 3, 0.2) !important;
  }

  /* Timeline dots visibility */
  .timeline-dot {
    background: #0b0f1e !important;
    border: 4px solid #ffb703 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body.light-theme .timeline-dot {
    background: #ffffff !important;
    border-color: #ffb703 !important;
  }

  /* Force page break rules for clean presentation pagination */
  .section, .profile-cover {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    page-break-after: always !important;
    break-after: always !important;
  }
  .timeline-item {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media print {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

