:root {
  /* Primary Colors */
  --primary-color: #2e86de;
  --primary-dark: #1f60a8;
  --primary-light: #54a0ff;

  /* Secondary Colors */
  --secondary-color: #f39c12;
  --secondary-dark: #d68910;
  --secondary-light: #f8c471;

  /* Pastel Palette */
  --pastel-blue: #aec6cf;
  --pastel-green: #b5e7a0;
  --pastel-yellow: #fffacd;
  --pastel-pink: #ffb6c1;
  --pastel-purple: #d8bfd8;

  /* Neutral Colors */
  --dark: #333333;
  --dark-medium: #555555;
  --medium: #777777;
  --light-medium: #999999;
  --light: #f1f1f1;
  --white: #ffffff;

  /* Functional Colors */
  --success: #4cd137;
  --warning: #fbc531;
  --danger: #e84118;
  --info: #00a8ff;

  /* Shadows and Effects */
  --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);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Styles */
body {
  font-family: 'Merriweather', serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

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

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

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

.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  color: var(--dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--medium);
  margin-bottom: 2rem;
}

/* Button Styles */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(1px);
}

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

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

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

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

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

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

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

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

.btn-lg {
  padding: 12px 30px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
  transition: var(--transition);
  z-index: 1000;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  height: 50px;
  transition: var(--transition);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 8px 16px;
  transition: var(--transition);
}

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

.navbar-toggler {
  border: none;
  padding: 0;
}

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 180px 0 120px;
  color: var(--white);
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
  text-align: left;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

/* Vision Section */
.vision {
  background-color: var(--white);
}

.vision-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.vision-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.vision-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background-color: var(--pastel-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.feature-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

/* Accolades Section */
.accolades {
  background-color: var(--light);
}

.accolade-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.accolade-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.accolade-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.accolade-card p {
  font-size: 1rem;
  color: var(--dark-medium);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--primary-light);
  margin-left: -1.5px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  align-items: center;
}

.timeline-date {
  width: 80px;
  padding: 10px;
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  border-radius: 5px;
  font-weight: 600;
  z-index: 2;
}

.timeline-content {
  flex-grow: 1;
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-left: 20px;
}

.timeline-content h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--dark);
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--dark-medium);
}

/* News Section */
.news-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.news-date {
  color: var(--medium);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.card-text {
  color: var(--dark-medium);
  margin-bottom: 1.5rem;
}

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

/* External Resources Section */
.external-resources {
  background-color: var(--light);
}

.resource-card {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.resource-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.resource-description {
  color: var(--dark-medium);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-card .btn {
  align-self: flex-start;
}

/* Insights Section */
.insights {
  background-color: var(--white);
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.insight-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

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

.insight-content {
  padding: 25px;
}

.insight-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.insight-content p {
  color: var(--dark-medium);
  margin-bottom: 1rem;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.25rem;
  font-weight: 500;
}

/* Events Section */
.events {
  background-color: var(--light);
}

.event-card {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 20px;
}

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

.event-date {
  background: var(--primary-color);
  color: var(--white);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 100px;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.event-content {
  padding: 20px;
  flex-grow: 1;
}

.event-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.event-location {
  color: var(--medium);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.event-location i {
  margin-right: 0.5rem;
}

.event-content p {
  color: var(--dark-medium);
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--white);
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-header {
  border-radius: 10px;
}

.accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark);
  background-color: var(--light);
  padding: 20px 25px;
  border-radius: 10px !important;
  box-shadow: var(--shadow-sm);
}

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

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-size: 1.25rem;
  transition: var(--transition);
}

.accordion-body {
  padding: 20px 25px;
  background-color: var(--white);
  border-top: none;
}

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

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

.contact-info {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-item p {
  margin-bottom: 0.25rem;
  color: var(--dark-medium);
}

.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.form-label {
  font-weight: 500;
  color: var(--dark);
}

.form-control, .form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--light-medium);
  background-color: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 0.25rem rgba(46, 134, 222, 0.25);
}

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

/* Map Section */
.map-section {
  position: relative;
}

.map-container {
  position: relative;
  width: 100%;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.map-search-box {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  max-width: 500px;
}

.map-search-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.map-search-box p {
  margin-bottom: 1.5rem;
  color: var(--dark-medium);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 80px 0 20px;
}

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

.footer-brand img {
  margin-bottom: 1.5rem;
  height: 60px;
}

.footer-brand p {
  color: var(--light-medium);
}

.footer h5 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
}

.footer h5::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  margin-top: 10px;
}

.footer-social {
  margin-top: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

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

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

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

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

.footer-links a {
  color: var(--light-medium);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  color: var(--light-medium);
}

.footer-contact li i {
  margin-right: 10px;
  color: var(--primary-light);
}

.footer-newsletter {
  margin-top: 2rem;
}

.footer-newsletter .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
}

.footer-newsletter .form-control::placeholder {
  color: var(--light-medium);
}

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

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 20px;
}

.footer-bottom {
  font-size: 0.9rem;
}

.footer-bottom p {
  color: var(--light-medium);
  margin-bottom: 0;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-legal li {
  margin-left: 20px;
}

.footer-legal a {
  color: var(--light-medium);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--white);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: var(--white);
  padding: 15px 0;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: 20px;
  color: var(--light);
}

.cookie-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-content .btn {
  white-space: nowrap;
}

/* Additional Pages */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 120px 0 60px;
  position: relative;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-content {
  padding: 80px 0;
}

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

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

.success-content {
  max-width: 600px;
  padding: 40px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--success);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
}

.success-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.success-content p {
  margin-bottom: 2rem;
  color: var(--dark-medium);
}

/* Read More Links */
.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

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

.read-more:hover:after {
  transform: translateX(5px);
}

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

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

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

.animate-fadeInUp {
  animation: fadeInUp 1s ease-out;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero h2 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .vision-content {
    margin-top: 30px;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 15px;
  }
  
  .event-date .day {
    margin-right: 10px;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-content {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
  
  .footer {
    padding: 60px 0 20px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero h2 {
    font-size: 1.4rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-form, 
  .contact-info {
    margin-bottom: 30px;
  }
  
  .map-overlay {
    position: relative;
    background: var(--light);
    padding: 30px 0;
  }
  
  .map-search-box {
    max-width: 100%;
  }
  
  .footer-legal {
    justify-content: flex-start;
    margin-top: 15px;
  }
  
  .footer-legal li {
    margin-left: 0;
    margin-right: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 15px;
  }
}