/* ============================================
   Adult Driver Education — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #064e3b;
  background-color: #FFFBF5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.2;
  font-weight: 800;
  color: #064e3b;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Shared --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header--centered {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #059669;
  background: #d1fae5;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #059669;
  border-radius: 50%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: #064e3b;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #047857;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.1);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 30px rgba(5, 150, 105, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #064e3b;
}

.nav-logo-text {
  display: none;
}

@media (min-width: 640px) {
  .nav-logo-text {
    display: block;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #064e3b;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

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

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #064e3b;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}

.nav-link--cta {
  background: #059669;
  color: #FFFBF5 !important;
  margin-left: 0.5rem;
}

.nav-link--cta:hover {
  background: #047857;
}

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #FFFBF5;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }

  .nav-link--cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 78, 59, 0.4);
    z-index: 99;
  }

  .nav-overlay.visible {
    display: block;
  }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, #022c22 0%, #064e3b 25%, #047857 50%, #059669 75%, #10b981 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(5, 150, 105, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(2, 44, 34, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-geo-shape {
  position: absolute;
  opacity: 0.08;
}

.shape-geo-1 {
  width: 400px;
  height: 400px;
  border: 3px solid #34d399;
  border-radius: 50%;
  top: -100px;
  right: -80px;
}

.shape-geo-2 {
  width: 200px;
  height: 200px;
  background: #34d399;
  bottom: 10%;
  left: 5%;
  transform: rotate(45deg);
}

.shape-geo-3 {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid #6ee7b7;
  top: 20%;
  left: 15%;
  opacity: 0.06;
}

.shape-geo-4 {
  width: 120px;
  height: 120px;
  border: 3px solid #a7f3d0;
  border-radius: 20px;
  bottom: 20%;
  right: 15%;
  transform: rotate(30deg);
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(5, 150, 105, 0.3);
  border: 1px solid rgba(5, 150, 105, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #FFFBF5;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d1fae5;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFBF5;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(167, 243, 208, 0.3);
  align-self: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: #059669;
  color: #FFFBF5;
  border-color: #059669;
}

.btn-primary:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #FFFBF5;
  border-color: rgba(255, 251, 245, 0.5);
}

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

.btn-outline-light {
  background: transparent;
  color: #064e3b;
  border-color: #064e3b;
}

.btn-outline-light:hover {
  background: #064e3b;
  color: #FFFBF5;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero image area */
.hero-image {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.hero-image-frame {
  position: relative;
  display: inline-block;
}

.hero-img {
  width: 280px;
  height: 350px;
  object-fit: cover;
  border-radius: 24px;
  border: 4px solid rgba(255, 251, 245, 0.2);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    gap: 3rem;
    padding: 8rem 0 6rem;
  }

  .hero-content {
    text-align: left;
    flex: 1;
    padding: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-image {
    margin-top: 0;
    flex: 0 0 auto;
    position: relative;
  }

  .hero-img {
    width: 400px;
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0 6rem;
  }

  .hero-content {
    padding: 0;
  }

  .hero-image {
    padding-right: 0;
  }

  .hero-img {
    width: 460px;
    height: 560px;
  }
}

.hero-image-accent {
  position: absolute;
  width: 100px;
  height: 100px;
  background: #059669;
  border-radius: 20px;
  bottom: -20px;
  right: -20px;
  z-index: -1;
  opacity: 0.5;
}

.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: #FFFBF5;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.hero-floating-icon {
  width: 44px;
  height: 44px;
  background: #d1fae5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #064e3b;
}

.hero-floating-sub {
  font-size: 0.75rem;
  color: #047857;
}

@media (max-width: 767px) {
  .hero-floating-card {
    left: 10px;
    bottom: 20px;
  }
}

/* --- Services --- */
.services {
  background: #FFFBF5;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: #FFFBF5;
  border: 2px solid #d1fae5;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card:hover {
  border-color: #059669;
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.15);
}

.service-card-geo {
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 50%;
  top: -40px;
  right: -40px;
  opacity: 0.4;
  pointer-events: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: #059669;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFBF5;
  margin-bottom: 1.5rem;
}

.service-icon--alt {
  background: #064e3b;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #064e3b;
}

.service-desc {
  font-size: 0.95rem;
  color: #047857;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #064e3b;
}

/* --- Why Us --- */
.why-us {
  background: #ecfdf5;
  overflow: hidden;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .why-us-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.why-us-visual {
  position: relative;
}

.why-us-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(5, 150, 105, 0.15);
}

@media (min-width: 768px) {
  .why-us-img {
    height: 500px;
  }
}

.why-us-visual-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: 24px;
  bottom: -30px;
  left: -30px;
  z-index: -1;
  opacity: 0.2;
}

.why-us-floating-stat {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: #059669;
  color: #FFFBF5;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
}

.why-us-floating-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.why-us-floating-label {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-us-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-us-feature-icon {
  width: 44px;
  height: 44px;
  background: #d1fae5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
}

.why-us-feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 0.25rem;
}

.why-us-feature-desc {
  font-size: 0.9rem;
  color: #047857;
  line-height: 1.6;
}

/* --- Process --- */
.process {
  background: #064e3b;
  color: #FFFBF5;
  overflow: hidden;
}

.process .section-tag {
  background: rgba(5, 150, 105, 0.4);
  color: #a7f3d0;
}

