:root {
  /* Color palette */
  --color-primary: #3a7bd5;
  --color-primary-dark: #2c5fb0;
  --color-primary-light: #5a94e0;
  --color-secondary: #6c757d;
  --color-secondary-dark: #565e64;
  --color-success: #28a745;
  --color-success-dark: #218838;
  --color-info: #17a2b8;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  
  /* Neutral colors */
  --color-dark: #343a40;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;
  
  /* Typography */
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  /* Neomorphism shadows */
  --shadow-light: 5px 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-dark: -5px -5px 15px rgba(255, 255, 255, 0.1);
  --shadow-inset-light: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-inset-dark: inset -2px -2px 5px rgba(255, 255, 255, 0.05);
  
  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Transitions */
  --transition-slow: 0.5s ease;
  --transition-medium: 0.3s ease;
  --transition-fast: 0.15s ease;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  color: var(--color-gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--color-gray-100);
}

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

p {
  margin-bottom: 1.5rem;
}

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

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

.section-header {
  margin-bottom: 3rem;
}

.display-3, .display-4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Adaptive Typography */
@media (max-width: 576px) {
  .display-3 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Navigation */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
  z-index: 1000;
}

.header.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

/* Neomorphic Cards */
.neomorphic-card {
  background-color: var(--color-gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light), var(--shadow-dark);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  height: 100%;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.13), -7px -7px 20px rgba(255, 255, 255, 0.13);
}

.card-image {
  width: 100%;
  text-align: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

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

.card-content {
  padding: 1.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

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

.hero-section h1 {
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  margin-bottom: 2rem;
  font-size: 1.3rem;
  max-width: 800px;
}

.hero-buttons {
  margin-top: 2rem;
}

/* Button Styles */
.btn {
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn:hover::before {
  transform: translateX(100%);
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

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

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-link {
  padding: 0;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.btn-link:hover, .btn-link:focus {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.btn-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

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

/* Methodology Section */
.methodology-section {
  padding: 5rem 0;
}

/* Statistics Section */
.statistics-section {
  padding: 5rem 0;
  background-color: var(--color-gray-100);
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 1rem;
  color: var(--color-gray-600);
}

.graph-container {
  height: 100%;
}

.graph-placeholder {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

/* Process Section */
.process-section {
  padding: 5rem 0;
}

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

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

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--color-primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem 1rem 0;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 1rem 0 1rem 2.5rem;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 50%;
  top: 1.5rem;
  right: -10px;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-light);
}

/* Projects Section */
.projects-section {
  padding: 5rem 0;
  background-color: var(--color-gray-100);
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.project-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.resource-links {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

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

.resource-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-primary);
  transition: color var(--transition-medium);
  position: relative;
}

.resource-links a::before {
  content: '→';
  margin-right: 0.5rem;
  transition: transform var(--transition-medium);
  display: inline-block;
}

.resource-links a:hover {
  color: var(--color-primary-dark);
}

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

/* Workshops Section */
.workshops-section {
  padding: 5rem 0;
  background-color: var(--color-gray-100);
}

.workshop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.workshop-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-date {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.workshop-details {
  margin-top: 1.5rem;
}

.workshop-details .location,
.workshop-details .price {
  color: var(--color-gray-700);
  font-size: 0.9rem;
}

.workshops-calendar {
  margin-top: 3rem;
}

.workshops-calendar table {
  width: 100%;
}

.workshops-calendar th {
  font-weight: 600;
  color: var(--color-gray-800);
}

/* Webinars Section */
.webinars-section {
  padding: 5rem 0;
}

.webinar-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.webinar-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webinar-date {
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.webinar-details {
  margin-top: 1.5rem;
}

.webinar-details .time,
.webinar-details .presenter,
.webinar-details .duration,
.webinar-details .access {
  color: var(--color-gray-700);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.webinar-archives {
  margin-top: 3rem;
}

.archive-item {
  padding: 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
}

.archive-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Blog Section */
.blog-section {
  padding: 5rem 0;
  background-color: var(--color-gray-100);
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card .card-image {
  height: 220px;
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-meta {
  display: flex;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  margin-bottom: 1rem;
}

.blog-meta .date {
  margin-right: 1rem;
}

.blog-meta .category {
  position: relative;
  padding-left: 1rem;
}

.blog-meta .category::before {
  content: '•';
  position: absolute;
  left: 0;
}

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

.contact-info {
  height: 100%;
}

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

.contact-item p {
  margin-bottom: 0.5rem;
}

.contact-map {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.contact-form {
  height: 100%;
}

.form-control {
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-300);
  padding: 0.75rem 1rem;
  transition: all var(--transition-medium);
  background-color: var(--color-white);
  box-shadow: var(--shadow-inset-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

.form-select {
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-300);
  padding: 0.75rem 1rem;
  transition: all var(--transition-medium);
  background-color: var(--color-white);
  box-shadow: var(--shadow-inset-light);
}

.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

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

.form-check-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(58, 123, 213, 0.25);
}

/* Footer */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer p {
  color: var(--color-gray-400);
}

.footer a {
  color: var(--color-gray-300);
  transition: color var(--transition-medium);
}

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

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

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

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 500;
  transition: all var(--transition-medium);
}

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

.newsletter-form .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

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

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem;
}

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

/* Animation Classes */
.animate-on-scroll {
  /*opacity: 0;*/
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Additional Pages */
.page-content {
  padding-top: 100px;
  padding-bottom: 5rem;
}

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

.success-page .card {
  max-width: 600px;
  margin: 0 auto;
}

/* Media Queries */
@media (max-width: 992px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 70px;
  }
  
  .timeline-dot {
    left: 21px;
    right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .hero-section .lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.6rem 1.2rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
}

/* Read More Link Styles */
.btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  padding: 0;
  transition: all var(--transition-medium);
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-medium);
}

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

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

/* Image Containers Consistent Styling */
.card-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

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

/* All Cards Consistent Styling */
.card, .neomorphic-card, .stat-card, .project-card, 
.workshop-card, .webinar-card, .blog-card, .resource-card, 
.archive-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  width: 100%;
}

/* Ensure all form elements have consistent styling */
input, textarea, select, .form-control, .form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--border-radius);
}

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

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

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

/* Terms and Privacy pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: 5rem;
}

.terms-page h2, .privacy-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-gray-800);
}

.terms-page p, .privacy-page p {
  margin-bottom: 1.5rem;
  color: var(--color-gray-700);
}

/* Fix for form elements on mobile */
@media (max-width: 576px) {
  .form-control, .form-select, .btn {
    font-size: 16px;  /* Prevents zoom on iOS */
  }
}