/* Local font faces */
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter Semi Bold 600.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../font/Inter Semi Bold Italic 600.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Design system: tweak these to re-theme the site */
:root {
  --color-primary: #22C55E; /* Primary brand green */
  --color-secondary: #6c757d; /* Secondary */
  --color-accent: #20c997; /* Optional accent */
  --color-text: #212529; /* Body text */
  --color-background: #ffffff; /* Page background */
  --color-surface: #f8f9fa; /* Section background */
  --fallback-surface: #ffffff; /* Friendly fallback surface color */
  --video-overlay: rgba(255, 255, 255, 0.836); /* White overlay for background videos */

  --radius-base: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1);

  /* Map to Bootstrap CSS variables */
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: 34, 197, 94; /* for components using RGB */
  --bs-secondary: var(--color-secondary);
  --bs-body-color: var(--color-text);
  --bs-body-bg: var(--color-background);
}

/* Global base */
html, body {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  background-color: var(--color-background);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* Offset for fixed navbar so top content isn't hidden */
  padding-top: 96px;
  overflow-x: hidden;
}

@media (max-width: 991.98px) {
  body { padding-top: 88px; }
}

@media (max-width: 575.98px) {
  body { padding-top: 80px; }
}

.bg-surface {
  background-color: var(--color-surface) !important;
}

/* Sections */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
  
.hero-section {
  padding-top: 9rem; /* extra space below fixed navbar */
}

.hero-slim {
  padding-top: 12rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
  .hero-slim { padding-top: 8rem; }
}

@media (max-width: 575.98px) {
  .hero-slim { padding-top: 7.5rem; }
}

.hero-title {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
}

/* Navbar behavior */
.navbar.fixed-top {
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}
.mega-dropdown { background: #fff; }
.mega-card img { height: 160px; object-fit: cover; border-top-left-radius: .5rem; border-top-right-radius: .5rem; }
.mega-card { transition: transform .2s ease, box-shadow .2s ease; border-radius: .5rem; }
.mega-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.mega-links .mega-link { display: grid; grid-template-columns: 36px 1fr; gap: .75rem; align-items: start; padding: .6rem .75rem; border-radius: .5rem; text-decoration: none; color: inherit; }
.mega-links .mega-link:hover { background: #f8fafc; }
.mega-links .mega-icon { width: 36px; height: 36px; border-radius: .5rem; display: grid; place-items: center; background: #f1f5f9; color: #334155; }
.mega-panel .card-body { text-align: left; }
/* Ensure mega menu is centered under navbar container, not aligned to trigger */
.navbar .dropdown.position-static .dropdown-menu.mega-dropdown {
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

/* Open mega menu on hover for lg+ screens */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
  .navbar .dropdown-toggle::after { display: none; }
}

.navbar.navbar-scrolled {
  box-shadow: var(--shadow-sm);
}

/* Logo size transitions */
.navbar-logo {
  transition: height 0.3s ease, width 0.3s ease;
}

.navbar-logo.scrolled {
  height: 32px !important;
  width: auto;
}

/* Placeholders */
.placeholder {
  border: 2px dashed var(--color-secondary);
  border-radius: var(--radius-base);
  background-color: rgba(108, 117, 125, 0.05);
  display: grid;
  place-items: center;
}

.placeholder .placeholder-content {
  color: var(--color-secondary);
  font-weight: 600;
  opacity: 0.8;
}

/* Buttons (optional accent) */
.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-accent);
  --bs-btn-border-color: var(--color-accent);
  --bs-btn-hover-bg: color-mix(in srgb, var(--color-accent) 85%, black 15%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--color-accent) 85%, black 15%);
  --bs-btn-focus-shadow-rgb: 32, 201, 151;
}

