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

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

:root {
  --primary-color: #0066cc;
  --secondary-color: #003366;
  --accent-color: #ff9900;
  --light-bg: #f5f7fa;
  --dark-bg: #1a2a42;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-radius: 5px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

section {
  padding: 60px 0;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--box-shadow);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
}

/* Header - Offer Section */
.section-offer {
  background: #001e3c;
  color: var(--text-light);
  min-height: 430px;
  display: flex;
  align-items: center;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-offer h1 {
  margin-bottom: 0.5rem;
  font-size: 2.8rem;
}

.section-offer h2 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.section-offer h2::after {
  background-color: var(--text-light);
}

.section-offer p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.section-offer .btn-primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
  font-size: 1.1rem;
  padding: 15px 30px;
  margin-top: 1rem;
  border: 2px solid transparent;
}

.section-offer .btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--accent-color);
}

/* Subscribe Form Section */
.section-subscribe {
  background-color: var(--dark-bg);
  color: var(--text-light);
  text-align: center;
  padding: 60px 20px;
  border-radius: 10px;
  margin: 40px 20px;
  box-shadow: var(--box-shadow);
}

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

.section-subscribe h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

.section-subscribe form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.section-subscribe input[type="email"] {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.section-subscribe button {
  padding: 15px 25px;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--accent-color);
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.section-subscribe button:hover {
  background-color: #e68a00;
}

/* Products Section */
.section-products {
  background-color: var(--light-bg);
  padding: 60px 20px;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.product-item {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

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

.product-item h3 {
  color: var(--secondary-color);
}

.product-item .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.product-item .btn-secondary {
  display: inline-block;
  width: 100%;
}

/* Article styling */
.article {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--primary-color);
}

.article h3 {
  color: var(--secondary-color);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.article p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Specialists Section */
.section-specialists {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 60px 20px;
}

.specialists-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.specialist-item {
  flex: 1;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.specialist-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.specialist-item h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Reviews Section */
.section-reviews {
  background-color: var(--light-bg);
  padding: 60px 20px;
}

.reviews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.review-item {
  flex: 1;
  min-width: 300px;
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.review-item::before {
  content: """;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  color: rgba(0, 102, 204, 0.1);
  font-family: Georgia, serif;
}

.review-item h3 {
  color: var(--secondary-color);
}

.rating {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-top: 15px;
}

/* Contact Section */
.section-contact {
  background-color: white;
  padding: 60px 20px;
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer */
.section-footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 30px 20px;
  text-align: center;
}

.section-footer p {
  margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section-offer {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
  }

  .section-offer h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-subscribe form {
    flex-direction: column;
  }

  .section-subscribe input[type="email"] {
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 1px;
  }

  .section-subscribe button {
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .products-container,
  .specialists-container,
  .reviews-container {
    flex-direction: column;
  }

  .product-item,
  .specialist-item,
  .review-item {
    width: 100%;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-offer {
    min-height: auto;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
