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

:root {
  /* Color Palette */
  --primary-color: #0B132B; /* Dark Blue - Trust & Authority */
  --primary-light: #1C2541;
  --accent-color: #00B4D8; /* Bright Blue */
  --success-color: #10B981; /* Emerald Green - Eco & Savings */
  --success-dark: #059669;
  
  /* Text Colors */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-offwhite: #F1F5F9;
  --bg-dark: #0F172A;
  
  /* Gradients */
  --gradient-overlay: linear-gradient(180deg, rgba(11, 19, 43, 0.4) 0%, rgba(11, 19, 43, 0.9) 100%);
  --gradient-accent: linear-gradient(135deg, #10B981 0%, #059669 100%);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing & Utilities */
  --section-padding: 6rem 2rem;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

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

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

ul {
  list-style: none;
}

/* Typography Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-light); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Layout Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.grid { display: grid; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

.section {
  padding: var(--section-padding);
}
.bg-light { background-color: var(--bg-offwhite); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-dark h2, .bg-dark h3 { color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 20px -5px rgba(16, 185, 129, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}
.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary-color);
}
.btn-dark {
  background: var(--primary-color);
  color: var(--text-light);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}
.header.scrolled .logo,
.header.scrolled .nav-link {
  color: var(--primary-color);
}
.header.scrolled .btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.header.scrolled .btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light); /* Default for hero overlay */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.logo-icon {
  color: var(--success-color);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--success-color);
  transition: var(--transition);
}
.nav-link:hover::after {
  width: 100%;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 4rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--success-color);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero p {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Page Header (for non-home pages) */
.page-header {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 19, 43, 0.7);
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
  margin-top: 80px;
}
.page-header h1 {
  color: var(--text-light);
  font-size: clamp(2.5rem, 5vw, 4rem);
}

/* Feature Cards / Services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.2);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--success-color);
  color: var(--text-light);
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Image + Text Section Overlay */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  pointer-events: none;
}
.split-content ul {
  margin: 2rem 0;
}
.split-content li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.split-content li .icon {
  color: var(--success-color);
  margin-top: 4px;
}

/* Contact Form */
.form-card {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-offwhite);
}
.form-control:focus {
  outline: none;
  border-color: var(--success-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: var(--bg-white);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Trust Indicators Base */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--text-muted);
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
}
.badge-item svg {
  color: var(--success-color);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #E2E8F0;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
}
.faq-question .icon {
  transition: transform 0.3s ease;
  color: var(--success-color);
}
.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}
.faq-answer p {
  padding-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 60%);
  z-index: 1;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.footer p {
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--success-color);
  padding-left: 5px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* Animations (Intersection Observer Targets) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-link {
    color: var(--primary-color);
    font-size: 1.25rem;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header.scrolled .mobile-menu-btn {
    color: var(--primary-color);
  }
  .header:not(.scrolled) .mobile-menu-btn {
    color: var(--text-light); /* Assuming dark hero */
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}


/* Enhanced Premium Logo */
.logo-icon-wrapper {
  background: var(--gradient-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
}
.header.scrolled .logo-icon-wrapper {
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.2);
}
.logo-icon-wrapper .logo-icon {
  color: #fff !important;
  width: 20px;
  height: 20px;
}
.logo-text {
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.5rem;
}
.logo-accent {
  font-weight: 300;
  color: var(--success-color);
  margin-left: -2px;
}
.header.scrolled .logo-accent {
  color: var(--primary-light);
  opacity: 0.8;
}
