/* Modern CSS Reset and Base Styles */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("./fonts/Inter_18pt-Regular.woff2") format("woff2"),
    url("./fonts/Inter_18pt-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("./fonts/Inter_18pt-Medium.woff2") format("woff2"),
    url("./fonts/Inter_18pt-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("./fonts/Inter_18pt-Bold.woff2") format("woff2"),
    url("./fonts/Inter_18pt-Bold.ttf") format("truetype");
}

:root {
  --primary-color: #4caf50;
  --primary-light: #81c784;
  --primary-dark: #388e3c;
  --text-color: #333;
  --bg-color: #fff;
  --bg-light: #f5f5f5;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Optimized keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInScale {
  0% {
    opacity: 0.7;
    transform: scale(0.95) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  font-size: 17px;
  font-weight: 500;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(76, 175, 80, 0.1);
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  width: 0%;
  transition: width 0.25s ease;
}

header {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("./images/hero-image.webp");
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  contain: layout style paint;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Fallback for browsers that don't support WebP */
@supports not (
  background-image:
    url("data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==")
) {
  header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
      url("./images/hero-image.jpg");
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", "Roboto", "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
  font-optical-sizing: auto;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.4;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

p {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto 2rem auto;
  font-weight: 500;
  min-height: 6rem;
}

.about-text p {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-content p a,
.about-text a,
.section p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  border-bottom: 1px dashed var(--primary-light);
}

.hero-content p a,
.about-text a:hover,
.section p a:hover {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-dark);
}

.logo {
  position: absolute;
  display: flex;
  align-items: center;
  margin-right: auto;
  padding: 0 6rem;
}

.logo img {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-grow: 1;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-color);
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  z-index: 101;
  border-radius: 4px;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: 2.5rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.service-card {
  flex: 1 1 280px;
  max-width: 350px;
  min-width: 280px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

/* Limit to 3 columns maximum */
@media (min-width: 1200px) {
  .service-card {
    flex: 1 1 300px;
    max-width: 380px;
  }
}

@media (min-width: 800px) and (max-width: 1199px) {
  .service-card {
    flex: 1 1 300px;
    max-width: 350px;
  }
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
  border-color: var(--primary-light);
}

.service-card i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.1);
  color: var(--primary-dark);
}

.section.visible .service-card i {
  animation: float 3s ease-in-out infinite;
}

.section.visible .service-card:nth-child(2) i {
  animation-delay: 0.5s;
}

.section.visible .service-card:nth-child(3) i {
  animation-delay: 1s;
}

.section.visible .service-card:nth-child(4) i {
  animation-delay: 1.5s;
}

.section.visible .service-card:nth-child(5) i {
  animation-delay: 2s;
}

.service-card h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  font-weight: 700;
}

.service-card p {
  font-size: clamp(0.95rem, 2.2vw, 1rem);
  line-height: 1.6;
  font-weight: 500;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 2;
}

/* Testimonials Grid Layout (Desktop) */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.testimonials-grid .testimonial {
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 300px;
}

/* Hide slider on desktop */
.testimonials-slider {
  display: none;
}

/* Show slider on smaller screens */
@media (max-width: 980px) {
  .testimonials-grid {
    display: none;
  }

  .testimonials-slider {
    display: block;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
}

/* Tablet testimonials grid */
@media (min-width: 981px) and (max-width: 1200px) {
  .testimonials-grid .testimonial {
    flex: 1 1 280px;
    max-width: 320px;
    min-width: 280px;
  }
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: serif;
  opacity: 0.3;
}

.testimonial::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.testimonial:hover::after {
  left: 100%;
}

.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
  border-color: var(--primary-light);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial:hover .testimonial-avatar {
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.testimonial-avatar img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.avatar-placeholder i {
  font-size: 2rem;
}

.testimonial-rating {
  padding: 1rem 0;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 7px 15px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-dark);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  outline: none;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--primary-light);
  transform: scale(1.2);
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
}

.faq-item {
  max-width: 700px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 20px 24px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 175, 80, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.faq-item:hover::before {
  left: 100%;
}

.faq-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15);
  border-color: var(--primary-light);
}