/* Force Bootstrap primary utilities to use brand green */
.text-primary { color: var(--color-primary) !important; }
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: color-mix(in srgb, var(--color-primary) 85%, black 15%);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--color-primary) 85%, black 15%);
  --bs-btn-active-bg: color-mix(in srgb, var(--color-primary) 75%, black 25%);
  --bs-btn-active-border-color: color-mix(in srgb, var(--color-primary) 75%, black 25%);
  --bs-btn-disabled-bg: var(--color-primary);
  --bs-btn-disabled-border-color: var(--color-primary);
}
.btn-outline-primary {
  --bs-btn-color: var(--color-primary);
  --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: var(--color-primary);
  --bs-btn-active-bg: color-mix(in srgb, var(--color-primary) 85%, black 15%);
  --bs-btn-active-border-color: color-mix(in srgb, var(--color-primary) 85%, black 15%);
}

/* Cards */
.card {
  border-radius: var(--radius-base);
  border-width: 0;
}

/* Footer links */
footer a.link-secondary:hover {
  color: var(--color-primary) !important;
}

/* HOW WE DO IT? Alternating timeline (years replaced by headings) */
.timeline { position: relative; margin-top: 1.5rem; }
.timeline:before { content: ''; position: absolute; top: 10px; left: 50%; margin-left: -1px; width: 2px; height: 97%; background-color: #cad2d6; }
.timeline__block { position: relative; margin: 42px 0; padding-left: 15px; }
.timeline__block:after { content: ""; display: table; clear: both; }
.timeline__midpoint { position: absolute; top: 6px; left: 50%; margin-left: -8px; width: 16px; height: 16px; border-radius: 50%; background-color: #22C55E; }
.timeline__midpoint:before { content: ""; position: absolute; top: 50%; left: 16px; width: 40px; border-top: 1px solid #c5e1ec; }
.timeline__midpoint:after { content: ""; position: absolute; top: 50%; right: 16px; width: 40px; border-top: 1px solid #c5e1ec; }
.timeline__content { position: relative; width: 50%; }
.timeline__content .timeline__heading { color: #22C55E; font-weight: 700; margin-bottom: .25rem; }
.timeline__content--left { float: left; text-align: right; padding-right: 25px; }
.timeline__content--right { float: right; left: 11%; }
.timeline__text--left { text-align: right; }
.timeline__text--right { text-align: left; }

@media (max-width: 991.98px) {
  .timeline:before { left: 8px; margin-left: 0; }
  .timeline__midpoint { left: 8px; margin-left: -8px; }
  .timeline__midpoint:before, .timeline__midpoint:after { display: none; }
  .timeline__content { width: auto; margin-left: 28px; float: none; text-align: left; padding-right: 0; }
  .timeline__content--right { left: 0; }
  .timeline__text--left, .timeline__text--right { text-align: left; }
}

/* Utilities */
.text-accent { color: var(--color-accent) !important; }
.bg-accent { background-color: var(--color-accent) !important; }

/* Navbar */
.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d9f4d0, #22C55E);
  border: 2px solid #e6f4ea;
}

/* Navbar menu: modern hover underline */
.navbar .nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--color-primary);
}
.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after,
.navbar .nav-link.active::after {
  width: 60%;
}

/* Multi-level dropdown support */
.navbar .dropdown-menu {
  border-radius: .5rem;
  box-shadow: var(--shadow-sm);
}

.navbar .dropdown-submenu {
  position: relative;
}

.navbar .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: .1rem;
  margin-right: .1rem;
}

@media (max-width: 991.98px) {
  .navbar .dropdown-submenu > .dropdown-menu {
    left: 0;
    right: 0;
    margin: 0;
  }
}

/* Media cards (webinars) */
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.media-thumb {
  border: 0;
  background: var(--fallback-surface, #ffffff);
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: filter 0.3s ease;
}

.img-cover:hover {
  filter: brightness(1.08) saturate(1.15);
}

.media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.media-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.75rem;
  color: #fff;
}

.media-caption .title {
  font-weight: 600;
}

.media-caption .subtitle {
  opacity: 0.8;
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffffcc;
  border: none;
  cursor: pointer;
}

.play-btn::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--color-primary);
}

/* Experience section */
.stats .display-6 {
  line-height: 1;
}

/* (Services section removed) */


/* Experts & Why sections */
.why-list li {
  position: relative;
  padding-left: 1.25rem;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 16px;
  border-radius: 2px;
  background: var(--color-primary);
}

