:root {
  --primary-color: #11285e;
  --secondary-color: #1e40af;
  --accent-color: #f59e0b;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 1.1vw, 18px);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
  background: var(--primary-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

.btn-hero {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.shape-2 {
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
}

/* About Section */
.about {
  background: var(--light-color);
}

.origami-quote {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--secondary-color);
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.origami-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: 20px;
}

/* Client Section Styles */
.client-logos {
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.client-logo {
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
}

.placeholder-logo {
  color: white;
  border-radius: 15px;
  padding: 2rem 1rem;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.placeholder-logo:hover {
  transform: scale(1.05);
}

.placeholder-logo i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.placeholder-logo span {
  font-weight: 600;
}

.client-testimonial {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.client-testimonial::before {
  content: '"';
  font-size: 6rem;
  color: var(--accent-color);
  position: absolute;
  top: -20px;
  left: 30px;
  opacity: 0.3;
}

/* Enhanced About Section */
.origami-steps {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #6b7280;
  margin: 0;
}

.step-arrow {
  text-align: center;
  color: var(--accent-color);
  font-size: 1.5rem;
  margin: 1rem 0;
}

.value-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.value-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-card p {
  color: #6b7280;
  line-height: 1.7;
}

/* Enhanced Team Cards */
.team-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-picture {
  position: relative;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
}

.mentor-profile-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-overlay {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  border: 2px solid white;
}

.team-info h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.team-role {
  color: var(--accent-color);
  font-weight: 500;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}

.team-achievements {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.achievement-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #6b7280;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}

.achievement-item i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  width: 16px;
}

/* Enhanced Mentor Card */
.mentor-header {
  text-align: center;
  margin-bottom: 2rem;
}

.mentor-picture {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.mentor-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.mentor-info h4 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.mentor-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
}

.mentor-achievements {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.achievement-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-badge i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}
.team-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-card p {
  color: #6b7280;
  line-height: 1.7;
}

/* Mentor Section */
.mentor-card {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.mentor-card h4 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
}

/* Experiments Section */

/* Products Section Styles */
.product-showcase {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.product-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color)
}

.product-visual {
  position: relative;
}

.product-mockup {
  perspective: 1000px;
}

.browser-frame {
  background: #f8fafc;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}


.browser-header {
  background: #e5e7eb;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.browser-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ef4444;
}
.dot.yellow {
  background: #f59e0b;
}
.dot.green {
  background: #10b981;
}

.url-bar {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  flex: 1;
}

.browser-content {
  background: white;
  padding: 2rem;
  min-height: 200px;
}

.presentation-preview {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}



.product-details {
  padding-left: 2rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color), #d97706);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.product-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.product-tagline {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 2rem;
}

.product-description {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light-color);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  font-weight: 500;
  color: var(--dark-color);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-item i {
  color: var(--primary-color);
}

.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-product-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  border: none;
}

.btn-product-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-product-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.btn-product-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design for Products */

@media (max-width: 991px) {
  .product-title {
    margin-top: 2rem;
  }
} 

@media (max-width: 768px) {
  .product-details {
    padding-left: 0;
    margin-top: 2rem;
  }


  .product-actions {
    flex-direction: column;
  }

  .btn-product-primary,
  .btn-product-secondary {
    text-align: center;
    justify-content: center;
  }
}
/* Contact Section */
.contact {
  background: var(--dark-color);
  color: white;
}

.contact .section-title {
  color: white;
}

.contact .section-title::after {
  background: var(--accent-color);
}


.contact-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
}

.contact-info h5 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.contact-info .list-unstyled li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info .list-unstyled li i {
  color: var(--accent-color);
  margin-right: 1rem;
  width: 20px;
}

/* ========== FOOTER SECTION STYLES ========== */

footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 4rem 0 2rem;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
}

footer h5,
footer h6 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
}

footer p {
  color: #9ca3af;
  line-height: 1.5;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
}

footer .bi {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  transition: transform 0.3s ease;
}

footer .bi:hover {
  transform: scale(1.2);
  color: var(--accent-color);
}

footer ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

