/* ============================================
   SPC3 - Modern Stylesheet
   ============================================ */

:root {
  --navy: #0A1628;
  --navy-light: #1E293B;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --blue-dark: #1D4ED8;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ---- Base ---- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--slate-900);
  font-weight: 600;
  line-height: 1.3;
}

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

img {
  max-width: 100%;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-slate-300 { color: var(--slate-300) !important; }
.text-slate-400 { color: var(--slate-400) !important; }
.text-slate-500 { color: var(--slate-500) !important; }


/* ---- Buttons ---- */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

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

.btn-accent:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3) !important;
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6) !important;
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 600;
}

.btn-white:hover {
  background: var(--slate-100);
  color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}

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

.btn-lg-square {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ---- Navbar ---- */
.nav-bar {
  transition: var(--transition);
  z-index: 1000;
}

.nav-bar.sticky-top {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(20px);
}

.navbar-logo {
  height: 32px;
  transition: var(--transition);
}

.sticky-top .navbar-logo {
  height: 36px;
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600) !important;
  padding: 28px 0;
  margin: 0 14px;
  position: relative;
  letter-spacing: 0.01em;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
  border-radius: 1px;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--slate-900) !important;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin: 0;
  }
  .navbar-light .navbar-nav .nav-link::after {
    display: none;
  }
  .navbar-light .navbar-collapse {
    margin-top: 10px;
    border-top: 1px solid var(--slate-200);
    padding-top: 10px;
  }
}


/* ---- Navbar Dropdowns ---- */
.nav-bar .dropdown-menu {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 220px;
  margin-top: 0;
}

.nav-bar .dropdown-item {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: var(--transition);
}

.nav-bar .dropdown-item:hover {
  background: var(--slate-50);
  color: var(--blue);
}

.nav-bar .dropdown-divider {
  margin: 4px 0;
  border-color: var(--slate-100);
}

.nav-bar .dropdown-toggle::after {
  display: none;
}

@media (max-width: 991.98px) {
  .nav-bar .dropdown-menu {
    box-shadow: none;
    border: none;
    padding-left: 16px;
  }
}


/* ---- Hero Section ---- */
.hero-section {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 50%, #0A1628 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
}

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

.min-vh-80 {
  min-height: 70vh;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37,99,235,0.15);
  color: var(--blue-light);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(37,99,235,0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #60A5FA, #3B82F6, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-400);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.8;
}


/* Hero Visual - Floating stat cards */
.hero-visual {
  position: relative;
  height: 400px;
}

.hero-stat-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  animation: float 6s ease-in-out infinite;
}

.hero-stat-card .stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.2);
  border-radius: 10px;
  font-size: 20px;
  color: var(--blue-light);
}

.hero-stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  font-family: 'Poppins', sans-serif;
}

.hero-stat-card .stat-label {
  font-size: 12px;
  color: var(--slate-400);
  letter-spacing: 0.02em;
}

.hero-stat-card.card-1 {
  top: 30px;
  right: 20px;
  animation-delay: 0s;
}

.hero-stat-card.card-2 {
  top: 160px;
  right: 80px;
  animation-delay: 2s;
}

.hero-stat-card.card-3 {
  top: 290px;
  right: 10px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}


/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--white);
  padding: 50px 0;
  border-bottom: 1px solid var(--slate-200);
}

.stat-item {
  position: relative;
  padding: 10px 0;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--slate-200);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  display: inline;
}

.stat-text {
  font-size: 14px;
  color: var(--slate-500);
  margin-top: 8px;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .stat-item + .stat-item::before {
    display: none;
  }
  .stat-number {
    font-size: 2rem;
  }
}


/* ---- Section Helpers ---- */
.section-padding {
  padding: 100px 0;
}

.section-dark {
  background: var(--navy);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-label-light {
  color: var(--blue-light);
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto;
}


/* ---- Product Cards ---- */
.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.05));
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--blue);
  transition: var(--transition);
}

.product-card:hover .product-icon {
  background: var(--blue);
  color: var(--white);
}

.product-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-stats span {
  font-size: 12px;
  color: var(--slate-600);
  background: var(--slate-50);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--slate-200);
}