/* Why section image styling */
.why-section-image {
  background-color: #e9ecef;
  transition: transform 0.3s ease, ;
  overflow: hidden;
  border-radius: 1rem;
}

.why-section-image:hover {
  transform: translateY(-5px) scale(1.05);
  border-radius: 1rem;
  
  
}

.why-section-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  z-index: 1;
}

.why-section-image:hover::before {
  transform: scale(1.1);
  border-radius: 1rem;
  filter: brightness(1.06) saturate(1.2);
}

/* Why accordion styling to resemble vertical markers */
.why-accordion .accordion-item {
  border: none;
  border-left: 4px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  background: transparent;
}
.why-accordion .accordion-button {
  padding-left: 0.75rem;
  background: transparent;
  box-shadow: none;
}
.why-accordion .accordion-button::after { filter: grayscale(1); }
.why-accordion .accordion-button:not(.collapsed) {
  color: var(--color-text);
  background: transparent;
}
.why-accordion .accordion-item:first-child { border-left-color: var(--color-primary); }

.expert-card .ratio { box-shadow: var(--shadow-sm); }
.expert-card.with-overlay .ratio { box-shadow: 0 16px 40px rgba(0,0,0,0.2); }

.expert-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.8) 100%);
}
.expert-info {
  position: absolute; left: 1rem; right: 1rem; top: 1rem; color: #fff;
  z-index: 2;
}
.expert-name { 
  font-weight: 700; 
  margin-bottom: 0.25rem;
}
.expert-title { 
  opacity: 0.9; 
  font-size: 0.875rem;
}

.expert-cta {
  position: absolute; right: 1rem; bottom: 1rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-primary);
  display: grid; place-items: center; text-decoration: none;
  z-index: 2;
}
.expert-cta::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}

/* Image accordion */
.image-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.image-accordion .ia-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  height: clamp(220px, 30vw, 320px);
  transition: flex 0.35s ease, grid-template-columns 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: var(--shadow-sm);
  background: #e9ecef; /* ensures visible background while image loads */
}

