/* General Styles */
:root {
  --primary: #1fc9c3;
  --secondary: #ff6f00;
  --text-color: #2b2b2b;
  --details-color: #3e3e3e;
  --gradient-start: #ffffff;
  --gradient-end: #e3f2fd;
  --font-main: "Montserrat", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background: linear-gradient(
    to bottom,
    var(--gradient-start),
    var(--gradient-end)
  );
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0.5rem auto;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary);
}

section {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
}

/* Navigation Styles */
.burger-menu {
  display: none;
}

.burger-icon {
  display: none;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  background-image: url("./img/EFETC.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 8rem 0;
  position: relative;
  margin-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 180px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Advantages Section */
.advantages {
  background-color: rgba(31, 201, 195, 0.1);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.advantage-item {
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #eaeaea;
}

.advantage-item:hover {
  transform: translateY(-5px);
}

.advantage-icon {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.advantage-icon img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Clients Section */
.clients-testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-basis: 300px;
}

.testimonial-content {
  margin-bottom: 1rem;
  font-style: italic;
}

.client-name {
  font-weight: 700;
  color: var(--primary);
}

/* Form Section */
.form-section {
  background-color: rgba(255, 111, 0, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-check {
  margin-bottom: 1rem;
}

.form-check input {
  margin-right: 0.5rem;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

select.form-control option {
  background-color: #fff;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  background-color: #fff;
  padding: 1rem;
  cursor: pointer;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font-weight: 600;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9f9f9;
  padding: 0 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: "-";
}

/* Contact Section */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact-item {
  flex-basis: calc(33.333% - 20px);
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-container {
  height: 300px;
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--details-color);
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
  gap: 20px;
}

.footer-column {
  flex-basis: 300px;
  margin-bottom: 1.5rem;
}

.footer-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #ccc;
}

.footer-links ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: 90%;
  width: 400px;
}

.cookie-content {
  flex-grow: 1;
  margin-right: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

.accept-cookies {
  background-color: var(--primary);
  color: #fff;
}

.reject-cookies {
  background-color: #f1f1f1;
  color: var(--text-color);
}

/* Thanks page */
.thank-you-content {
  margin: 8rem auto 3rem;
  display: block;
  border: 2px solid #ccc;
  text-align: center;
  padding: 3rem;
  max-width: 700px;
  border-radius: 8px;
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 8rem auto 3rem;
  background-color: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-container h2 {
  text-align: left;
  margin: 2rem 0 1rem;
}

.policy-container h2::after {
  margin: 0.5rem 0;
}

.policy-container ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

/* Burger Menu CSS */
#burger-toggle {
  display: none;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .header-container {
    padding: 0.8rem 0;
  }

  .burger-icon {
    order: 2;
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
  }

  .burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    transition: transform 0.3s ease;
  }

  .burger-icon span:nth-child(1) {
    top: 0;
  }

  .burger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .burger-icon span:nth-child(3) {
    bottom: 0;
  }

  #burger-toggle:checked ~ .burger-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
  }

  #burger-toggle:checked ~ .burger-icon span:nth-child(2) {
    opacity: 0;
  }

  #burger-toggle:checked ~ .burger-icon span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1500;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  #burger-toggle:checked ~ nav ul {
    right: 0;
  }

  nav ul li {
    margin: 0 0 1rem;
  }

  .contact-item {
    flex-basis: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    margin-bottom: 2rem;
  }

  .hero {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0;
  }
}