.product-stats span strong {
  color: var(--blue);
}

.product-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link:hover {
  color: var(--blue-dark);
  gap: 10px;
}


/* ---- Service Cards ---- */
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.15);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--blue-light);
}

.service-card h5 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--slate-400);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}


/* ---- Why SPC3 ---- */
.why-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-100);
}

.why-item:last-child {
  border-bottom: none;
}

.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  border-radius: 10px;
  color: var(--blue);
  font-size: 20px;
}

.why-item h6 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.why-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-left: 40px;
}

.why-visual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.why-stat-block {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
}

.why-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.why-stat-label {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
  .why-visual {
    margin-left: 0;
    margin-top: 40px;
  }
}


/* ---- CTA Section ---- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}


/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--slate-400);
}

.footer-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-heading {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 14px;
}

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

.footer-contact li {
  font-size: 14px;
  color: var(--slate-400);
}

.footer-contact a {
  color: var(--slate-400);
}

.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--slate-400);
  font-size: 16px;
}

.footer-social:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-newsletter-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px;
}

.footer-newsletter-input::placeholder {
  color: var(--slate-400);
}

.footer-newsletter-input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--blue);
  box-shadow: none;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom a {
  color: var(--slate-500);
}

.footer-bottom a:hover {
  color: var(--slate-300);
}


/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  z-index: 99;
  width: 44px;
  height: 44px;
  font-size: 18px;
}


/* ---- Spinner ---- */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


/* ---- Breadcrumb / Page Headers ---- */
.bg-breadcrumb {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 100%);
  padding: 120px 0 60px;
}


/* ---- Utilities ---- */
.section-title {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  padding: 140px 0 70px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 50%, #0A1628 100%);
  z-index: 0;
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
}

.page-hero .container {
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ---- Blog Cards ---- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card-date {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}

.blog-card-category {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h4 a {
  color: var(--slate-900);
}

.blog-card h4 a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-link:hover {
  color: var(--blue-dark);
  gap: 10px;
}

/* ---- Blog Filter Bar ---- */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-search-wrap {
  position: relative;
  flex: 0 0 280px;
}

.blog-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 14px;
}

.blog-search {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 14px;
  color: var(--slate-700);
  background: var(--white);
  transition: var(--transition);
}

.blog-search:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.blog-filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.blog-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.blog-count {
  font-size: 14px;
  color: var(--slate-400);
  font-weight: 500;
}

/* ---- Blog Hero Card ---- */
.blog-hero-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 32px;
}

.blog-hero-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.blog-hero-inner {
  display: flex;
  min-height: 280px;
}

.blog-hero-visual {
  flex: 0 0 40%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-hero-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  top: -40px;
  right: -40px;
}

.blog-hero-visual i {
  font-size: 4rem;
  color: rgba(255,255,255,0.15);
}