@media (min-width: 992px) {
  .image-accordion {
    display: flex;
  }
  .image-accordion .ia-item {
    flex: 1 1 0;
  }
  .image-accordion .ia-item.active { flex: 2.2 1 0; box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
}

.image-accordion .ia-item .expert-info { opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
.image-accordion .ia-item.active .expert-info { opacity: 1; transform: translateY(0); }
.image-accordion .ia-item:not(.active) .expert-gradient { opacity: 0; }
.image-accordion .ia-item.active .expert-gradient { opacity: 1; }

/* Testimonials */
.testi-swiper {
  overflow: hidden;
  padding-bottom: 2rem;
  min-height: 400px;
}

.testi-swiper .swiper-wrapper {
  min-height: 400px;
}

.testi-swiper .swiper-slide {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  z-index: auto !important;
  width: auto !important;
  pointer-events: auto !important;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.testi-swiper .swiper-slide .row {
  min-height: 400px;
  align-items: center;
}

.testi-quote {
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.8;
  font-weight: 500;
}

/* Responsive testimonial adjustments */
@media (max-width: 1199px) {
  .testi-swiper {
    min-height: 350px;
  }
  
  .testi-swiper .swiper-wrapper {
    min-height: 350px;
  }
  
  .testi-swiper .swiper-slide {
    min-height: 350px;
  }
  
  .testi-swiper .swiper-slide .row {
    min-height: 350px;
  }
  
  .testi-quote {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  }
}

@media (max-width: 991px) {
  .testi-swiper {
    min-height: 300px;
  }
  
  .testi-swiper .swiper-wrapper {
    min-height: 300px;
  }
  
  .testi-swiper .swiper-slide {
    min-height: 300px;
  }
  
  .testi-swiper .swiper-slide .row {
    min-height: 300px;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .testi-swiper .swiper-slide .col-lg-6:last-child {
    margin-top: 0;
  }
  
  .testi-quote {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.7;
  }
}

@media (max-width: 767px) {
  .testi-swiper {
    min-height: 280px;
    padding-bottom: 1.5rem;
  }
  
  .testi-swiper .swiper-wrapper {
    min-height: 280px;
  }
  
  .testi-swiper .swiper-slide {
    min-height: 280px;
  }
  
  .testi-swiper .swiper-slide .row {
    min-height: 280px;
    gap: 1rem;
  }
  
  .testi-quote {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.6;
  }
  
  .testi-prev, .testi-next {
    width: 36px;
    height: 36px;
  }
  
  .testi-prev::before, .testi-next::before {
    margin-top: 11px;
  }
  
  .testi-prev::before {
    border-width: 7px 8px 7px 0;
  }
  
  .testi-next::before {
    border-width: 7px 0 7px 8px;
  }
}

@media (max-width: 575px) {
  .testi-swiper {
    min-height: 250px;
  }
  
  .testi-swiper .swiper-wrapper {
    min-height: 250px;
  }
  
  .testi-swiper .swiper-slide {
    min-height: 250px;
  }
  
  .testi-swiper .swiper-slide .row {
    min-height: 250px;
    gap: 0.75rem;
  }
  
  .testi-quote {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    line-height: 1.5;
  }
  
  .testi-controls {
    margin-top: 1rem;
  }
}

/* Testimonial video responsive styling */
.testimonial-video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 9:6 (3:2) aspect ratio */
  background: var(--fallback-surface, #ffffff);
  border-radius: 0.75rem;
}

.testimonial-video-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Responsive adjustments for testimonial videos */
@media (max-width: 991px) {
  .testimonial-video-container {
    padding-bottom: 66.67%; /* keep 3:2 on tablets */
    margin: 0 auto;
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .testimonial-video-container {
    padding-bottom: 66.67%; /* keep 3:2 on mobile */
    max-width: 400px;
  }
}

@media (max-width: 575px) {
  .testimonial-video-container {
    padding-bottom: 66.67%; /* keep 3:2 on small mobile */
    max-width: 300px;
  }
}

/* Video overlay behavior - always visible */
.media-gradient,
.media-caption,
.play-btn,
.play-btn-primary {
  opacity: 1;
}

/* Hide overlays completely when video is playing */
.is-playing .media-gradient,
.is-playing .media-caption,
.is-playing .play-btn,
.is-playing .play-btn-primary {
  display: none !important;
}

.play-btn-primary {
  width: 64px; height: 64px;
}
.play-btn-primary::before { left: 26px; top: 22px; border-width: 12px 0 12px 18px; }

.testi-prev, .testi-next {
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  border: 2px solid #e0e0e0; 
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testi-prev:hover, .testi-next:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.testi-prev::before, .testi-next::before { 
  content: ''; 
  display: block; 
  width: 0; 
  height: 0; 
  margin: 0 auto; 
  border-style: solid; 
  margin-top: 13px; 
}
.testi-prev::before { 
  border-width: 8px 10px 8px 0; 
  border-color: transparent #666 transparent transparent; 
}
.testi-next::before { 
  border-width: 8px 0 8px 10px; 
  border-color: transparent transparent transparent #666; 
}

.testi-prev:hover::before { 
  border-color: transparent var(--color-primary) transparent transparent; 
}
.testi-next:hover::before { 
  border-color: transparent transparent transparent var(--color-primary); 
}

.testi-controls {
  position: relative;
  z-index: 10;
}

/* FAQ */
.faq-accordion { max-width: 720px; }
.faq-accordion .accordion-item { border: 1px solid #eef1f3; border-radius: 0.5rem; overflow: hidden; margin-bottom: 0.75rem; background: #fff; }
.faq-accordion .accordion-button { background: transparent; box-shadow: none; }
.faq-accordion .accordion-button::after { filter: grayscale(1); }
.faq-accordion .accordion-button:not(.collapsed) { background: transparent; }
.faq-accordion .accordion-collapse.show .accordion-body { position: relative; }
.faq-accordion .accordion-collapse.show { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.faq-accordion .accordion-item:nth-child(1) .accordion-collapse.show {
  background:
    radial-gradient(1200px 80px at 10% 0%, rgba(34,197,94,0.1), transparent 60%),
    linear-gradient(180deg, rgba(34,197,94,0.1), rgba(34,197,94,0));
}

/* Footer dark */
.footer-dark {
  background: #14171F;
}
.footer-dark .text-footer { color: #94a3b8; }
.footer-dark .footer-divider { border: 0; border-top: 1px solid rgba(148,163,184,0.2); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(148,163,184,0.15); color: #cbd5e1; }
.social-btn:hover { color: #fff; background: rgba(148,163,184,0.25); }


/* Scroll Carousel Section */
.scroll-carousel-section {
  background: var(--fallback-surface, #ffffff);
  position: relative;
  overflow: visible;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  margin: 2rem 0;
}

.scroll-carousel-section .container {
  position: relative;
  z-index: 2;
}

.scroll-carousel-section .row {
  align-items: stretch;
  min-height: 80vh;
}

.scroll-carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  pointer-events: none;
}

.scroll-carousel-content {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  min-height: 400px;
}

/* Left Panel Image */
.scroll-carousel-left-image {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  display: block;
}

.left-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.left-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.left-image.active {
  opacity: 1;
}

.scroll-carousel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.scroll-carousel-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22C55E;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.scroll-carousel-line {
  width: 60px;
  height: 2px;
  background: #22C55E;
}

.scroll-carousel-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6c757d;
}

.scroll-carousel-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #212529;
}

.scroll-carousel-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 2rem;
}

.scroll-carousel-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #212529;
}

.feature-item i {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #22C55E;
}

/* Right Panel Scrollable Content */
.scroll-carousel-container {
  height: 600px;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Scroll Indicators */
.scroll-indicators {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.scroll-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
}

.scroll-indicator:hover {
  opacity: 1;
  background: #22C55E;
  color: white;
  transform: scale(1.1);
}

.scroll-indicator i {
  font-size: 1.2rem;
}

.scroll-indicator.scroll-up {
  opacity: 0.3;
}

.scroll-indicator.scroll-down {
  opacity: 0.7;
}

.scroll-indicator.scroll-up:hover {
  opacity: 1;
}

.scroll-indicator.scroll-down:hover {
  opacity: 1;
}

.scroll-carousel-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  height: max-content;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.scroll-carousel-item {
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.scroll-carousel-item.active {
  transform: scale(1.02);
}

.scroll-carousel-item.active .scroll-carousel-card {
  box-shadow: 0 25px 50px rgba(34, 197, 94, 0.15);
  border: 2px solid #22C55E;
}

.scroll-carousel-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.scroll-carousel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.02) 0%, rgba(32, 201, 151, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.scroll-carousel-card:hover::before {
  opacity: 1;
}

.scroll-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.scroll-carousel-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

/* Video Background */
.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.carousel-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.scroll-carousel-card:hover .carousel-video {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.scroll-carousel-card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.scroll-carousel-card-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #212529;
}

.scroll-carousel-card-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6c757d;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .scroll-carousel-section {
    height: auto;
    min-height: 100vh;
  }
  
  .scroll-carousel-container {
    height: 500px;
    margin-top: 2rem;
  }
  
  .scroll-carousel-content {
    text-align: center;
    padding: 1rem 0;
  }
  
  .scroll-carousel-header {
    justify-content: center;
  }
  
  .scroll-carousel-title {
    font-size: clamp(1.25rem, 4vw, 2rem);
  }
  
  .left-image-container {
    height: 250px;
    margin: 0 auto;
    max-width: 400px;
  }
}

@media (max-width: 767.98px) {
  .scroll-carousel-container {
    height: 400px;
  }
  
  .scroll-carousel-track {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .scroll-carousel-card-content {
    padding: 1rem;
  }
  
  .scroll-carousel-card-content h4 {
    font-size: 1.1rem;
  }
  
  .scroll-carousel-card-content p {
    font-size: 0.9rem;
  }
  
  .left-image-container {
    height: 200px;
  }
}

/* Debug and ensure visibility */
.scroll-carousel-section * {
  box-sizing: border-box;
}

.scroll-carousel-section .col-12,
.scroll-carousel-section .col-lg-5,
.scroll-carousel-section .col-lg-7 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.scroll-carousel-left-image {
  margin-top: 2rem;
  position: relative;
  z-index: 1;
  display: block !important;
  visibility: visible !important;
}

.left-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  display: block !important;
  visibility: visible !important;
}

/* Vertical Scroll Features Section */
.vertical-scroll-section {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
  background:white;
  position: relative;
  overflow: visible;
  min-height: auto;
  padding: 4rem 0 0 0;
  margin: 0;
  z-index: 1;
}

.vertical-scroll-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 
              background:white;
  pointer-events: none;
}

/* Section Header */
.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #212529;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.vertical-scroll-container {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: center;
  position: relative;
}

/* Left Content Panel */
.left-content-panel {
  flex-basis: 50%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 10;
}

.content-item {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  padding: 0 60px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  transition: all 0.25s ease;
}

.content-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #22C55E;
  margin-bottom: 1rem;
  opacity: 0.8;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.content-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: #212529;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}

.content-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 1.5rem;
  max-width: 500px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.content-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #212529;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.feature-point i {
  color: #22C55E;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Right Visual Panel */
.right-visual-panel {
  position: sticky;
  top: 0;
  right: 0;
  height: 100vh;
  flex-basis: 50%;
}

.visual-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: 0.25s;
  transform: scale(0.3);
}

.visual-item.active {
  transform: scale(1);
  opacity: 1;
}

/* Video Background */
.visual-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: 1;
}

.visual-fallback {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
  z-index: 2;
  position: relative;
  transition: filter 0.3s ease;
}

.visual-fallback:hover {
  filter: brightness(1.06) saturate(1.15);
}

.visual-item::before {
  position: absolute;
  content: "";
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border: 0;
  z-index: -1;
}

/* YouTube background container for visual items */
.visual-yt {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}
.visual-yt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Solid white overlay with a slightly stronger left fade to hide edges */
  background:
    linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 14%, rgba(255,255,255, var(--video-overlay, 0.6)) 24%),
    var(--video-overlay, rgba(255,255,255,0.6));
  pointer-events: none;
  z-index: 1;
}

/* Make iframe cover full container while preserving aspect ratio */
.visual-yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border: 0;
  z-index: 0;
  pointer-events: none; /* background only */
}

/* Ensure fallback image sits above video */
.visual-fallback { z-index: 2; position: relative; }

/* Responsive Design */
@media (max-width: 1199.98px) {
  .vertical-scroll-container {
    flex-direction: column;
  }
  
  .left-content-panel {
    order: 2;
    flex-basis: 100%;
  }
  
  .right-visual-panel {
    order: 1;
    height: 60vh;
    position: relative;
    flex-basis: 100%;
  }
  
  .content-item {
    height: auto;
    min-height: 60vh;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .content-number {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .content-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
  }
  
  .content-description {
    max-width: 100%;
    font-size: 0.95rem;
  }
  
  .visual-fallback {
    width: 300px;
    height: 300px;
  }
}

/* Mobile/tablet overrides for Our Core Services visuals */
@media (max-width: 991.98px) {
  .right-visual-panel {
    position: relative;
    height: auto;
  }
  .right-visual-panel .visual-item {
    position: relative;
    opacity: 1;
    transform: none;
    height: auto;
  }
  .right-visual-panel .visual-item:not(:first-child) { display: none; }
  .visual-yt { display: none; }
  .visual-fallback { width: 100%; height: auto; max-width: 100%; border-radius: 12px; }
}

@media (max-width: 767.98px) {
  .vertical-scroll-section {
    padding: 2rem 0 0 0;
    margin: 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .content-item {
    padding: 2rem 1rem;
    min-height: 50vh;
  }
  
  .content-number {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  
  .content-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  }
  
  .content-description {
    font-size: 0.9rem;
  }
  
  .feature-point {
    font-size: 0.9rem;
  }
  
  .right-visual-panel {
    height: 50vh;
  }
  
  .visual-fallback {
    width: 250px;
    height: 250px;
  }

  /* Testimonials: ensure slides fill width and content stacks cleanly */
  .testi-swiper .swiper-slide { width: 100% !important; }
  .testi-swiper .swiper-wrapper { align-items: stretch; }
  .testimonial-video-container { max-width: 100%; width: 100%; }
}

/* Ensure proper spacing between sections */
.vertical-scroll-section {
  scroll-margin-top: 80px;
}

.vertical-scroll-section + .section {
  margin-top: 0;
}

/* Fix section spacing */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* Ensure other sections are visible */
#why, #experts, #testimonials, #faq {
  position: relative;
  z-index: 2;
  background: #ffffff;
}

/* Global section fixes */
body {
  overflow-x: hidden;
}

/* Ensure all sections are visible */
section {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

/* Specific section backgrounds */
#why {
  background: var(--fallback-surface, #ffffff);
}

#experts {
  background: #ffffff;
}

#testimonials {
  background: var(--fallback-surface, #ffffff);
}

#faq {
  background: #ffffff;
}

/* Fix any potential overflow issues */
.container, .container-fluid {
  overflow: visible;
}

/* Ensure proper stacking context */
.vertical-scroll-section {
  z-index: 1;
}

/* Fix sticky positioning issues */
.right-visual-panel {
  z-index: 2;
}

/* Ensure content items don't overlap */
.content-item {
  position: relative;
  z-index: 1;
}

/* 3D Services Showcase (Inspired by card.html) */
.services-3d-section .container { position: relative; }

.services3d-container {
  width: 100%;
  max-width: 1200px;
  height: 480px;
  position: relative;
  margin: 0 auto;
  perspective: 1000px;
}

.services3d-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services3d-card {
  position: absolute;
  width: 280px;
  height: 380px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  perspective: 1000px;
}

.services3d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Flip structure */
.services3d-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.services3d-front,
.services3d-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
}

