/* ====================================================
   Global Styles
   ==================================================== */
:root {
  --bg-color: #fdf6f0;
  --accent-color: #ff7a59;
  --accent-hover: #ff9f6b;
  --dark-color: #2a2e35;
  --text-color: #444;
  --border-color: #e1dedb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
section {
  word-break: break-word;
  overflow-wrap: break-word;
}
section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

.bg-light {
  background-color: #f5f5f5;
}

/* ====================================================
   Header and Navigation
   ==================================================== */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin-left: 25px;
}

.nav-list a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  position: relative;
  transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.menu-toggle:checked ~ .menu-button .menu-icon {
  background-color: transparent;
}

.menu-toggle:checked ~ .menu-button .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle:checked ~ .menu-button .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

@media (max-width: 768px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list {
    flex-direction: column;
    padding: 20px;
  }

  .nav-list li {
    margin: 0 0 15px 0;
  }

  .nav-list li:last-child {
    margin-bottom: 0;
  }
}

/* ====================================================
   Hero Section
   ==================================================== */
.hero-section {
  background: url("./img/v5iEw.jpg") no-repeat center center;
  background-size: cover;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-hover)
  );
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 89, 0.3);
}

/* ====================================================
   About Section
   ==================================================== */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-text {
  max-width: 800px;
  text-align: center;
}

/* ====================================================
   Services Section
   ==================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.service-card h3 {
  padding: 20px 20px 10px 20px;
}

.service-card p {
  padding: 0 20px 20px 20px;
}

/* ====================================================
   Benefits Section
   ==================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* ====================================================
   Testimonials Section
   ==================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 500;
  text-align: right;
}

/* ====================================================
   FAQ Section
   ==================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-toggle {
  display: none;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background-color: white;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-toggle:checked + .faq-question {
  background-color: #f9f9f9;
}

.faq-toggle:checked + .faq-question:after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 15px 20px;
}

/* ====================================================
   Case Studies Section
   ==================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case-study-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-card h3 {
  padding: 20px 20px 10px 20px;
}

.case-study-card p {
  padding: 0 20px 20px 20px;
}

/* ====================================================
   Contact Form
   ==================================================== */
.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

.submit-button {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-hover)
  );
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 89, 0.3);
}

/* Custom select styling */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23444' 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;
  padding-right: 40px;
}

/* Style option tags */
option {
  padding: 10px;
  background-color: var(--bg-color);
}

/* ====================================================
   Footer
   ==================================================== */
.site-footer {
  background-color: var(--dark-color);
  color: white;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.company-description {
  color: #ccc;
  line-height: 1.8;
}

.copyright {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* ====================================================
   Cookie Consent Popup
   ==================================================== */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1100;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  margin: 0 auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.cookie-button {
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-hover)
  );
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 122, 89, 0.3);
}

/* ====================================================
   Policy Pages
   ==================================================== */
.policy-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.policy-content h2 {
  margin-top: 30px;
}

.policy-content h3 {
  margin-top: 20px;
}

.policy-content p {
  margin-bottom: 15px;
}

.policy-content ul,
.policy-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

/* ====================================================
   Thank You Page
   ==================================================== */
.thank-you-container {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.thank-you-container h1 {
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thank-you-container p {
  margin-bottom: 30px;
}

.back-button {
  display: inline-block;
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--accent-hover)
  );
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.back-button:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 122, 89, 0.3);
}

/* ====================================================
   Media Queries
   ==================================================== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .policy-container,
  .contact-form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    left: 10px;
    right: 10px;
  }
}
