/* Global Variables */
:root {
  /* Primary Colors */
  --primary-color: #8ecae6;
  --primary-color-dark: #219ebc;
  --primary-color-light: #c8e7f5;
  
  /* Secondary Colors */
  --secondary-color: #ffb5a7;
  --secondary-color-dark: #f8978e;
  --secondary-color-light: #ffd8d0;
  
  /* Accent Colors */
  --accent-color: #ffd166;
  --accent-color-dark: #e5b93e;
  --accent-color-light: #ffe7a8;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f7f9fc;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Shadows for Neomorphism */
  --shadow-light: 6px 6px 12px rgba(190, 200, 210, 0.4);
  --shadow-dark: -6px -6px 12px rgba(255, 255, 255, 0.8);
  --inner-shadow: inset 2px 2px 5px rgba(190, 200, 210, 0.4), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Fonts */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Border Radius */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --border-radius-full: 50%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary-color-dark);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

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

/* Typography Utilities */
.text-center {
  text-align: center;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.section-title {
  position: relative;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.title-underline {
  display: block;
  width: 80px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

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

/* Layout Utilities */
.section-padding {
  padding: var(--space-xl) 0;
}

.bg-light-gradient {
  background: linear-gradient(135deg, var(--neutral-200), var(--primary-color-light) 50%, var(--neutral-200));
}

/* Neomorphic Elements */
.neomorphic-card {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 16px rgba(190, 200, 210, 0.5), -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.neomorphic-image-container {
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: var(--space-sm);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.neomorphic-slider {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.neomorphic-accordion .accordion-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light), var(--shadow-dark);
  background-color: var(--neutral-200);
}

.neomorphic-accordion .accordion-button {
  background-color: var(--neutral-200);
  color: var(--neutral-800);
  box-shadow: none;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: var(--space-md);
}

.neomorphic-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color-dark);
  background-color: var(--neutral-200);
  box-shadow: var(--inner-shadow);
}

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

.neomorphic-accordion .accordion-body {
  background-color: var(--neutral-200);
  padding: var(--space-md);
}

.neomorphic-timeline {
  position: relative;
  padding: var(--space-md) 0;
}

.neomorphic-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color-light), var(--accent-color-light));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-item::before {
  content: attr(data-date);
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--accent-color);
  color: var(--neutral-900);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  transform: translateY(-50%);
}

.neomorphic-stat-card {
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  text-align: center;
  transition: all var(--transition-medium);
}

.neomorphic-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 16px rgba(190, 200, 210, 0.5), -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.stat-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-sm);
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  overflow: hidden;
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-color-dark);
  margin-bottom: var(--space-xs);
}

.stat-title {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--neutral-700);
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

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

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--neutral-900);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header and Navigation */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all var(--transition-medium);
}

.navbar {
  padding: 1rem 0;
  transition: all var(--transition-medium);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color-dark);
  transition: all var(--transition-fast);
}

.navbar-brand:hover {
  color: var(--accent-color-dark);
  transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--neutral-700);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: width var(--transition-fast);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link:focus::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color-dark);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(33, 158, 188, 0.7), rgba(255, 209, 102, 0.7));
  z-index: -1;
}

.hero-section h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.parallax-section {
  background-attachment: fixed;
}

/* Vision Section */
.vision-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--neutral-700);
}

/* Success Stories Section */
.success-story .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.success-story .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.story-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--neutral-700);
}

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

.slider-container {
  display: flex;
  transition: transform var(--transition-medium);
}

.slide {
  min-width: 100%;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide .image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.slide .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.slide-content {
  text-align: center;
  width: 100%;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.prev-btn, .next-btn {
  background-color: var(--neutral-200);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--neutral-700);
  transition: all var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
  color: var(--primary-color-dark);
  box-shadow: var(--inner-shadow);
  transform: scale(0.98);
}

/* Resource Cards */
.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.resource-card .card-content {
  text-align: center;
}

/* News Section */
.news-card {
  height: 100%;
}

.news-card .card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
  margin: 0 auto;
}

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

.news-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-color);
  color: var(--neutral-900);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
}

.news-card .card-content {
  padding: var(--space-sm);
  text-align: center;
}

.news-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.news-card p {
  margin-bottom: var(--space-sm);
}

.news-card .btn {
  margin-top: auto;
}

/* Contact Section */
.contact-info {
  margin-bottom: var(--space-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.info-item i {
  margin-right: var(--space-sm);
  color: var(--primary-color-dark);
}

.map-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-top: var(--space-md);
}

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

.contact-form .form-control {
  background-color: var(--neutral-200);
  border: none;
  padding: var(--space-sm);
  border-radius: var(--border-radius-md);
  box-shadow: var(--inner-shadow);
  transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
  box-shadow: var(--inner-shadow), 0 0 0 3px var(--primary-color-light);
  outline: none;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--neutral-700);
}

/* Footer Section */
.footer-section {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--space-xl) 0;
  position: relative;
}

.footer-title {
  font-size: 1.5rem;
  color: var(--neutral-200);
  margin-bottom: var(--space-md);
}

.footer-description {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

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

.footer-links a:hover {
  color: var(--primary-color-light);
  transform: translateX(5px);
  display: inline-block;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

.footer-social li {
  margin-right: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.footer-social a {
  color: var(--neutral-300);
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  color: var(--neutral-200);
  background-color: var(--primary-color-dark);
  transform: translateY(-3px);
}

.footer-newsletter {
  margin-top: var(--space-md);
}

.footer-newsletter h4 {
  color: var(--neutral-200);
  margin-bottom: var(--space-sm);
}

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--neutral-200);
  padding: 0.75rem 1rem;
}

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

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

.footer-copyright {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color-dark);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: var(--neutral-900);
  transform: translateY(-5px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Page Specific Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  text-align: center;
  max-width: 800px;
  padding: var(--space-lg);
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-light), var(--shadow-dark);
}

.privacy-page, .terms-page {
  padding-top: 100px;
}

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

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

/* Media Queries */
@media (max-width: 992px) {
  .navbar-nav {
    background-color: rgba(255, 255, 255, 0.95);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .neomorphic-timeline::before {
    left: 20px;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .custom-slider .slide {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .neomorphic-timeline::before {
    display: none;
  }
  
  .timeline-item {
    margin-left: 0;
  }
 
}
.info-item.mb-3{
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  :root {
    --space-xl: 2rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .footer-social {
    flex-direction: column;
  }
  
  .footer-social li {
    margin-right: 0;
  }
}