:root {
  /* Color scheme */
  --primary-color: #6a8eae;
  --primary-dark: #4a6e8e;
  --primary-light: #8aaecd;
  --secondary-color: #e6a4b4;
  --secondary-dark: #c68494;
  --secondary-light: #ffc4d4;
  --accent-color: #c3dbc5;
  --accent-dark: #a3bba5;
  --accent-light: #e3fbe5;
  --neutral-color: #f5f5f5;
  --neutral-dark: #e0e0e0;
  --neutral-light: #ffffff;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.05);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
}

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--neutral-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

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

/* Button styles */
.btn, button, input[type='submit'] {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active, button:active, input[type='submit']:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn::after, button::after, input[type='submit']::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

.btn:hover::after, button:hover::after, input[type='submit']:hover::after {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-outline-light {
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Glassmorphism effect */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: all 0.3s ease;
}

.glassmorphism:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Card styles */
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0 auto;
}

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

.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Header styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}

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

/* Hero section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-section .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: 2;
}

.hero-section h1, 
.hero-section p, 
.hero-section .btn {
  color: var(--text-light);
}

/* Features section */
.features-section {
  background-color: var(--neutral-light);
  padding: var(--spacing-xl) 0;
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.features-section .card {
  height: 100%;
}

/* Statistics section */
.statistics-section {
  background-color: var(--neutral-color);
  padding: var(--spacing-xl) 0;
}

.stat-card {
  text-align: center;
}

.stat-icon {
  margin-bottom: var(--spacing-md);
}

.stat-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

.counter {
  color: var(--primary-color);
  font-weight: 700;
}

.stat-title {
  font-size: 1.2rem;
  color: var(--text-dark);
}

/* Vision section */
.vision-section {
  padding: var(--spacing-xl) 0;
}

.vision-img-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.vision-img-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.vision-content {
  padding: var(--spacing-lg);
}

/* Portfolio section */
.portfolio-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--neutral-color);
}

/* Resources section */
.resources-section {
  padding: var(--spacing-xl) 0;
}

/* Contact section */
.contact-section {
  padding: var(--spacing-xl) 0;
}

.contact-form, .contact-info {
  height: 100%;
}

.contact-info ul li {
  margin-bottom: var(--spacing-md);
}

.social-links a {
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer h3, .footer h4, .footer h5 {
  color: var(--text-light);
}

.footer a {
  color: var(--neutral-light);
  transition: color 0.3s ease;
}

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

.footer .social-links a {
  margin-right: var(--spacing-md);
  font-weight: 500;
}

/* Animation utilities */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect */
.parallax-section {
  background-attachment: fixed;
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

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

/* Privacy and Terms pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

/* Progress bars */
.progress {
  height: 10px;
  border-radius: var(--border-radius-sm);
  background-color: var(--neutral-dark);
  margin-top: var(--spacing-md);
}

.progress-bar {
  background-color: var(--primary-color);
  border-radius: var(--border-radius-sm);
}

/* Form elements */
.form-control, .form-select {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--neutral-dark);
  padding: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(106, 142, 174, 0.25);
}

/* Media queries */
@media (max-width: 991.98px) {
  .header {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
  }
  
  .vision-content {
    padding: var(--spacing-lg) 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .btn {
    margin-bottom: var(--spacing-sm);
  }
  
  .section-header {
    margin-bottom: var(--spacing-lg);
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .stat-card {
    margin-bottom: var(--spacing-md);
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .col-md-6 {
    margin-bottom: var(--spacing-lg);
  }
}

/* About page specific styles */
.about-hero {
  min-height: 50vh;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Contact page specific styles */
.contact-hero {
  min-height: 50vh;
}

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

/* Read more links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--spacing-md);
  position: relative;
  padding-right: 1.5rem;
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover::after {
  right: -5px;
}