/* ==========================================================================
   MRHBAN — Modern Digital Solutions
   Author: MRHBAN Engineering
   Domain: mrhban.com
   Technologies: Vanilla CSS3, CSS Custom Properties, Glassmorphism, Responsive Grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts & CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --bg-primary: #070b19;
  --bg-secondary: #0b132b;
  --bg-tertiary: #101c3d;
  --bg-card: rgba(14, 24, 52, 0.75);
  --bg-card-hover: rgba(20, 34, 72, 0.9);
  --bg-glass: rgba(11, 19, 43, 0.85);
  --bg-input: rgba(16, 28, 61, 0.9);

  /* Accents & Gradients */
  --primary: #00f2fe;
  --primary-dark: #06b6d4;
  --secondary: #6366f1;
  --secondary-light: #818cf8;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-teal: #14b8a6;
  --accent-amber: #f59e0b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #070b19;

  /* Borders & Glows */
  --border-glass: rgba(56, 189, 248, 0.16);
  --border-glass-hover: rgba(6, 182, 212, 0.48);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --glow-primary: 0 0 35px rgba(0, 242, 254, 0.25);
  --glow-purple: 0 0 30px rgba(99, 102, 241, 0.3);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Header Height */
  --header-height: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Strict Overflow Prevention
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Typography Headings with Fluid Clamp */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  word-wrap: break-word;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Container & Responsive Spacing
   -------------------------------------------------------------------------- */
.container {
  width: min(92%, 1240px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-right: 0;
}

.section {
  padding: clamp(3.5rem, 7vw, 7.5rem) 0;
  position: relative;
  z-index: 2;
  overflow: clip;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.section-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

.section-title {
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Text Gradients */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Background Grids & Ambient Glow Orbs */
.bg-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  max-width: 100%;
  overflow: hidden;
}

.orb-1 {
  width: min(440px, 60vw);
  height: min(440px, 60vw);
  top: -40px;
  left: 0;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
}

.orb-2 {
  width: min(480px, 60vw);
  height: min(480px, 60vw);
  top: 15%;
  right: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

.orb-3 {
  width: min(400px, 60vw);
  height: min(400px, 60vw);
  bottom: 10%;
  left: 0;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Image Fallback System Styling */
.image-fallback {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 24, 52, 0.95), rgba(9, 15, 33, 0.98)) !important;
  border: 1px dashed var(--border-glass-hover) !important;
  border-radius: var(--radius-md) !important;
  min-height: 220px !important;
  width: 100% !important;
  padding: 24px !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.image-fallback::after {
  content: '⚡ MRHBAN Digital Solution';
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

/* --------------------------------------------------------------------------
   4. Buttons & Interactive Controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #06b6d4 50%, #4f46e5 100%);
  color: #070b19;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #00f2fe 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #ffffff;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.2);
}

.btn-sm {
  padding: 8px 18px;
  min-height: 40px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  min-height: 52px;
  font-size: 1.05rem;
}

.btn .icon-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header & Responsive Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 11, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  height: 70px;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  max-height: 42px;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-toggle span:nth-child(1) {
  margin-bottom: 5px;
}
.mobile-toggle span:nth-child(2) {
  margin-bottom: 5px;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glass);
  padding: 90px 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

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

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 48px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 8px;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-badge-pill {
  background: var(--primary);
  color: #070b19;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-title {
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
  max-width: 680px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-description {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.68;
  margin-bottom: 32px;
  max-width: 580px;
  word-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual Showcase */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  width: 100%;
  min-width: 0;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 0;
}

.hero-visual-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  transition: transform 0.5s ease;
  display: block;
}

.hero-visual-wrapper:hover .hero-visual-img {
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   7. "Who We Help" Section
   -------------------------------------------------------------------------- */
.who-we-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 30px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), var(--glow-cyan);
}

.audience-card:hover::before {
  opacity: 1;
}

.audience-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.audience-card:hover .audience-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
  background: rgba(0, 242, 254, 0.2);
}

.audience-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.audience-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-visual-wrapper {
  position: relative;
  width: 100%;
}

.about-visual-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.about-content {
  position: relative;
}

.about-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.checklist-text strong {
  color: #ffffff;
  font-size: 0.95rem;
  display: block;
}

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

