/* Hero Section */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(/static/images/hero-section.png);
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 4rem;
  color: white;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
  max-width: 37.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  max-width: 31.25rem;
  line-height: 1.6;
}

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

.hero .btn {
  padding: 0.938rem 1.875rem;
  font-size: 1rem;
}

.btn-call,
.btn-login {
  background-color: #34588f;
  color: white;
  border-radius: 3.438rem;
}

.btn-call:hover,
.btn-login:hover {
  background-color: #1a3e75;
}

/* About Us Section */
.about-us-section {
  background-color: #f0f4f8;
  padding: 3.125rem 1.25rem;
}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-us-image {
  flex: 1;
  min-width: min(100%, 18.75rem);
}

.about-us-image img {
  width: 100%;
  border-radius: 0.625rem;
}

.about-us-content {
  flex: 1;
  min-width: min(100%, 18.75rem);
}

.about-us-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: #1a3e75;
  line-height: 1.3;
}

.about-us-content p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #666;
  margin-bottom: 1.563rem;
  line-height: 1.6;
}

.btn-learn-more {
  background-color: #34588f;
  color: white;
  padding: 0.938rem 1.875rem;
  border-radius: 1.563rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  font-size: 1rem;
}

.btn-learn-more:hover {
  background-color: #1a3e75;
}

/* Products Section */
.products-section {
  background-color: #4a6a9b;
  padding: 3.125rem 1.25rem;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.875rem;
}

.h2-p {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2rem);
  margin-bottom: 2.5rem;
  color: white;
}

.product-card {
  background-color: white;
  border-radius: 0.625rem;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-0.313rem);
}

.product-image {
  margin-bottom: 0.938rem;
}

.product-image img {
  width: 100%;
  height: 9.375rem;
  object-fit: contain;
}

.product-card h3 {
  font-size: clamp(0.875rem, 2vw, 1rem);
  margin-bottom: 0.625rem;
  color: #333;
  min-height: 3rem;
  line-height: 1.4;
}

.product-price {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: bold;
  color: #1a3e75;
}

.btn-view-details {
  background-color: #34588f;
  color: white;
  border-radius: 1.563rem;
  padding: 0.56rem 1.875rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  font-size: 1rem;
  margin-top: 0.625rem;
}

/* Specialty Section */
.specialty-section {
  background-color: #f0f4f8;
  padding: 3.125rem 1.25rem;
  text-align: center;
}

.h2-specialty {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2rem);
  margin-bottom: 2.5rem;
  color: #34588f;
}

.specialties-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.specialty-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  flex: 1 1 calc(25% - 1.25rem); /* 4 cards per row on desktop */
  min-width: 150px;
  max-width: 220px;
}

.specialty-card:hover {
  transform: translateY(-0.313rem);
}

.specialty-icon {
  margin-bottom: 0.938rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
}

.specialty-icon img {
  width: 3.125rem;
  height: 3.125rem;
  object-fit: contain;
}

.specialty-card h3 {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #34588f;
  line-height: 1.4;
}

.icons {
  font-size: 3.125rem;
  color: #34588f;
}

/* Testimonial Section */
.testimonial-section {
  background-color: #bbb;
  padding: 3.125rem 1.25rem;
  text-align: center;
  border-top-right-radius: 2.125rem;
  border-bottom-left-radius: 2.125rem;
  margin: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
}

.testimonial-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.875rem;
  color: #1a3e75;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
  gap: 1.875rem;
}

.testimonial-card {
  background-color: white;
  padding: 1.25rem;
  border-radius: 0.625rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #333;
  margin-bottom: 0.938rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}

.testimonial-author {
  font-size: clamp(0.813rem, 2vw, 0.875rem);
  color: #666;
  margin-bottom: 0.625rem;
  font-weight: 500;
}

.rating {
  color: #ffd700;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* Find Us Section */
.find-us-section {
  background-color: #4a6a9b;
  color: white;
  padding: 3.125rem 1.25rem;
  text-align: center;
}

.find-us-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
}

.find-us-section p {
  font-size: clamp(0.938rem, 2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 1.875rem;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.find-us-section .btn {
  padding: 0.938rem 1.875rem;
  font-size: 1rem;
}

.find-us-section a {
  color: white;
  text-decoration: underline;
}

.map-section {
  background-color: #4a6a9b;
  padding: 0 1.25rem 3.125rem;
}

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

.map-container iframe {
  width: 100%;
  height: clamp(18.75rem, 50vw, 28.125rem);
  border: 0;
  border-radius: 0.625rem;
}

/* CTA Section */
.cta-section {
  background-color: #f8f9fa;
  color: #666;
  padding: 3.125rem 1.25rem;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: #1a3e75;
}

.cta-section p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  margin-bottom: 1.875rem;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-cta {
  background-color: #34588f;
  color: white;
  border-radius: 3.438rem;
  padding: 0.938rem 1.875rem;
  font-size: 1rem;
}

.btn-cta:hover {
  background-color: #1a3e75;
  border-color: #1a3e75;
}
