/* Base styles */
:root {
  --color-primary: #3C3B92;
  --color-secondary: #F1C40F;
  --color-accent1: #1ABC9C;
  --color-accent2: #FF6F61;
  --color-gray: #7F8C8D;
  --color-white: #FFFFFF;
  --color-dark-blue: #1E1E46;
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-white);
}

p {
  margin-bottom: 1.5rem;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-dark-blue);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(30, 30, 70, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: var(--header-height);
  transition: transform 0.3s ease;
}

.header-scrolled {
  transform: translateY(-100%);
}

.header-visible {
  transform: translateY(0);
}

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

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
}

.logo span {
  color: var(--color-secondary);
}

/* Navigation */
.nav-desktop {
  display: flex;
}

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

.nav-desktop ul li {
  margin-left: 30px;
}

.nav-desktop ul li a {
  color: var(--color-white);
  font-weight: 500;
  position: relative;
}

.nav-desktop ul li a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover:before {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.checkbox-hack {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/W7aKWi.jpg') no-repeat center/cover;
  color: var(--color-white);
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 70, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  font-size: 2.5rem;
  padding-bottom: 15px;
  position: relative;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent1);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Features Section */
.features {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(60, 59, 146, 0.8) 0%, rgba(26, 188, 156, 0.8) 100%);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  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: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 30px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-price {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-dark-blue);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(26, 188, 156, 0.1);
}

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

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-name {
  font-weight: 700;
}

.testimonial-author-title {
  color: var(--color-accent1);
  font-size: 0.9rem;
}

/* Steps Section */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent1);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px;
}

/* Contact Form Section */
.contact {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(30, 30, 70, 0.8);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%23F1C40F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.form-select option {
  color: black;
  background-color: white;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check-label {
  font-size: 0.95rem;
}

.form-check-label a {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  background-color: rgba(30, 30, 70, 0.8);
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

details[open] .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

details[open] .faq-question:after {
  content: '-';
}

/* Footer */
.footer {
  background-color: var(--color-dark-blue);
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(135deg, var(--color-dark-blue) 25%, transparent 25%) -20px 0,
              linear-gradient(225deg, var(--color-dark-blue) 25%, transparent 25%) -20px 0,
              linear-gradient(315deg, var(--color-dark-blue) 25%, transparent 25%),
              linear-gradient(45deg, var(--color-dark-blue) 25%, transparent 25%);
  background-size: 40px 40px;
  background-color: var(--color-accent1);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--color-secondary);
}

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

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent1);
  bottom: 0;
  left: 0;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a:hover {
  color: var(--color-accent1);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 15px;
  color: var(--color-accent1);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--color-dark-blue);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
}

.cookie-text p {
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
}

.cookie-btn {
  margin-left: 10px;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

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

.cookie-btn.accept:hover {
  background-color: #16a085;
}

.cookie-btn.decline {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.cookie-btn.decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-page {
  padding: 80px 0;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-title {
  text-align: center;
  margin-bottom: 30px;
}

.policy-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
}

.policy-content h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
}

.policy-content p {
  margin-bottom: 15px;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-contact {
  margin-top: 40px;
  background-color: rgba(26, 188, 156, 0.1);
  padding: 20px;
  border-radius: 10px;
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-accent1);
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-message {
  margin-bottom: 30px;
}

/* Blog & Tips Pages */
.blog-container, .tips-container, .about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px;
}

.blog-cards, .tips-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card, .tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image, .tip-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img, .tip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img, .tip-card:hover .tip-image img {
  transform: scale(1.05);
}

.blog-content, .tip-content {
  padding: 20px;
}

.blog-date, .tip-category {
  font-size: 0.9rem;
  color: var(--color-accent1);
  margin-bottom: 10px;
}

.blog-title, .tip-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* About Page */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }
  
  html, body {
    overflow-x: hidden;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
  }
  
  .mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-white);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }
  
  .mobile-menu-toggle span:nth-child(1) {
    top: 0px;
  }
  
  .mobile-menu-toggle span:nth-child(2), .mobile-menu-toggle span:nth-child(3) {
    top: 10px;
  }
  
  .mobile-menu-toggle span:nth-child(4) {
    top: 20px;
  }
  
  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
  }
  
  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }
  
  .checkbox-hack:checked ~ .mobile-menu-toggle span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
  }
  
  .nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90vw;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-dark-blue);
    padding: 80px 30px 30px;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  
  .checkbox-hack:checked ~ .nav-mobile {
    right: 0;
  }
  
  .nav-mobile ul {
    list-style: none;
  }
  
  .nav-mobile ul li {
    margin-bottom: 20px;
  }
  
  .nav-mobile ul li a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .policy-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card,
  .testimonial-card,
  .step-card {
    padding: 20px;
  }
  
  .form-container {
    padding: 30px 20px;
  }
  
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    margin-left: 0;
    margin-bottom: 10px;
  }
}