.blog-hero-body {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-hero-body .blog-card-meta {
  margin-bottom: 16px;
}

.blog-hero-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-hero-body h3 a {
  color: var(--slate-900);
}

.blog-hero-body h3 a:hover {
  color: var(--blue);
}

.blog-hero-excerpt {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-hero-body .blog-card-link {
  font-size: 15px;
}

/* ---- Category Color Variants ---- */
.blog-card-category.cat-ap-automation {
  color: #2563EB;
  background: rgba(37,99,235,0.08);
}

.blog-card-category.cat-sorbee {
  color: #059669;
  background: rgba(5,150,105,0.08);
}

.blog-card-category.cat-cherrypicker {
  color: #EA580C;
  background: rgba(234,88,12,0.08);
}

.blog-card-category.cat-eva {
  color: #7C3AED;
  background: rgba(124,58,237,0.08);
}

.blog-card-category.cat-catalogue {
  color: #0891B2;
  background: rgba(8,145,178,0.08);
}

.blog-card-reading-time {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}

/* ---- Blog Pagination ---- */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.blog-page-btn {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  padding: 0 12px;
}

.blog-page-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.blog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.blog-page-btn:disabled:hover {
  border-color: var(--slate-200);
  color: var(--slate-600);
}

/* ---- Responsive Blog Toolbar ---- */
@media (max-width: 768px) {
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-wrap {
    flex: 1;
  }
  .blog-hero-inner {
    flex-direction: column;
  }
  .blog-hero-visual {
    flex: 0 0 160px;
  }
  .blog-hero-body {
    padding: 24px;
  }
  .blog-hero-body h3 {
    font-size: 1.2rem;
  }
}


/* ---- Blog Content (rendered rich text) ---- */
.blog-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--slate-700);
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.blog-content h2 { font-size: 1.6rem; }
.blog-content h3 { font-size: 1.3rem; }
.blog-content h4 { font-size: 1.1rem; }

.blog-content p {
  margin-bottom: 1.25em;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5em 0;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.blog-content li {
  margin-bottom: 0.5em;
}

.blog-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: var(--slate-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate-600);
  font-style: italic;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.blog-content th,
.blog-content td {
  padding: 10px 14px;
  border: 1px solid var(--slate-200);
  text-align: left;
}

.blog-content th {
  background: var(--slate-50);
  font-weight: 600;
}

.blog-content a {
  color: var(--blue);
  text-decoration: underline;
}


/* ---- Case Study Cards ---- */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.case-study-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-study-card-visual {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.case-study-card-visual::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(37,99,235,0.15);
}

.case-study-card-visual i {
  font-size: 48px;
  color: rgba(255,255,255,0.15);
}

.case-study-card-visual .cs-industry {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  background: rgba(37,99,235,0.2);
  padding: 3px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study-card-body {
  padding: 24px;
}

.case-study-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-study-card-body h4 a {
  color: var(--slate-900);
}

.case-study-card-body h4 a:hover {
  color: var(--blue);
}

.case-study-card-body p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Case Study Read Page */
.cs-section-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.1);
  border-radius: 12px;
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 16px;
}

.cs-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.cs-overview-item {
  padding: 20px;
  background: var(--slate-50);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}

.cs-overview-item label {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: block;
}

.cs-overview-item span {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-900);
}


/* ---- Admin Forms ---- */
.admin-form {
  max-width: 800px;
  margin: 0 auto;
}

.admin-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.admin-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.admin-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.admin-form .form-control,
.admin-form .form-select {
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--slate-700);
  transition: var(--transition);
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.admin-form .btn-submit {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
}

.admin-form .btn-submit:hover {
  background: var(--blue-dark);
}

/* Summernote overrides */
.admin-form .note-editor {
  border: 1px solid var(--slate-200) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.admin-form .note-toolbar {
  background: var(--slate-50) !important;
  border-bottom: 1px solid var(--slate-200) !important;
}


/* ---- Contact Form ---- */
.contact-form .form-control {
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.contact-info-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-200);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  color: var(--blue);
  font-size: 18px;
  border: 1px solid var(--slate-200);
}

.contact-info-item h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 15px;
  color: var(--slate-700);
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--blue);
}


/* ---- About Page ---- */
.about-values-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.about-values-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-values-card .av-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.08);
  border-radius: 14px;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--blue);
}

.about-values-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-values-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin: 0;
}

.about-timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 32px;
  border-left: 2px solid var(--slate-200);
}

.about-timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.about-timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}


/* ---- 404 Page ---- */
.notfound-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.notfound-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
}

.notfound-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #60A5FA, #3B82F6, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.notfound-section h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.notfound-section p {
  color: var(--slate-400);
  margin-bottom: 32px;
}


/* ---- Legal Content ---- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.legal-content p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1em;
}

.legal-content ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.legal-content li {
  color: var(--slate-600);
  margin-bottom: 0.5em;
  line-height: 1.7;
}


/* ---- Product Detail Page ---- */
.product-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pd-feature-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.pd-feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.pd-feature-card .pd-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.08);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--blue);
}

.pd-feature-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pd-feature-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
  margin: 0;
}

/* Product metrics visual */
.pd-metrics {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2847 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.pd-metric-item {
  text-align: center;
  padding: 24px 16px;
}

.pd-metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.pd-metric-label {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 8px;
}

/* Product steps */
.pd-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--slate-100);
}

.pd-step:last-child {
  border-bottom: none;
}

