/* General Styles */
:root {
  --bg-color: #efefea;
  --primary-color: #1f3a93;
  --accent-color: #f5ab35;
  --heading-color: #111;
  --text-color: #333;
  --white: #fff;
  --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: 40px;
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 40px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  background: linear-gradient(to right, #89f7fe, #66a6ff);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--white);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  transform: translateX(-50%);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

/* Hero Section */
.hero {
  background-image: url("./img/WSmFj.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  position: relative;
  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: 1;
  width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background-color: var(--white);
}

/* Services Section */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Benefits Section */
.benefits {
  background-color: var(--primary-color);
  color: var(--white);
}

.benefits .section-title h2 {
  color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to right, #89f7fe, #66a6ff);
  border-radius: 1rem;
}
div {
  word-break: break-word;
  overflow-wrap: break-word;
}
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
footer h3 {
  color: var(--white);
}
/* Testimonials Section */
.testimonials {
  background-color: var(--bg-color);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-weight: 700;
}

.author-position {
  font-size: 0.9rem;
  color: #777;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: block;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-item label::after {
  content: "+";
  position: absolute;
  right: 15px;
  font-size: 1.5rem;
}

.faq-item input:checked + label::after {
  content: "-";
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--white);
  padding: 0 15px;
}

.faq-item input:checked ~ .faq-content {
  max-height: 500px;
}

/* Form Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-select option {
  background-color: var(--white);
  color: var(--text-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-group input {
  margin-top: 5px;
  margin-right: 10px;
}

/* Footer */
footer {
  background-color: var(--heading-color);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-contact li {
  margin-bottom: 10px;
  list-style: none;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}

.cookie-text {
  margin-right: 20px;
}

/* Thank You Page */
.thank-you {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  padding: 50px 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.policy-container h1 {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
}

.policy-container section {
  margin-bottom: 30px;
}

.policy-container h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--primary-color);
    height: 2px;
    width: 30px;
    position: relative;
    transition: all 0.3s ease;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 8px;
  }

  .nav-toggle-label span::after {
    top: 8px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  .nav-toggle {
    display: none;
  }

  .nav-toggle:checked ~ nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    bottom: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .section-padding {
    padding: 50px 0;
  }

  .hero {
    height: 400px;
  }

  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