.services3d-back {
  transform: rotateY(180deg);
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services3d-back .services3d-back-content {
  width: auto;
  max-width: 80%;
  padding: 1rem 1.25rem;
  background: none;
  text-align: center;
}

.services3d-back-title { font-weight: 700; margin-bottom: .25rem; }
.services3d-back-desc { opacity: .9; font-size: .9rem; }

.services3d-card.flipped .services3d-inner {
  transform: rotateY(180deg);
}

/* Positions inspired by card.html */
.services3d-card.center { z-index: 10; transform: scale(1.1) translateZ(0); }
.services3d-card.left-2 { z-index: 1; transform: translateX(-400px) scale(0.8) translateZ(-300px); opacity: 0.7; }
.services3d-card.left-1 { z-index: 5; transform: translateX(-200px) scale(0.9) translateZ(-100px); opacity: 0.9; }
.services3d-card.right-1 { z-index: 5; transform: translateX(200px) scale(0.9) translateZ(-100px); opacity: 0.9; }
.services3d-card.right-2 { z-index: 1; transform: translateX(400px) scale(0.8) translateZ(-300px); opacity: 0.7; }
.services3d-card.hidden { opacity: 0; pointer-events: none; }

/* Info overlay */
.services3d-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  padding: 1rem 1rem 1.25rem;
}