.pd-step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
}

.pd-step h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pd-step p {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0;
  line-height: 1.7;
}


/* ---- Service Detail Page ---- */
.sd-approach-step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
}

.sd-approach-step:hover {
  background: rgba(255,255,255,0.1);
}

.sd-approach-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(59,130,246,0.3);
  margin-bottom: 12px;
}

.sd-approach-step h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.sd-approach-step p {
  color: var(--slate-400);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}


/* ---- Delete Modal ---- */
.modal-confirm .modal-content {
  border: none;
  border-radius: var(--radius-lg);
}

.modal-confirm .modal-header {
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 24px;
}

.modal-confirm .modal-body {
  padding: 24px;
}

.modal-confirm .modal-footer {
  border-top: 1px solid var(--slate-200);
  padding: 16px 24px;
}

.btn-danger-modern {
  background: #EF4444;
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  padding: 8px 20px;
}

.btn-danger-modern:hover {
  background: #DC2626;
  color: var(--white);
}


/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--slate-300);
}

.empty-state h4 {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--slate-400);
}


/* ---- Case Study Testimonial ---- */
.cs-testimonial-section {
  padding: 60px 0;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.cs-quote-icon {
  font-size: 48px;
  color: var(--blue);
  opacity: 0.3;
  display: block;
  margin-bottom: 16px;
}

.cs-testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 400;
}

.cs-testimonial-author {
  font-size: 14px;
  color: var(--slate-500);
  font-style: normal;
  font-weight: 600;
}

.cs-product-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cs-card-quote {
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}


/* ---- Case Study Filters ---- */
.cs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.cs-filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid var(--slate-200) !important;
  transition: var(--transition);
}

.cs-filter-btn:hover {
  border-color: var(--blue) !important;
  color: var(--blue);
}

.cs-filter-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue) !important;
}


/* ---- Product Page Visuals ---- */
.pd-screenshot {
  text-align: center;
}

.pd-screenshot-img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255,255,255,0.1);
}

.pd-visual-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.pd-visual-stat {
  padding: 24px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.pd-visual-stat-after {
  background: rgba(37,99,235,0.15);
  border-color: rgba(37,99,235,0.3);
}

.pd-visual-stat-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}

.pd-visual-stat-after .pd-visual-stat-icon {
  color: var(--blue-light);
}

.pd-visual-stat-before {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
}

.pd-visual-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.pd-visual-stat-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

.pd-visual-stat-tag.tag-after {
  color: var(--blue-light);
  background: rgba(37,99,235,0.15);
}

.pd-visual-arrow {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.2);
}

.pd-lifecycle-step {
  padding: 24px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
}

.pd-lifecycle-icon {
  font-size: 2rem;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.pd-lifecycle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.pd-query-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-query-item {
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

.pd-query-item i {
  color: var(--blue-light);
}

@media (max-width: 768px) {
  .pd-visual-arrow {
    transform: rotate(90deg);
  }
  .pd-query-examples {
    grid-template-columns: 1fr;
  }
}


/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--blue);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.testimonial-avatar {
  font-size: 2rem;
  color: var(--slate-300);
  line-height: 1;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800);
}

.testimonial-role {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 500;
}


/* ---- 404 Page ---- */
.notfound-links {
  max-width: 500px;
  margin: 0 auto;
}

.notfound-link {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--white);
  transition: var(--transition);
}

.notfound-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,0.04);
}


/* ---- About Page Credentials ---- */
.about-credential {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.about-credential i {
  font-size: 16px;
}


/* ---- Blog Detail Page ---- */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-400);
}

.blog-breadcrumb a {
  color: var(--slate-500);
  font-weight: 500;
}

.blog-breadcrumb a:hover {
  color: var(--blue);
}

.blog-breadcrumb i {
  font-size: 10px;
  color: var(--slate-300);
}

.blog-article-header {
  max-width: 800px;
}

.blog-article-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--slate-900);
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--slate-400);
  font-weight: 500;
}

.blog-article-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  margin-right: 4px;
}

.blog-share-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.blog-share-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(37,99,235,0.05);
}

