/* Base Styles */
:root {
  --background: #1e2a38;
  --accent1: #f5a623;
  --accent2: #50e3c2;
  --text-primary: #ffffff;
  --text-secondary: #d3d7da;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 80px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

a {
  color: var(--accent2);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent1);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 42, 56, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.logo a {
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding: 5px 0;
}

.logo a:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  transition: var(--transition);
}

.logo a:hover:before {
  width: 100%;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  transition: var(--transition);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent2);
  background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a.cta-button {
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  color: var(--background);
  padding: 10px 20px;
  border-radius: 30px;
}

nav ul li a.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: var(--background);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: url("./img/FESd0.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 42, 56, 0.8);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  color: var(--background);
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: var(--background);
}

/* About Section */
.about {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.about:before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--accent2) 0%,
    rgba(80, 227, 194, 0) 70%
  );
  opacity: 0.3;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about h2 span {
  color: var(--accent1);
}

.about-text {
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Services Section */
.services {
  background-color: rgba(30, 42, 56, 0.97);
  position: relative;
}

.services h2 {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service-image {
  width: 100%;
  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.05);
}

.service-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent2);
}

.service-content p {
  margin-bottom: 20px;
}

.service-content ul {
  list-style-position: inside;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.service-content ul li {
  margin-bottom: 8px;
}

.service-button {
  display: inline-block;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  color: var(--background);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  margin-top: auto;
  transition: var(--transition);
}

.service-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  color: var(--background);
}

/* Advantages Section */
.advantages {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.advantages h2 {
  text-align: center;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.advantage-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.advantage-icon img {
  max-height: 60px;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon img {
  transform: scale(1.1);
}

.advantage-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent1);
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(30, 42, 56, 0.97);
  position: relative;
}

.testimonials h2 {
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.1);
  font-family: serif;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--accent2);
}

.author-position {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Process Section */
.process {
  background-color: var(--background);
  position: relative;
}

.process h2 {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 auto;
  position: relative;
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--background);
  margin-right: 25px;
  flex-shrink: 0;
  position: relative;
}

.step-content {
  flex-grow: 1;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.process-step:hover .step-content {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.08);
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--accent1);
}

/* Contact Form Section */
.contact {
  background-color: rgba(30, 42, 56, 0.97);
  position: relative;
}

.contact h2 {
  text-align: center;
}

.error-message {
  background-color: rgba(255, 87, 87, 0.2);
  border-left: 4px solid #ff5757;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  color: #ff5757;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.form-group select option {
  background-color: var(--background);
  color: var(--text-primary);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  display: inline;
  margin-bottom: 0;
}

.submit-button {
  display: block;
  width: 100%;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  color: var(--background);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contact-map {
  margin-top: 40px;
}

.contact-map h3 {
  margin-bottom: 20px;
  text-align: center;
}

/* Thank You Page */
.thank-you {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.thank-you-content {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 600px;
  margin: 4rem auto 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent2);
  margin-bottom: 20px;
}

.thank-you h1 {
  margin-bottom: 15px;
}

.thank-you p {
  margin-bottom: 30px;
}

/* FAQ Section */
.faq {
  background-color: var(--background);
}

.faq h2 {
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-toggle {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-question {
  display: block;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-toggle:checked ~ .faq-question:after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(255, 255, 255, 0.02);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
}

/* Policy Pages */
.policy {
  padding: 100px 0;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--border-radius);
}

.policy h1 {
  text-align: center;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.policy-section h3 {
  font-size: 1.3rem;
  color: var(--accent2);
  margin-top: 20px;
}

.policy-section ul {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background-color: rgba(15, 20, 30, 0.95);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-contact h3,
.footer-links h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-contact h3:after,
.footer-links h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent1), var(--accent2));
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent2);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(15, 20, 30, 0.95);
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
}

.cookie-popup.active {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookie-accept {
  background: linear-gradient(to right, var(--accent1), var(--accent2));
  color: var(--background);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

#cookie-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hamburger {
    display: flex;
  }

  .menu-toggle {
    position: absolute;
    opacity: 0;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(15, 20, 30, 0.98);
    padding: 80px 20px 30px;
    transition: right 0.3s ease-in-out;
    box-shadow: var(--shadow);
    z-index: 1000;
  }

  .menu-toggle:checked ~ nav {
    right: 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0 0 15px;
  }

  nav ul li a {
    display: block;
    padding: 10px 15px;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-steps:before {
    left: 16px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  #cookie-accept {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .service-card,
  .advantage-card,
  .testimonial-card {
    padding: 20px;
  }

  .policy-content {
    padding: 20px;
  }
}
