/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #0066ff;
  --accent-color: #00cc99;
  --text-color: #2d3436;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --max-width: 1200px;
  --border-radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* Header styles */
header {
  background-color: var(--white);
  padding: 1.5rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

header h1 {
  color: var(--primary-color);
  font-size: 2.4rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--secondary-color);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}

nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Navigation CTA button */
nav .cta-button {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #00b388;
}

/* Remove the underline effect for the CTA button */
nav .cta-button::after {
  display: none;
}

/* Hero section */
#hero {
  padding: 8rem 2rem 6rem;
  background-color: var(--light-bg);
  background-image: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  padding-right: 2rem;
}

.hero-text h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: left;
}

.featured-quote {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-quote p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.featured-quote cite {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-top: 1rem;
}

.hero-image {
  position: relative;
}

.headshot {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.headshot:hover {
  transform: scale(1.02);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #00b388;
}

/* Section styles */
section {
  padding: 6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

section h2 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

#about {
  background-color: var(--white);
}

#about p {
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

#about p:hover {
  transform: translateY(-2px);
}

/* Service features */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.testimonial p {
  margin-bottom: 1.5rem;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-color);
}

.testimonial cite {
  color: var(--secondary-color);
  font-weight: 500;
  display: block;
}

/* Contact section */
#contact {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info {
  margin-top: 2rem;
}

.contact-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .header-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  nav {
    margin-left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .featured-quote p {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  nav {
    width: 100%;
    margin: 0;
  }

  nav ul {
    gap: 1.5rem;
    justify-content: space-between;
  }

  nav a {
    font-size: 1rem;
  }

  /* Adjust hero section padding to account for taller header */
  #hero {
    padding-top: 12rem;
  }

  /* Make CTA button full width on mobile */
  .cta-button {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 4rem 1rem;
  }

  .service-features,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}

/* Feature icons */
.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: block;
}

.feature {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Quote icons */
.quote-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  opacity: 0.5;
  margin-bottom: 1rem;
}

/* Contact icons */
.contact-info i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-link i {
  font-size: 1.5rem;
}

.social-link .fa-youtube {
  color: #ff0000;
}

.social-link .fa-instagram {
  color: #e4405f;
}

/* Newsletter Section */
.newsletter-section {
  background-color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--border-radius);
  margin: 4rem auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter-section h2 {
  margin-bottom: 1rem;
}

.newsletter-section p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.google-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
}

@media (max-width: 768px) {
  .form-container {
    padding-bottom: 1000px; /* Increase height on mobile for better visibility */
  }
}

/* Credentials Section */
.credentials-section {
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.credentials-section h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.credential {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

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

.credential h4 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 1rem 0;
}

.credential p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.5;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.badge-icon {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.badge-icon .fa-certificate {
  opacity: 0.9;
}

.badge-icon .badge-check {
  position: absolute;
  font-size: 1.5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
}

.badge-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: transform 0.3s ease;
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-bg);
}

.badge-link:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-link span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-align: center;
}

@media (max-width: 768px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
}
