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

:root {
  --primary-blue: #274C77;
  --accent-green: #6B9E5A;
  --light-blue: #6E9ECF;
  --white: #FFFFFF;
  --dark-grey: #333333;
  --light-grey: #f5f5f5;
  --medium-grey: #666666;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--dark-grey);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

section {
  padding: 80px 0;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-medium);
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px var(--shadow-color);
}

.header.scrolled .logo img {
  max-height: 50px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 60px;
  width: auto;
  transition: all var(--transition-medium);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  position: relative;
}

.header.scrolled .nav-desktop a {
  color: var(--dark-grey);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width var(--transition-medium);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.header.scrolled .phone-link {
  color: var(--dark-grey);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(39, 76, 119, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
}

.header .btn-primary {
  padding: 10px 20px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-medium);
}

.header.scrolled .mobile-menu-btn span {
  background: var(--dark-grey);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--white);
  padding: 80px 30px 30px;
  transition: left var(--transition-medium);
  z-index: 999;
  box-shadow: 5px 0 30px var(--shadow-color);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-grey);
}

.mobile-nav .btn-primary {
  margin-top: 20px;
  width: 100%;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
  z-index: 998;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(39, 76, 119, 0.85) 0%, rgba(39, 76, 119, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 40px 0;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-value-props {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-value-props span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 15px;
}

.hero-value-props svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-green);
}

/* Quote Form */
.quote-form {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 450px;
}

.quote-form h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-size: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-grey);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(110, 158, 207, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.quote-form .btn-primary {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  margin-top: 10px;
}

/* Value Propositions Section */
.value-props {
  background: var(--light-grey);
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  color: var(--primary-blue);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-green);
}

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

.value-prop-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px var(--shadow-color);
  transition: all var(--transition-medium);
}

.value-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(39, 76, 119, 0.15);
}

.value-prop-card:hover .value-icon {
  transform: scale(1.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium);
}

.value-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--white);
}

.value-prop-card h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.value-prop-card p {
  color: var(--medium-grey);
  font-size: 15px;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--medium-grey);
  font-size: 14px;
  margin-bottom: 0;
}

.process-connector {
  display: none;
}

/* Testimonials Section */
.testimonials {
  background: var(--light-grey);
  padding: 80px 0;
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-content {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow-color);
  text-align: center;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.stars svg {
  width: 24px;
  height: 24px;
  fill: #FFD700;
}

.testimonial-content blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--dark-grey);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 16px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.testimonial-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.testimonial-nav button:hover {
  background: var(--primary-blue);
}

.testimonial-nav button:hover svg {
  fill: var(--white);
}

.testimonial-nav button svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-blue);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

/* Nationwide Section */
.nationwide {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
}

.nationwide .section-header h2 {
  color: var(--white);
}

.nationwide .section-header h2::after {
  background: var(--white);
}

.nationwide p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 40px;
}

.state-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
  transition: all var(--transition-fast);
}

.state-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--light-grey);
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--medium-grey);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-top: 15px;
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-green);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-green);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.footer-cta {
  margin-top: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-legal a:hover {
  color: var(--white);
}

.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  fill: #FFD700;
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(39, 76, 119, 0.9) 0%, rgba(39, 76, 119, 0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--light-blue);
  box-shadow: 0 15px 40px rgba(39, 76, 119, 0.15);
}

.service-card .service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .service-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--medium-grey);
  font-size: 15px;
  margin-bottom: 0;
}

/* Why Choose Section */
.why-choose {
  background: var(--light-grey);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
}

.benefit-item svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.benefit-item span {
  font-size: 15px;
  color: var(--dark-grey);
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 60px;
  width: 2px;
  height: calc(100% + 20px);
  background: var(--light-blue);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-content h3 {
  font-size: 20px;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.timeline-content p {
  color: var(--medium-grey);
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-section {
  background: var(--light-grey);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-blue);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-answer-content {
  padding: 0 25px 20px;
  color: var(--medium-grey);
  line-height: 1.8;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-info {
  text-align: center;
}

.contact-info h3 {
  font-size: 24px;
  color: var(--primary-blue);
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.contact-method-details {
  text-align: left;
}

.contact-method-details p {
  font-size: 14px;
  color: var(--medium-grey);
  margin: 0;
}

.contact-method-details a,
.contact-method-details span {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-grey);
}

.contact-form-container {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 30px var(--shadow-color);
}

.contact-form-container h3 {
  font-size: 24px;
  color: var(--primary-blue);
  margin-bottom: 30px;
}

.contact-form .form-row {
  grid-template-columns: 1fr 1fr;
}

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

/* About Page */
.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.story-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow-color);
}

.story-image img {
  width: 100%;
  height: auto;
}

.story-content h2 {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.story-content h3 {
  font-size: 22px;
  color: var(--primary-blue);
  margin-top: 30px;
  margin-bottom: 15px;
}

.story-content p {
  color: var(--medium-grey);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
}

/* Feature Blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.feature-block.reverse .feature-content {
  order: 1;
}

.feature-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow-color);
}

.feature-content h3 {
  font-size: 28px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.feature-content p {
  color: var(--medium-grey);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll-triggered animations for steps */
.process-step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: none;
  }

  .phone-link {
    display: block;
  }

  .hero-title {
    font-size: 52px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .story-section {
    grid-template-columns: 1fr 1fr;
  }

  .feature-block {
    grid-template-columns: 1fr 1fr;
  }

  .feature-block.reverse .feature-content {
    order: 0;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
  }

  .hero-content .hero-text {
    padding-right: 20px;
  }

  .section-header h2 {
    font-size: 42px;
  }

  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }

  .process-connector {
    display: block;
    position: absolute;
    top: 25px;
    left: calc(33.33% - 15px);
    width: calc(33.33% + 30px);
    height: 2px;
    background: var(--light-blue);
    z-index: 0;
  }

  .process-step {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .quote-form {
    margin-top: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .page-hero h1 {
    font-size: 32px;
  }

  .testimonial-content {
    padding: 30px 20px;
  }

  .testimonial-content blockquote {
    font-size: 16px;
  }

  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in, .process-step {
    opacity: 1;
    transform: none;
  }
}
