:root {
  /* Primary Colors */
  --primary-color: #6200ea;
  --primary-light: #9d46ff;
  --primary-dark: #0a00b6;
  
  /* Secondary Colors */
  --secondary-color: #00bcd4;
  --secondary-light: #62efff;
  --secondary-dark: #008ba3;
  
  /* Gradient Colors */
  --gradient-start: #6200ea;
  --gradient-mid: #9d46ff;
  --gradient-end: #00bcd4;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --bg-glass: rgba(255, 255, 255, 0.15);
  
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  
  /* Card Effects */
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --card-hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  
  /* Spacing */
  --section-spacing: 100px;
  --element-spacing: 2rem;
  
  /* Border Radius */
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Effect */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-medium);
}

.glassmorphism:hover {
  box-shadow: 0 15px 40px rgba(31, 38, 135, 0.5);
  transform: translateY(-5px);
}

/* Volumetric UI Elements */
.card, .btn, .form-control {
  box-shadow: var(--card-shadow);
  transition: var(--transition-medium);
}

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

/* Button Styles */
.btn {
  font-weight: 500;
  border: none;
  padding: 0.8rem 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
  color: var(--text-light);
  transform: translateY(-3px);
}

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

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transform: translateY(-3px);
}

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

.btn-rounded {
  border-radius: 50px;
}

/* Header/Navigation */
header {
  padding: 1rem 0;
  transition: var(--transition-medium);
  z-index: 1000;
}

.navbar {
  padding: 0.5rem 1rem;
}

.navbar-brand {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: var(--transition-fast);
}

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

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

.fixed-top {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.hero-section:before {
  content: '';
  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.3));
}

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

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero-section .btn {
  animation: fadeInUp 1.4s ease;
}

.stats-widget {
  animation: fadeIn 1.6s ease;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-image-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.about-image-container img {
  transition: var(--transition-medium);
  transform: scale(1);
}

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

.about-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
}

.card {
  height: 100%;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  flex: 1;
}

/* Workshops Section */
.workshops-section {
  padding: 5rem 0;
}

.workshop-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workshop-toggle {
  margin-top: auto;
}

.form-switch .form-check-input {
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

.workshop-carousel {
  height: 100%;
}

.carousel-item {
  padding: 1rem 0;
}

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

.workshop-card h4 {
  margin: 1rem 0;
  font-size: 1.5rem;
}

.workshop-details {
  margin-top: 1rem;
  color: var(--text-muted);
}

.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.carousel-control-prev {
  left: -1.5rem;
}

.carousel-control-next {
  right: -1.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* Events Section */
.events-section {
  padding: 5rem 0;
}

.events-calendar {
  height: 100%;
}

.calendar-header {
  margin-bottom: 1.5rem;
}

.calendar-header h4 {
  margin-bottom: 0;
}

.table th, .table td {
  text-align: center;
  padding: 0.5rem;
}

.event-day {
  background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
  color: var(--text-light);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.upcoming-events h5 {
  margin-bottom: 1rem;
}

.list-group-item {
  border: none;
  padding: 0.75rem 0;
}

.list-group-item:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Resources Section */
.resources-section {
  padding: 5rem 0;
}

/* Careers Section */
.careers-section {
  padding: 5rem 0;
}

.careers-content {
  height: 100%;
}

.careers-stats {
  margin-top: 2rem;
}

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

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
  color: var(--text-light);
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-info {
  height: 100%;
}

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

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

.contact-content h4 {
  margin-bottom: 0.5rem;
}

.contact-content p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control {
  padding: 1.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

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

/* Footer */
.footer-section {
  padding: 5rem 0 2rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.social-links a {
  color: var(--text-light);
  margin-right: 1rem;
  transition: var(--transition-fast);
}

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

.footer-links h4, 
.footer-newsletter h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.input-group {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.input-group .form-control {
  background: transparent;
  border: none;
  color: var(--text-light);
}

.input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-group .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

hr {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  background-color: rgba(0, 0, 0, 0.9) !important;
  color: var(--text-light);
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
}

.success-icon {
  font-size: 5rem;
  color: #4CAF50;
  margin-bottom: 2rem;
}

/* Content Pages (Privacy, Terms) */
.content-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.content-page h1 {
  margin-bottom: 2rem;
}

.content-page h2 {
  margin: 2.5rem 0 1.5rem;
}

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

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

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

/* Utility Classes */
.rounded-pill {
  border-radius: 50px !important;
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    margin-top: 1rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 768px) {
  .stat-item h3 {
    font-size: 2rem;
  }
  
  .about-image-container {
    margin-bottom: 2rem;
  }
  
  .footer-section [class^="col-"] {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Card Container Styles */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.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;
}

.card-content {
  padding: 1.5rem;
  text-align: center;
  width: 100%;
}

/* Image Container Styles for all sections */
.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

/* Ensure all background images have proper settings */
[style*="background-image"] {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Make sure hero text is always white */
.hero-section h1,
.hero-section p,
.hero-section .btn-outline-light {
  color: var(--text-light) !important;
}

/* Adjust padding for content pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

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

/* Add hover effects to "Read More" links */
.read-more {
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.read-more:after {
  content: '→';
  position: absolute;
  opacity: 0;
  right: -15px;
  transition: all 0.3s ease;
}

.read-more:hover {
  padding-right: 20px;
}

.read-more:hover:after {
  opacity: 1;
  right: 0;
}

/* Style for social media links in footer */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-light);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-3px);
}