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

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

:root {
  --primary-color: #4285F4;       /* Google Blue */
  --secondary-color: #34A853;     /* Google Green */
  --accent-color: #EA4335;        /* Google Red */
  --yellow-accent: #FBBC05;       /* Google Yellow */
  --text-color: #202124;          /* Dark Gray for Text */
  --light-text: #5f6368;          /* Light Gray for Secondary Text */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --border-color: #dadce0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

h1, h2, h3 {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

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

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

.container {
  padding: 3rem 2rem;
  width: 100%;
}

/* Header/Hero Section with Pattern Background */
.hero-section {
  min-height: 430px;
  background: linear-gradient(135deg, rgba(66, 133, 244, 0.9), rgba(52, 168, 83, 0.9)),
              url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 2rem;
  border-radius: 0 0 8px 8px;
  position: relative;
}

.hero-section h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-top: -0.5rem;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: #d62516;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background-color: rgba(66, 133, 244, 0.1);
}

/* Subscribe Form Section */
.subscribe-section {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 0;
}

.subscribe-section h2 {
  color: var(--primary-color);
}

.subscribe-section form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.subscribe-section input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
  outline: none;
}

.subscribe-section input[type="email"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

/* Products Section */
.products-section {
  padding: 3rem 2rem;
  background-color: var(--white);
}

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

.product {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.product .btn-secondary {
  margin-top: auto;
  align-self: flex-start;
}

/* Article Styling */
.blog-article {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow);
}

.blog-article h2 {
  color: var(--accent-color);
}

.blog-article p {
  text-align: justify;
}

/* Specialists Section */
.specialists-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.specialists-section h2 {
  color: var(--white);
}

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

.specialist {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

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

.specialist h3 {
  color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--yellow-accent);
  color: var(--text-color);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.testimonials-section h2 {
  color: var(--text-color);
}

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

.testimonial {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

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

.rating {
  color: var(--yellow-accent);
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.contact-section h2 {
  color: var(--primary-color);
}

.contact-section address {
  font-style: normal;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-section iframe {
  border-radius: 8px;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}

/* Footer Section */
.footer-section {
  background-color: var(--text-color);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  border-radius: 8px 8px 0 0;
  margin-top: 2rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .hero-section {
    min-height: 350px;
    text-align: center;
  }

  .products-container,
  .specialists-container,
  .testimonials-container {
    grid-template-columns: 1fr;
  }

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

  .subscribe-section button {
    width: 100%;
    margin-top: 1rem;
  }

  .blog-article {
    padding: 1.5rem;
  }
}

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

  .hero-section {
    min-height: 300px;
    padding: 1.5rem;
  }

  .btn-primary {
    display: block;
    width: 100%;
  }
}
