/*
Theme Name: Protenova
Theme URI: http://protenova.local
Description: Custom corporate-level theme for Protenova plant-based proteins. High-performance, lightweight, and fully bilingual.
Version: 1.0.0
Author: Inam Aqil
Author URI: https://www.fiverr.com/inam01817
Text Domain: protenova
Update URI: false
*/

:root {
  --color-primary: #0B3D2E;
  --color-primary-light: #145A3C;
  --color-secondary: #00896B;
  --color-accent: #D4A843;
  --color-accent-hover: #B8912E;
  --color-surface-light: #F0F9F5;
  --color-surface-white: #FFFFFF;
  --color-surface-dark: #0D1B16;
  --color-text-primary: #1A1F2B;
  --color-text-secondary: #4A5568;
  --color-text-muted: #718096;
  --color-text-on-dark: #E8EDE9;
  --color-border: #D1E7DD;
  --color-teal-accent: #2BBBAD;
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-card: 12px;
  --radius-button: 8px;
  --radius-input: 8px;
  
  --shadow-sm: 0 2px 8px rgba(11, 61, 46, 0.04);
  --shadow-md: 0 4px 20px rgba(11, 61, 46, 0.06);
  --shadow-lg: 0 8px 30px rgba(11, 61, 46, 0.1);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background-color: var(--color-surface-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  margin-top: 0;
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

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

a:hover {
  color: var(--color-primary);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Layout Sections */
section {
  padding: 80px 0;
  position: relative;
}

.section-bg-light {
  background-color: var(--color-surface-light);
}

.section-bg-dark {
  background-color: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: var(--color-text-on-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-button);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-surface-white);
  border: 2px solid var(--color-surface-white);
}

.btn-secondary:hover {
  background-color: var(--color-surface-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-surface-white);
  transform: translateY(-2px);
}

/* Header & Nav */
.site-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header-wrapper.scrolled {
  transform: translateY(-40px); /* Height of the top bar */
}

.site-header {
  position: relative;
  width: 100%;
  transition: var(--transition);
  padding: 20px 0;
  background-color: var(--color-primary); /* Solid dark by default for non-homepage */
}

/* Homepage only: transparent header over the dark hero section */
.home .site-header {
  background-color: transparent;
}

.site-header-wrapper.scrolled .site-header {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

/* WordPress Admin Bar offset (32px on desktop, 46px on mobile) */
.admin-bar .site-header-wrapper {
  top: 32px;
}

.site-content {
  padding-top: 130px; /* Offset for fixed header on standard pages */
}

.home .site-content {
  padding-top: 0; /* Homepage hero should bleed to the top */
}

.admin-bar .site-content {
  padding-top: 162px; /* 130px + 32px admin bar */
}

.admin-bar.home .site-content {
  padding-top: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: url(#svg-outline);
}

.header-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.header-socials a {
  color: var(--color-text-on-dark);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-socials a:hover {
  color: var(--color-accent);
  opacity: 1;
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: var(--color-text-on-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav .current-menu-item a {
  color: var(--color-accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  color: var(--color-text-on-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
}

.lang-switch a.active,
.lang-switch a:hover {
  color: var(--color-accent);
  font-weight: 600;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-on-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface-dark);
  color: var(--color-text-on-dark);
  padding: 80px 0 20px 0;
  border-top: 4px solid var(--color-primary-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--color-accent);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-accent);
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--color-text-on-dark);
  opacity: 0.8;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
}

.footer-socials a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Card Designs */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--color-surface-light);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

/* Feature Row & Layout Styles */
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.features-left {
  position: sticky;
  top: 150px;
}

.feature-row {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: var(--radius-card);
  display: flex;
  gap: 24px;
  transition: var(--transition);
}

.feature-row:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-accent);
  transform: translateX(5px);
}

/* Pitch Deck Swiper & Lock */
.pitch-deck-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.swiper-container {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slide Lock Overlay */
.slide-lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 61, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  text-align: center;
  padding: 40px;
  z-index: 10;
  transition: var(--transition);
}

.slide-lock-overlay .lock-icon {
  font-size: 3.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.slide-lock-overlay h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.slide-lock-overlay p {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Contact Form Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.contact-form-container {
  background-color: var(--color-surface-white);
  padding: 48px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: var(--color-surface-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: var(--color-surface-white);
  box-shadow: 0 0 0 4px rgba(0, 137, 107, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  display: flex;
  gap: 20px;
  background-color: var(--color-surface-light);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-card-content h5 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.info-card-content p {
  margin: 0;
  font-size: 0.95rem;
}

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

/* Scroll Fade In Animation Classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-left {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.15rem; }
  .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }
  section {
    padding: 60px 0;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1001;
    transition: var(--transition);
  }
  .nav-toggle.active {
    color: var(--color-accent);
  }
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--color-primary) 0%, #062119 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    transition: var(--transition);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  .site-nav.active {
    right: 0;
  }
  .header-right {
    display: none; /* Can be placed inside mobile drawer */
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile header offset overrides */
  .header-top-bar {
    display: none;
  }
  .site-header-wrapper.scrolled {
    transform: none;
  }
  .site-header {
    padding: 14px 0;
  }
  .site-content {
    padding-top: 85px;
  }
  .home .site-content {
    padding-top: 0;
  }

  /* Mobile admin bar is 46px */
  .admin-bar .site-header-wrapper {
    top: 46px;
  }
  .admin-bar .site-content {
    padding-top: 131px; /* 85px + 46px admin bar */
  }
  .admin-bar.home .site-content {
    padding-top: 0;
  }
}

/* Slide Instruction Hint Badge */
.slide-instruction-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(11, 61, 46, 0.95);
  color: var(--color-accent);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: slideHintPulse 2s infinite ease-in-out;
}

@keyframes slideHintPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) scale(1.05);
    opacity: 1;
  }
}

/* Hero Cloud Badge Shape: Morphing Organic Cell Blob */
.hero-cloud-badge {
  position: absolute;
  right: -25px;
  bottom: -20px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 18px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2;
  border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  animation: morphBlob 6s ease-in-out infinite alternate, floatBlob 4s ease-in-out infinite alternate;
}

@keyframes morphBlob {
  0% {
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  }
  50% {
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  }
  100% {
    border-radius: 50% 50% 45% 55% / 55% 50% 45% 50%;
  }
}

@keyframes floatBlob {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Optimization for Large & Ultra-Wide Screens (1600px+) */
@media (min-width: 1600px) {
  :root {
    --max-width: 1440px; /* Spacious corporate grid container */
  }
  
  body {
    font-size: 1.05rem;
  }
  
  section {
    padding: 120px 0; /* Balanced white space breathing room */
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.85rem;
  }
  
  h3 {
    font-size: 1.85rem;
  }
  
  .container {
    padding: 0 40px;
  }
  
  /* Hero spacing & text sizing scale-up */
  .hero-section {
    padding: 220px 0 140px 0 !important;
    min-height: 90vh !important;
  }
  
  .hero-content h1 {
    font-size: 4.25rem !important;
    line-height: 1.1 !important;
  }
  
  .hero-content p {
    font-size: 1.35rem !important;
    line-height: 1.65 !important;
  }
  
  /* Features section adjustments */
  .features-layout {
    gap: 120px !important;
  }
  
  .features-left {
    top: 180px !important;
  }
  
  .feature-row {
    padding: 40px !important;
  }
  
  .feature-row h4 {
    font-size: 1.5rem !important;
  }
}

/* ==========================================================================
   Refactored Layout & Structural Classes (Theme Clean-up)
   ========================================================================== */

/* Top bar (moved from header.php) */
.header-top-bar {
  background-color: rgba(11, 61, 46, 0.9);
  color: var(--color-text-on-dark);
  height: 40px;
  line-height: 40px;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header-top-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-top-right {
  display: flex;
  gap: 15px;
  align-items: center;
}
.header-top-bar a {
  color: var(--color-text-on-dark);
  opacity: 0.8;
}
.header-top-bar a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* Contact alerts */
.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  padding: 15px;
  border-radius: var(--radius-input);
  margin-bottom: 24px;
  font-weight: 600;
}
.alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  padding: 15px;
  border-radius: var(--radius-input);
  margin-bottom: 24px;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 180px 0 100px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--color-surface-white);
}
.hero-desc {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
  color: var(--color-text-on-dark);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-media-wrapper {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-accent);
}
.hero-media-wrapper img {
  width: 100%;
  display: block;
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}
.section-subtitle {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}
.section-title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 2.5rem;
}

/* Custom modifier for dark headers */
.section-subtitle--accent {
  color: var(--color-accent);
}
.section-title--white {
  color: var(--color-surface-white);
}

/* Cards & Icons */
.card h3 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
.card--center {
  text-align: center;
}
.card--center .card-icon {
  margin: 0 auto 24px auto;
}

/* ===== Challenges Section: Data-Driven Reality Cards ===== */
.challenges-section {
  background:
    radial-gradient(circle, rgba(11, 61, 46, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, var(--color-surface-light) 0%, #fff 100%);
  background-size: 24px 24px, 100% 100%;
  overflow: hidden;
}

.challenges-section .section-header {
  max-width: 680px;
}

.challenges-section .section-header p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.challenges-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.challenge-modern-card {
  position: relative;
  background: var(--color-surface-white);
  border-radius: 16px;
  padding: 40px 32px 32px 32px;
  border: 1px solid rgba(11, 61, 46, 0.08);
  box-shadow: 0 4px 20px rgba(11, 61, 46, 0.04);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

/* Desktop staggered offsets */
@media (min-width: 1025px) {
  .challenge-modern-card:nth-child(2) {
    transform: translateY(30px);
  }
  .challenge-modern-card:nth-child(3) {
    transform: translateY(60px);
  }
}

/* Top accent gradient bar */
.challenge-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.challenge-modern-card:hover::before {
  transform: scaleX(1);
}

.challenge-modern-card:hover {
  box-shadow: 0 20px 60px rgba(11, 61, 46, 0.12);
}

@media (min-width: 1025px) {
  .challenge-modern-card:nth-child(1):hover {
    transform: translateY(-8px);
  }
  .challenge-modern-card:nth-child(2):hover {
    transform: translateY(22px);
  }
  .challenge-modern-card:nth-child(3):hover {
    transform: translateY(52px);
  }
}

/* Category tag */
.challenge-stat-tag {
  display: inline-block;
  background: rgba(0, 137, 107, 0.08);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 20px;
}

/* Large stat number */
.challenge-stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.challenge-modern-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.challenge-modern-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

/* Card footer with animated icon */
.challenge-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.challenge-card-footer i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.challenge-modern-card:hover .challenge-card-footer {
  opacity: 1;
  transform: translateX(0);
}

.challenge-modern-card:hover .challenge-card-footer i {
  transform: translateX(4px);
}

/* Card icon circle */
.challenge-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.challenge-card-icon--rejection {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
}

.challenge-card-icon--sensory {
  background: rgba(255, 152, 0, 0.08);
  color: #ff9800;
}

.challenge-card-icon--process {
  background: rgba(0, 137, 107, 0.08);
  color: var(--color-secondary);
}

.challenge-modern-card:hover .challenge-card-icon {
  transform: scale(1.1);
}

/* Challenges responsive */
@media (max-width: 1024px) {
  .challenges-modern-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }
  .challenge-modern-card:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .challenge-stat-number {
    font-size: 2.75rem;
  }
  .challenge-modern-card {
    padding: 32px 24px 24px 24px;
  }
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.solutions-media-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.solutions-media-wrapper img {
  width: 100%;
  display: block;
}
.solution-item {
  margin-bottom: 30px;
}
.solution-item h4 {
  color: var(--color-primary-light);
  margin-bottom: 8px;
}
.solution-item h4 i {
  color: var(--color-secondary);
  margin-right: 10px;
}
.solution-item p {
  padding-left: 28px;
}

/* Features list overrides & rows */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.8;
  font-family: var(--font-heading);
  line-height: 1;
}
.feature-title {
  color: var(--color-surface-white);
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.feature-desc {
  color: var(--color-text-on-dark);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Market Grid */
.market-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.funding-badge {
  margin: 30px 0;
  padding: 24px;
  background-color: var(--color-surface-white);
  border-radius: var(--radius-card);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.funding-badge h4 {
  color: var(--color-primary);
  margin-bottom: 8px;
}
.funding-badge h4 i {
  color: var(--color-accent);
  margin-right: 8px;
}
.funding-badge p {
  margin: 0;
  font-size: 0.95rem;
}
.market-media-wrapper {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  padding: 20px;
  border: 1px solid var(--color-border);
}
.market-media-wrapper img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

/* ===== Connected Milestones Timeline ===== */
.milestones-section {
  padding: 100px 0;
  background-color: var(--color-surface-white);
  position: relative;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  margin-top: 10px;
  padding: 30px 0;
}

/* Horizontal Track Line on Desktop */
@media (min-width: 1025px) {
  .timeline-track-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
      rgba(11, 61, 46, 0.08) 0%, 
      var(--color-secondary) 30%, 
      var(--color-accent) 70%, 
      rgba(212, 168, 67, 0.08) 100%
    );
    transform: translateY(-50%);
    z-index: 1;
  }

  .timeline-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
  }

  .timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Node placement directly on the top middle border */
  .timeline-node {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 5;
    border: 3px solid var(--color-surface-white);
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  }

  .timeline-node-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.4);
    animation: pulse-ring 2s infinite;
    pointer-events: none;
  }

  /* Alternating Card Placement: Odd items above, Even items below */
  .timeline-item:nth-child(odd) .timeline-card {
    margin-bottom: 70px;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: column-reverse;
  }

  .timeline-item:nth-child(even) .timeline-card {
    margin-top: 70px;
  }
}

/* Card Design */
.timeline-card {
  background: var(--color-surface-white);
  border: 1px solid rgba(11, 61, 46, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(11, 61, 46, 0.03);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  max-width: 280px;
  position: relative;
  z-index: 3;
}

.timeline-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-surface-light);
  color: var(--color-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.timeline-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Hover States */
.timeline-item:hover .timeline-card {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(11, 61, 46, 0.08);
  border-color: var(--color-secondary);
}

.timeline-item:hover .timeline-card-icon {
  transform: scale(1.1);
  background-color: var(--color-secondary);
  color: var(--color-surface-white);
}

.timeline-item:hover .timeline-node {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--color-primary);
}

/* Animations */
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 168, 67, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0);
  }
}

