:root {
  /* Primary Colors */
  --primary: #3a86ff;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  
  /* Secondary Colors */
  --secondary: #7209b7;
  --secondary-dark: #5b0e92;
  --secondary-light: #9d4edd;
  
  /* Accent Colors */
  --accent-1: #ff006e;
  --accent-2: #fb5607;
  --accent-3: #04e762;
  
  /* Neutral Colors */
  --dark: #0a0a0a;
  --dark-gray: #2d3748;
  --medium-gray: #718096;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-gray));
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  --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);
  
  /* Timing */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
}

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;
  border-radius: var(--radius-md);
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  color: var(--medium-gray);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.text-secondary {
  color: var(--secondary) !important;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
}

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

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

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

/* Header */
header {
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  background: linear-gradient(to right, var(--dark), var(--dark-gray));
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all var(--transition-normal);
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

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

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link:focus::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  color: var(--white);
}

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

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

/* Services Section */
.services-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.services-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--gradient-accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

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

/* Process Section */
.process-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
  border-radius: var(--radius-full);
}

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

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  padding-left: 3rem;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  padding-right: 3rem;
  text-align: right;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-marker {
  position: absolute;
  top: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-marker {
  left: calc(50% - 25px);
}

.timeline-item:nth-child(even) .timeline-marker {
  right: calc(50% - 25px);
}

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

.timeline-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* History Section */
.history-section {
  background-color: var(--white);
  position: relative;
}

.history-image-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-content {
  padding: 2rem;
}

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

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

/* Partners Section */
.partners-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.partner-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.partner-card .card-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.partner-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Resources Section */
.resources-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.resource-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

.resource-card h4 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.resource-list {
  list-style: none;
  padding-left: 0;
}

.resource-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.resource-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.resource-list a {
  color: var(--dark-gray);
  transition: color var(--transition-normal);
}

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

/* News Section */
.news-section {
  background-color: var(--white);
}

.news-grid {
  display: grid;
  gap: 2rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: transform var(--transition-normal);
}

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

.news-item .card-image {
  height: 250px;
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.news-date {
  color: var(--medium-gray);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.news-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.events-list {
  display: grid;
  gap: 1.5rem;
}

.event-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

.event-date {
  min-width: 80px;
  padding: 1rem;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-right: 1.5rem;
}

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

.event-date .month {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.event-details {
  flex-grow: 1;
}

.event-details h4 {
  margin-bottom: 0.5rem;
  color: var(--dark);
}

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

/* Behind Scenes Section */
.behind-scenes-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.behind-content {
  padding: 2rem;
}

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

.behind-content p {
  margin-bottom: 1rem;
}

.gallery-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Contact Section */
.contact-section {
  background-color: var(--white);
  position: relative;
}

.contact-info {
  height: 100%;
  padding: 2rem;
}

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

.contact-details {
  margin-bottom: 2rem;
}

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

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

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-container {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-form-container h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  text-align: center;
}

.form-control {
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.3);
}

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

/* Footer */
.footer-section {
  background: linear-gradient(to right, var(--dark), var(--dark-gray));
  color: var(--white);
  position: relative;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-normal);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-normal);
}

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

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  text-align: center;
}

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

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

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

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

/* Privacy & Terms Pages */
.page-content {
  padding-top: 100px;
  min-height: 100vh;
}

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

.page-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  color: var(--dark);
}

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .partner-card .card-image {
    width: 100px;
    height: 100px;
  }
  
  .event-item {
    flex-direction: column;
  }
  
  .event-date {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
    flex-direction: row;
    justify-content: center;
  }
  
  .event-date .day {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}