/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #101820;
  color: #F3F3F3;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(16, 24, 32, 0.95);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #F3F3F3;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}

.menu-toggle-label {
  display: none;
}

.menu-checkbox {
  display: none;
}

/* Burger menu for mobile */
@media (max-width: 768px) {
  .menu-toggle-label {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 21px;
  }

  .menu-toggle-label span,
  .menu-toggle-label span::before,
  .menu-toggle-label span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #F3F3F3;
    transition: all 0.3s ease;
  }

  .menu-toggle-label span {
    top: 9px;
  }

  .menu-toggle-label span::before {
    content: '';
    top: -9px;
  }

  .menu-toggle-label span::after {
    content: '';
    top: 9px;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 0;
    max-height: 0;
    overflow: hidden;
    background-color: rgba(16, 24, 32, 0.98);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  nav ul li {
    margin: 15px 0;
  }

  .menu-checkbox:checked ~ nav {
    max-height: 100vh;
    height: 100vh;
  }

  .menu-checkbox:checked ~ .menu-toggle-label span {
    background-color: transparent;
  }

  .menu-checkbox:checked ~ .menu-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }

  .menu-checkbox:checked ~ .menu-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  body:has(#menu-toggle:checked) {
    overflow: hidden;
  }
}

/* Hero section */
.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./img/eQhTe.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: -1;
}

.hero-content {
  margin: 0 auto;
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(16, 24, 32, 0.7);
  border-radius: 8px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #F3F3F3;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FF6B6B;
  color: #F3F3F3;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e84c4c;
  transform: translateY(-2px);
}

/* About section */
.about {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  color: #F3F3F3;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 100px;
  height: 3px;
  background-color: #FF6B6B;
  transform: translateX(-50%);
}

/* Services section */
.services {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.service-card {
  background-color: rgba(16, 24, 32, 0.7);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
  flex: 1;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #3EC1D3;
}

/* Why Us section */
.why-us {
  padding: 5rem 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.why-us-item {
  background-color: rgba(255, 107, 107, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.why-us-item:hover {
  background-color: rgba(255, 107, 107, 0.2);
}

.why-us-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #FFD93D;
}

/* Testimonials section */
.testimonials {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: rgba(16, 24, 32, 0.7);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #3EC1D3;
}

/* Steps section */
.steps {
  padding: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 3rem;
}

.step-card {
  background-color: rgba(62, 193, 211, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #3EC1D3;
  color: #101820;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.step-card h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #FFD93D;
}

/* Form section */
.contact {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(16, 24, 32, 0.7);
  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: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #F3F3F3;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.25);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23F3F3F3' 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 12px center;
}

select.form-control option {
  background-color: white;
  color: #101820;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.form-submit {
  text-align: center;
}

/* FAQ section */
.faq {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(255, 217, 61, 0.1);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  display: block;
}

.faq-checkbox {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.faq-answer {
  background-color: rgba(16, 24, 32, 0.7);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-checkbox:checked ~ .faq-question::after {
  content: '−';
}

/* Footer */
footer {
  background-color: rgba(16, 24, 32, 0.8);
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 107, 107, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-about, .footer-contact, .footer-links {
  margin-bottom: 1.5rem;
}

.footer-about h3, .footer-contact h3, .footer-links h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #3EC1D3;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a:hover {
  color: #FF6B6B;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(16, 24, 32, 0.95);
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  margin-right: 1rem;
}

/* Policy pages */
.policy-container {
  max-width: 900px;
  margin: 5rem auto;
  padding: 3rem;
  background-color: rgb(40 50 59 / 70%);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-title {
  color: #3EC1D3;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  color: #FFD93D;
  margin-bottom: 1rem;
}

/* Thank you page */
.thanks-section {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.thanks-container {
  max-width: 600px;
  margin: 5rem auto;
  padding: 3rem;
  background-color: rgb(40 50 59 / 70%);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thanks-container h1 {
  color: #3EC1D3;
  margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media queries */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .thanks-section {
    height: auto;
  }
  
  nav ul {
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .service-img {
    height: 160px;
  }
}
