/* ==========================================================================
   Visight Premium CSS System (Sleek Minimalist Light Mode)
   Inspired by the overlapping, transparent layers of the Visight logo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System Tokens
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette - Directly extracted from the Visight Logo */
  --color-dark: hsl(220, 15%, 10%);       /* Elegant Charcoal Black (#111827) */
  --color-secondary-dark: hsl(215, 16%, 37%); /* Subtle Slate Gray (#4b5563) */
  --color-blue: hsl(221, 83%, 53%);       /* Tech Blue (#2563eb) */
  --color-green: hsl(162, 76%, 41%);      /* Emerald Green (#059669) */
  --color-coral: hsl(0, 91%, 71%);        /* Soft Coral Red/Orange (#f87171) */
  
  /* Backgrounds & Panels */
  --bg-primary: hsl(210, 40%, 98%);       /* Ultra light cold gray (#f8fafc) */
  --bg-white: hsl(0, 0%, 100%);           /* Pure White (#ffffff) */
  --bg-glass: rgba(255, 255, 255, 0.75);   /* Semi-translucent white */
  --border-glass: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(17, 24, 39, 0.08); /* Transparent charcoal border */
  
  /* Glowing / Overlapping Accents */
  --glow-blue: rgba(37, 99, 235, 0.15);
  --glow-green: rgba(5, 150, 105, 0.15);
  --glow-coral: rgba(248, 113, 113, 0.15);
  
  /* Fonts */
  --font-serif: 'Lora', Georgia, serif;    /* Editorial, authoritative matching Visight logo */
  --font-sans: 'Inter', system-ui, sans-serif; /* Clean, modern technical UI */
  
  /* Spacing */
  --space-unit: 1rem;
  --container-max-width: 1200px;
  
  /* Animation Timing */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--color-secondary-dark);
  line-height: 1.6;
  direction: rtl; /* Hebrew optimized layout */
  overflow-x: hidden;
  position: relative;
}

/* Subtle dot-grid background to convey Business Intelligence / AI structure */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--border-subtle) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: -10;
  pointer-events: none;
}

/* Elegant decorative blurry blobs representing AI & Data networks */
.blob-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -5;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.blob-1 {
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--glow-blue);
}

.blob-2 {
  top: 45%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--glow-green);
}

.blob-3 {
  bottom: 15%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: var(--glow-coral);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-size: 1.05rem;
  font-weight: 400;
}

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

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

/* --------------------------------------------------------------------------
   3. Reusable UI Components & Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Glassmorphism Panel base */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04), 
              0 1px 3px rgba(17, 24, 39, 0.02);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-dark);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(17, 24, 39, 0.15);
}

.btn-primary:hover {
  background-color: #2b3544;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.25);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--color-dark);
  border-color: var(--border-subtle);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  border-color: rgba(17, 24, 39, 0.2);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #20ba56;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Icon Wrap helper */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Glassmorphic)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-nav {
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

/* When navbar is sticky on scroll */
.header.scrolled {
  top: 0;
}

.header.scrolled .header-nav {
  border-radius: 0 0 24px 24px;
  border-top: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
}

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

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--color-dark);
}

/* Modern underline hover effect matching logo's color layers */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-green), var(--color-blue), var(--color-coral));
  transition: var(--transition-smooth);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-dark);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* --------------------------------------------------------------------------
   5. Hero Section (First Impression WOW)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 12rem;
  padding-bottom: 7rem;
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 100px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-family: var(--font-sans);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.hero-title {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: inline;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: inherit;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-secondary-dark);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.founder-tag {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-right: 3px solid var(--color-green);
  padding-right: 1rem;
}

.founder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.founder-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
}

.founder-info p {
  font-size: 0.8rem;
  color: var(--color-secondary-dark);
}

/* Beautiful interactive graphic element to wow the user, inspired by logo rectangles */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
}

.visual-canvas {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlapping glassmorphic cards in the hero, directly copying the logo layout */
.hero-card {
  position: absolute;
  width: 260px;
  height: 140px;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.06);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.hero-card h4 {
  font-size: 1.1rem;
}

.hero-card-1 {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(5, 150, 105, 0.2);
  top: 15%;
  right: 5%;
  z-index: 3;
  transform: rotate(3deg);
}

.hero-card-1::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
}

.hero-card-2 {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.2);
  top: 35%;
  left: 5%;
  z-index: 2;
  transform: rotate(-4deg);
}

.hero-card-2::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
}

.hero-card-3 {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(248, 113, 113, 0.2);
  bottom: 12%;
  right: 15%;
  z-index: 1;
  transform: rotate(2deg);
}