.services3d-name { font-weight: 700; font-family: 'Inter', sans-serif; }
.services3d-role { opacity: 0.9; font-family: 'Inter', sans-serif; }

/* Arrows */
.services3d-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffffcc;
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  border: none;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.services3d-arrow:hover { background: var(--color-primary); color: #fff; }
.services3d-arrow.left { left: 10px; padding-right: 2px; }
.services3d-arrow.right { right: 10px; padding-left: 2px; }

/* Dots */
.services3d-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.services3d-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.25);
  border: none; cursor: pointer; transition: all 0.3s ease;
}
.services3d-dot.active { background: var(--color-primary); transform: scale(1.15); }

/* Responsive */
@media (max-width: 768px) {
  .services3d-container { height: 380px; }
  .services3d-card { width: 220px; height: 300px; }
  .services3d-card.left-2 { transform: translateX(-260px) scale(0.8) translateZ(-300px); }
  .services3d-card.left-1 { transform: translateX(-140px) scale(0.9) translateZ(-100px); }
  .services3d-card.right-1 { transform: translateX(140px) scale(0.9) translateZ(-100px); }
  .services3d-card.right-2 { transform: translateX(260px) scale(0.8) translateZ(-300px); }
}

/* 3D Services Showcase UX tweaks */
.services3d-container { cursor: grab; }
.services3d-container.dragging, .services3d-container:active { cursor: grabbing; }
.services3d-card img { user-select: none; -webkit-user-drag: none; }