.blog-share-btn.linkedin:hover {
  border-color: #0A66C2;
  color: #0A66C2;
  background: rgba(10,102,194,0.05);
}

/* ---- Blog Sidebar ---- */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.blog-sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  margin-bottom: 24px;
}

.blog-sidebar-cta-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 20px;
}

.blog-sidebar-cta h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-sidebar-cta p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-sidebar-section {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.blog-sidebar-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  margin-bottom: 16px;
}

.blog-sidebar-post {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
  text-decoration: none;
  transition: var(--transition);
}

.blog-sidebar-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-sidebar-post:first-child {
  padding-top: 0;
}

.blog-sidebar-post:hover .blog-sidebar-post-title {
  color: var(--blue);
}

.blog-sidebar-post-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.5;
  margin-bottom: 4px;
  transition: var(--transition);
}

.blog-sidebar-post-date {
  font-size: 12px;
  color: var(--slate-400);
}

.blog-sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-sidebar-cat-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: var(--transition);
}

.blog-sidebar-cat-link:hover {
  background: var(--slate-50);
  color: var(--blue);
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.blog-back-link:hover {
  color: var(--blue-dark);
}

/* ---- Product Hero Card (Home) ---- */
.product-card-hero {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
  border: 1px solid var(--slate-200);
  padding: 32px;
}

.product-card-hero:hover {
  border-color: var(--blue);
}

.product-stats-hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.product-stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}

.product-stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 800;
}

.product-stat-item span {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

/* ---- Contact Trust Section ---- */
.contact-trust-stat {
  padding: 16px;
}

.contact-trust-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
}

.contact-trust-label {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 4px;
}

/* ---- Responsive: Blog Detail ---- */
@media (max-width: 991px) {
  .blog-sidebar {
    position: static;
    margin-top: 40px;
  }
  .product-stats-hero {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .blog-article-footer {
    flex-direction: column;
  }
  .product-stats-hero {
    grid-template-columns: 1fr;
  }
}


/* ---- Case Study Detail Page ---- */
.cs-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-overview-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--slate-100);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

.cs-overview-pill-product {
  background: rgba(37,99,235,0.08);
  color: var(--blue);
}

.cs-detail-section {
  margin-bottom: 36px;
}

.cs-detail-section-highlight {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-left: 4px solid var(--blue);
}

.cs-detail-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.cs-detail-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.cs-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 20px;
  flex-shrink: 0;
}

.cs-detail-icon-challenge {
  background: rgba(234,88,12,0.1);
  color: var(--orange);
}

.cs-detail-icon-solution {
  background: rgba(37,99,235,0.1);
  color: var(--blue);
}

.cs-detail-icon-results {
  background: rgba(5,150,105,0.1);
  color: #059669;
}

.cs-inline-testimonial {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 36px 0;
}

.cs-inline-quote-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 8px;
}

.cs-inline-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin: 0 0 16px;
  border: none;
  padding: 0;
}

.cs-inline-author {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-style: normal;
}


/* ---- Additional Mobile Fixes ---- */
@media (max-width: 991px) {
  .product-card-hero .row {
    flex-direction: column;
  }
  .product-card-hero {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  /* Product hero card */
  .product-card-hero .d-flex {
    flex-wrap: wrap;
  }

  /* Testimonials */
  .testimonial-card {
    margin-bottom: 0;
  }

  /* Product visuals - before/after blocks */
  .pd-visual-block .row {
    flex-direction: column;
  }
  .pd-visual-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  /* Contact trust stats */
  .contact-trust-number {
    font-size: 1.4rem;
  }

  /* Footer newsletter */
  .footer-newsletter .d-flex {
    flex-direction: column;
  }

  /* Blog hero */
  .blog-hero-body h3 {
    font-size: 1.1rem;
  }

  /* Product stats hero */
  .product-stats-hero {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .product-stat-item strong {
    font-size: 1.2rem;
  }

  /* Page hero */
  .page-hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .product-stats-hero {
    grid-template-columns: 1fr;
  }
  .pd-lifecycle-step {
    padding: 16px 12px;
  }
}

/* ---- Accessibility ---- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 16px;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}


/* Keep existing template classes working */
.wow { visibility: hidden; }
