/* General Styles */
:root {
  --primary-bg-start: #3A1C71;
  --primary-bg-end: #D76D77;
  --text-light: #FFFFFF;
  --text-accent: #FCE38A;
  --accent-color: #FCE38A;
  --accent-color-alt: #FF6F61;
  --font-main: 'Montserrat', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-light);
  background: linear-gradient(135deg, var(--primary-bg-start), var(--primary-bg-end));
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-accent);
  margin-top: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color-alt);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-bg-start);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-color-alt);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.glass-panel {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  background: rgba(58, 28, 113, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.scroll-down header {
  transform: translateY(-100%);
}

.scroll-up header {
  transform: translateY(0);
}

body {
  padding-top: 70px; /* To compensate for fixed header */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: var(--accent-color);
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

/* Mobile Menu */
#mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  max-width: 90vw;
  height: calc(100vh - 70px);
  background: rgba(58, 28, 113, 0.95);
  backdrop-filter: blur(10px);
  transition: left 0.3s ease;
  z-index: 999;
  padding: 20px;
}

#mobile-menu-toggle:checked ~ .mobile-nav {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  margin: 20px 0;
}

.mobile-nav ul li a {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
#hero {
  height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

#hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-btn {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
#about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-img {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-img img {
  transition: transform 0.8s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
  height: 200px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-img:hover img {
  transform: scale(1.1);
}

.service-title {
  margin: 15px 0;
  font-size: 1.5rem;
}

.service-desc {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  text-align: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.benefit-title {
  margin: 15px 0;
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

summary {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  list-style: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
}

details[open] summary:after {
  transform: rotate(45deg);
}

details[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-content {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 20px;
  gap: 30px;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 auto;
  width: calc(33.333% - 20px);
  scroll-snap-align: start;
  padding: 30px;
  border-radius: 15px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 5px;
}

.testimonial-rating {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Contact Form Section */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--text-light);
  font-family: var(--font-main);
  font-size: 1rem;
}

option {
  color: black;
  background-color: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

button[type="submit"] {
  background-color: var(--accent-color);
  color: var(--primary-bg-start);
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--accent-color-alt);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 15px;
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* Footer */
footer {
  position: relative;
  padding: 60px 0 30px;
  background: rgba(58, 28, 113, 0.9);
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
  transform: translateY(-100%);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-section p {
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  transition: all 0.3s ease;
  position: relative;
}

.footer-links ul li a:before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
  display: inline-block;
}

.footer-links ul li a:hover:before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(58, 28, 113, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  z-index: 1001;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
}

.cookie-consent.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  flex: 1;
  padding-right: 20px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-text {
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-title {
  text-align: center;
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h3 {
  margin-bottom: 15px;
}

.policy-section p, .policy-section ul {
  line-height: 1.8;
  margin-bottom: 15px;
}

.policy-section ul {
  padding-left: 20px;
}

.policy-section ul li {
  margin-bottom: 10px;
}

.policy-contact {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Extra Pages */
.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-blocks {
  display: grid;
  gap: 40px;
}

.about-block {
  margin-bottom: 40px;
}

.about-block h3 {
  margin-bottom: 20px;
}

.about-block p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
}

.blog-title {
  margin-bottom: 10px;
}

.blog-excerpt {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.tips-block {
  margin-bottom: 40px;
}

.tips-block h3 {
  margin-bottom: 20px;
}

.tips-block p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.tips-img {
  margin: 40px 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid, .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    width: calc(50% - 15px);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  nav ul {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .services-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    width: calc(100% - 30px);
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}
