:root {
  
  --primary: #4b6cb7;
  --primary-dark: #3a57a0;
  --primary-light: #6384d3;
  
  
  --secondary: #f9a826;
  --secondary-dark: #e08e0b;
  --secondary-light: #ffc95c;
  
  
  --dark: #1a202c;
  --dark-medium: #2d3748;
  --gray: #718096;
  --light-gray: #e2e8f0;
  --light: #f8fafc;
  
  
  --text-dark: #2d3748;
  --text-light: #f7fafc;
  --text-muted: #718096;
  
  
  --success: #48bb78;
  --warning: #ed8936;
  --error: #e53e3e;
  --info: #4299e1;
  
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 2rem;
  --border-radius-full: 9999px;
  
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  
  
  --z-below: -1;
  --z-normal: 1;
  --z-above: 10;
  --z-header: 100;
  --z-modal: 1000;
  --z-tooltip: 9999;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--fw-bold);
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

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

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

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

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}


.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: var(--text-light) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important; }

.z-index-1 {
  position: relative;
  z-index: var(--z-normal);
}

.divider {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 1rem 0;
}

.divider-light {
  background-color: var(--light);
}

.shadow-hover {
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

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


.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--fw-medium);
  letter-spacing: 0.5px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(75, 108, 183, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  box-shadow: 0 4px 15px rgba(249, 168, 38, 0.4);
}

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

.btn-outline-light:hover {
  background-color: var(--light);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-lg {
  font-weight: var(--fw-semibold);
}

.rounded-pill {
  border-radius: var(--border-radius-full);
}


header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: var(--fw-bold);
}

.navbar-brand img {
  transition: transform var(--transition-normal);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--fw-medium);
  padding: 0.5rem 1rem !important;
  color: var(--light-gray);
  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: white;
}

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


#hero {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

#hero .overlay {
  top: 0;
  left: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: var(--z-below);
}

#hero h1 {
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#hero h2 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#hero p {
  color: var(--light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#particles-js {
  z-index: -1;
}


#about {
  overflow: hidden;
}

#about img {
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal);
}

#about .position-relative:hover img {
  transform: scale(1.02);
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
  border-radius: var(--border-radius-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.position-relative:hover .overlay-gradient {
  opacity: 1;
}

.shape-blob {
  width: 300px;
  height: 300px;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  background-color: rgba(99, 132, 211, 0.1);
  z-index: var(--z-below);
}
#cookie-consent-popup p{
  color: #fff;
}
.shape-blob-1 {
  top: 10%;
  left: -150px;
  animation: blob-movement 25s linear infinite alternate;
}

.shape-blob-2 {
  bottom: 5%;
  right: -100px;
  width: 250px;
  height: 250px;
  animation: blob-movement 30s linear infinite alternate-reverse;
}

@keyframes blob-movement {
  0% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    border-radius: 45% 55% 62% 38% / 53% 51% 49% 47%;
    transform: translate(20px, -30px) rotate(120deg);
  }
  66% {
    border-radius: 73% 27% 46% 54% / 47% 45% 55% 53%;
    transform: translate(-20px, 20px) rotate(240deg);
  }
  100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    transform: translate(0, 0) rotate(360deg);
  }
}


#features {
  position: relative;
}

.feature-card {
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
}

.feature-card .card-image {
  overflow: hidden;
  height: 250px;
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 24px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.blob-animation {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 168, 38, 0.1) 0%, rgba(249, 168, 38, 0) 70%);
  border-radius: 42% 58% 65% 35% / 30% 45% 55% 70%;
  animation: blob-rotate 20s linear infinite;
  z-index: var(--z-below);
  opacity: 0.8;
}

@keyframes blob-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

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

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

.timeline-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-weight: var(--fw-bold);
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(75, 108, 183, 0.2);
}

.timeline-card {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal);
}

.timeline-card:hover {
  box-shadow: var(--shadow-lg);
}

