:root {
  /* Primary colors */
  --primary-color: #3d5afe;
  --primary-dark: #0031ca;
  --primary-light: #8187ff;
  
  /* Secondary/accent colors */
  --accent-color: #00e5ff;
  --accent-dark: #00b2cc;
  --accent-light: #6effff;
  
  /* Neutral colors */
  --neutral-100: #f5f5f7;
  --neutral-200: #e0e0e5;
  --neutral-300: #c2c2c8;
  --neutral-400: #9e9ea6;
  --neutral-500: #6c6c76;
  --neutral-600: #494955;
  --neutral-700: #303036;
  --neutral-800: #1c1c21;
  --neutral-900: #0d0d10;
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-dark: linear-gradient(135deg, rgba(13, 13, 16, 0.95) 0%, rgba(28, 28, 33, 0.9) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --section-padding-mobile: 3rem 0;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--neutral-700);
  background-color: var(--neutral-100);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-800);
}

p {
  margin-bottom: 1.5rem;
}

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

.section-padding {
  padding: var(--section-padding);
}

@media (max-width: 767px) {
  .section-padding {
    padding: var(--section-padding-mobile);
  }
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto 2rem;
  border-radius: var(--radius-sm);
}

.section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--neutral-600);
}

/* Parallax Effect */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.parallax-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

/* Header & Navigation */
header {
  transition: var(--transition-normal);
  z-index: 1000;
}

.navbar {
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--neutral-100);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--neutral-200);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
}

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

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
}

/* Particle Animation */
.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Button Styles */
.btn {
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.btn:hover::before {
  transform: translateY(0);
}

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

.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(61, 90, 254, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background: var(--primary-color);
  color: white;
}

.btn-outline-light {
  color: white;
  border: 2px solid white;
  background: transparent;
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Vision Section */
.vision-section {
  background-color: white;
}

.vision-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.vision-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vision-image-container:hover img {
  transform: scale(1.05);
}

.vision-content {
  padding: 0 1rem;
}

.vision-content h3 {
  color: var(--neutral-800);
  margin-bottom: 1.5rem;
}

/* Statistics Section */
.statistics-section {
  position: relative;
  color: white;
}

.stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  height: 100%;
  transition: transform var(--transition-normal);
}

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

.stat-circle {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.stat-number {
  font-family: var(--heading-font);
  font-weight: 700;
}

.stat-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}

.stat-description {
  font-size: 0.9rem;
  color: var(--neutral-200);
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--neutral-100);
}

.portfolio-card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  overflow: hidden;
  width: 100%;
  height: 250px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.card-content p {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

/* Resources Section */
.resources-section {
  position: relative;
}

.resource-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform var(--transition-normal);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.resource-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.resource-description {
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
}

/* Success Stories Section */
.success-stories-section {
  background-color: white;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  width: 4px;
  background: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-sm);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 0 20px;
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-date {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content .card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
    transform: none;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 50px;
    float: none !important;
  }
}

/* Pricing Section */
.pricing-section {
  background-color: var(--neutral-100);
}

.pricing-card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card.featured {
  transform: translateY(-20px);
  border: 2px solid var(--primary-color);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.pricing-card:hover:not(.featured) {
  transform: translateY(-10px);
}

.pricing-card .card-header {
  background: var(--neutral-800);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  width: 100%;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-color);
  color: var(--neutral-800);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 0.25rem;
}

.period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--neutral-300);
}

.pricing-features {
  list-style-type: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  align-items: flex-start;
}

.feature-check {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-weight: bold;
}

.pricing-description {
  color: var(--neutral-600);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--neutral-500);
  font-style: italic;
}

/* Customer Stories Section */
.customer-stories-section {
  position: relative;
  color: white;
}

.testimonial-carousel {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-quote {
  position: relative;
  padding: 2rem;
}

.quote-icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 4rem;
  font-family: serif;
  color: var(--neutral-200);
  line-height: 1;
}

.testimonial-quote p {
  position: relative;
  z-index: 2;
  font-style: italic;
  color: var(--neutral-700);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--neutral-800);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--neutral-600);
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background-color: white;
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  border: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--neutral-100);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-button::after {
  background-size: 1.25rem;
}

.accordion-body {
  padding: 1.5rem;
  background-color: white;
}

.accordion-body p {
  color: var(--neutral-600);
  margin-bottom: 0;
}

/* Community Section */
.community-section {
  position: relative;
  color: white;
}

.community-benefits {
  padding: 2rem;
}

.community-list {
  list-style: none;
  padding: 0;
}

.community-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  border-radius: 50%;
  margin-right: 1.5rem;
  color: var(--neutral-900);
  font-size: 1.5rem;
}

.benefit-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.benefit-content p {
  color: var(--neutral-200);
  margin-bottom: 0;
}

.community-card {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.community-form .form-control,
.community-form .form-select {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-300);
  margin-bottom: 1rem;
}

.community-form .form-control:focus,
.community-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(61, 90, 254, 0.25);
}

.community-form .form-check {
  margin-bottom: 1.5rem;
}

.community-form .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.community-form label a {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* Contact Section */
.contact-section {
  background-color: var(--neutral-100);
}

.contact-card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-300);
  margin-bottom: 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(61, 90, 254, 0.25);
}

.contact-form textarea {
  min-height: 150px;
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.25rem;
}

.contact-details h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
}

/* Footer Section */
.footer-section {
  background-color: var(--neutral-800);
  color: var(--neutral-200);
  padding: 5rem 0 2rem;
}

.footer-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  margin-bottom: 2rem;
  color: var(--neutral-300);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: var(--transition-normal);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.footer-social a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--neutral-600);
  color: white;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.footer-newsletter .form-control::placeholder {
  color: var(--neutral-400);
}

.footer-newsletter .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: none;
  color: white;
}

.footer-newsletter .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.heart {
  color: #ff4081;
  animation: heartbeat 1.2s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Success Page */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

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

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* Terms & Privacy Pages */
.terms-page,
.privacy-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.terms-content,
.privacy-content {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-dark { background-color: var(--neutral-800) !important; }
.bg-light { background-color: var(--neutral-100) !important; }
.bg-white { background-color: white !important; }
.text-white { color: white !important; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideIn {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-in {
  animation: slideIn 1s ease forwards;
}

/* Media Queries */
@media (max-width: 992px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 3rem;
  }
  
  .community-list li {
    flex-direction: column;
  }
  
  .benefit-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .contact-info {
    margin-top: 3rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}