/* ==========================================================================
   CAL WATER SYSTEMS - PREMIUM CSS STYLESHEET
   Glassmorphic & Neumorphic Theme | Custom Responsive Design
   ========================================================================== */

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

:root {
  /* Colors */
  --primary: #0284c7;        /* Clean Ocean/Water Blue */
  --primary-hover: #0369a1;
  --secondary: #0d9488;      /* Purification Teal */
  --secondary-hover: #0f766e;
  --accent: #38bdf8;         /* Fresh Sky Blue */
  --dark: #0f172a;           /* Deep Slate for text */
  --dark-light: #334155;     /* Slate for secondary text */
  --light: #f8fafc;          /* Off-white background */
  --white: #ffffff;
  --pure-black: #000000;

  /* Neumorphic Shadow Variables (Light Theme) */
  --neu-shadow-flat: 6px 6px 16px #d1d5db, -6px -6px 16px #ffffff;
  --neu-shadow-inset: inset 4px 4px 8px #d1d5db, inset -4px -4px 8px #ffffff;
  --neu-shadow-button: 4px 4px 10px #d1d5db, -4px -4px 10px #ffffff;
  --neu-shadow-button-hover: 2px 2px 5px #d1d5db, -2px -2px 5px #ffffff;

  /* Glassmorphic Variables */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.6);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
  --glass-blur: blur(12px) saturate(180%);

  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

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

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

ul {
  list-style: none;
}

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

section {
  padding: 5rem 1.5rem;
  position: relative;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: var(--dark-light);
  font-size: 1.125rem;
}

/* ==========================================================================
   Glassmorphic & Neumorphic Utility Components
   ========================================================================== */

/* Glassmorphic Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-medium);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08);
}

/* Neumorphic Flat Card */
.neu-card {
  background: var(--light);
  box-shadow: var(--neu-shadow-flat);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  transition: var(--transition-medium);
}

.neu-card:hover {
  transform: translateY(-5px);
}

/* Neumorphic Inset Input fields */
.neu-input {
  background: #f1f5f9;
  box-shadow: var(--neu-shadow-inset);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  color: var(--dark);
  transition: var(--transition-fast);
  width: 100%;
}

.neu-input:focus {
  box-shadow: inset 2px 2px 5px #cbd5e1, inset -2px -2px 5px #ffffff, 0 0 0 2px var(--primary);
  background: #f8fafc;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-medium);
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  box-shadow: var(--neu-shadow-button);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
  box-shadow: var(--neu-shadow-button-hover);
  transform: translateY(-1px);
  color: var(--primary-hover);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

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

/* ==========================================================================
   Header / Navigation (Pure Solid White / Glass Solid Background)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: var(--white); /* White background for the transparent logo */
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

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

.logo img {
  height: 55px; /* Perfect sizing for logo */
  width: auto;
  object-fit: contain;
}

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

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

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

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

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

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

.phone-quick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.phone-quick svg {
  width: 18px;
  height: 18px;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-sec {
  min-height: 100vh;
  padding-top: calc(90px + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 45%);
}

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

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-text p {
  font-size: 1.2rem;
  color: var(--dark-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
}

.hero-img-backdrop {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2) 0%, rgba(13, 148, 136, 0.2) 100%);
  border-radius: 32px;
  filter: blur(20px);
  z-index: 1;
}

.hero-img-glass {
  position: relative;
  z-index: 2;
  border-radius: 32px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.hero-img-glass img {
  border-radius: 24px;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ==========================================================================
   Stats Counter Dashboard
   ========================================================================== */
.stats-sec {
  background-color: var(--light);
  padding: 3rem 1.5rem;
}

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

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--dark-light);
}

/* ==========================================================================
   Core Services / Solutions Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.75rem;
  box-shadow: inset 2px 2px 5px rgba(2, 132, 199, 0.15), inset -2px -2px 5px #ffffff;
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-light);
  font-size: 0.975rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover {
  color: var(--secondary);
  gap: 0.75rem;
}

/* ==========================================================================
   Central Valley Challenge Focus
   ========================================================================== */
.valley-sec {
  background: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 40%);
}

.valley-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.valley-img-wrapper {
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 32px;
  padding: 0.75rem;
}

.valley-img-wrapper img {
  border-radius: 24px;
  height: 400px;
  width: 100%;
  object-fit: cover;
}

.valley-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.valley-content h3 span {
  color: var(--primary);
}

