/* 
   JB Core Logistics - Global CSS
   Modern, glassmorphic design system with support for Dark/Light modes.
*/

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

/* Design System Variables */
:root {
  --font-primary: 'Outfit', sans-serif;
  
  /* Dark Theme (Default) */
  --bg-main: #070b19;
  --bg-offset: rgba(15, 23, 42, 0.2);
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border-card: rgba(255, 255, 255, 0.08);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --primary: #f77f00;      /* Amber / Orange (Logistics warmth, CTAs) */
  --primary-hover: #ff9f1c;
  --secondary: #00b4d8;    /* Tech Teal / Cyan (Tracking, calculations) */
  --secondary-hover: #90e0ef;
  --accent: #2a9d8f;       /* Success green */
  
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-shadow: 0 0 15px rgba(247, 127, 0, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

[data-theme="light"] {
  /* Light Theme */
  --bg-main: #f1f5f9;
  --bg-offset: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-card: rgba(15, 23, 42, 0.08);
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --primary: #e65f00;      
  --primary-hover: #f77f00;
  --secondary: #0077b6;
  --secondary-hover: #0096c7;
  
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --glow-shadow: 0 0 15px rgba(230, 95, 0, 0.15);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  box-shadow: var(--glass-shadow);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-card);
}

.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

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

/* Theme switch & Action CTA button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector-wrapper {
  position: relative;
  display: inline-block;
}

.lang-select {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' 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 10px center;
  background-size: 14px;
}

.lang-select:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.lang-select option {
  background: #070b19;
  color: #f8fafc;
}

[data-theme="light"] .lang-select {
  background: rgba(255, 255, 255, 0.8);
  color: #0c1b33;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] .lang-select option {
  background: #ffffff;
  color: #0c1b33;
}

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-card);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(247, 127, 0, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

/* Hero Section */
.hero-sec {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(7, 11, 25, 0.4) 0%, var(--bg-main) 100%), 
              url('assets/images/hero_bg.jpg') no-repeat center center/cover;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Floating quick tracker widget on Hero */
.hero-widget {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes slideUpFade {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-title svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

/* Floating Stats Bar */
.hero-stats-bar-wrapper {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  z-index: 10;
}

.hero-stats-bar {
  background: #081a33;
  border-radius: 16px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: 0 15px 40px rgba(12, 27, 51, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-bar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stats-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(214, 90, 0, 0.15);
  color: #f97316; /* Orange color */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stats-bar-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.stats-bar-text h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stats-bar-text p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.4;
}

.tracker-mini-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
}

/* Shipment Tracker Section */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.tracker-container {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

.tracker-search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* Interactive Timeline Styles */
.tracker-result-card {
  border-top: 1px solid var(--border-card);
  padding-top: 40px;
  margin-top: 20px;
  display: none; /* Shown dynamically via JS */
  animation: fadeIn 0.5s ease forwards;
}

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

.shipment-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  border: 1px solid var(--border-card);
}

.summary-item h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.summary-item p {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Visual Timeline Stepper */
.timeline-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 60px 0;
}

.timeline-progress-bar {
  position: absolute;
  top: 15px;
  left: 5%;
  width: 90%;
  height: 4px;
  background: var(--border-card);
  z-index: 1;
}

.timeline-progress-fill {
  height: 100%;
  width: 0%; /* Dynamic */
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 1s ease-in-out;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--border-card);
  margin: 0 auto 12px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.timeline-step.active .step-node {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
  background: var(--bg-main);
}

.timeline-step.completed .step-node {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.step-node svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.timeline-step.active .step-label {
  color: var(--text-main);
}

.timeline-step.completed .step-label {
  color: var(--text-main);
}

/* Services Grid Section */
.bg-offset {
  background-color: var(--bg-offset);
}

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

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: var(--glass-shadow);
}

.service-card-img-wrapper {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Quote Calculator Section */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.calc-form-pane {
  padding: 40px;
}

.calc-result-pane {
  background: rgba(0, 0, 0, 0.25);
  border-left: 1px solid var(--border-card);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.mode-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.mode-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--secondary);
}

.mode-btn.active {
  background: rgba(0, 180, 216, 0.1);
  border-color: var(--secondary);
  color: var(--secondary);
}

.mode-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-field-group input, .calc-field-group select {
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-family: var(--font-primary);
  transition: var(--transition-smooth);
}

.calc-field-group select optgroup {
  background: #070b19;
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-primary);
}

.calc-field-group select option {
  background: #070b19;
  color: var(--text-main);
  font-family: var(--font-primary);
}

[data-theme="light"] .calc-field-group select optgroup,
[data-theme="light"] .calc-field-group select option {
  background: #ffffff;
  color: #0c1b33;
}

.calc-field-group input:focus, .calc-field-group select:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Result Card Styles */
.result-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 12px;
}

.result-stat-group {
  margin-bottom: 24px;
}

.result-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.result-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.result-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.result-detail-item span:first-child {
  color: var(--text-muted);
}

.result-detail-item span:last-child {
  font-weight: 600;
}

/* Fleet Showcase Counters */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.counter-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.counter-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px auto;
  color: var(--primary);
}

.counter-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.counter-number {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Contact & Booking Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-info-pane {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 127, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.info-item-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

.booking-form-pane {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--glass-shadow);
}

/* Floating labels for inputs */
.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.booking-btn {
  grid-column: span 2;
  margin-top: 10px;
}

/* Modal Popup Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none; /* JS active */
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--glass-shadow);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer Section */
footer {
  background: #040710;
  color: #94a3b8;
  border-top: 1px solid var(--border-card);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.9rem;
}

.footer-col h3 {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile responsive hamburger menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-result-pane {
    border-left: none;
    border-top: 1px solid var(--border-card);
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .menu-btn {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-main);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-card);
  }
  .nav-menu.open {
    left: 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 30px auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .timeline-stepper {
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
    align-items: flex-start;
    padding-left: 20px;
  }
  .timeline-progress-bar {
    width: 4px;
    height: 90%;
    left: 36px;
    top: 5%;
  }
  .timeline-progress-fill {
    width: 100%;
    height: 0%;
  }
  .timeline-step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }
  .step-node {
    margin: 0;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .form-full-width {
    grid-column: span 1;
  }
  .booking-btn {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}
