/* =========================
   HOME PAGE
========================= */

h1, h2, h3 { margin-top: 0; }

/* =========================
   HERO / CAROUSEL
========================= */
.hero-carousel {
  position: relative;
}

.hero-img {
  height: 88vh;
  min-height: 520px;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(8, 18, 40, 0.82) 0%,
    rgba(8, 18, 40, 0.55) 60%,
    rgba(8, 18, 40, 0.3) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 820px;
  padding: 20px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 30px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 16px;
  line-height: 1.15;
  color: #fff;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 36px;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: background var(--ease), opacity var(--ease);
}

.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(255,255,255,0.2);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* =========================
   STATS BAND
========================= */
.stats-band {
  background: var(--navy);
  padding: 0 40px;
}

.stats-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  padding: 36px 40px;
  border-right: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8da3bf;
}

/* =========================
   COMPANY INTRO
========================= */
.company-intro {
  padding: 100px 40px;
  text-align: center;
  background: var(--white);
}

.company-intro .section-subtitle {
  margin: 0 auto 48px;
  max-width: 700px;
}

/* =========================
   PRODUCTS SECTION (HOME)
========================= */
.products-section {
  padding: 80px 40px;
  background: var(--mist);
  text-align: center;
}

.products-section .section-title,
.products-section .section-label {
  display: block;
  text-align: center;
}

.products-section .section-subtitle {
  margin: 0 auto 52px;
  text-align: center;
}

.product-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--ease), transform var(--ease);
  text-align: left;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(13, 31, 60, 0.1);
  transform: translateY(-3px);
}

.products-section .product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 22px 24px 26px;
}

.card-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
}

.products-cta {
  margin-top: 52px;
}

/* =========================
   CHART SECTION
========================= */
.chart-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  padding: 96px 80px;
  background: var(--white);
}

.chart-info .section-title {
  margin-bottom: 20px;
}

.chart-info p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.chart-container {
  background: var(--mist);
  padding: 48px 40px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.chart-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.chart-subtitle {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 36px;
  letter-spacing: 0.2px;
}

.chart {
  display: flex;
  align-items: flex-end;
  height: 280px;
  position: relative;
  border-left: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  padding-left: 50px;
}

.y-axis {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
}

.y-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bar div {
  width: 36px;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
  transition: background var(--ease);
}

.bar:hover div {
  background: var(--accent);
}

.bar span {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
}

.bar-1 div { height: 56px; }
.bar-2 div { height: 112px; }
.bar-3 div { height: 168px; }
.bar-4 div { height: 224px; }
.bar-5 div { height: 268px; }

/* =========================
   CAPABILITIES SECTION
========================= */
.capabilities-section {
  padding: 96px 80px;
  background: var(--mist);
}

.capabilities-header {
  text-align: center;
  margin-bottom: 64px;
}

.capabilities-header .section-subtitle {
  margin: 0 auto;
}

.capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.capability-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.capability-row.reverse {
  direction: rtl;
}

.capability-row.reverse > * {
  direction: ltr;
}

.capability-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.capability-text .section-label {
  display: block;
  margin-bottom: 12px;
}

.capability-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}

.capability-text p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

.capability-text p:last-child {
  margin-bottom: 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
  .capabilities-section {
    padding: 80px 40px;
  }

  .chart-section {
    padding: 80px 40px;
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .hero-img {
    height: 70vh;
  }

  .stats-band-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .chart-section {
    grid-template-columns: 1fr;
    padding: 64px 24px;
    gap: 40px;
  }

  .capability-row,
  .capability-row.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
    padding: 40px 0;
  }

  .capabilities-section {
    padding: 64px 24px;
  }

  .company-intro,
  .products-section {
    padding: 64px 24px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .product-grid { grid-template-columns: 1fr; }

  .chart-container {
    padding: 32px 20px;
  }

  .carousel-control-prev { left: 10px; }
  .carousel-control-next { right: 10px; }
}
