/* Global Styles */
:root {
  --gradient-start: #0f2027;
  --gradient-end: #2c5364;
  --accent-yellow: #f9d342;
  --accent-red: #f05454;
  --text-light: #ffffff;
  --text-dark: #2e2e2e;
  --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: 80px;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(
    to right,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: var(--text-light);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-yellow);
}
form a::after,
form a::before {
  content: "";
  margin-left: 0.3rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Header & Navigation */
header {
  background-color: rgba(15, 32, 39, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-light);
  text-transform: lowercase;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-light);
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-yellow);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.cta-button {
  background-color: var(--accent-red);
  color: var(--text-light) !important;
  padding: 8px 16px;
  border-radius: 4px;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark) !important;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 76px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./img/5M7yJ.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(15, 32, 39, 0.7);
  border-radius: 8px;
  margin: 0 auto;
}
ul {
  list-style: none;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-yellow);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-text {
  padding: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.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;
  color: var(--gradient-start);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(44, 83, 100, 0.1);
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: bold;
  color: var(--gradient-end);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: block;
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  transition: var(--transition);
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer-content {
  padding: 0 1rem;
}

input[type="checkbox"].faq-toggle {
  display: none;
}

input[type="checkbox"].faq-toggle:checked + .faq-question::after {
  transform: rotate(45deg);
}

input[type="checkbox"].faq-toggle:checked + .faq-question + .faq-answer {
  max-height: 1000px;
}

input[type="checkbox"].faq-toggle:checked
  + .faq-question
  + .faq-answer
  .faq-answer-content {
  padding: 1rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.checkbox-group {
  margin-top: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

button[type="submit"] {
  background-color: var(--accent-red);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

button[type="submit"]:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

/* Footer */
footer {
  background-color: rgba(15, 32, 39, 0.95);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-info,
.footer-contact,
.footer-links {
  padding: 0 1rem;
}

.footer-contact ul,
.footer-links ul {
  list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
  margin-bottom: 0.8rem;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 8rem auto 5rem;
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  color: var(--gradient-start);
  margin-bottom: 2rem;
  text-align: center;
}

/* Thank You Page */
.thank-you-content {
  max-width: 600px;
  margin: 8rem auto 5rem;
  background-color: var(--text-light);
  color: var(--text-dark);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-content h1 {
  color: var(--gradient-start);
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--text-light);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  transition: var(--transition);
}

.back-home:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -300px;
  left: 0;
  width: 100%;
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  transition: var(--transition);
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup p {
  margin: 0 1rem 0 0;
}

.cookie-popup button {
  background-color: var(--accent-red);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-popup button:hover {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
}

/* Media Queries */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: rgba(15, 32, 39, 0.98);
    transition: var(--transition);
    z-index: 999;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  nav ul li {
    margin: 1.5rem 0;
  }

  .menu-icon {
    display: block;
  }

  .menu-toggle:checked ~ nav {
    left: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Hero Section */
  .hero h1 {
    font-size: 2.5rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
  }

  /* Cookie Popup */
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }

  .cookie-popup p {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Section Titles */
  .section-title h2 {
    font-size: 2rem;
  }

  /* Form Elements */
  .form-control {
    padding: 0.6rem;
  }

  button[type="submit"] {
    width: 100%;
  }
}