footer hr {
  border-color: #374151;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

footer .text-center a {
  text-decoration: underline;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================================================
   Tirja Holding Portal — Research & Services Showcase Extensions
   ============================================================================== */

/* Hero Stats Bar */
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  color: white;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-stat-pill i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Section Subtitles & Headers */
.section-subtitle-text {
  max-width: 780px;
  margin: 0 auto 3.5rem;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
}

/* Badges */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #9333ea;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.badge-domain {
  background: rgba(17, 40, 94, 0.08);
  color: var(--primary-color);
  border: 1px solid rgba(17, 40, 94, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: none;
}

/* Research & Service Showcase Card */
.showcase-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.showcase-card.card-aindrak::before {
  background: linear-gradient(90deg, #9333ea, #c084fc);
}

.showcase-card.card-mapabharat::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.showcase-card.card-performind::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.showcase-card.card-empowerpoint::before {
  background: linear-gradient(90deg, #ea580c, #f97316);
}

.showcase-card.card-samavid::before {
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}

/* Showcase Visual Box */
.showcase-visual {
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.showcase-visual img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-visual img {
  transform: scale(1.03);
}

/* Pillar List */
.pillar-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.pillar-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(17, 40, 94, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar-item strong {
  color: #1e293b;
}

/* Placeholder specific styling */
.placeholder-banner {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #475569;
}

.placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #e2e8f0;
  color: #475569;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ==================== Origami Evolution Timeline ==================== */
.origami-evolution-container {
  position: relative;
  margin: 3.5rem 0 2rem;
}

.origami-evolution-track {
  position: relative;
}

.origami-evolution-track::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 28px;
  width: 3px;
  background: linear-gradient(
    180deg,
    #7e22ce 0%,
    #0284c7 25%,
    #059669 50%,
    #ea580c 75%,
    #4f46e5 100%
  );
  border-radius: 3px;
}

@media (min-width: 992px) {
  .origami-evolution-track::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.origami-fold-node {
  position: relative;
  margin-bottom: 2.75rem;
}

.origami-fold-node:last-child {
  margin-bottom: 0;
}

.fold-marker {
  position: absolute;
  left: 28px;
  top: 24px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 2;
  border: 3px solid white;
}

@media (min-width: 992px) {
  .fold-marker {
    left: 50%;
  }
}

.origami-fold-card {
  background: white;
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-left: 64px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.origami-fold-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .origami-fold-card {
    margin-left: 0;
    width: 44%;
  }
  .origami-fold-node.left .origami-fold-card {
    margin-right: auto;
  }
  .origami-fold-node.right .origami-fold-card {
    margin-left: auto;
  }
}

.fold-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.fold-number-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
}

.fold-concept-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  font-style: italic;
}

.fold-product-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.fold-body-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1rem;
}

.fold-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fold-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 6px;
  font-weight: 500;
}

/* ==================== Origami Fork Cards ==================== */
.fork-card {
  background: white;
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}

.fork-card.fork-a {
  border-top: 4px solid #ea580c;
}

.fork-card.fork-b {
  border-top: 4px solid #4f46e5;
}

/* ==================== Evolution Side-by-Side Carousels ==================== */
.evolution-card {
  background: white;
  border-radius: 20px;
  padding: 1.85rem;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.07);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evolution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
}

.evolution-card.anasua-card {
  border-top: 5px solid #ea580c;
}

.evolution-card.samavid-card {
  border-top: 5px solid #06b6d4;
}

.evolution-carousel-frame {
  background: #090e1c;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.evolution-carousel-frame .carousel,
.evolution-carousel-frame .carousel-inner,
.evolution-carousel-frame .carousel-item {
  height: 100%;
  width: 100%;
}

.evolution-carousel-frame .carousel-item {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  height: 100%;
  width: 100%;
  padding: 0.5rem;
}

.evolution-carousel-frame .carousel-item.active {
  display: flex;
}

.evolution-carousel-frame img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
  border-radius: 8px;
}

.carousel-slide-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.evolution-carousel-frame .carousel-control-prev,
.evolution-carousel-frame .carousel-control-next {
  width: 42px;
  height: 42px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  margin: 0 10px;
  opacity: 0.75;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.evolution-carousel-frame .carousel-control-prev:hover,
.evolution-carousel-frame .carousel-control-next:hover {
  opacity: 1;
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-50%) scale(1.08);
}

.evolution-carousel-frame .carousel-indicators {
  margin-bottom: 0.65rem;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.evolution-carousel-frame .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  transition: all 0.25s ease;
  margin: 0;
}

.evolution-carousel-frame .carousel-indicators .active {
  width: 22px;
  border-radius: 4px;
  background-color: #38bdf8;
}

.anasua-card .carousel-indicators .active {
  background-color: #f59e0b;
}

/* Evolution Steps Breakdown */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.step-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.badge-step-anasua {
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.badge-step-samavid {
  background: rgba(6, 182, 212, 0.12);
  color: #0369a1;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.step-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
}

.step-text strong {
  color: #0f172a;
}



