:root {
  --primary-color: #6A1E9C;
  --secondary-color: #4B1461;
  --accent-color: #9B59B6;
  --light-color: #F8F5FB;
  --dark-color: #2C1541;
  --gradient-primary: linear-gradient(135deg, #9B59B6 0%, #6A1E9C 100%);
  --hover-color: #5A1880;
  --background-color: #FEFCFF;
  --text-color: #3E2855;
  --border-color: rgba(155, 89, 182, 0.2);
  --divider-color: rgba(106, 30, 156, 0.1);
  --shadow-color: rgba(106, 30, 156, 0.12);
  --highlight-color: #F4D03F;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;
}

/* Mobile Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

/* Enhanced Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 4px 14px var(--shadow-color);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(106, 30, 156, 0.25);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-5deg);
}

/* Enhanced Testimonial Cards */
.testimonial {
  transition: all 0.3s ease;
  border: none;
  position: relative;
  background: #FFFFFF;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 18px;
  box-shadow: 0 4px 14px var(--shadow-color);
  border-left: 5px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(106, 30, 156, 0.2);
  border-left-color: var(--primary-color);
}

/* Enhanced FAQ Items */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: #FFFFFF;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--shadow-color);
}

.faq-item:hover {
  transform: translateX(7px);
  box-shadow: 0 6px 18px rgba(106, 30, 156, 0.2);
  border-color: var(--accent-color);
}

/* Enhanced Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(106, 30, 156, 0.15);
  transform: translateY(-2px);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
}

/* Enhanced Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 28px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(106, 30, 156, 0.4);
  background: var(--hover-color);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section Enhancement */
.hero {
  position: relative;
  background: var(--primary-color);
}

/* Enhanced Typography */
h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 600;
  line-height: 1.3;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navigation {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-card,
  .testimonial,
  .faq-item {
    margin: 1rem 0;
    padding: 1.5rem;
  }
}

/* Header Styles */
header {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 12px rgba(106, 30, 156, 0.2);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0 1rem;
}

header img[alt="logo"],
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Background patterns */
.pattern-bg {
  background-image: 
    radial-gradient(circle at 40% 60%, rgba(155, 89, 182, 0.08) 0%, transparent 53%),
    radial-gradient(circle at 60% 40%, rgba(106, 30, 156, 0.06) 0%, transparent 49%),
    repeating-linear-gradient(90deg, transparent, transparent 70px, rgba(155, 89, 182, 0.04) 70px, rgba(155, 89, 182, 0.04) 140px);
  background-size: 210% 210%, 210% 210%, 140px 140px;
}

.info-banner {
  background: var(--light-color);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.info-banner h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.info-banner p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(106, 30, 156, 0.2);
  border-color: var(--accent-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--main-font);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-color);
  font-weight: 500;
}