* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
body {
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background-color: #fff;
  border-bottom: 2px solid #e0e0e0;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo > a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 22px;
  color: #007b33;
  font-weight: 600;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #007b33;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #005a24;
}

footer {
  background-color: #007b33;
  color: #fff;
  padding: 2rem 0 1rem;
}

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

.footer-nav ul,
.footer-policies ul {
  list-style: none;
  padding: 0;
}

.footer-nav a,
.footer-policies a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-nav a:hover,
.footer-policies a:hover {
  text-decoration: underline;
}

.footer-subscribe form {
  display: flex;
  flex-direction: column;
}

.footer-subscribe input[type="email"] {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.footer-subscribe button {
  padding: 0.5rem;
  background-color: #fff;
  color: #007b33;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-subscribe button:hover {
  background-color: #e0e0e0;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Hero section */
.hero {
  background: url("./img/hero.webp") center/cover no-repeat;
  padding: 6rem 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary {
  background-color: #ffd700;
  color: #000;
}

.btn-primary:hover {
  background-color: #e6c200;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #007b33;
}

/* about */

.about {
  padding: 4rem 0;
  background-color: #fff;
  color: #333;
}

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

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 1rem;
}

.about-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f0fdf4;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 123, 51, 0.1);
}

.fact-item i {
  font-size: 2rem;
  color: #ffd700;
  flex-shrink: 0;
}

.fact-item h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #007b33;
}

.fact-item p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

/* services */

.services {
  padding: 4rem 0;
  background-color: #f4fdf7;
  color: #333;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 2rem;
}

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

.service-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 123, 51, 0.15);
}

.service-item i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.service-item h3 {
  font-size: 1.3rem;
  color: #007b33;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 1rem;
  color: #555;
}
/* how it work */

.how-we-work {
  padding: 4rem 0;
  background: #fff;
}

.work-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.work-text {
  flex: 1 1 450px;
}

.work-text h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 1.5rem;
}

.work-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #f0fdf4;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 123, 51, 0.07);
  transition: background 0.3s;
}

.work-steps li:hover {
  background: #e0f7e9;
}

.work-steps i {
  font-size: 2rem;
  color: #ffd700;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.work-steps h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
  color: #007b33;
}

.work-steps p {
  font-size: 0.95rem;
  margin: 0;
  color: #555;
}

.work-image {
  flex: 1 1 400px;
  text-align: center;
}

.work-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* benefit */

.benefits {
  padding: 4rem 0;
  background-color: #f7fdf9;
  text-align: center;
  color: #333;
}

.benefits h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 2rem;
}

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

.benefit-item {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.08);
  transition: transform 0.3s ease;
}

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

.benefit-item i {
  font-size: 2.2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.3rem;
  color: #007b33;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 1rem;
  color: #555;
}

/* testimonials */

.testimonials {
  padding: 4rem 0;
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 2rem;
}

.testimonials-carousel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.1);
}

.testimonial-item p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

.testimonial-item h4 {
  font-size: 1rem;
  color: #007b33;
  font-weight: bold;
}

.rating {
  margin-bottom: 1rem;
}

.rating i {
  color: #ffd700;
  font-size: 1.3rem;
}

/* faq */

.faq {
  padding: 4rem 0;
  background-color: #f7f7f7;
  color: #333;
  text-align: center;
}

.faq h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 2rem;
}

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

.faq-question {
  background-color: #fff;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  color: #007b33;
  border: 2px solid #007b33;
  border-radius: 8px;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0fdf4;
}

.faq-question i {
  font-size: 1.5rem;
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  font-size: 1rem;
  color: #555;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-question i {
  transform: rotate(45deg);
}

/* guarantees */

.guarantees {
  padding: 4rem 0;
  background-color: #f7f7f7;
  color: #333;
  text-align: center;
}

.guarantees h2 {
  font-size: 2.2rem;
  color: #007b33;
  margin-bottom: 2rem;
}

