/* ==========================================================================
   SSK Innovations - Home Page Scoped Styles (Preserves Global Header & Pages)
   ========================================================================== */

/* 1. HERO SECTION - HALF VERTICAL SIZE & FULLY RESPONSIVE */
.hero-section {
  position: relative;
  width: 100%;
  height: 44vh;
  min-height: 280px;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #060d1d;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 25, 47, 0.25) 0%, rgba(6, 13, 29, 0.75) 100%),
              linear-gradient(rgba(0, 162, 255, 0.05) 1px, transparent 1px),
              linear-gradient(90deg, rgba(0, 162, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  z-index: 2;
  pointer-events: none;
}

/* 2. CAPABILITIES GRID SECTION */
.home-services-section {
  padding: 3.5rem 0 4rem;
  position: relative;
  background: var(--bg-surface, #0d1527);
}

.cap-section-wrap {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-services-section .section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.home-services-section .section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  position: relative;
  display: inline-block;
}

.home-services-section .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00b4db, #0083b0);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.cap-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(240px, 1fr));
  gap: 1rem;
}

@media (max-width: 1440px) {
  .cap-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
  }
}

.cap-card {
  background: var(--card-bg, rgba(20, 30, 55, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-top-width: 4px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

.cap-card:hover {
  transform: translateY(-6px);
}

/* Top border highlights matching provided screenshot */
.cap-card--teal {
  border-top-color: #00b4a7 !important;
}
.cap-card--teal:hover {
  border-top-color: #00b4a7 !important;
  border-color: rgba(0, 180, 167, 0.5);
  box-shadow: 0 16px 30px rgba(0, 180, 167, 0.25);
}

.cap-card--blue {
  border-top-color: #0077c8 !important;
}
.cap-card--blue:hover {
  border-top-color: #0077c8 !important;
  border-color: rgba(0, 119, 200, 0.5);
  box-shadow: 0 16px 30px rgba(0, 119, 200, 0.25);
}

.cap-card--violet {
  border-top-color: #7b2cbf !important;
}
.cap-card--violet:hover {
  border-top-color: #7b2cbf !important;
  border-color: rgba(123, 44, 191, 0.5);
  box-shadow: 0 16px 30px rgba(123, 44, 191, 0.25);
}

.cap-card--orange {
  border-top-color: #f77f00 !important;
}
.cap-card--orange:hover {
  border-top-color: #f77f00 !important;
  border-color: rgba(247, 127, 0, 0.5);
  box-shadow: 0 16px 30px rgba(247, 127, 0, 0.25);
}

.cap-card--emerald {
  border-top-color: #00a86b !important;
}
.cap-card--emerald:hover {
  border-top-color: #00a86b !important;
  border-color: rgba(0, 168, 107, 0.5);
  box-shadow: 0 16px 30px rgba(0, 168, 107, 0.25);
}

.cap-card__header {
  padding: 1rem 1rem 0.6rem;
}

.cap-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}

.cap-card--teal .cap-card__badge { background: rgba(0, 180, 167, 0.15); color: #00b4a7; }
.cap-card--blue .cap-card__badge { background: rgba(0, 119, 200, 0.15); color: #0077c8; }
.cap-card--violet .cap-card__badge { background: rgba(123, 44, 191, 0.15); color: #8b5cf6; }
.cap-card--orange .cap-card__badge { background: rgba(247, 127, 0, 0.15); color: #f77f00; }
.cap-card--emerald .cap-card__badge { background: rgba(0, 168, 107, 0.15); color: #00a86b; }

.cap-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
}

.cap-card__img-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #0b1324;
}

.cap-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cap-card:hover .cap-card__img {
  transform: scale(1.08);
}

.cap-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 21, 39, 0.65) 0%, rgba(13, 21, 39, 0.05) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.65rem;
}

.cap-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
}

.cap-card__body {
  padding: 0.95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cap-card__list {
  list-style: disc;
  padding-left: 1.15rem;
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-secondary, #94a3b8);
  flex-grow: 1;
}

.cap-card__list li {
  margin-bottom: 0.32rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-secondary, #94a3b8);
}

.cap-card__list li:last-child {
  margin-bottom: 0;
}

.cap-card__text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-secondary, #94a3b8);
  margin-bottom: 0.9rem;
  flex-grow: 1;
}

.cap-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.cap-card__btn:hover {
  color: #7dd3fc;
  gap: 0.65rem;
}

/* 3. PARTNERS INFINITE MARQUEE (VIBRANT & BRIGHT LOGOS) */
.partners-ribbon-section {
  padding: 2.25rem 0;
  background: var(--bg-surface-alt, #09101f);
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  overflow: hidden;
}

.partners-ribbon-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 1.25rem;
}

.partners-ribbon-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partners-ribbon-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: ribbonMarquee 35s linear infinite;
  padding: 0.5rem 0;
  will-change: transform;
}

.partners-ribbon-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  flex-shrink: 0;
  height: 56px;
  padding: 8px 18px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-logo-item img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

.partner-logo-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
  border-color: #38bdf8;
}

@keyframes ribbonMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 4. COLLABORATION (MATPLUS) SECTION */
.collab-section {
  padding: 4.5rem 0;
  background: var(--bg-surface, #0d1527);
}

.collab-card-premium {
  background: var(--card-bg, rgba(20, 30, 55, 0.8));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.collab-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
}

.collab-img-col {
  text-align: center;
}

.collab-premium-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.collab-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.collab-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  margin-bottom: 1.25rem;
}

.collab-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary, #94a3b8);
  margin-bottom: 1rem;
}

