/* Base Styles */
:root {
  --primary-color: #0d924b;
  --secondary-color: #333;
  --text-color: #333;
  --light-gray: #f8f8f8;
  --border-color: #e0e0e0;
  --blue-bg: #e8f1ff;
  --green-bg: #e8f8ef;
  --purple-bg: #f5e8ff;
  --yellow-bg: #fff8e6;
  --pink-bg: #ffebee;
  --teal-bg: #e0f7fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background-color: #0a7a3e;
  color: white;
}

/* Header Styles */
.header {
  background-color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  border-radius: 8px;
  position: relative;
  min-height: 150px;
}

.service-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-text {
  margin-bottom: 0;
}

.service-icon {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Service card colors */
.blue {
  background-color: var(--blue-bg);
}

.green {
  background-color: var(--green-bg);
}

.purple {
  background-color: var(--purple-bg);
}

.yellow {
  background-color: var(--yellow-bg);
}

.pink {
  background-color: var(--pink-bg);
}

.teal {
  background-color: var(--teal-bg);
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
}

.about-text {
  flex: 1;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Training Section */
.training {
  padding: 80px 0;
  background-color: white;
}

.training-packages {
  margin-bottom: 60px;
}

.package-card {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.package-icon {
  margin-right: 20px;
  color: var(--primary-color);
}

.package-content {
  flex: 1;
}

.package-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.package-text {
  margin-bottom: 0;
}

.why-us-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.why-us-image {
  flex: 1;
}

.why-us-image img {
  width: 100%;
  border-radius: 8px;
}

.why-us-text {
  flex: 1;
}

.why-us-text p:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.faq-item {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-answer {
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: white;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 20px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-links li {
  margin-left: 20px;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: #cccccc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h2 {
  margin-bottom: 10px;
}

.cookie-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: white;
}

.cookie-accept:hover {
  background-color: #0a7a3e;
  color: white;
}

.cookie-decline {
  background-color: #f5f5f5;
  color: var(--text-color);
}

.cookie-decline:hover {
  background-color: #e0e0e0;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    display: flex;
  }

  .nav-item {
    margin-left: 0;
    margin-bottom: 15px;
  }

  .burger-menu {
    display: flex;
  }

  .about-content,
  .why-us-content {
    flex-direction: column;
  }

  .about-image,
  .about-text,
  .why-us-image,
  .why-us-text {
    flex: none;
    width: 100%;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-links li:first-child {
    margin-left: 0;
  }
}

@media screen and (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-text {
    font-size: 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

.success,
.policy {
  padding-block: 80px;
  min-height: 86vh;
}

.policy__title {
  margin-bottom: 20px;

  font-family: Inter;
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0px;

  color: #1f2937;
}

.policy__text {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
}
