:root {
  /* Core Color Palette - Analog color scheme */
  --primary-color: #2f6df3;
  --primary-dark: #1e4dbd;
  --primary-light: #5b8df9;
  --secondary-color: #3c94e9;
  --secondary-dark: #2a73c2;
  --secondary-light: #69b0f9;
  --accent-color: #2db8ee;
  --accent-dark: #1695c8;
  --accent-light: #5ecdf7;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f8f9fa;
  --neutral-300: #e9ecef;
  --neutral-400: #dee2e6;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 50%;
  
  /* Shadows */
  --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);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index layers */
  --z-index-nav: 1000;
  --z-index-modal: 2000;
  --z-index-toast: 3000;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--neutral-900);
}

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

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

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

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

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--neutral-600);
  margin-bottom: var(--space-lg);
}

/* ====================
   Buttons
   ==================== */
.btn, 
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn:hover, 
button:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn:active, 
button:active,
input[type="submit"]:active {
  transform: translateY(-1px);
}

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

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

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

.btn-outline-light:hover {
  background-color: var(--neutral-100);
  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: white;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.125rem;
}

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

/* ====================
   Header / Navigation
   ==================== */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  z-index: var(--z-index-nav);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

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

/* ====================
   Hero Section
   ==================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 5rem;
  color: white;
}

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

.hero h1, .hero p {
  color: white;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

/* ====================
   Features Section
   ==================== */
.features {
  padding: var(--space-xxl) 0;
}

.feature-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

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

.card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.card-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card-text {
  color: var(--neutral-700);
  margin-bottom: var(--space-md);
}

/* ====================
   History Section with Timeline
   ==================== */
.history {
  padding: var(--space-xxl) 0;
  background-color: var(--neutral-200);
}

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

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

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

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 3rem 3rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  top: 15px;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -12px;
}

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

.timeline-content {
  padding: var(--space-lg);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  text-align: center;
}

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

.timeline-image-container {
  width: 100%;
  height: 250px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* ====================
   Clientele Section
   ==================== */
.clientele {
  padding: var(--space-xxl) 0;
}

.testimonial-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  border: none;
  text-align: center;
}

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

.testimonial-image-container {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.client-position {
  color: var(--neutral-600);
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
}

.rating {
  color: var(--accent-color);
  font-size: 1.25rem;
}

/* ====================
   Statistics Section
   ==================== */
.statistics {
  padding: var(--space-xxl) 0;
  background-color: var(--neutral-200);
}

.stat-card {
  padding: var(--space-lg);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-medium);
  height: 100%;
}

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

.stat-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.stat-title {
  font-size: 1.25rem;
  color: var(--neutral-800);
  margin-bottom: var(--space-sm);
}

.stat-description {
  color: var(--neutral-600);
}

/* ====================
   Resources Section
   ==================== */
.resources {
  padding: var(--space-xxl) 0;
}

.resource-card {
  padding: var(--space-lg);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  height: 100%;
  text-align: center;
}

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

.resource-card h3 {
  margin-bottom: var(--space-md);
}

.resource-card h3 a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

.resource-card p {
  color: var(--neutral-700);
}

/* ====================
   Research Section
   ==================== */
.research {
  padding: var(--space-xxl) 0;
  background-color: var(--neutral-200);
}

.research-card {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.research-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.research-content p {
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* ====================
   Webinars Section
   ==================== */
.webinars {
  padding: var(--space-xxl) 0;
}

.webinar-card {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.webinar-image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.webinar-date {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 60px;
  height: 70px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

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

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

.webinar-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.webinar-content p {
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.webinar-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--neutral-600);
  font-size: 0.875rem;
}

/* ====================
   Contact Section
   ==================== */
.contact {
  padding: var(--space-xxl) 0;
  background-color: var(--neutral-200);
}

.contact-info {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-method .icon {
  width: 50px;
  height: 50px;
  margin-right: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method .content {
  flex-grow: 1;
}

.contact-method h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.contact-method p {
  margin-bottom: 0;
}

.contact-hours {
  margin-top: var(--space-lg);
}

.contact-hours h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  font-size: 1.25rem;
}

.contact-form-container {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

.form-control, .form-select {
  border: 1px solid var(--neutral-400);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

/* ====================
   Footer
   ==================== */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-200);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-title {
  color: var(--neutral-100);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-description {
  color: var(--neutral-400);
  margin-bottom: var(--space-lg);
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--neutral-400);
  transition: color var(--transition-fast);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.social-links a {
  color: var(--neutral-400);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.newsletter-form .input-group {
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.footer-divider {
  border-color: var(--neutral-700);
  margin: var(--space-lg) 0;
}

.copyright {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

/* ====================
   Cookie Consent
   ==================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--neutral-800);
  color: var(--neutral-100);
  padding: var(--space-md);
  z-index: var(--z-index-toast);
  display: none;
  box-shadow: var(--shadow-lg);
}

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: var(--space-md);
  color: var(--neutral-300);
}

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

.success-content {
  max-width: 600px;
  padding: var(--space-xl);
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.success-message {
  margin-bottom: var(--space-lg);
}

/* ====================
   Terms & Privacy Pages
   ==================== */
.content-page {
  padding-top: 100px;
  padding-bottom: var(--space-xxl);
}

.content-container {
  background-color: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.content-title {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
  font-size: 2rem;
}

.content-subtitle {
  color: var(--neutral-800);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

/* ====================
   Animations
   ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-medium) forwards;
}

.slide-up {
  animation: slideUp var(--transition-medium) forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* ====================
   Media Queries
   ==================== */
@media (max-width: 991.98px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 18px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.125rem;
  }
  
  .hero {
    padding: 7rem 0 4rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .contact-method .icon {
    margin-right: 0;
    margin-bottom: var(--space-sm);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 767.98px) {
  .counter {
    font-size: 2rem;
  }
  
  .stat-title {
    font-size: 1.125rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p.lead {
    font-size: 1.125rem;
  }
  
  .webinar-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .card-image,
  .timeline-image-container,
  .research-image,
  .webinar-image {
    height: 200px;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .card-body,
  .timeline-content,
  .webinar-content,
  .research-content {
    padding: var(--space-md);
  }
  
  .contact-form-container,
  .contact-info {
    padding: var(--space-md);
  }
  
  .webinar-date {
    width: 50px;
    height: 60px;
  }
  
  .webinar-date .day {
    font-size: 1.25rem;
  }
  
  .webinar-date .month {
    font-size: 0.75rem;
  }
}
*{
  opacity: 1 !important;
}
html,body{
  overflow-x: hidden;
}