/* Base Styles */
:root {
  --primary-color: #003366;
  --accent-color: #a5f12b;
  --dark-text: #222222;
  --light-text: #ffffff;
  --section-bg-light: #ffffff;
  --section-bg-dark: #f6f6f6;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

section[id] {
  scroll-margin-top: 40px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  color: var(--dark-text);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin-top: 0.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

section:nth-of-type(odd) {
  background-color: var(--section-bg-light);
}

section:nth-of-type(even) {
  background-color: var(--section-bg-dark);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  border: none;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

/* Header */
.site-header {
  background-color: var(--primary-color);
  color: var(--light-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.logo a {
  color: var(--light-text);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: lowercase;
}

.logo a:hover {
  color: var(--accent-color);
}

/* Navigation */
.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--light-text);
  position: relative;
}

.main-nav a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.btn-primary {
  margin-left: 1rem;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--light-text);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: url("./img/YEl34.jpg");
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  position: relative;
  padding: 8rem 0;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 51, 102, 0.7);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content {
  padding-right: 2rem;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--section-bg-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.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.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--section-bg-light);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  font-size: 2rem;
}

/* Testimonials Section */
.testimonials-slider {
  position: relative;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-item {
  background-color: var(--section-bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 1rem;
  position: relative;
}

.testimonial-item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: bold;
}

.testimonial-company {
  font-size: 0.9rem;
  color: #666;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1rem;
  font-weight: 600;
}

.faq-question:hover {
  background-color: #00284d;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-answer {
  background-color: var(--section-bg-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

input[type="checkbox"].faq-toggle {
  display: none;
}

input[type="checkbox"].faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 1rem;
}

input[type="checkbox"].faq-toggle:checked + label.faq-question::after {
  content: "−";
}

/* Contact Form */
.contact-section {
  background-color: var(--section-bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background-color: var(--section-bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
}

.form-select option {
  background-color: var(--section-bg-light);
  color: var(--dark-text);
  padding: 0.5rem;
}

.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
}

.checkbox-label input {
  margin-right: 0.5rem;
  margin-top: 0.3rem;
}

.form-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-contact h3,
.footer-nav h3,
.footer-legal h3 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-contact h3::after,
.footer-nav h3::after,
.footer-legal h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.footer-contact a,
.footer-nav a,
.footer-legal a {
  color: var(--light-text);
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--accent-color);
}

.footer-nav ul,
.footer-legal ul {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 1rem;
  z-index: 1000;
  display: none;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

#accept-cookies {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

#accept-cookies:hover {
  background-color: #94d825;
}

/* Thank You Page */
.thank-you {
  max-width: 600px;
  margin: 5rem auto;
  text-align: center;
  padding: 3rem;
  background-color: var(--section-bg-light);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.thank-you h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.thank-you p {
  margin-bottom: 2rem;
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: var(--section-bg-light);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  margin-bottom: 1.5rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style-type: disc;
}

.policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    padding-right: 0;
  }

  .contact-map {
    height: 400px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav a.btn-primary {
    margin: 1rem;
    text-align: center;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }

  /* Cookie consent */
  .cookie-content {
    flex-direction: column;
  }

  .cookie-content p {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  /* Hero section */
  .hero {
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .thank-you {
    margin: 3rem 1rem;
    padding: 1.5rem;
  }

  .policy-content {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }
}