.valley-content p {
  color: var(--dark-light);
  margin-bottom: 1.5rem;
}

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

.valley-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.valley-item-icon {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.valley-item-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.valley-item-text p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Interactive Water Quality Quiz & Advisor Widget
   ========================================================================== */
.quiz-sec {
  background-color: #f1f5f9;
}

.quiz-container {
  max-width: 900px;
  margin: 0 auto;
}

.quiz-box {
  background: var(--white);
  box-shadow: var(--neu-shadow-flat);
  border-radius: 28px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quiz-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.quiz-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e2e8f0;
  z-index: 1;
  transform: translateY(-50%);
}

.quiz-step-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: linear-gradient(95deg, var(--primary), var(--secondary));
  z-index: 2;
  transform: translateY(-50%);
  transition: width var(--transition-medium);
  width: 0%;
}

.quiz-step-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  position: relative;
  z-index: 3;
  transition: var(--transition-medium);
  color: var(--dark-light);
}

.quiz-step-node.active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 6px rgba(2, 132, 199, 0.15);
}

.quiz-step-node.completed {
  border-color: var(--secondary);
  background-color: var(--secondary);
  color: var(--white);
}

.quiz-step-pane {
  display: none;
}

.quiz-step-pane.active {
  display: block;
  animation: fadeIn 0.4s ease-out forwards;
}

.quiz-question {
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.quiz-opt-card {
  background: var(--light);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quiz-opt-card:hover {
  background: #f1f5f9;
  border-color: rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
}

.quiz-opt-card.selected {
  background: rgba(2, 132, 199, 0.05);
  border-color: var(--primary);
  box-shadow: inset 2px 2px 5px rgba(2, 132, 199, 0.1);
}

.quiz-opt-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.quiz-opt-card.selected .quiz-opt-dot {
  border-color: var(--primary);
  background-color: var(--primary);
}

.quiz-opt-card.selected .quiz-opt-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--white);
  border-radius: 50%;
}

.quiz-opt-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.quiz-opt-text p {
  font-size: 0.85rem;
  color: var(--dark-light);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.75rem;
}

/* Quiz Result CSS */
.quiz-result-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-result-header svg {
  width: 60px;
  height: 60px;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.quiz-result-card {
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 18px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.quiz-result-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--glass-shadow);
}

.quiz-result-details h3 {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.quiz-result-details p {
  font-size: 0.95rem;
  color: var(--dark-light);
}

.quiz-result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   4-Step Installation & Design Process
   ========================================================================== */
.process-sec {
  background: var(--light);
}

.process-steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-badge {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--neu-shadow-flat);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-medium);
}

.process-step:hover .process-badge {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25);
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--dark-light);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-sec {
  background: radial-gradient(circle at right bottom, rgba(2, 132, 199, 0.08) 0%, transparent 40%);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.testimonial-card {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
}

.quote-icon {
  color: rgba(2, 132, 199, 0.15);
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--dark-light);
  margin-bottom: 2rem;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: var(--dark);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--primary);
  width: 25px;
  border-radius: 6px;
}

/* ==========================================================================
   Actionable CTA Banner
   ========================================================================== */
.cta-sec {
  padding: 4rem 1.5rem;
}

.cta-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.25) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 32px;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  color: var(--dark-light);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer Section (Solid White Background)
   ========================================================================== */
footer {
  background-color: var(--white); /* White background for the transparent logo */
  color: var(--dark);
  padding: 5rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--dark-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  box-shadow: var(--neu-shadow-button);
}

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

.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links li {
  margin-bottom: 0.85rem;
}

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

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--dark-light);
  font-size: 0.95rem;
}

.footer-contact svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--dark-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   Internal Page Layout Elements & Components
   ========================================================================== */

