/* Base Styles */
:root {
  --color-bg: #1e1a3c;
  --color-accent1: #ff6b35;
  --color-accent2: #14ffec;
  --color-additional: #a29bfe;
  --color-text: #fdfdfd;
  --gradient-main: linear-gradient(135deg, #1e1a3c 0%, #14ffec 100%);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  --border-radius: 20px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--color-accent2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  color: var(--color-accent2);
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  color: var(--color-accent2);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--color-accent1);
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-accent1);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-accent1);
  color: var(--color-text);
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--color-accent2);
  color: var(--color-bg);
  transform: translateY(-3px);
}

.btn-primary {
  background-color: var(--color-accent1);
}

.btn-nav {
  background-color: var(--color-accent2);
  color: var(--color-bg);
  padding: 10px 20px;
}

.btn-nav:hover {
  background-color: var(--color-accent1);
  color: var(--color-text);
}

.btn-submit {
  width: 100%;
  font-size: 1.1rem;
  padding: 14px;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  padding: 1rem 0;
  background-color: rgba(30, 26, 60, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent2);
  transition: var(--transition);
}

.logo a:hover {
  color: var(--color-accent1);
}

/* Navigation */
.main-nav {
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu li a {
  color: var(--color-text);
  font-weight: 500;
  padding: 5px 10px;
  transition: var(--transition);
}

.nav-menu li a:hover {
  color: var(--color-accent2);
}

/* Mobile menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  height: 80vh;
  min-height: 500px;
  background-image: linear-gradient(
      rgba(30, 26, 60, 0.7),
      rgba(30, 26, 60, 0.9)
    ),
    url("./img/okf2P.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-accent2);
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: rgba(20, 255, 236, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--gradient-main);
  border-radius: var(--border-radius);
  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;
}

.service-content {
  padding: 1.5rem;
}

/* Benefits Section */
.benefits-section {
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  padding: 2rem;
  text-align: center;
  background: rgba(20, 255, 236, 0.05);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(20, 255, 236, 0.1);
}

.benefit-icon {
  margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: rgba(162, 155, 254, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 2rem;
  background: var(--gradient-main);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.author-position {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Form Section */
.contact-form-section {
  padding: 5rem 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--gradient-main);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-bg);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--color-accent1);
  outline: none;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

select option {
  background-color: white;
  color: var(--color-bg);
}

.checkbox-group {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

input[type="checkbox"] {
  margin-top: 0.3rem;
}

/* Contacts Section */
.contacts-section {
  padding: 5rem 0;
  background-color: rgba(20, 255, 236, 0.05);
}

.contacts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  flex-shrink: 0;
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: var(--border-radius);
}

/* Footer */
.site-footer {
  padding: 3rem 0 1rem;
  background-color: rgba(20, 20, 40, 0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  font-size: 1.8rem;
  color: var(--color-accent2);
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
}

.footer-nav li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a {
  color: var(--color-text);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--color-accent2);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(30, 26, 60, 0.95);
  padding: 1rem;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.btn-cookie {
  padding: 8px 20px;
  white-space: nowrap;
}

/* Thank you page */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  padding: 3rem;
  margin: 8rem auto 5rem;
  border: 2px solid var(--color-accent2);
  border-radius: var(--border-radius);
  background: var(--gradient-main);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  display: none;
}

.faq-label {
  display: block;
  padding: 1rem;
  background: rgba(20, 255, 236, 0.1);
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: var(--transition);
}

.faq-label:hover {
  background: rgba(20, 255, 236, 0.2);
}

.faq-label::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease;
}

.faq-text {
  padding: 1rem;
}

.faq-question:checked + .faq-label {
  background: var(--color-accent1);
}

.faq-question:checked + .faq-label::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:checked ~ .faq-content {
  max-height: 500px;
}

/* Policy Pages */
.policy-section {
  padding: 5rem 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(20, 255, 236, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.policy-container h2 {
  margin-top: 2rem;
  color: var(--color-accent1);
  font-size: 1.8rem;
}

.policy-container h3 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
}

.policy-container ul,
.policy-container ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.policy-container li {
  margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-info {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
    z-index: 101;
    position: relative;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    width: 80%;
    height: 100vh;
    padding: 5rem 2rem 2rem;
    background-color: var(--color-bg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 100;
    gap: 2rem;
  }

  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 10px 0;
  }

  .about-image {
    margin-top: 2rem;
  }

  .hero-section {
    height: auto;
    padding: 6rem 0;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .contact-form-section,
  .about-section,
  .services-section,
  .benefits-section,
  .testimonials-section,
  .contacts-section {
    padding: 3rem 0;
  }

  .form-container {
    padding: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-logo,
  .footer-nav,
  .footer-contact,
  .footer-legal {
    text-align: center;
  }
}
