/* =========================================================
   PRODUCTS PAGE — CONTENT ONLY
========================================================= */

/* ===============================
   PAGE HERO
================================ */
.page-hero {
  background-color: var(--primary, #1D8FCB);
  color: #ffffff;
  padding: 35px 30px;
  border-radius: 12px;
  margin-bottom: 25px;
  margin-top: 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ===============================
   PRODUCTS SECTION LABEL
================================ */
.products-section-label {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ===============================
   HOME SECTIONS
================================ */
.home-section {
  padding: 40px 0 30px;
}

.home-section-alt {
  background: var(--light-bg, #f4f8fb);
  padding: 40px 0 40px;
  /* ← sawa na .home-section */
  border-radius: 12px;
  margin-top: 10px;
}

/* ===============================
   SECTION TITLE & SUB
================================ */
.section-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--dark, #003366);
  margin-bottom: 10px;
  line-height: 1.3;
}

.section-sub {
  font-size: 15px;
  color: #5a6378;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 8px;
}

/* ===============================
   PRODUCTS GRID
================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

/* ===============================
   PRODUCT CARD
================================ */
.product-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(11, 37, 69, 0.12);
  padding: 24px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.product-card:hover {
  border-color: var(--gold, #C9922A);
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.10);
}

/* ===============================
   PRODUCT ICON
================================ */
.product-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(201, 146, 42, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--dark, #003366);
  transition:
    background 0.3s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

.product-card:hover .product-icon-wrap {
  background: rgba(201, 146, 42, 0.22);
  color: var(--primary, #1D8FCB);
  transform: scale(1.08);
}

.product-icon-wrap i {
  font-size: 50px;
  pointer-events: none;
}

/* ===============================
   PRODUCT TITLE & DESC
================================ */
.product-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--dark, #003366);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--primary, #1D8FCB);
}

.product-desc {
  font-size: 0.95em;
  color: var(--text-main, #222);
  line-height: 1.6;
}

/* ===============================
   CTA BAND
================================ */
.cta-band {
  background-color: var(--primary, #1D8FCB);
  padding: 52px 2rem;
  text-align: center;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.cta-band h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: #ffffff;
  color: var(--primary, #1D8FCB);
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--light-bg, #def1f9);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===============================
   REVEAL ANIMATION
================================ */
body.products .reveal-up {
  opacity: 0;
  transform: translateY(55px);
  transition:
    opacity .9s ease,
    transform .9s ease;
}

body.products .reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

body.products .delay-1 {
  transition-delay: .1s;
}

body.products .delay-2 {
  transition-delay: .25s;
}

body.products .delay-3 {
  transition-delay: .4s;
}

body.products .delay-4 {
  transition-delay: .55s;
}

/* ===============================
   HERO ANIMATION
================================ */
body.products .page-hero h1 {
  animation: productsHeroSlide 1s ease both;
}

body.products .page-hero p {
  animation: productsHeroFade 1.4s ease both;
}

@keyframes productsHeroSlide {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productsHeroFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 24px;
  }

  .cta-band {
    padding: 36px 1.25rem;
  }

  .cta-band h2 {
    font-size: 24px;
  }
}


/* =========================================================
   PRODUCT CARDS — ROW LAYOUT (icon left, text right)
   Matches services.php svc-card-body row layout exactly
========================================================= */
.product-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.product-icon-wrap {
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 4px;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  flex: 1;
}