/* === Blog Archive styles (match Blogs.png reference) === */
.cpb-blog { padding-top: 2rem; padding-bottom: 2rem; }

/* Category chips */
.blog-chips { position: relative; }
.blog-chip {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  gap: 10px;
  height: 36px;
  border-radius: 8px;
  background: #E6E6E6;
  color: #000;
  text-decoration: none;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}
.blog-chip .count { opacity: .7; }
.blog-chip-primary { background: #5EB846; color: #fff; }
.blog-chip-primary .count { color: #fff; opacity: 1; }

/* Hero image with floating card overlay */
.blog-hero { position: relative; }
.blog-hero-image { border-radius: 1rem; overflow: hidden; }
.blog-hero-card {
  position: absolute;
  left: 2rem;
  bottom: -1.5rem;
  width: min(520px, 85%);
  padding: 1rem 1.25rem;
}

/* Dark recent section */
.cpb-recent-section { border-radius: 1rem; }
.blog-card-overlay { position: relative; }
.blog-card-overlay .overlay-content {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
}
.blog-card .text-purple { color: #a78bfa !important; }
.bg-purple { background: #7c3aed; }
.bg-blue { background: #2563eb; }
.bg-pink { background: #db2777; }
.bg-green { background: #16a34a; }

/* Grid cards */
.blog-grid-card .card-title a { color: inherit; }
.blog-grid-card .card-title a:hover { color: var(--color-primary); }

/* Card title typography */
.blog-grid-card .card-title,
.blog-grid-card .card-title a {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
}

/* Contain Bootstrap stretched-link so it doesn't cover pagination */
.blog-grid-card,
.blog-card-overlay,
.blog-card { position: relative; overflow: hidden; }
.blog-grid-card .card-body { position: relative; }
.blog-card .stretched-link::after,
.blog-card-overlay .stretched-link::after,
.blog-grid-card .stretched-link::after { content: ''; position: absolute; inset: 0; }

/* Pagination alignment similar to mock */
.blog-pagination .pagination .page-link { color: #6b7280; border: 0; background: transparent; }
.blog-pagination .pagination .page-link.current { color: #111827; font-weight: 600; }
.blog-pagination a { color: #6b7280; text-decoration: none; }
.blog-pagination a:hover { color: #111827; }
.blog-pagination { position: relative; z-index: 2; }

/* Newsletter band */
.newsletter-band { background: var(--color-surface); }

/* Blog: meta text typography */
.post-meta {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  background: #fff;
  color: #6941C6 !important;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Blog: post excerpt typography */
.post-excerpt {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: #667085;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* Category badge (Figma spec) */
.cat-badge {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2px 10px;
  min-width: 67px;
  height: 24px;
  background: #F9F5FF;
  border-radius: 16px;
  color: #6941C6;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

/* Single post styling */
.single-title {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
}
.single-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}
.single-content p { margin-bottom: 1rem; }
.single-content h2 { margin-top: 2rem; margin-bottom: .75rem; font-weight: 700; }
.single-content h3 { margin-top: 1.5rem; margin-bottom: .5rem; font-weight: 600; }
.single-post .wp-block-image img { border-radius: 12px; }
.author-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Sticky sidebar */
.single-sidebar .sticky-sidebar { position: sticky; top: 100px; }
.toc-card { border: 1px solid #eef1f3; border-radius: 12px; background: #F3FFF0; }
.toc-header { color: #111827; font-weight: 600; }
.toc-link { display: inline-block; color: #667085; text-decoration: none; }
.toc-link:hover { color: #111827; text-decoration: underline; }
.toc-list .toc-level-2 .toc-link { font-weight: 600; }
.toc-list .toc-level-3 .toc-link { padding-left: .5rem; }

