:root {
  --primary: rgb(31, 32, 32);
  --secondary: #c02d2d;
  --background: #F9FAFB;
  --text-primary: #7f2196;
  --text-secondary: #595959;
  --accent: #462c16;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 2rem;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-desktop {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  position: relative;
  font-size: 0.95rem;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

.nav-desktop a:hover::after {
  width: 80%;
}

.nav-desktop a:hover {
  color: var(--text-primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-line {
  width: 1.75rem;
  height: 0.2rem;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.burger.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 220px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-lg);
  padding: 5rem var(--space-md) var(--space-md);
  transition: var(--transition-normal);
  z-index: 1000;
}

.burger{
  z-index: 20000 !important;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile a {
  display: block;
  padding: var(--space-sm);
  color: var(--text-secondary);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--text-primary);
  background: rgba(127, 33, 150, 0.05);
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(127, 33, 150, 0.05) 0%, rgba(192, 45, 45, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(127, 33, 150, 0.1) 0%, transparent 50%);
  animation: pulse 8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--text-primary);
  color: white;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #6a1c7f;
}

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

.btn-secondary:hover {
  background: #a02525;
}

.section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-lg);
}

.image-text-section img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.text-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.text-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.text-content ul {
  list-style: none;
  margin: var(--space-sm) 0;
}

.text-content li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.text-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-md);
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-primary);
  font-weight: 700;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: var(--space-xs);
}

.form-container {
  max-width: 600px;
  margin: var(--space-lg) auto;
  background: white;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(127, 33, 150, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.85rem;
}

.faq-container {
  max-width: 900px;
  margin: var(--space-lg) auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md);
  background: white;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(127, 33, 150, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-secondary);
}

.footer {
  background: var(--primary);
  color: white;
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-xl);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.modal h2 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}

.modal p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.thank-you-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.thank-you-content {
  max-width: 600px;
  animation: fadeInUp 0.8s ease;
}

.thank-you-content h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.thank-you-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.error-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.error-content {
  max-width: 600px;
}

.error-content h1 {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.error-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.map-container {
  margin: var(--space-lg) 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .image-text-section {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .text-content h3{
    font-size: 1.4rem;
  }
  .image-text-section{
    display: flex;
    flex-direction: column;
  }
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: 60vh;
    padding: var(--space-lg) var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .error-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 340px) {
  .logo {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}