.collab-pillars-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 1.5rem 0 0.85rem;
}

.collab-pillars-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.75rem;
}

.collab-pillars-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 0.5rem;
}

.collab-pillars-list i {
  color: #10b981;
  font-size: 0.95rem;
}

/* 5. STATS & TECHNOLOGY STACK SECTION */
.stats-tech-section {
  padding: 4.5rem 0;
  background: var(--bg-surface-alt, #09101f);
}

.stats-tech-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stats-glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card-glass {
  background: var(--card-bg, rgba(20, 30, 55, 0.75));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-card-glass:hover {
  transform: translateY(-5px);
}

.stat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.stat-icon-badge.bg-primary-subtle { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon-badge.bg-violet-subtle { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.stat-icon-badge.bg-orange-subtle { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.stat-icon-badge.bg-emerald-subtle { background: rgba(16, 185, 129, 0.15); color: #10b981; }

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

.tech-stack-container {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
}

.tech-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #38bdf8;
  letter-spacing: 0.1em;
  display: block;
}

.tech-main-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.25rem;
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tech-card-modern {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tech-card-modern:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
}

.tech-icon-wrap {
  margin-bottom: 0.75rem;
}

.tech-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.tech-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

/* 6. TESTIMONIALS CAROUSEL SECTION */
.testimonials-section-premium {
  padding: 4.5rem 0;
  background: var(--bg-surface, #0d1527);
  position: relative;
}

.testimonials-carousel-container {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

.testimonial-slides-wrapper {
  position: relative;
  min-height: 290px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  pointer-events: none;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.testimonial-card-premium {
  background: var(--card-bg, rgba(20, 30, 55, 0.85));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 3rem 2.5rem;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.quote-backdrop-icon {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.stars-rating-wrap {
  color: #eab308;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
  justify-content: center;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--text-primary, #e2e8f0);
  margin-bottom: 1.75rem;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-details {
  text-align: left;
}

.avatar-gradient-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.avatar-blue { background: linear-gradient(135deg, #0284c7, #0369a1); }
.avatar-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.avatar-orange { background: linear-gradient(135deg, #ea580c, #c2410c); }
.avatar-violet { background: linear-gradient(135deg, #7c3aed, #5b21b6); }

.author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.author-desig {
  font-size: 0.85rem;
  color: var(--text-muted, #94a3b8);
}

/* Carousel Navigation & Dots */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.testimonial-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-bg, rgba(20, 30, 55, 0.8));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
  color: var(--text-primary, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.9rem;
}

.testimonial-arrow-btn:hover {
  background: var(--primary, #0284c7);
  border-color: var(--primary, #0284c7);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.testimonial-dots-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 20px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

[data-theme="light"] .testimonial-dot {
  background: #cbd5e1;
}

[data-theme="light"] .testimonial-dot.active {
  background: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .testimonial-arrow-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .testimonial-arrow-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* 7. FLOATING WIDGETS */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-chat-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.whatsapp-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-chat-link:hover .whatsapp-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.whatsapp-chat-link:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.sticky-demo-cta {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 998;
}

.demo-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.15rem;
  border-radius: 25px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.5);
}

/* =========================================
   LIGHT THEME OVERRIDES (CRISP & HIGH CONTRAST)
   ========================================= */
[data-theme="light"] .home-services-section,
[data-theme="light"] .collab-section,
[data-theme="light"] .testimonials-section-premium {
  background: #f8fafc;
}

[data-theme="light"] .partners-ribbon-section,
[data-theme="light"] .stats-tech-section {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

[data-theme="light"] .cap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top-width: 4.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cap-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cap-card__title,
[data-theme="light"] .collab-title,
[data-theme="light"] .collab-pillars-title,
[data-theme="light"] .home-services-section .section-title,
[data-theme="light"] .quote-text,
[data-theme="light"] .author-name {
  color: #0f172a;
}

[data-theme="light"] .cap-card__text,
[data-theme="light"] .collab-desc,
[data-theme="light"] .collab-pillars-list li,
[data-theme="light"] .stat-label,
[data-theme="light"] .author-desig,
[data-theme="light"] .partners-ribbon-label {
  color: #475569;
}

[data-theme="light"] .collab-card-premium,
[data-theme="light"] .stat-card-glass,
[data-theme="light"] .testimonial-card-premium {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-stack-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-stack-container h3,
[data-theme="light"] .tech-title {
  color: #0f172a;
}

[data-theme="light"] .tech-card-modern {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .tech-card-modern:hover {
  background: #f1f5f9;
  border-color: #0284c7;
}

[data-theme="light"] .tech-desc {
  color: #475569;
}

/* =========================================
   RESPONSIVE OPTIMIZATIONS ACROSS ALL DEVICES
   ========================================= */

/* Large Screens & Desktops (> 1200px) */
@media (min-width: 1200px) {
  .hero-section {
    height: 44vh;
    min-height: 290px;
    max-height: 420px;
  }
}

/* Laptops / Desktop Narrow (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .hero-section {
    height: 38vh;
    min-height: 260px;
    max-height: 360px;
  }
}

/* Tablets Landscape & Portrait (768px to 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    height: 32vh;
    min-height: 230px;
    max-height: 320px;
  }
  .collab-grid-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-tech-grid-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cap-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collab-card-premium { padding: 2.25rem 2rem; }
  .testimonial-card-premium { padding: 2.25rem 2rem; }
}

/* Mobile Devices & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .home-services-section,
  .collab-section,
  .stats-tech-section,
  .testimonials-section-premium {
    padding: 3rem 0;
  }
  .cap-section-wrap {
    padding: 0 1rem;
  }
  .cap-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .hero-section {
    height: 28vh;
    min-height: 200px;
    max-height: 260px;
  }
  .collab-card-premium {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .collab-title {
    font-size: 1.6rem;
  }
  .tech-stack-container {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .testimonial-card-premium {
    padding: 2.25rem 1.5rem;
    border-radius: 16px;
  }
  .quote-text {
    font-size: 1.05rem;
  }
  .sticky-demo-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 990;
  }
  .demo-cta-button {
    width: 100%;
    border-radius: 0;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
  }
  .whatsapp-floating-widget {
    bottom: 60px;
    right: 15px;
    z-index: 995;
  }
  .whatsapp-icon-circle {
    width: 48px;
    height: 48px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* iPhone 16 Pro Max (430px), iPhone 15/14 (390px-430px), Modern Mobiles */
@media (max-width: 576px) {
  .container,
  .collab-container,
  .stats-tech-container-wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero-section {
    height: 220px;
    min-height: 180px;
    max-height: 250px;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .collab-card-premium {
    padding: 1.5rem 1rem;
  }
  .collab-title {
    font-size: 1.35rem;
  }
  .collab-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .collab-pillars-title {
    font-size: 1.05rem;
  }
  .collab-pillars-list li {
    font-size: 0.82rem;
    gap: 0.5rem;
  }
  .stats-glass-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .stat-card-glass {
    padding: 1rem 0.75rem;
  }
  .stat-number {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .stat-icon-badge {
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
  }
  .tech-stack-container {
    padding: 1.5rem 1rem;
  }
  .tech-main-heading {
    font-size: 1.25rem;
  }
  .tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .tech-card-modern {
    padding: 1rem;
  }
  .testimonial-card-premium {
    padding: 1.75rem 1rem;
  }
  .quote-backdrop-icon {
    font-size: 2rem;
    top: 1rem;
    right: 1rem;
  }
  .quote-text {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
}

/* Extra Small Phones (< 380px) */
@media (max-width: 380px) {
  .stats-glass-grid {
    grid-template-columns: 1fr;
  }
}

/* SIEMENS HIGHLIGHT SECTION */
.siemens-highlight-section {
  padding: 0 0 4.5rem 0;
  background: var(--bg-surface, #0d1527);
}

.siemens-card-premium {
  background: var(--card-bg, rgba(20, 30, 55, 0.8));
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.siemens-grid-wrap {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.siemens-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.siemens-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.siemens-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary, #94a3b8);
  margin-bottom: 2rem;
}

.siemens-btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-siemens-amber {
  background: #f59e0b;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-siemens-amber:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-siemens-outline {
  background: transparent;
  color: #38bdf8 !important;
  border: 1.5px solid #0284c7;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-siemens-outline:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: #38bdf8;
  color: #7dd3fc !important;
  transform: translateY(-2px);
}

.siemens-preview-box {
  background: #091020;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.siemens-brand-text {
  color: #2dd4bf;
  font-weight: 900;
  font-size: 2.35rem;
  letter-spacing: 4px;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.siemens-box-heading {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.siemens-box-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.btn-siemens-blue {
  width: 100%;
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
}

.btn-siemens-blue:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

[data-theme="light"] .siemens-highlight-section {
  background: #f8fafc;
}

[data-theme="light"] .siemens-card-premium {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .siemens-title {
  color: #0f172a;
}

[data-theme="light"] .siemens-desc {
  color: #475569;
}

@media (max-width: 992px) {
  .siemens-grid-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .siemens-highlight-section {
    padding: 0 0 3rem 0;
  }
  .siemens-card-premium {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }
  .siemens-title {
    font-size: 1.6rem;
  }
  .siemens-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .siemens-btn-group .btn-siemens-amber,
  .siemens-btn-group .btn-siemens-outline {
    width: 100%;
  }
  .siemens-preview-box {
    padding: 2rem 1.25rem;
  }
}

