/* ==========================================================================
   Saraswat Tech - Premium Design System & Stylesheet
   Brand Colors: Primary Teal (#13A992), Deep Navy Blue (#004271)
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --primary-teal: #13A992;
  --primary-teal-dark: #0e8573;
  --primary-teal-light: #e6f7f5;
  --primary-teal-glow: rgba(19, 169, 146, 0.35);
  
  --brand-navy: #004271;
  --brand-navy-dark: #002d4e;
  --brand-navy-deep: #071927;
  --brand-navy-light: #005d9e;
  --brand-navy-glow: rgba(0, 66, 113, 0.25);
  
  /* Neutrals & Surfaces */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-dark-surface: #0a2338;
  
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-light: #e2e8f0;
  --border-teal: rgba(19, 169, 146, 0.2);
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 66, 113, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 66, 113, 0.15), 0 10px 15px -5px rgba(19, 169, 146, 0.1);
  --shadow-glow: 0 0 25px var(--primary-teal-glow);
  
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-dark-bg: rgba(7, 25, 39, 0.85);
  --glass-dark-border: rgba(19, 169, 146, 0.25);

  /* Fonts & Radius */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Elements */
*, *::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-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  line-height: 1.25;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-teal {
  background: linear-gradient(135deg, var(--primary-teal) 0%, #17cbb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(19, 169, 146, 0.25);
  margin-bottom: 14px;
}

.section-tag i {
  font-size: 0.9rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--brand-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(19, 169, 146, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(19, 169, 146, 0.45);
  background: linear-gradient(135deg, #16bba2 0%, #0c7263 100%);
}

.btn-navy {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 8px 20px rgba(0, 66, 113, 0.25);
}

.btn-navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 66, 113, 0.4);
}

.btn-outline-navy {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}

.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn-outline-teal:hover {
  background: var(--primary-teal);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--text-white);
  color: var(--brand-navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 39, 68, 0.08);
  padding: 4px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  position: relative;
  padding: 8px 0;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--brand-navy);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 60%, #05263f 100%);
  color: var(--text-white);
  padding: 120px 0 100px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(19, 169, 146, 0.15);
  border: 1px solid rgba(19, 169, 146, 0.4);
  border-radius: var(--radius-full);
  color: var(--primary-teal-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-teal);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(19, 169, 146, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(19, 169, 146, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(19, 169, 146, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary-teal);
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary-teal-light);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Floating Card Graphics in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.glass-card-hero {
  background: rgba(7, 25, 39, 0.85);
  border: 1px solid rgba(19, 169, 146, 0.35);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: none !important;
  transition: var(--transition-normal);
  width: 100%;
}

.glass-card-hero:hover {
  transform: translateY(-6px) !important;
  border-color: var(--primary-teal);
  box-shadow: 0 30px 60px -12px rgba(19, 169, 146, 0.25);
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-service-item:last-child {
  margin-bottom: 0;
}

.hero-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--brand-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.hero-service-item h4 {
  font-size: 1rem;
  color: white;
  margin-bottom: 2px;
}

.hero-service-item p {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   Page Header (For Subpages: About, Services, etc.)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
  padding: 80px 0 70px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(19, 169, 146, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.page-banner h1 {
  color: white;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.breadcrumb a {
  color: var(--primary-teal-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Services Grid & Feature Section
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background: var(--bg-body);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

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

.service-tag-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(7, 25, 39, 0.85);
  color: var(--primary-teal-light);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(19, 169, 146, 0.3);
}

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

.service-icon-floating {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--primary-teal) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-top: -58px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(0, 66, 113, 0.2);
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 24px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.service-features-list i {
  color: var(--primary-teal);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.service-link i {
  transition: transform 0.2s ease;
}

.service-link:hover {
  color: var(--primary-teal);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   About & Core Values
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-surface);
}

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

.about-image-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-teal);
  text-align: center;
}

.experience-badge h4 {
  font-size: 2.4rem;
  color: var(--primary-teal);
  margin-bottom: 2px;
}

.experience-badge p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  padding: 24px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-teal);
  transition: var(--transition-normal);
}

.value-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.value-card i {
  font-size: 1.8rem;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-surface-alt) 0%, var(--bg-body) 100%);
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.why-feature-box {
  background: var(--bg-surface);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-teal);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.why-feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-feature-box p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Service Estimator Calculator
   ========================================================================== */
.estimator-section {
  padding: 100px 0;
  background: var(--bg-surface);
}

.estimator-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.estimator-controls {
  padding: 44px;
}

.form-group-est {
  margin-bottom: 28px;
}

.form-group-est label {
  display: block;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  font-size: 1rem;
}

.checkbox-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.option-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-surface-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-box:hover {
  background: var(--primary-teal-light);
}

.option-box input[type="checkbox"], .option-box input[type="radio"] {
  accent-color: var(--primary-teal);
  width: 18px;
  height: 18px;
}

.option-box.selected {
  border-color: var(--primary-teal);
  background: var(--primary-teal-light);
}

.range-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-slider-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary-teal);
  cursor: pointer;
}