.hero-card-3::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--color-coral);
  border-radius: 50%;
}

/* Hover effects that float the cards layered in space */
.hero-visual:hover .hero-card-1 {
  transform: translate(-10px, -15px) rotate(5deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(5, 150, 105, 0.1);
}

.hero-visual:hover .hero-card-2 {
  transform: translate(15px, -5px) rotate(-6deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
}

.hero-visual:hover .hero-card-3 {
  transform: translate(-5px, 15px) rotate(0deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(248, 113, 113, 0.1);
}

.visual-metric {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.visual-metric span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-secondary-dark);
}

.visual-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   6. Trust & Technology Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 3rem 0;
  background-color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary-dark);
}

.tech-badges {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-dark);
  opacity: 0.75;
  transition: var(--transition-fast);
}

.tech-badge:hover {
  opacity: 1;
}

.tech-badge svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   7. Services Grid Section
   -------------------------------------------------------------------------- */
.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
}

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

/* Service Card Design - Overlapping layers theme */
.service-card {
  padding: 3rem 2rem 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  overflow: hidden;
}

/* Subtle accent stripe at the top based on the card's theme */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: var(--transition-smooth);
}

.service-card-emerald::after { background-color: var(--color-green); }
.service-card-blue::after { background-color: var(--color-blue); }
.service-card-coral::after { background-color: var(--color-coral); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(17, 24, 39, 0.08);
}

.service-card-emerald:hover {
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 30px 60px rgba(5, 150, 105, 0.05);
}

.service-card-blue:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.05);
}

.service-card-coral:hover {
  border-color: rgba(248, 113, 113, 0.25);
  box-shadow: 0 30px 60px rgba(248, 113, 113, 0.05);
}

.service-card-emerald .icon-wrap { background: rgba(5, 150, 105, 0.06); color: var(--color-green); }
.service-card-blue .icon-wrap { background: rgba(37, 99, 235, 0.06); color: var(--color-blue); }
.service-card-coral .icon-wrap { background: rgba(248, 113, 113, 0.06); color: var(--color-coral); }

.service-card:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.service-card-emerald:hover .icon-wrap { background: var(--color-green); color: var(--bg-white); }
.service-card-blue:hover .icon-wrap { background: var(--color-blue); color: var(--bg-white); }
.service-card-coral:hover .icon-wrap { background: var(--color-coral); color: var(--bg-white); }

.service-title {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-secondary-dark);
}

.service-features li::before {
  content: '✓';
  font-weight: 700;
}

.service-card-emerald .service-features li::before { color: var(--color-green); }
.service-card-blue .service-features li::before { color: var(--color-blue); }
.service-card-coral .service-features li::before { color: var(--color-coral); }

.service-cta {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. About & Methodology Section
   -------------------------------------------------------------------------- */
.about {
  background-color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-glass-card {
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
}

.about-glass-card::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  bottom: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--glow-green) 0%, var(--glow-blue) 100%);
  z-index: -1;
  border-radius: 24px;
  filter: blur(8px);
}

.about-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about-stat {
  border-right: 2px solid var(--border-subtle);
  padding-right: 1rem;
}

.about-stat h3 {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-blue);
}

.about-stat p {
  font-size: 0.85rem;
  color: var(--color-secondary-dark);
}

.about-content h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.about-p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.methodology {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.method-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.method-info h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.method-info p {
  font-size: 0.95rem;
  color: var(--color-secondary-dark);
}

/* --------------------------------------------------------------------------
   9. Contact Form Section (Validated Glassmorphism)
   -------------------------------------------------------------------------- */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  padding: 4rem 3rem;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px var(--glow-blue);
}

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

.form-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.direct-tel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-dark);
}

.direct-tel span {
  color: var(--color-blue);
}

.direct-tel:hover {
  color: var(--color-blue);
}

/* Interactive Feedback styles */
.form-feedback {
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--color-green);
  font-weight: 600;
}

.form-feedback.error {
  display: block;
  background-color: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #b91c1c;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   10. Footer Section
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-col h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--color-secondary-dark);
}

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

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

/* --------------------------------------------------------------------------
   11. Scroll animations state
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   12. Responsive Design (Perfect Mobile layouts)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .hero {
    padding-top: 9rem;
    padding-bottom: 4rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    height: 380px;
    order: -1; /* Place visual above content on mobile */
  }
  
  .hero-card {
    width: 220px;
    height: 120px;
    padding: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    order: 2;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  /* Mobile Navigation Hamburger */
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(17, 24, 39, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 7rem 2.5rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    gap: 2rem;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .header-actions {
    display: none; /* Hide primary CTA inside header on mobile */
  }
}
