/* Base Styles and Variables */
:root {
  --bg-color: #edfaff;
  --card-color: #ffffff;
  --accent-orange: #fb923c;
  --accent-blue: #1d4ed8;
  --text-color: #1f2937;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

/* Reset and Base Styles */
* {
  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(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 80px;
  padding: 4rem 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: var(--transition);
}

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-blue);
}

/* Burger Menu (Checkbox Hack) */
.menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  order: 2;
  color: var(--accent-blue);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./img/J2M0Z.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 0;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
  color: white;
}

.btn:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: white;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
  margin: 0.8rem auto 0;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-card {
  background-color: var(--card-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advantage-img {
  height: 120px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.advantage-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.testimonial-content {
  font-style: italic;
  position: relative;
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 2rem;
  color: var(--accent-orange);
}

.testimonial-author {
  font-weight: 600;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  position: relative;
  cursor: pointer;
}

.faq-checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-label {
  display: block;
  padding: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(237, 250, 255, 0.3);
}

.faq-checkbox:checked ~ .faq-content {
  max-height: 500px;
}

.faq-checkbox:checked + .faq-label::after {
  content: "−";
}

.faq-text {
  padding: 1.2rem;
}

/* Form Section */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.2);
}

.form-select option {
  background-color: white;
  color: var(--text-color);
  padding: 8px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius);
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 3rem;
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.policy-title {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h3 {
  margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 8rem auto 3rem;
  background-color: var(--card-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
}

.return-link {
  display: inline-block;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-orange);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact span {
  margin-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease-in-out;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-text {
  margin-right: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cookie-accept {
  background-color: var(--accent-blue);
  color: white;
}

.cookie-decline {
  background-color: #f1f5f9;
  color: var(--text-color);
}

.cookie-btn:hover {
  opacity: 0.9;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    flex-direction: column;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    z-index: 1000;
    padding: 0;
    margin: 0;
  }

  .menu-toggle:checked ~ nav .nav-menu {
    max-height: 300px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .form-container,
  .policy-container,
  .thank-you-container {
    padding: 1.5rem;
  }
}