.range-value-badge {
  align-self: flex-end;
  font-weight: 700;
  color: var(--primary-teal-dark);
  background: var(--primary-teal-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.estimator-summary {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 100%);
  color: white;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-summary h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.est-breakdown-list {
  margin-bottom: 30px;
}

.est-breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.est-total-box {
  background: rgba(19, 169, 146, 0.15);
  border: 1px solid rgba(19, 169, 146, 0.4);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  text-align: center;
}

.est-total-box p {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 1px;
}

.est-total-box h4 {
  font-size: 2.2rem;
  color: var(--primary-teal-light);
  margin-top: 4px;
}

/* ==========================================================================
   Contact Form & Map Section
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.contact-details-list {
  margin: 32px 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(19, 169, 146, 0.2);
  color: var(--primary-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-item h5 {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-detail-item p, .contact-detail-item a {
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.contact-form-card {
  background: var(--bg-surface);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: white;
  box-shadow: 0 0 0 4px var(--primary-teal-light);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-navy-deep);
  color: #cbd5e1;
  padding: 80px 0 30px 0;
  border-top: 3px solid var(--primary-teal);
}

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

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.925rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary-teal);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary-teal);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

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

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

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary-teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(19, 169, 146, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--primary-teal-dark);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 25, 39, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  padding: 40px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-normal);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #cbd5e1;
}

/* Toast alert */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--brand-navy-deep);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-teal);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints & Header Fixes
   ========================================================================== */
.mobile-cta-item {
  display: none;
  width: 100%;
}

@media (max-width: 992px) {
  .nav-wrapper {
    height: 72px;
    gap: 12px;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo img {
    height: 40px;
    max-width: 160px;
    object-fit: contain;
  }

  .nav-cta {
    gap: 10px;
    flex-shrink: 0;
  }

  .nav-cta .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 30px;
  }
  
  .about-grid, .contact-grid, .estimator-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--primary-teal);
    transform: translateY(-150%);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.mobile-active {
    transform: translateY(0);
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-cta-item {
    display: block;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .nav-wrapper {
    height: 64px;
  }

  .brand-logo img {
    height: 34px;
    max-width: 135px;
  }

  /* Hide header CTA on mobile screens to prevent overlap with logo & hamburger */
  .nav-cta .btn-primary {
    display: none;
  }

  .glass-card-hero {
    padding: 18px 14px !important;
  }

  .hero-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .hero-service-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .hero-service-item h4 {
    font-size: 0.9rem;
  }

  .hero-service-item p {
    font-size: 0.76rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid-2, .checkbox-options, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .estimator-controls, .estimator-summary, .contact-info-card, .contact-form-card {
    padding: 24px;
  }
}