/* --------------------------------------------------------------------------
   9. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 32px) clamp(18px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.6), rgba(99, 102, 241, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), var(--glow-cyan);
}

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

.service-header {
  margin-bottom: 20px;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.service-icon-box img,
.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(99, 102, 241, 0.25));
  border-color: var(--primary);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-benefits {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.benefit-bullet {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-btn {
  width: 100%;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   10. Why Choose MRHBAN Section
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 30px);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), var(--glow-cyan);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  background: rgba(99, 102, 241, 0.25);
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.why-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Statistics Counter Bar
   -------------------------------------------------------------------------- */
.stats-bar {
  background: linear-gradient(135deg, rgba(14, 24, 52, 0.9) 0%, rgba(9, 15, 33, 0.95) 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: clamp(40px, 6vw, 60px) 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: clamp(0.8rem, 1.1vw, 0.9375rem);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   12. Portfolio / Work Section
   -------------------------------------------------------------------------- */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-btn {
  padding: 8px 20px;
  min-height: 40px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #070b19;
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.project-img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #090f20;
  width: 100%;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-box img {
  transform: scale(1.05);
}

.project-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 11, 25, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-content {
  padding: clamp(18px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.project-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.project-btn:hover {
  transform: translateX(4px);
  color: #ffffff;
}

/* Portfolio Quick View Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), var(--glow-cyan);
  padding: clamp(24px, 4vw, 36px);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--danger);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. How We Work (Process Timeline)
   -------------------------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  margin-top: 20px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  z-index: 0;
  opacity: 0.35;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px) clamp(16px, 2vw, 22px);
  position: relative;
  z-index: 1;
  text-align: center;
  transition: var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md), var(--glow-cyan);
}

.step-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
  transition: transform 0.3s ease;
}

.process-step:hover .step-badge {
  transform: scale(1.1);
  background: var(--primary);
  color: #070b19;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-md), var(--glow-cyan);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #070b19;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

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

/* --------------------------------------------------------------------------
   15. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-info-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.contact-info-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

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

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-method-item:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--primary);
  transform: translateX(4px);
}

.method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.method-details p {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.contact-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #34d399;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  margin-bottom: 16px;
  position: relative;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(16, 28, 61, 0.95);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.form-control.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.field-error {
  display: none;
  font-size: 0.775rem;
  color: var(--danger);
  margin-top: 4px;
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-secondary);
  color: #ffffff;
}

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

.form-status-alert {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-status-alert.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status-alert.error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* --------------------------------------------------------------------------
   16. Floating WhatsApp & Back-To-Top
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-secondary);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-fast);
  pointer-events: none;
}

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

.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

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

.back-to-top:hover {
  background: var(--primary);
  color: #070b19;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #040711;
  border-top: 1px solid var(--border-glass);
  padding: clamp(50px, 8vw, 80px) 0 30px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.95fr 0.95fr 1.15fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 50px;
}

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

.footer-brand img {
  height: 42px;
  width: auto;
  max-width: 180px;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-contact-item a {
  color: var(--text-secondary);
}

.footer-contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--primary);
  color: #070b19;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.footer-legal-links a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   18. Scroll Reveal Animations & Keyframes (Transform & Opacity Only)
   -------------------------------------------------------------------------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  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);
  will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   19. Comprehensive Responsive Breakpoints (320px - 1920px)
   -------------------------------------------------------------------------- */

/* Large Desktop / Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .process-timeline::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablets (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    max-width: 720px;
    margin-inline: auto;
  }
  .hero-description {
    margin-inline: auto;
    max-width: 600px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual-container {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 1024px) {
  .who-we-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Small Tablets / Large Phones (<= 900px) */
@media (max-width: 900px) {
  .nav-menu,
  .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    line-height: 1.1;
    margin-inline: auto;
  }
  .hero-description {
    margin-inline: auto;
    font-size: 1rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual-container {
    max-width: 100%;
    margin-inline: auto;
  }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .who-we-help-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 24px 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stat-item::after {
    display: none;
  }
  .floating-whatsapp {
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
  .back-to-top {
    bottom: 15px;
    left: 15px;
    width: 42px;
    height: 42px;
  }
}

/* --------------------------------------------------------------------------
   20. Accessibility & Reduced Motion Support
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}