.faq-question {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: #2d3a4a;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.faq-answer {
  font-size: clamp(0.95rem, 2.2vw, 1rem);
  color: #444;
  margin: 0;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.contact-container {
  display: flex;
  gap: 2rem;
}

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

.contact-info a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-color);
  background-color: var(--bg-light);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-info a:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}
.contact-info .material-icons,
.contact-info .fab {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-info p {
  margin-top: 1.5em;
  font-size: 1.1em;
  color: #3b3b3b;
  background: #f6f6f6;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: inline-block;
}

.contact-info p span {
  color: #0077b6;
  font-weight: 500;
}

.contact-form {
  flex: 2;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-width: 100%;
  min-width: 100px;
  font-size: clamp(0.95rem, 2.2vw, 1rem);
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

textarea {
  resize: none;
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: clamp(0.95rem, 2.2vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  font-family: inherit;
  letter-spacing: 0.3px;
}

button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

button.mobile-menu-btn:hover {
  background-color: var(--bg-color);
  transform: translateY(0);
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1rem);
  line-height: 1.4;
  letter-spacing: 0.3px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer {
  background-color: #f8f9fa;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer p {
  margin: 0;
  color: #495057;
}

.footer .social-links {
  list-style: none;
  padding: 0;
  margin: 20px;
  display: flex;
  justify-content: center;
}

.footer .social-links li {
  margin: 0 10px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
}

.footer .social-links a i {
  font-size: 36px;
  margin-right: 12px;
}

.footer .made-by {
  margin-top: 10px;
  font-size: 14px;
  color: #495057;
}

.footer .made-by a {
  color: #2e7d32;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

.footer .made-by a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.back-to-top {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 26px;
  right: 26px;
  padding: 10px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@media (max-width: 980px) {
  body {
    font-size: 16px;
  }

  header {
    height: 100vh;
    min-height: 600px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
    text-align: center;
    min-height: 400px;
  }

  .hero-content p {
    max-width: 100%;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-top: 1.5rem;
  }

  .about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

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

  nav {
    padding: 2rem;
    justify-content: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    box-shadow: 0 5px 5px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }

  nav.menu-up ul {
    top: auto;
    bottom: 100%;
    box-shadow: 0 -5px 5px var(--shadow-color);
  }

  nav ul.show {
    opacity: 1;
    visibility: visible;
  }

  nav ul li {
    margin: 1rem 0;
  }

  .services-grid {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    margin: 0 auto;
    padding: 2rem 0;
  }

  .service-card {
    flex: none;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
  .service-card {
    padding: 2rem 1.5rem;
  }

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

  .service-card p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .faq-item {
    padding: 1.5rem 1.2rem;
    margin-bottom: 1rem;
  }

  .faq-question {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .faq-answer {
    font-size: 1rem;
    line-height: 1.8;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  input,
  textarea {
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 1rem 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 200px;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    width: 50%;
  }
}

@media (max-width: 650px) {
  .section {
    padding: 2.5rem 1rem;
  }

  header {
    height: 100vh;
    min-height: 550px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    min-height: 350px;
  }

  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.9;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .faq-item {
    padding: 1.2rem 1rem;
  }

  .contact-form {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 2rem 0.8rem;
  }

  header {
    height: 100vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 1rem 0.8rem;
    min-height: 300px;
  }

  h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 2rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
  }

  .about-text p,
  .service-card p,
  .faq-answer {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .contact-form {
    padding: 0.8rem;
  }

  input,
  textarea {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
}

/* Newsletter section optimizations */
.newsletter-embed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.beehiiv-embed {
  max-width: 100%;
  contain: layout style;
}
