:root {
  --brand-primary: #030a8c;
  --brand-accent: #0aa0d6;
  --ink-900: #0b1020;
  --ink-700: #2b3345;
  --ink-500: #5a6272;
  --surface-0: #ffffff;
  --surface-50: #f6f8fc;
  --surface-100: #eef2f7;
  --border-100: #e1e6ef;
  --shadow-soft: 0 18px 40px rgba(11, 16, 32, 0.08);
  --shadow-card: 0 14px 28px rgba(11, 16, 32, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-700);
  background: var(--surface-50);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-alt {
  background: linear-gradient(135deg, rgba(3, 10, 140, 0.06), rgba(10, 160, 214, 0.08));
}

.section-surface {
  background: var(--surface-0);
}

.section p {
  font-size: 1.3rem;
}

.page-header p {
  font-size: 1.3rem;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--brand-accent);
}

.btn-primary {
  /* background: var(--brand-primary); */
  background: #fff;
  border-color: var(--brand-accent);
  color: #000;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  box-shadow: 0 12px 22px rgba(3, 10, 140, 0.25);
}

/* .btn-primary:hover {
  background: #050fa8;
  border-color: #050fa8;
  color: #fff;
} */
 .btn-primary:hover {
  background: var(--brand-primary);
  /* border-color: var(--brand-accent); */
  border-color: #fff;
  color: #fff;
}

.btn-outline-primary {
  border-radius: 999px;
  padding: 12px 26px;
  border-color: rgba(3, 10, 140, 0.2);
  color: var(--brand-primary);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: rgba(3, 10, 140, 0.08);
  color: var(--brand-primary);
}

.navbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(225, 230, 239, 0.9);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 62px;
}

.nav-link {
  color: var(--ink-700);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3, 10, 140, 0.85), rgba(10, 160, 214, 0.55));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

.stat-card {
  background: var(--surface-0);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-100);
}

.stat-card h3 {
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.feature-card {
  background: var(--surface-0);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  border: 1px solid var(--border-100);
  box-shadow: var(--shadow-soft);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 160, 214, 0.12);
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.material-card {
  background: var(--surface-0);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-100);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.material-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border-100);
}

.logo-marquee {
  display: flex;
  gap: 350px;
  overflow: hidden;
  padding: 12px 0;
  /* border-radius: var(--radius-lg); */
  /* background: rgba(255, 255, 255, 0.6); */
  /* border: 1px solid var(--border-100); */
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 100px;
  min-width: 100%;
  animation: logo-scroll 22s linear infinite;
}

.logo-track img {
  max-height: 60px;
  opacity: 0.9;
  filter: grayscale(100%);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Clients Section */
.clients-section {
  background: var(--gray-50);
  padding: 4rem 0;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.client-logo {
  height: 60px;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.machine-callout {
  border-radius: var(--radius-lg);
  background: var(--surface-0);
  border: 1px solid var(--border-100);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.process-media {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-100);
  box-shadow: var(--shadow-card);
  padding: 18px;
  margin: 5px;
}

#process-image,
#process-video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

#process-video {
  background: #000;
}

.process-media-wrapper {
  position: relative;
}

/* .process-media-wrapper.video-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(3, 10, 140, 0.65), rgba(10, 160, 214, 0.35));
  border-radius: 16px;
  z-index: 1;
  pointer-events: none;
} */



.accordion-item {
  /* border: 3px solid #000000; */
  border: 0;
  /* border-radius: 12px; */
  margin-bottom: 1rem; /*  Gap between items   */
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: transparent;
}

.accordion-item.active {
  border: 0;
  /* border-color: var(--brand-accent);
  box-shadow: 0 4px 20px rgba(0, 225, 255, 0.6); */
}

.accordion-button {
  font-weight: 600;
  color: var(--ink-900);
  border: 0;
  background-color: transparent;
  font-size: 1.2rem;
  /* color: #fff; */
}

.accordion-button:not(.collapsed) {
  color: var(--brand-primary);
  /* color: #fff; */
  /* background: rgba(3, 10, 140, 0.06); */
  background-color: transparent;
  /* background: #fff; */
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none;
}

.accordion-body
{
  font-size: 1.2rem;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(3, 10, 140, 0.95), rgba(10, 160, 214, 0.9));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
}

.cta-banner h2 {
  color: #fff;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-100);
  background: var(--surface-0);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(3, 10, 140, 0.2);
}

.timeline-item {
  position: relative;
  padding: 20px 0 20px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-accent);
  border: 3px solid var(--surface-0);
  box-shadow: 0 0 0 4px rgba(10, 160, 214, 0.15);
}

.timeline-item h4 {
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--border-100);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(3, 10, 140, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(3, 10, 140, 0.15);
}

.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer h6 {
  color: #fff;
}

.footer img {
  max-width: 350px;
  height: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.85rem;
}

.page-header {
  background: linear-gradient(120deg, rgba(3, 10, 140, 0.92), rgba(10, 160, 214, 0.82));
  color: #fff;
  padding: 90px 0 70px;
}

.page-header h1 {
  color: #fff;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(3, 10, 140, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--brand-primary);
}

.mobile-only {
    display: none;
}

/* Styles for screens smaller than 768px (common mobile breakpoint) */
@media screen and (max-width: 768px) {
    .mobile-only {
        display: block; /* Show as a block element on mobile */
    }
    .desktop-only {
        display: none; /* Hide desktop content on mobile */
    }
}

/* Styles for screens larger than 768px */
@media screen and (min-width: 769px) {
    .desktop-only {
        display: block; /* Show as a block element on desktop */
    }
}

.calculator-card {
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-100);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.table-modern {
  background: var(--surface-0);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table-modern thead {
  background: rgba(3, 10, 140, 0.08);
}

.portfolio-filters .btn {
  border-radius: 999px;
  font-weight: 600;
}

.portfolio-filters .btn.active {
  background: var(--brand-primary);
  color: #fff;
}

@media (max-width: 991px) {
  .hero {
    min-height: 70vh;
  }

  .cta-banner {
    padding: 32px;
  }

  .process-media img {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  .hero-card {
    padding: 20px;
  }

  .navbar-brand img {
    height: 42px;
  }


}
