:root {
  /* Primary Colors */
  --primary: #4e57d4;
  --primary-dark: #3a43b3;
  --primary-light: #7a80e0;
  
  /* Secondary Colors */
  --secondary: #2d324f;
  --secondary-light: #424867;
  --secondary-dark: #1e2236;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Accent Colors */
  --accent: #ff6b6b;
  --accent-dark: #e95555;
  --success: #42ba96;
  --warning: #ffc107;
  --info: #56ccf2;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.17);
  --glass-border: 1px solid rgba(255, 255, 255, 0.18);
  --glass-blur: blur(10px);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;
  
  /* Typography */
  --font-family-heading: 'Oswald', sans-serif;
  --font-family-body: 'Nunito', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--secondary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--neutral-600);
  margin-bottom: 2rem;
}

/* Glassmorphism Effect */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius-md);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Button Styles */
.btn {
  font-weight: var(--font-weight-medium);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:focus {
  box-shadow: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--neutral-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--neutral-100);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-light:hover {
  background-color: var(--neutral-100);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.animated-btn {
  position: relative;
  overflow: hidden;
}

.animated-btn:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: width var(--transition-fast);
  z-index: -1;
}

.animated-btn:hover:after {
  width: 120%;
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.navbar {
  padding: 0;
}

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

.navbar-brand:hover {
  color: var(--primary-light);
}

.nav-link {
  font-weight: var(--font-weight-medium);
  color: var(--neutral-100);
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: color var(--transition-normal);
}

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

.nav-link:hover {
  color: var(--primary-light);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--neutral-100);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

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

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

/* History Section */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline {
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--primary-light);
}

.timeline-item {
  width: 100%;
  position: relative;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius-md);
}

.timeline-item:nth-child(even) {
  margin-left: auto;
}

.timeline-item:before {
  content: attr(data-year);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--neutral-100);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-weight-bold);
  z-index: 1;
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.content-card {
  height: 100%;
}

/* Statistics Section */
.stat-card {
  transition: all var(--transition-normal);
}

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

.stat-animated-icon {
  font-size: 3rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-title {
  font-size: 1.25rem;
  color: var(--secondary);
  font-weight: var(--font-weight-semibold);
}

.satisfaction-chart {
  padding: 1.5rem 0;
}

.satisfaction-item {
  margin-bottom: 1.5rem;
}

.satisfaction-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
}

.progress {
  height: 1.5rem;
  background-color: var(--neutral-300);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.progress-bar {
  background-color: var(--primary);
  transition: width 1.5s ease-in-out;
}

/* Process Section */
.process-steps {
  position: relative;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.step-number {
  background-color: var(--primary);
  color: var(--neutral-100);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h4 {
  margin-top: 0;
}

/* Media Section */
.custom-slider {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
}

.slide {
  display: none;
  opacity: 1;
  transition: opacity var(--transition-slow);
}

.slide.active {
  display: block;
  opacity: 1;
}

.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.prev-btn, .next-btn {
  background-color: var(--primary);
  color: var(--neutral-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--primary-dark);
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-content h4 {
  margin-bottom: 0.25rem;
}

.testimonial-content .position {
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
}

/* Resources Section */
.resource-card {
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.resource-card h4 {
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-info {
  height: 100%;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary);
  display: inline-block;
  width: 30px;
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 250px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--neutral-400);
  border-radius: var(--border-radius-md);
  padding: 0.75rem;
  transition: all var(--transition-normal);
}

.contact-form .form-control:focus {
  background-color: var(--neutral-100);
  box-shadow: 0 0 0 3px rgba(78, 87, 212, 0.25);
  border-color: var(--primary);
}

/* Footer Section */
.footer-section {
  background-color: var(--secondary);
  color: var(--neutral-300);
}

.footer-heading {
  color: var(--neutral-100);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: var(--font-weight-bold);
}

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

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

.footer-links a {
  color: var(--neutral-300);
  transition: color var(--transition-normal);
}

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

.social-links a {
  color: var(--neutral-300);
  margin-right: 0.75rem;
  transition: color var(--transition-normal);
}

.social-links a:hover {
  color: var(--primary-light);
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--neutral-100);
  border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
}

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

.footer-bottom {
  color: var(--neutral-400);
}

.footer-bottom a {
  color: var(--neutral-300);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--neutral-200);
}

.success-content {
  text-align: center;
  padding: 3rem;
  max-width: 600px;
}

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

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

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

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

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

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-item {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-item:before {
    left: -30px;
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 575px) {
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Additional Utility Classes */
.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.rounded-glass {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.overflow-hidden {
  overflow: hidden;
}

/* Helper classes for image containers */
.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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