/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #22c55e;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: #22c55e;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.highlight {
  color: #22c55e;
}

.hero-description {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #22c55e;
  color: white;
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #fff;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.about-text {
  flex: 1;
}

.section-subtitle {
  color: #22c55e;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.about-text p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  color: #666;
  line-height: 1.8;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.service-description {
  color: #666;
  line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: #fff;
  overflow: hidden;
}

.testimonials-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.testimonials-content {
  flex: 1;
  min-width: 0;
}

.testimonials-slider {
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  width: 100%;
  flex-shrink: 0;
}

.testimonial-content {
  background: #f9fafb;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: #1a1a1a;
}

.author-role {
  color: #666;
  font-size: 0.875rem;
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

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

.slider-btn {
  background: #22c55e;
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: #16a34a;
  transform: scale(1.1);
}

.slider-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: scale(1);
}

.testimonials-image {
  flex: 1;
}

.testimonials-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Team Section */
.team {
  padding: 80px 0;
  background: #f9fafb;
}

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

.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.team-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.team-content {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.team-role {
  color: #666;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact-wrapper {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-section {
  flex: 1;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-input {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #22c55e;
}

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

.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 30px;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-text {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #374151;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #22c55e;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #22c55e;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Hide contact image on mobile */
  .contact-image {
    display: none;
  }

  .contact-wrapper {
    display: block;
  }

  .contact-form-section {
    width: 100%;
    max-width: 100%;
  }

  /* Hide testimonials image on mobile to prevent overflow */
  .testimonials-image {
    display: none;
  }

  .testimonials-wrapper {
    display: block;
  }

  .testimonials-content {
    width: 100%;
  }

  /* Mobile menu */
  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav.active {
    display: flex;
  }

  /* Hero section */
  .hero-content {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  /* About section */
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  /* Section titles */
  .section-title {
    font-size: 1.75rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Adjust testimonials slider for mobile peek effect */
  .testimonials-slider {
    overflow: hidden;
  }

  .testimonial-card {
    min-width: 100%;
  }

  /* Adjust testimonial card padding on mobile */
  .testimonial-content {
    padding: 1.5rem;
  }

  .author-image {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}
