/* 
* Main stylesheet for domain website
* Colors:
* - Background: #FFF3E0 (light orange)
* - Accent: #FF7043 (peach)
* - Text: #2E2E2E (charcoal gray)
* - White sections: #FFFFFF
* - Gradients/buttons: #FF7043 to #D84315
*/

/* ===== Reset and Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2e2e2e;
  background-color: #fff3e0;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.8em;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #ff7043;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #d84315;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff7043, #d84315);
  color: white;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: linear-gradient(135deg, #d84315, #bf360c);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: white;
}

.btn:active {
  transform: translateY(0);
}

/* ===== Header and Navigation ===== */
.main-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff7043;
  text-transform: lowercase;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #2e2e2e;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav .active a {
  color: #ff7043;
}

.btn-contact {
  background: linear-gradient(135deg, #ff7043, #d84315);
  color: white !important;
  padding: 8px 15px;
  border-radius: 5px;
}

.btn-contact:hover {
  background: linear-gradient(135deg, #d84315, #bf360c);
  transform: translateY(-2px);
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-icon span {
  height: 3px;
  width: 100%;
  background-color: #2e2e2e;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  background: url("img/KwsJJ.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ===== Section Styles ===== */
.section {
  padding: 60px 0;
}

.section-white {
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #ff7043, #d84315);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ===== Cards Grid ===== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

/* ===== Service Cards ===== */
.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  background-position: center;
  background-size: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
  color: #ff7043;
}

/* ===== Why Choose Us ===== */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon img {
  max-height: 100%;
}

/* ===== Process Steps ===== */
.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 20px;
}

.step-number {
  background: linear-gradient(135deg, #ff7043, #d84315);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 5px;
  color: #ff7043;
}

/* ===== Certificates Slider ===== */
.cert-slider {
  overflow: hidden;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.cert-slider-inner {
  display: flex;
  width: 300%;
  animation: slideshow 20s infinite;
}

.cert-slide {
  width: 33.33%;
  padding: 20px;
  text-align: center;
}

.cert-image {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideshow {
  0%,
  25% {
    transform: translateX(0);
  }
  33%,
  58% {
    transform: translateX(-33.33%);
  }
  66%,
  91% {
    transform: translateX(-66.66%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===== Testimonials ===== */
.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: bold;
  color: #ff7043;
}

/* ===== Contact Form ===== */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  color: #ff7043;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #ff7043;
  box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.2);
}

/* Custom select styling */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232E2E2E'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

/* Custom option background */
option {
  background-color: #fff3e0;
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.form-error {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ===== Footer ===== */
.main-footer {
  background-color: #2e2e2e;
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #ff7043;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: #ff7043;
}

.contact-info address {
  font-style: normal;
}

.contact-info a {
  color: #ccc;
}

.contact-info a:hover {
  color: #ff7043;
}

.map-container {
  margin-top: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== Cookie Consent ===== */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(46, 46, 46, 0.95);
  color: white;
  padding: 15px;
  z-index: 1000;
  transition: bottom 0.5s ease;
}

.cookie-banner.active {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  margin-right: 20px;
}

.cookie-content a {
  color: #ff7043;
  text-decoration: underline;
}

#accept-cookies {
  background: #ff7043;
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

#accept-cookies:hover {
  background: #d84315;
}

/* ===== Policy Pages ===== */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-title {
  margin-bottom: 30px;
  text-align: center;
  color: #ff7043;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h3 {
  margin-bottom: 15px;
  color: #ff7043;
}

/* ===== Thank You Page ===== */
.thanks-container {
  max-width: 600px;
  margin: 100px auto;
  padding: 40px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
  font-size: 5rem;
  color: #ff7043;
  margin-bottom: 20px;
}

/* ===== FAQ Styles ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  position: relative;
  cursor: pointer;
}

.faq-toggle {
  opacity: 0;
  position: absolute;
}

.faq-label {
  display: block;
  padding: 15px;
  background-color: white;
  color: #2e2e2e;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-label:hover {
  background-color: #fff3e0;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 1.5rem;
  color: #ff7043;
  transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-label {
  background-color: #fff3e0;
}

.faq-toggle:checked + .faq-label::after {
  content: "−";
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: white;
  transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-content {
  max-height: 500px;
}

.faq-answer {
  padding: 0 15px 15px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-content p {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .main-nav ul {
    gap: 10px;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0;
  }

  .main-nav li {
    border-top: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 15px 20px;
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section {
    padding: 40px 0;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .policy-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content {
    padding: 30px 15px;
  }

  .form-container {
    padding: 20px;
  }

  .thanks-container {
    margin: 50px auto;
    padding: 30px 20px;
  }
}