/* Responsive / Mobile Vertical Timeline (<= 1024px) */
@media (max-width: 1024px) {
  .timeline-container {
    padding: 0 0 0 30px;
    margin-top: 40px;
  }

  .timeline-track-line {
    position: absolute;
    top: 0;
    left: 20px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
      var(--color-secondary) 0%, 
      var(--color-accent) 100%
    );
    z-index: 1;
  }

  .timeline-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
  }

  .timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
  }

  .timeline-node {
    position: absolute;
    left: 0;
    top: 24px;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 5;
    border: 2px solid var(--color-surface-white);
  }

  .timeline-node-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.4);
    animation: pulse-ring 2s infinite;
  }

  .timeline-card {
    max-width: 100%;
    margin-left: 20px;
    text-align: left;
  }
  
  .timeline-item:hover .timeline-node {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.team-card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto;
  border: 4px solid var(--color-secondary);
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 {
  margin-bottom: 4px;
  color: var(--color-primary);
  font-size: 1.25rem;
}
.team-role {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* CTA Section Styles */
.cta-section {
  background-color: var(--color-surface-light);
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}
.cta-container {
  max-width: 900px;
}
.cta-box {
  background-color: var(--color-primary);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(135deg, rgba(212, 168, 67, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}
.cta-box .section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}
.cta-text {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 40px;
  line-height: 1.7;
  color: var(--color-text-on-dark);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn-cta-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}

/* About Page Specific Layout Styles */
.about-hero {
  background-size: cover;
  background-position: center;
  padding: 160px 0 100px 0;
  color: var(--color-surface-white);
  text-align: center;
}
.about-hero-container {
  max-width: 800px;
}
.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-surface-white);
  line-height: 1.2;
}
.about-hero-desc {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.mv-card {
  background-color: var(--color-surface-white);
  border-top: 4px solid var(--color-secondary);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.mv-card--accent {
  border-top-color: var(--color-accent);
}
.mv-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: rgba(0, 137, 107, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.mv-icon-wrapper--accent {
  background-color: rgba(212, 168, 67, 0.15);
  color: var(--color-accent);
}
.mv-card h3 {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.mv-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-story-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-secondary);
}
.about-story-media img {
  width: 100%;
  display: block;
}
.about-story-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}
.about-story-content p:last-child {
  margin-bottom: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.values-card {
  background-color: var(--color-surface-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
}
.value-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(11, 61, 46, 0.05);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 24px auto;
}
.values-card h4 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.values-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Contact Page Specific Classes */
.contact-page-section {
  padding: 100px 0;
  background-color: var(--color-surface-light);
}
.contact-info-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-map-iframe {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  height: 260px;
}
.contact-map-iframe iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* Pitch Deck Specific Lock and badges */
.swiper-slide img.slide-locked-blur {
  filter: blur(12px);
  -webkit-filter: blur(12px);
}
.slide-counter-wrapper {
  text-align: center;
  margin-top: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-family: var(--font-heading);
}

/* Fallback page styles */
.fallback-page-section {
  padding: 100px 0;
  background-color: var(--color-surface-light);
  min-height: 80vh;
}
.fallback-container {
  max-width: 800px;
}
.fallback-title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.fallback-content {
  background-color: var(--color-surface-white);
  padding: 40px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ===== Blog Listing Page Styles ===== */
.blog-archive-section {
  padding: 100px 0;
  background-color: var(--color-surface-light);
  min-height: 80vh;
}

.blog-hero-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.blog-hero-subtitle {
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.blog-hero-title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.blog-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Featured Post Card (2-column full width spotlight) */
.featured-post-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 50px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.featured-post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.featured-image-wrapper {
  overflow: hidden;
  position: relative;
  min-height: 320px;
}

.featured-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.featured-content-wrapper {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  color: #c48c1a;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.featured-date {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.featured-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.featured-title a:hover {
  color: var(--color-secondary);
}

.featured-excerpt {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

/* Blog Post Grid & Cards */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-post-card {
  background: var(--color-surface-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

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

.blog-image-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.blog-image-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 3rem;
  transition: opacity 0.3s ease;
}

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-post-date {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post-title {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.blog-post-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.blog-post-title a:hover {
  color: var(--color-secondary);
}

.blog-post-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card-content .btn-read-more {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Custom Pagination Styles */
.blog-pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.blog-pagination-wrapper ul.page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}

.blog-pagination-wrapper ul.page-numbers li a,
.blog-pagination-wrapper ul.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-white);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.blog-pagination-wrapper ul.page-numbers li span.current {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-surface-white);
}

.blog-pagination-wrapper ul.page-numbers li a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-accent);
  text-decoration: none;
}

/* Blog page responsiveness */
@media (max-width: 1024px) {
  .featured-post-card {
    grid-template-columns: 1fr;
  }
  .featured-content-wrapper {
    padding: 35px 30px;
  }
  .featured-image-wrapper {
    min-height: 260px;
    height: 260px;
  }
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 2.0rem;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Single Post Page Styles ===== */
.single-post-hero {
  padding: 80px 0 100px 0;
  background: linear-gradient(180deg, var(--color-surface-light) 0%, #ffffff 100%);
  text-align: center;
}

.single-post-meta {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.single-post-title {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 0;
  line-height: 1.25;
  font-family: var(--font-heading);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Overlapping Featured Image Wrapper */
.single-post-image-wrapper {
  max-width: 900px;
  margin: -60px auto 60px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.single-post-image-inner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-white);
}

.single-post-image-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Distraction-Free Content Column */
.single-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px 80px 30px;
}

.single-post-content {
  line-height: 1.85;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

.single-post-content p {
  margin-bottom: 28px;
}

/* Typography styles for nested elements */
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 45px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.single-post-content h2 { font-size: 1.75rem; }
.single-post-content h3 { font-size: 1.45rem; }
.single-post-content h4 { font-size: 1.25rem; }

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.single-post-content li {
  margin-bottom: 12px;
}

.single-post-content blockquote {
  border-left: 4px solid var(--color-secondary);
  background-color: var(--color-surface-light);
  padding: 24px 30px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-primary);
}

.single-post-content blockquote p {
  margin-bottom: 0;
  font-size: 1.15rem;
}

/* WordPress Alignment and Image Styling */
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
}

.single-post-content .alignleft {
  float: left;
  margin: 0 28px 28px 0;
  max-width: 45%;
}

.single-post-content .alignright {
  float: right;
  margin: 0 0 28px 28px;
  max-width: 45%;
}

.single-post-content .aligncenter {
  display: block;
  margin: 40px auto;
  clear: both;
}

.single-post-content .alignnone {
  display: block;
  margin-bottom: 28px;
}

.single-post-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Post Footer Navigation */
.single-post-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.btn-back-blog {
  display: inline-flex;
  align-items: center;
}

/* Single Post page responsiveness */
@media (max-width: 1024px) {
  .single-post-hero {
    padding: 60px 0 80px 0;
  }
  .single-post-title {
    font-size: 2.5rem;
    padding: 0 20px;
  }
  .single-post-image-wrapper {
    margin-top: -40px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 2rem;
  }
  .single-post-content {
    font-size: 1.05rem;
  }
  .single-post-content .alignleft,
  .single-post-content .alignright {
    float: none;
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
  .single-post-container {
    padding: 0 20px 60px 20px;
  }
}

/* Mobile-only controls defaults */
.mobile-only-controls {
  display: none;
}

/* Media Queries overrides for Refactored Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .market-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-desc {
    font-size: 1.0rem;
    margin-bottom: 30px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-hero-title {
    font-size: 2.2rem;
  }
  .about-hero-desc {
    font-size: 1.05rem;
  }
  .mv-card {
    padding: 30px 20px;
  }
  .contact-form-container {
    padding: 24px;
  }
  .slide-instruction-badge {
    bottom: 12px;
    padding: 6px 16px;
    font-size: 0.8rem;
    gap: 8px;
    white-space: nowrap;
    max-width: 90%;
  }
  .slide-lock-overlay {
    padding: 20px 15px;
  }
  .slide-lock-overlay .lock-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  .slide-lock-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  .slide-lock-overlay p {
    font-size: 0.85rem;
    max-width: 95%;
    margin-bottom: 12px;
  }
  .slide-lock-overlay .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
  }
  .mobile-only-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  .mobile-lang-switch a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
  }
  .mobile-lang-switch a.active {
    color: var(--color-accent);
  }
  .btn-mobile-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .btn-mobile-call {
    width: 100%;
    text-align: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-accent);
  }
  .hero-section {
    padding: 110px 0 60px 0;
    min-height: auto;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    font-size: 0.8rem;
  }
  .footer-bottom p {
    margin: 0;
  }
}