/* Internal Page Hero */
.page-hero {
  padding-top: calc(90px + 5rem);
  padding-bottom: 5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--dark-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Detail Split Grid */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.detail-grid:last-of-type {
  margin-bottom: 0;
}

.detail-grid.reverse {
  direction: rtl;
}

.detail-grid.reverse .detail-content,
.detail-grid.reverse .detail-image {
  direction: ltr;
}

.detail-image {
  border-radius: 28px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.detail-image img {
  border-radius: 20px;
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.detail-content h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.detail-content h2 span {
  color: var(--primary);
}

.detail-content p {
  color: var(--dark-light);
  margin-bottom: 1.25rem;
}

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

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.detail-feature-item svg {
  color: var(--secondary);
}

/* Science Section Specs Grid */
.science-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.science-card {
  display: flex;
  flex-direction: column;
}

.science-img-box {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--glass-shadow);
}

.science-img-box img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.science-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* FAQ Accordion Component */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.faq-header:hover {
  background-color: rgba(2, 132, 199, 0.02);
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  transition: var(--transition-medium);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary);
  color: var(--white);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
}

.faq-body p {
  padding-bottom: 1.5rem;
  color: var(--dark-light);
}

/* ==========================================================================
   About Page Specific Elements
   ========================================================================== */

/* Timeline Component */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-event {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
}

.timeline-event:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 25px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--white);
  border: 4px solid var(--primary);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.15);
}

.timeline-event:nth-child(even) .timeline-dot {
  border-color: var(--secondary);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.15);
}

.timeline-content-wrapper {
  width: 45%;
}

.timeline-box {
  padding: 2rem;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  background: rgba(2, 132, 199, 0.08);
}

.timeline-event:nth-child(even) .timeline-year {
  color: var(--secondary);
  background: rgba(13, 148, 136, 0.08);
}

.timeline-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-box p {
  color: var(--dark-light);
  font-size: 0.95rem;
}

/* Specialists Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-card {
  text-align: center;
}

.team-img-box {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  padding: 0.5rem;
  background: var(--white);
  box-shadow: var(--neu-shadow-flat);
}

.team-img-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.team-bio {
  color: var(--dark-light);
  font-size: 0.875rem;
}

/* ==========================================================================
   Contact Page Specific Elements
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1.25rem;
  padding: 2rem;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--neu-shadow-button);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-info-text p {
  color: var(--dark-light);
  font-size: 0.95rem;
}

.contact-form-panel {
  padding: 3rem;
}

.form-title {
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

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

.area-card {
  text-align: center;
  padding: 1.75rem 1rem;
}

.area-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.area-card p {
  font-size: 0.85rem;
  color: var(--dark-light);
}

/* ==========================================================================
   Maintenance Page Specific Elements
   ========================================================================== */

/* Pricing Tables Matrix */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(2, 132, 199, 0.08);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 0.25rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  color: var(--dark-light);
  font-weight: 500;
}

.pricing-features {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--dark-light);
}

.pricing-features svg {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Service Checklist Grid */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.checklist-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(226, 232, 240, 0.5);
  cursor: pointer;
  transition: var(--transition-medium);
}

.check-item:hover {
  border-color: rgba(2, 132, 199, 0.2);
  transform: translateX(5px);
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--white);
  transition: var(--transition-fast);
}

.check-item.checked .check-box {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.check-item.checked .check-box::after {
  content: '✓';
  font-size: 0.8rem;
  font-weight: 700;
}

.check-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  transition: var(--transition-fast);
}

.check-item.checked .check-text h4 {
  text-decoration: line-through;
  color: var(--dark-light);
}

.check-text p {
  font-size: 0.85rem;
  color: var(--dark-light);
  margin-bottom: 0;
}

/* ==========================================================================
   Animations & Reveal Effects
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

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

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

/* ==========================================================================
   Mobile & Responsive Adjustments (HEAVILY OPTIMIZED)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    gap: 3rem;
  }
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-img-glass img {
    height: 400px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .pricing-card.popular {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-area-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 1rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 1.85rem;
  }
  
  /* Navigation mobile behavior */
  header {
    height: 80px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #cbd5e1;
    padding-top: 2rem;
    margin-top: 1rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-img-glass img {
    height: 300px;
  }
  
  .valley-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .valley-img-wrapper img {
    height: 300px;
  }
  
  .valley-list {
    grid-template-columns: 1fr;
  }
  
  .quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .quiz-box {
    padding: 2rem 1.5rem;
  }
  
  .process-steps-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
  }
  
  .detail-grid.reverse {
    direction: ltr;
  }
  
  .detail-image img {
    height: 280px;
  }
  
  .science-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-event {
    flex-direction: row !important;
    margin-bottom: 3rem;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content-wrapper {
    width: calc(100% - 50px);
    margin-left: 50px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.popular {
    grid-column: span 1;
  }
  
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form-panel {
    padding: 2rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.15rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .service-area-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-box {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-box h2 {
    font-size: 1.85rem;
  }
  
  .btn {
    width: 100%;
  }
}