.guarantee-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.1);
  transition: transform 0.3s ease;
}

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

.guarantee-item i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-right: 2rem;
}

.guarantee-content h3 {
  font-size: 1.5rem;
  color: #007b33;
  margin-bottom: 0.5rem;
}

.guarantee-content p {
  font-size: 1rem;
  color: #555;
}

/* about page */

.about-us {
  padding: 4rem 0;
  background-color: #f7f7f7;
  color: #333;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  flex: 1;
  max-width: 60%;
  padding-right: 2rem;
}

.about-text h2 {
  font-size: 2.4rem;
  color: #007b33;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  max-width: 35%;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.1);
}

/* mission */

.mission,
.values {
  padding: 4rem 0;
  background-color: #f7f7f7;
  color: #333;
}

.mission h2,
.values h2 {
  font-size: 2.4rem;
  color: #007b33;
  margin-bottom: 1.5rem;
  text-align: center;
}

.mission p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.value-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.1);
}

.value-item i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-right: 2rem;
}

.value-content h3 {
  font-size: 1.6rem;
  color: #007b33;
  margin-bottom: 1rem;
}

.value-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .value-item {
    flex-direction: column;
    text-align: center;
  }

  .value-item i {
    margin-bottom: 1rem;
  }
}

.energy-independence {
  padding: 4rem 0;
  background-color: #e7f9f1;
  color: #333;
  text-align: center;
}

.energy-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.energy-text {
  flex: 1;
  max-width: 60%;
  padding-right: 2rem;
}

.energy-text h2 {
  font-size: 2.4rem;
  color: #007b33;
  margin-bottom: 1rem;
  font-weight: bold;
}

.energy-text p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.energy-image {
  flex: 1;
  max-width: 35%;
}

.energy-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 123, 51, 0.2);
}

@media (max-width: 768px) {
  .energy-content {
    flex-direction: column;
    text-align: center;
  }

  .energy-image {
    margin-top: 2rem;
  }
}

/* contact */

.contacto {
  padding: 4rem 0;
  background-color: #f0f8f4;
  color: #333;
  text-align: center;
}

.contacto h2 {
  font-size: 2.4rem;
  color: #007b33;
  margin-bottom: 1rem;
  font-weight: bold;
}

.contacto p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 123, 51, 0.1);
  border-radius: 12px;
  width: 48%;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form label {
  font-size: 1.2rem;
  color: #007b33;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007b33;
}

.contact-form button {
  background-color: #007b33;
  color: white;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005a27;
}

.contact-info {
  width: 48%;
  text-align: left;
  font-size: 1.2rem;
  color: #333;
}

.contact-info h3 {
  font-size: 2rem;
  color: #007b33;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

.contact-info .contact-image {
  margin-top: 2rem;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-form,
  .contact-info {
    width: 100%;
    margin-bottom: 2rem;
  }

  .contact-info {
    text-align: center;
  }
}

.privacy-policy,
.cookies-policy,
.terms-conditions {
  margin: 100px 0;
}

/* cookies block */

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #1f1f1f;
  color: white;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  font-family: "Arial", sans-serif;
}

.cookie-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  flex: 1 1 60%;
}

.cookie-content a {
  color: #4caf50;
  text-decoration: underline;
}

.cookie-buttons {
  flex: 1 1 30%;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}

.cookie-buttons button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #43a047;
}

.cookie-buttons #rejectCookies {
  background-color: transparent;
  border: 1px solid #ccc;
  color: #ddd;
}

.cookie-buttons #rejectCookies:hover {
  background-color: #444;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 2rem !important;
  }
  .about-flex {
    flex-direction: column;
  }
  .about-image,
  .energy-image {
    max-width: 100%;
  }
  .about-text {
    max-width: 100%;
    padding: 0;
  }
  .footer-container {
    text-align: center;
  }
  .logo > a {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }
  .energy-text {
    max-width: 100%;
    padding: 0;
  }
}
