/* Global Styles */
:root {
  --background-color: #fef7e9;
  --primary-color: #31326f;
  --secondary-color: #ff4b5c;
  --accent-color: #0f8b8d;
  --text-color: #1a1a1a;
  --light-text: #ffffff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  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: "Arial", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  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: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 15px auto 0;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  color: var(--light-text);
  box-shadow: var(--box-shadow);
}

.btn-primary:hover {
  background: linear-gradient(
    to right,
    var(--accent-color),
    var(--primary-color)
  );
  color: var(--light-text);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--light-text);
}

.btn-secondary:hover {
  background: #e0414f;
  color: var(--light-text);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(254, 247, 233, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: lowercase;
  letter-spacing: -1px;
}

.logo:hover {
  color: var(--secondary-color);
}

.mobile-menu {
  display: flex;
  align-items: center;
}

.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-icon .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-navigation ul {
  display: flex;
  gap: 20px;
}

.main-navigation a {
  padding: 8px 12px;
  font-weight: 600;
  position: relative;
}

.main-navigation a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.main-navigation a:hover:after {
  width: 100%;
}

.nav-cta {
  background-color: var(--secondary-color);
  color: var(--light-text);
  border-radius: var(--border-radius);
  padding: 8px 16px;
}

.nav-cta:hover {
  background-color: #e0414f;
  color: var(--light-text);
}

.nav-cta:after {
  display: none;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(49, 50, 111, 0.7), rgba(15, 139, 141, 0.7)),
    url("./img/OYXfk.jpg");
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services {
  background-color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.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.05);
}

.service-card h3,
.service-card p {
  padding: 0 20px;
}

.service-card h3 {
  margin-top: 20px;
  color: var(--primary-color);
}

.service-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .btn-secondary {
  align-self: center;
  margin: 0 20px 20px;
}

/* Benefits Section */
.benefits {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.benefits h2:after {
  background-color: var(--secondary-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  position: relative;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.benefit-number {
  position: absolute;
  top: -15px;
  left: -15px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.benefit-item h3,
.benefit-item p {
  position: relative;
  z-index: 1;
}

/* Trust Section */
.trust {
  background-color: #fff;
}

.trust-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.trust-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trust-numbers {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-color);
}

/* FAQ Section */
.faq {
  background-color: var(--background-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: #fff;
}

.faq-item input {
  display: none;
}

.faq-title {
  display: block;
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  background-color: var(--primary-color);
  color: var(--light-text);
  transition: var(--transition);
}

.faq-title:hover {
  background-color: #3e3f91;
}

.faq-title:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fff;
}

.faq-content p {
  padding: 20px;
  margin: 0;
}

.faq-item input:checked ~ .faq-title {
  background-color: var(--secondary-color);
}

.faq-item input:checked ~ .faq-title:after {
  content: "-";
}

.faq-item input:checked ~ .faq-content {
  max-height: 300px;
}

/* Contact Form Section */
.contact {
  background-color: #fff;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: #fff;
  font-size: 1rem;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

/* Style option tags */
select option {
  background-color: var(--background-color);
  padding: 10px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  display: inline;
  margin-bottom: 0;
}

.contact-form button {
  width: 100%;
  margin-top: 10px;
}

/* Contact Info Section */
.contact-info {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.contact-info h2:after {
  background-color: var(--secondary-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  text-align: center;
}

.contact-item a {
  color: var(--light-text);
}

.contact-item a:hover {
  color: var(--secondary-color);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #9a9a9a;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo,
.footer-contact,
.footer-links {
  flex: 1 1 250px;
}

.footer-logo .logo {
  color: var(--light-text);
  margin-bottom: 15px;
  display: inline-block;
}

.footer-logo p {
  color: #9a9a9a;
}

.footer-contact h3,
.footer-links h3 {
  color: var(--light-text);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-contact p,
.footer-links li {
  margin-bottom: 10px;
}

.footer-contact a,
.footer-links a {
  color: #9a9a9a;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2c2c2c;
  color: var(--light-text);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-popup p {
  margin: 0;
}

.cookie-popup button {
  white-space: nowrap;
}

/* Thank You Page */
.thank-you {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 5rem auto;
  padding: 40px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.thank-you h1 {
  color: var(--primary-color);
}

.thank-you-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

/* Policy Pages */
.policy-page {
  padding: 120px 0 80px;
  min-height: 80vh;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.policy-content h1 {
  text-align: center;
  margin-bottom: 30px;
}

.policy-content h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-top: 30px;
}

.policy-content h2:after {
  margin-left: 0;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 20px;
}

.policy-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

.back-btn {
  display: inline-block;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #1c727e;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  #menu-toggle:checked ~ .main-navigation {
    right: 0;
  }

  #menu-toggle:checked ~ .menu-icon .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  #menu-toggle:checked ~ .menu-icon .bar:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .main-navigation ul {
    margin: 5rem auto;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 0;
  }

  .main-navigation li {
    width: 100%;
  }

  .main-navigation a {
    display: block;
    padding: 15px;
    color: var(--light-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .main-navigation a:after {
    display: none;
  }

  .nav-cta {
    background-color: transparent;
    color: var(--secondary-color);
  }

  .nav-cta:hover {
    background-color: transparent;
    color: var(--light-text);
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .cookie-popup {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .trust-numbers {
    flex-direction: column;
    gap: 30px;
  }

  .policy-content {
    padding: 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 1s ease forwards;
}

.slideUp {
  animation: slideUp 0.8s ease forwards;
}

/* Add animation delays to children */
.services-grid .service-card:nth-child(1) {
  animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.6s;
}

.benefits-grid .benefit-item:nth-child(1) {
  animation-delay: 0.1s;
}

.benefits-grid .benefit-item:nth-child(2) {
  animation-delay: 0.2s;
}

.benefits-grid .benefit-item:nth-child(3) {
  animation-delay: 0.3s;
}

.benefits-grid .benefit-item:nth-child(4) {
  animation-delay: 0.4s;
}