.process .section-tag::before {
  background: #34d399;
}

.process .section-title {
  color: #FFFBF5;
}

.process .section-subtitle {
  color: #a7f3d0;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.process-step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(5, 150, 105, 0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-step-visual {
  width: 72px;
  height: 72px;
  background: rgba(5, 150, 105, 0.2);
  border: 2px solid rgba(5, 150, 105, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #34d399;
  position: relative;
}

.process-step-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(5, 150, 105, 0.15);
  border-radius: 50%;
}

.process-step-title {
  font-size: 1.25rem;
  color: #FFFBF5;
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.9rem;
  color: #a7f3d0;
  line-height: 1.7;
}

.process-step-desc a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.process-step-desc a:hover {
  color: #6ee7b7;
}

.process-step-connector {
  display: none;
}

@media (min-width: 768px) {
  .process-step:nth-child(odd) .process-step-connector {
    display: block;
    position: absolute;
    top: 3.5rem;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(to right, rgba(5, 150, 105, 0.4), transparent);
  }

  .process-step:nth-child(even) .process-step-connector {
    display: block;
    position: absolute;
    top: 3.5rem;
    left: -1.5rem;
    width: 3rem;
    height: 2px;
    background: linear-gradient(to left, rgba(5, 150, 105, 0.4), transparent);
  }
}

/* --- Testimonials --- */
.testimonials {
  background: #FFFBF5;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  position: relative;
  background: #FFFBF5;
  border: 2px solid #d1fae5;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: #059669;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(5, 150, 105, 0.12);
}

.testimonial-card-geo {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d1fae5, transparent);
  border-radius: 50%;
  bottom: -20px;
  left: -20px;
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #047857;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #064e3b;
}

.testimonial-location {
  font-size: 0.8rem;
  color: #047857;
}

/* --- CTA --- */
.cta {
  background: linear-gradient(135deg, #047857, #059669);
  padding: 5rem 0;
  overflow: hidden;
}

.cta-card {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-geo-shape {
  position: absolute;
  opacity: 0.08;
}

.cta-geo-1 {
  width: 300px;
  height: 300px;
  border: 3px solid #34d399;
  border-radius: 50%;
  top: -100px;
  left: -80px;
}

.cta-geo-2 {
  width: 150px;
  height: 150px;
  background: #34d399;
  bottom: -50px;
  right: 10%;
  transform: rotate(45deg);
}

.cta-geo-3 {
  width: 80px;
  height: 80px;
  border: 2px solid #a7f3d0;
  border-radius: 16px;
  top: 10%;
  right: 5%;
  transform: rotate(20deg);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #FFFBF5;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.1rem;
  color: #d1fae5;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* --- Contact --- */
.contact {
  background: #ecfdf5;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #059669;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFBF5;
  flex-shrink: 0;
}

.contact-detail-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #047857;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  color: #064e3b;
  line-height: 1.6;
  font-weight: 600;
}

.contact-link {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-link:hover {
  color: #047857;
}

.contact-map {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.1);
}

/* Contact Form */
.contact-form-wrapper {
  display: flex;
}

.contact-form-card {
  background: #FFFBF5;
  border: 2px solid #d1fae5;
  border-radius: 24px;
  padding: 2.5rem;
  width: 100%;
  max-width: 100%;
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #064e3b;
}

.contact-form-subtitle {
  font-size: 0.9rem;
  color: #047857;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #d1fae5;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #064e3b;
  background: #FFFBF5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' 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 1rem center;
  padding-right: 2.5rem;
}

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

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-icon {
  margin: 0 auto 1rem;
  width: 72px;
  height: 72px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-title {
  font-size: 1.35rem;
  color: #064e3b;
  margin-bottom: 0.5rem;
}

.form-success-text {
  font-size: 0.9rem;
  color: #047857;
  line-height: 1.6;
}

.form-success-text a {
  color: #059669;
  font-weight: 700;
}

/* --- Footer --- */
.footer {
  background: #022c22;
  color: #a7f3d0;
  padding: 4rem 0 0;
}

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

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFFBF5;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6ee7b7;
  opacity: 0.8;
}

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

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

.footer-link-group h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34d399;
  margin-bottom: 1rem;
}

.footer-link-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-group a {
  font-size: 0.9rem;
  color: #a7f3d0;
  transition: color 0.2s ease;
}

.footer-link-group a:hover {
  color: #FFFBF5;
}

.footer-bottom {
  border-top: 1px solid rgba(5, 150, 105, 0.2);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6ee7b7;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a {
  color: #6ee7b7;
}

.footer-bottom a:hover {
  color: #FFFBF5;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .service-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* --- Decorative Background Shapes --- */
.geo-shape {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
}

.shape-circle-1 {
  width: 600px;
  height: 600px;
  border: 3px solid #059669;
  border-radius: 50%;
  top: -200px;
  right: -200px;
}

.shape-circle-2 {
  width: 400px;
  height: 400px;
  background: #059669;
  border-radius: 50%;
  bottom: 10%;
  left: -150px;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid #059669;
  top: 40%;
  right: -50px;
  transform: rotate(20deg);
}

.shape-square {
  width: 200px;
  height: 200px;
  border: 3px solid #059669;
  border-radius: 24px;
  bottom: 30%;
  right: 5%;
  transform: rotate(45deg);
}
