/* General Styles */
:root {
  --primary-color: #384cff;
  --accent-color: #ffae00;
  --bg-color: #f4f4f4;
  --text-color: #222222;
  --white: #ffffff;
  --light-gray: #e0e0e0;
  --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: "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.75rem;
}

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;
}

section {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  height: 100%;
  width: 100%;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: lowercase;
}

.desktop-nav ul {
  display: flex;
}

.desktop-nav ul li {
  margin-left: 30px;
}

.desktop-nav ul li a {
  color: var(--text-color);
  font-weight: 500;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
  color: var(--primary-color);
}

/* Mobile Navigation */
.mobile-menu {
  display: none;
  position: relative;
  z-index: 1002;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  position: relative;
  width: 54px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  border-radius: 6px;
  padding: 8px 10px;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.burger-line {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  margin: 2px 0;
  background-color: var(--white);
  transition: var(--transition);
}

.menu-text {
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

#menu-toggle:checked ~ .menu-icon {
  background-color: var(--accent-color);
}

#menu-toggle:checked ~ .menu-icon .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked ~ .menu-icon .burger-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .menu-icon .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--white);
  z-index: 1002;
  transition: transform 0.4s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  padding: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--light-gray);
  background-color: var(--primary-color);
  color: var(--white);
}

.mobile-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.mobile-close {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.close-icon {
  font-size: 24px;
  color: var(--white);
  line-height: 1;
}

.mobile-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#menu-toggle:checked ~ .mobile-nav {
  right: 0;
  transform: translateX(0);
}

#menu-toggle:checked ~ .mobile-nav-overlay {
  display: block;
  animation: fadeIn 0.3s ease;
}

.mobile-nav ul {
  padding: 20px;
}

.mobile-nav ul li {
  margin-bottom: 15px;
}

.mobile-nav ul li a {
  font-size: 1.1rem;
  display: block;
  padding: 12px 15px;
  color: var(--text-color);
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background-color: rgba(56, 76, 255, 0.1);
  color: var(--primary-color);
}

.btn-mobile-cta {
  background-color: var(--primary-color);
  color: var(--white) !important;
  text-align: center;
  font-weight: 600;
}

.btn-mobile-cta:hover {
  background-color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-image: url("./img/Ufxta.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(238 195 195 / 47%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn-group {
  display: flex;
  gap: 15px;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-text {
  flex: 1;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary-color);
}

/* Cases Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.case-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
  height: 200px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-content {
  padding: 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.3;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Form Section */
.contact {
  background-color: var(--bg-color);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(56, 76, 255, 0.25);
}

select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23384CFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
}

select.form-control option {
  background-color: var(--white);
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: var(--white);
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
}

.faq-answer {
  background-color: var(--bg-color);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer-content {
  padding: 0 20px;
}

.faq-checkbox {
  display: none;
}

.faq-checkbox:checked + .faq-question::after {
  content: "−";
}

.faq-checkbox:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-info,
.footer-contact,
.footer-nav,
.footer-legal {
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-content h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-content ul li {
  margin-bottom: 10px;
}

.footer-content ul li a {
  color: var(--white);
  transition: var(--transition);
}

.footer-content ul li a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 15px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.cookie-content p {
  margin: 0;
  padding-right: 20px;
}

#accept-cookies {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 100px auto 40px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Thank You Page */
.thank-you-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  margin: 100px auto 40px;
  max-width: 600px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thank-you-container h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.thank-you-container p {
  margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation: fadeIn 1s ease;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  section {
    padding: 60px 0;
  }
  .about-content {
    flex-direction: column;
  }
  .about-image,
  .about-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h2:after {
    width: 60px;
    height: 3px;
  }
  .hero {
    background-position: 70% center;
    padding-top: 60px;
  }
  .hero .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .hero .btn-group .btn-primary,
  .hero .btn-group .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-content p {
    margin-bottom: 15px;
  }
  .form-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .site-header {
    height: 50px;
  }
  .logo a {
    font-size: 1.5rem;
  }
  .mobile-nav {
    width: 85%;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  section {
    padding: 40px 0;
  }
  .policy-container,
  .thank-you-container {
    padding: 20px;
    margin-top: 80px;
  }
  .hero {
    background-position: 75% center;
  }
}