.timeline-card .card-header {
  background-color: var(--primary);
  color: white;
  border-bottom: none;
  padding: 1rem 1.5rem;
}

.timeline-event {
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
}

.timeline-event:last-child {
  border-bottom: none;
}

.timeline-event .time {
  color: var(--primary);
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}

.timeline-event .location {
  color: var(--gray);
  font-style: italic;
  margin-top: 0.5rem;
}

.form-check-input {
  cursor: pointer;
}


.resource-card {
  transition: all var(--transition-normal);
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

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

.resource-list li {
  margin-bottom: 0.75rem;
  position: relative;
}

.resource-list a {
  color: var(--light);
  transition: color var(--transition-normal);
  display: inline-block;
  position: relative;
  padding-left: 1.5rem;
}

.resource-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform var(--transition-normal);
}

.resource-list a:hover {
  color: var(--secondary);
  text-decoration: none;
}

.resource-list a:hover::before {
  transform: translateX(5px);
}

.particles-container {
  z-index: var(--z-below);
}


.team-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: inherit;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}


.shape-blob-3 {
  top: -50px;
  right: -150px;
  animation: blob-movement 30s linear infinite alternate;
  opacity: 0.5;
}

.shape-blob-4 {
  bottom: -100px;
  left: -100px;
  animation: blob-movement 25s linear infinite alternate-reverse;
  opacity: 0.3;
}

.accordion-item {
  border-radius: var(--border-radius-md) !important;
  overflow: hidden;
}

.accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: var(--fw-medium);
  background-color: white;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(75, 108, 183, 0.25);
}

.accordion-button::after {
  background-size: 16px;
}


.faq-accordion .accordion-item {
  margin-bottom: 1rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.faq-accordion .accordion-body {
  padding: 1.5rem;
}


#contact {
  position: relative;
}

.contact-form-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.contact-info .card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.contact-icon {
  width: 100%;
  max-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(75, 108, 183, 0.1);
  color: var(--primary);
  border-radius: 50%;
}

.form-floating > label {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(75, 108, 183, 0.25);
}

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

.shape-blob-5 {
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  animation: blob-movement 40s linear infinite alternate;
  opacity: 0.3;
}

.shape-blob-6 {
  bottom: -150px;
  left: -200px;
  width: 450px;
  height: 450px;
  animation: blob-movement 35s linear infinite alternate-reverse;
  opacity: 0.2;
}


footer {
  padding-top: 5rem;
  p{
    color: #fff;
  }
}

footer .logo {
  margin-bottom: 2rem;
}

.footer-links {
  margin-bottom: 2rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--light);
  text-decoration: none;
}

footer .social-links {
  display: flex;
  gap: 0.5rem;
}

footer .social-links a {
  color: var(--light);
  transition: color var(--transition-normal), transform var(--transition-normal);
  text-decoration: none;
}

footer .social-links a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-card {
  max-width: 600px;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  background-color: white;
  box-shadow: var(--shadow-lg);
}

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


.legal-page {
  padding-top: 100px;
  padding-bottom: 3rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
}


.modal-content {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.modal-header {
  background-color: var(--primary);
  color: white;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}


.card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: none;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--light-gray);
  padding: 1.25rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}


@media (max-width: 992px) {
  .timeline-wrapper::before {
    left: 30px;
  }
  
  .timeline-badge {
    left: 30px;
    transform: translateX(0);
  }
  
  .timeline-card {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-right: 0;
  }
  
  .social-links {
    margin-top: 1rem;
  }
  
  .navbar-collapse {
    background-color: var(--dark);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  #hero {
    text-align: center;
  }
  
  #hero .buttons-container {
    justify-content: center;
  }
  
  .shape-blob {
    display: none;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.5rem 1.5rem;
  }
  
  .timeline-card {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-badge {
    width: 60px;
    height: 60px;
    left: -10px;
  }
  
  .timeline-wrapper::before {
    left: 20px;
  }
}