/* Base styles */
:root {
  --background-color: #faf9f6;
  --accent-color-1: #ffad05;
  --accent-color-2: #3a3d46;
  --accent-color-3: #25c2a0;
  --text-color: #1d1d1d;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color-1);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color-3);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  padding: 80px 0;
}

/* Header and Navigation */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color-2);
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--accent-color-2);
  margin: 5px 0;
  transition: var(--transition);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--accent-color-2);
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color-1);
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent-color-1) 0%,
    var(--accent-color-3) 100%
  );
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  color: white;
}

.btn-secondary {
  background: var(--accent-color-2);
  color: white;
}

.btn-secondary:hover {
  background: #4a4d57;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  background-image: url("./img/jBPTl.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.about-content h2 {
  color: var(--accent-color-2);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  color: var(--accent-color-2);
}

/* Why Us Section */
.why-us {
  background-color: var(--accent-color-2);
  color: white;
}

.why-us h2 {
  text-align: center;
  margin-bottom: 40px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.why-us-item {
  text-align: center;
  padding: 20px;
}

.why-us-icon {
  font-size: 2.5rem;
  color: var(--accent-color-1);
  margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.testimonial-content {
  position: relative;
  padding: 0 20px;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -10px;
  top: -20px;
  color: var(--accent-color-1);
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 20px;
  font-weight: 600;
}

/* FAQ Section */
.faq {
  background-color: var(--background-color);
}

.faq h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  background-color: white;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 20px;
  transition: var(--transition);
}

.faq-question:checked + .faq-label::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 0 20px;
}

.faq-question:checked ~ .faq-answer {
  max-height: 500px;
  padding: 15px 20px;
}

/* Contact Form */
.contact {
  background-color: white;
}

.contact h2 {
  text-align: center;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color-1);
}

/* Customize select background */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

select.form-control option {
  padding: 10px;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Partners Section */
.partners {
  background-color: var(--background-color);
  text-align: center;
}

.partners h2 {
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
}

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer */
footer {
  background-color: var(--accent-color-2);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--accent-color-1);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col a:hover {
  color: var(--accent-color-1);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.cookie-popup h3 {
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Policy Pages */
.policy-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.policy-page h1 {
  margin-bottom: 30px;
  color: var(--accent-color-2);
}

.policy-page h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent-color-2);
}

/* Thank You Page */
.thank-you {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.thank-you h1 {
  color: var(--accent-color-1);
  margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  .menu-button {
    display: block;
    z-index: 1001;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 80px 20px 20px;
    z-index: 1000;
  }

  .menu-toggle:checked ~ nav {
    right: 0;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-button span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-left: 0;
    margin-bottom: 15px;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero {
    min-height: 60vh;
  }

  .services-grid,
  .why-us-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
