:root {
  /* Primary Colors - Analogous Color Scheme */
  --primary-color: #3498db;
  --primary-light: #5dade2;
  --primary-dark: #2980b9;
  --secondary-color: #34c6db;
  --secondary-light: #5dd8e2;
  --secondary-dark: #29a0b9;
  --accent-color: #3475db;
  --accent-light: #5d93e2;
  --accent-dark: #2960b9;
  
  /* Neutral Colors */
  --dark: #222222;
  --gray-dark: #333333;
  --gray-medium: #666666;
  --gray-light: #cccccc;
  --light: #f8f9fa;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  
  /* Shadows */
  --shadow-sm: 0 2px 5px 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);
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

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

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

.display-3, .display-4 {
  font-weight: 600;
  margin-bottom: var(--space-md);
}

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

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

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

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.separator {
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin-bottom: var(--space-md);
}

/* Navigation */
.navbar {
  transition: var(--transition-normal);
  padding: var(--space-sm) 0;
}

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

.navbar-brand:hover {
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  color: var(--gray-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

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

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

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

/* Scrolled navbar */
.navbar.scrolled {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-md);
}

/* Hero section */
#hero {
  position: relative;
  overflow: hidden;
}

#hero h1, #hero p {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  z-index: 1;
}

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

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

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

.btn:active {
  transform: translateY(0);
}

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

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

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

/* About Section */
about.html .img-fluid {
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

about.html .img-fluid:hover {
  transform: scale(1.02);
}

.progress {
  height: 10px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-full);
  background-color: var(--gray-light);
}

.progress-bar {
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
}

/* History Section */
.timeline {
  position: relative;
  padding: 0;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  width: 100%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  width: 45%;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-left: auto;
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.timeline-content img {
  border-radius: var(--radius-sm);
}

/* Vision Section */
#vision .img-fluid {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

#vision .img-fluid:hover {
  transform: translateY(-5px);
}

/* Webinars Section */
.card {
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card .h5 {
  color: var(--dark);
  transition: var(--transition-fast);
}

.card:hover .h5 {
  color: var(--primary-color);
}

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

/* Resources Section */
#resources .card-image {
  height: 220px;
}

#resources .card-image img {
  height: 100%;
  object-fit: cover;
}

/* Press Section */
.press-quote {
  transition: var(--transition-normal);
}

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

.press-quote blockquote {
  position: relative;
  padding-left: var(--space-md);
  border-left: 3px solid var(--primary-light);
}

.press-quote img {
  object-fit: cover;
}

/* Contact Section */
.contact-info, .contact-form {
  height: 100%;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.form-control, .form-select {
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

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

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
}

footer h4 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

footer p, footer ul {
  opacity: 0.8;
}

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

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

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

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

/* Cookie Consent */
#cookie-consent {
  background-color: rgba(0, 0, 0, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional Pages */
.page-header {
  padding-top: 100px;
  padding-bottom: var(--space-lg);
  background-color: var(--light);
}

.page-content {
  padding: var(--space-xl) 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 0;
}

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

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-page h2, .privacy-page h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--primary-dark);
}

/* Animation Effects */
.animate-pulse {
  animation: pulse 2s infinite;
}

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

/* Particles */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .timeline:before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .navbar-collapse {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 767.98px) {
  h1.display-3 {
    font-size: 2.5rem;
  }
  
  h2.display-4 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: var(--space-lg) 0;
  }
  
  .timeline-content {
    padding: var(--space-sm);
  }
  
  h1.display-3 {
    font-size: 2rem;
  }
  
  h2.display-4 {
    font-size: 1.75rem;
  }
}

/* Utility Classes */
.bg-light {
  background-color: #f8f9fa !important;
}

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

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

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

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

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.read-more:after {
  content: "→";
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}

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

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

/* Ensure all cards have centered images */
.card, .item, .testimonial, .team-member, .product-card {
  text-align: center;
}

.card-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card img {
  margin: 0 auto;
}