/* ==========================================================================
   Imperium Soluções - Design System & Stylesheet
   Theme: Tech Slate & Burgundy Crimson (#8A1525) with Alternating Light/Dark Sections
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Theme Palette (Hero, Contact, Footer) */
  --bg-dark: #090D16;
  --bg-card: #111726;
  --bg-card-hover: #182238;
  --bg-surface: #0E1424;
  --bg-glass: rgba(9, 13, 22, 0.85);
  
  /* Light Theme Palette (Based on Logo off-white) */
  --bg-light: #F4F3EE;
  --bg-light-surface: #FFFFFF;
  --bg-light-card: #FFFFFF;
  --text-dark-main: #1E293B;
  --text-dark-muted: #475569;
  --border-light-theme: rgba(0, 0, 0, 0.08);

  /* Primary Accent - Crimson Burgundy */
  --primary: #9E1029;
  --primary-light: #C81E3B;
  --primary-dark: #6B0A1A;
  --primary-glow: rgba(158, 16, 41, 0.4);
  --primary-gradient: linear-gradient(135deg, #B5132F 0%, #6B0A1A 100%);
  
  /* Text Colors (Dark Mode Default) */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Borders & Dividers (Dark Mode Default) */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  
  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 35px var(--primary-glow);
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #E2E8F0 50%, #C81E3B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--text-dark-main) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Header Shared Styles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(158, 16, 41, 0.12);
  border: 1px solid rgba(158, 16, 41, 0.3);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(158, 16, 41, 0.6);
  background: linear-gradient(135deg, #C81E3B 0%, #800D1E 100%);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: rgba(158, 16, 41, 0.1);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: #F8F9FA; /* Light gray background */
  border-bottom: 1px solid var(--border-light-theme);
}

.header.scrolled {
  background: rgba(248, 249, 250, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: 74px;
  box-shadow: var(--shadow-sm);
}

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

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

.logo-brand img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-light);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-dark-main);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section (Dark)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 450px;
  background: radial-gradient(circle, rgba(158, 16, 41, 0.25) 0%, rgba(9, 13, 22, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: #E2E8F0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 10px #22C55E;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--primary-light);
  width: 18px;
  height: 18px;
}

/* Hero Tech Visual Mockup Card */
.hero-visual {
  position: relative;
}

.tech-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.window-header {
  background: rgba(14, 20, 36, 0.8);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.window-title {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-muted);
}

.window-body {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
}

.code-block {
  color: #94A3B8;
}

.code-line {
  margin-bottom: 0.4rem;
  display: flex;
}

.code-num {
  color: var(--text-muted);
  width: 30px;
  user-select: none;
}

.code-keyword { color: #C81E3B; font-weight: 600; }
.code-fn { color: #38BDF8; }
.code-str { color: #34D399; }
.code-comment { color: var(--text-muted); font-style: italic; }

.dashboard-card-mini {
  margin-top: 1.25rem;
  background: rgba(9, 13, 22, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.dash-bar-group {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
  padding-top: 1rem;
}

.dash-bar {
  flex: 1;
  background: rgba(158, 16, 41, 0.3);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  position: relative;
  transition: height 0.5s ease;
}

.dash-bar.active {
  background: var(--primary-gradient);
  box-shadow: 0 0 15px var(--primary-glow);
}

.floating-badge {
  position: absolute;
  padding: 0.85rem 1.25rem;
  background: rgba(17, 23, 38, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}

.floating-badge.badge-top {
  top: -20px;
  right: -20px;
}

.floating-badge.badge-bottom {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  background: rgba(158, 16, 41, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
}

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

.badge-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.badge-text span {
  font-size: 0.775rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Services & Solutions Section (LIGHT THEME)
   ========================================================================== */
.services-section {
  padding: 7rem 0;
  position: relative;
  background: var(--bg-light); /* Light background */
  color: var(--text-dark-main);
}

.services-section .section-title {
  color: var(--text-dark-main);
}

.services-section .section-description {
  color: var(--text-dark-muted);
}

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

.services-grid .service-card:nth-child(4) {
  grid-column: 1 / 2;
}

.services-grid .service-card:nth-child(5) {
  grid-column: 2 / 3;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .services-grid .service-card {
    grid-column: span 2;
  }
  
  .services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  
  .services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  background: var(--bg-light-card); /* White card */
  border: 1px solid var(--border-light-theme);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-gradient);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(158, 16, 41, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

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

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(158, 16, 41, 0.08);
  border: 1px solid rgba(158, 16, 41, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 1.75rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(158, 16, 41, 0.3);
}

.service-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-dark-main);
}

.service-description {
  font-size: 0.975rem;
  color: var(--text-dark-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-features-list {
  border-top: 1px solid var(--border-light-theme);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  font-weight: 500;
}

.service-feature-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Clients & Cases Section (DARK THEME)
   ========================================================================== */
.clients-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-dark); /* Keeps the contrast strong */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.clients-intro-badge {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clients-intro-badge p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  align-items: center;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.client-logo-card:hover {
  transform: translateY(-4px);
}

.client-logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.client-logo-card:hover .client-logo-img {
  transform: scale(1.05);
}

.client-logo-icon {
  width: 42px;
  height: 42px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.client-logo-card:hover .client-logo-icon {
  color: var(--primary-light);
}

.client-logo-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.client-logo-sector {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Founder & Expertise Section (LIGHT THEME)
   ========================================================================== */
.founder-section {
  padding: 7rem 0;
  position: relative;
  background: var(--bg-light-surface); /* Pure white or off-white background */
  color: var(--text-dark-main);
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(158, 16, 41, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

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

.founder-visual-card {
  position: relative;
}

.founder-image-wrapper {
  background: var(--bg-light); /* Soft contrast card */
  border: 1px solid var(--border-light-theme);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

.founder-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary-gradient);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg-light-surface);
  box-shadow: 0 10px 25px rgba(158, 16, 41, 0.3);
  color: #FFFFFF;
  overflow: hidden;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-role-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(158, 16, 41, 0.1);
  border: 1px solid rgba(158, 16, 41, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.founder-name {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--text-dark-main);
}

.founder-title {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin-bottom: 1.5rem;
}

.founder-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-light-theme);
  padding-top: 1.5rem;
  text-align: left;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light-theme);
}

.highlight-box h4 {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-dark-main);
  font-weight: 600;
}

.founder-content .section-tag {
  margin-bottom: 1rem;
}

.founder-headline {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.founder-bio {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.expertise-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  background: rgba(158, 16, 41, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-dark-main);
}

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

/* ==========================================================================
   Diagnosis & Booking Section (DARK THEME)
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  position: relative;
  background: var(--bg-dark);
  color: var(--text-primary);
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.contact-info-side {
  background: linear-gradient(135deg, #180D15 0%, #0E1424 100%);
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info-side::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
}

.info-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.info-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.method-icon {
  width: 44px;
  height: 44px;
  background: rgba(158, 16, 41, 0.15);
  border: 1px solid rgba(158, 16, 41, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

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

.method-details label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.method-details a, .method-details p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.method-details a:hover {
  color: var(--primary-light);
}

.direct-email-banner {
  background: rgba(158, 16, 41, 0.1);
  border: 1px dashed rgba(158, 16, 41, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-icon {
  color: var(--primary-light);
}

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

.banner-text strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Contact Form Side */
.contact-form-side {
  padding: 3.5rem 3rem;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(9, 13, 22, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(158, 16, 41, 0.2);
  background: rgba(9, 13, 22, 0.9);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control option {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ==========================================================================
   FAQ Section (LIGHT THEME)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-light); /* Light background */
  border-top: 1px solid var(--border-light-theme);
  color: var(--text-dark-main);
}

.faq-section .section-title {
  color: var(--text-dark-main);
}

.faq-section .section-description {
  color: var(--text-dark-muted);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-theme);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: rgba(158, 16, 41, 0.3);
  box-shadow: 0 4px 12px rgba(158, 16, 41, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark-main);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.3s ease-in-out;
}

/* ==========================================================================
   Footer (DARK THEME)
   ========================================================================== */
.footer {
  background: #060910;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  color: var(--text-primary);
}

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

.footer-brand img {
  height: 65px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 340px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

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

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

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

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
  animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-headline {
    font-size: 2.75rem;
  }
  
  .founder-container {
    grid-template-columns: 1fr;
  }
  
  .contact-card-box {
    grid-template-columns: 1fr;
  }
  
  .contact-info-side {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .clients-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #F8F9FA;
    border-bottom: 1px solid var(--border-light-theme);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .hero-headline {
    font-size: 2.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
  }
  
  .services-grid .service-card {
    grid-column: auto !important;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
