/* 
  Color Palette:
  - Eggplant: #3C2A4D
  - Flamingo: #F2585C
  - Mint Cream: #F2FFF9
  - Indigo Dye: #123C69
  - Lemon Chiffon: #FFFACD
*/

/* Base Styles */
:root {
  --eggplant: #3C2A4D;
  --flamingo: #F2585C;
  --mint-cream: #F2FFF9;
  --indigo-dye: #123C69;
  --lemon-chiffon: #FFFACD;
  --transition: all 0.3s ease;
  --header-height: 80px;
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--mint-cream);
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
  margin-bottom: 60px;
}

/* Anchor styles */
html {
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--eggplant);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--flamingo);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--indigo-dye);
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

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

button, .btn {
  background: var(--flamingo);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--eggplant);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.section-title h2 {
  display: inline-block;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
header {
  background-color: var(--eggplant);
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.logo a {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  position: relative;
}

.logo a:hover {
  color: var(--lemon-chiffon);
}

.main-nav ul {
  display: flex;
}

.main-nav li:not(:last-child) {
  margin-right: 20px;
}

.main-nav a {
  color: white;
  font-weight: 600;
  padding: 10px;
  position: relative;
}

.main-nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--flamingo);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

.main-nav a:hover:after {
  width: 100%;
}

.cta-button a {
  background: var(--flamingo);
  padding: 10px 20px;
  border-radius: 30px;
}

.cta-button a:hover {
  background: var(--lemon-chiffon);
  color: var(--eggplant);
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 100px;
  background-color: var(--indigo-dye);
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--indigo-dye);
  z-index: 0;
}

.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.hero-image {
  position: relative;
  z-index: 1;
  max-width: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--lemon-chiffon);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about .section-title {
  margin-top: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Benefits Section */
.benefits {
  background-color: var(--lemon-chiffon);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--flamingo);
  margin-bottom: 20px;
}

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

.service-card {
  padding: 0 0 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  text-align: center;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-bottom: 4px solid var(--flamingo);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card h3 {
  padding: 0 20px;
}

.service-card p {
  padding: 0 20px;
}

/* Why Choose Us Section */
.why-choose {
  background-color: var(--eggplant);
  color: white;
  position: relative;
}

.why-choose h2, .why-choose h3 {
  color: white;
}

.why-choose h2:after {
  background: var(--lemon-chiffon);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.why-choose-icon {
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background: var(--flamingo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--mint-cream);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--flamingo);
  text-align: center;
}

.testimonial-content {
  position: relative;
  flex-grow: 1;
  padding-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 15px;
  text-align: right;
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #777;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--indigo-dye);
  color: white;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question h3 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
}

.faq-answer {
  background-color: white;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 20px;
  max-height: 1000px;
}

/* CTA Section */
.cta {
  background-color: var(--flamingo);
  color: white;
  text-align: center;
  margin-bottom: 0;
}

.cta h2, .cta h3 {
  color: white;
}

.cta h2:after {
  background: white;
}

.cta-button-white {
  background: white;
  color: var(--flamingo);
}

.cta-button-white:hover {
  background: var(--lemon-chiffon);
  color: var(--eggplant);
}

/* Contact Form Section */
.contact {
  position: relative;
  margin-bottom: 0;
}

.contact .section-title {
  margin-top: 80px;
}

.contact .section-title h2 {
  color: white;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--eggplant);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--indigo-dye);
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 60, 105, 0.2);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233C2A4D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  margin-right: 10px;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--eggplant) 0%, var(--indigo-dye) 100%);
  z-index: 0;
}

/* Footer Styles */
footer {
  background-color: var(--indigo-dye);
  color: white;
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: white;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--flamingo);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

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

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--flamingo);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(60, 42, 77, 0.95);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
}

.cookie-content button {
  white-space: nowrap;
}

/* Policy Pages */
.policy-content {
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  margin-top: 100px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.policy-nav a {
  padding: 10px 15px;
  background-color: var(--mint-cream);
  border-radius: 5px;
  font-weight: 600;
}

.policy-nav a:hover {
  background-color: var(--flamingo);
  color: white;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 150px 0;
}

.thank-you-box {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid var(--flamingo);
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-380px * 3)); }
}

/* Media Queries */
@media (max-width: 992px) {
  .benefits-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-choose-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
    margin-bottom: 40px;
  }
  
  .about .section-title {
    margin-top: 40px;
  }
  
  .contact .section-title {
    margin-top: 60px;
  }
  
  :root {
    --header-height: 70px;
  }
  
  .hero-flex {
    flex-direction: column;
  }
  
  .hero-image {
    margin-top: 30px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
  }
  
  .menu-icon {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--eggplant);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  .menu-toggle:checked ~ .main-nav {
    transform: translateY(0);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  .main-nav li {
    margin: 15px 0 !important;
  }
  
  .benefits-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    min-width: 280px;
  }
}