/* ================================================================
   ODPL – home.css  (index page only)
   ================================================================ */

/* ── OVERRIDE GLOBAL SPACING ─────────────────────────────────── */
.section { padding: 56px 0; }
.section-header { margin-bottom: 36px; }
.grid-3 { gap: 20px; }
.grid-2 { gap: 40px; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  border-radius: 20px;

  /* Background image */
  background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1600&q=85');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  /* Card-like margin so it sits inside the page */
  margin: 4px 24px 0;
}

/* Single dark overlay — left-heavy gradient */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(25,42,61,.92) 0%,
    rgba(25,42,61,.85) 40%,
    rgba(25,42,61,.60) 70%,
    rgba(25,42,61,.15) 100%
  );
  z-index: 1;
  border-radius: inherit;
}

.hero__bg { display: none; }

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4px 0;
  max-width: 780px;
}

/* Make the hero container flush left instead of centered */
.hero .container {
  margin-left: 0;
  max-width: 100%;
  padding-left: 48px;
  padding-right: 48px;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242,140,40,.15);
  border: 1px solid rgba(242,140,40,.35);
  border-radius: 40px; padding: 5px 16px;
  font-size: .73rem; font-weight: 700; letter-spacing: .1em;
  color: #fba94d; text-transform: uppercase; margin-bottom: 26px;
  animation: fadeUp .5s .1s both;
}
.hero__tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--color-2); border-radius: 50%;
}

.hero__title {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700; color: #fff;
  line-height: 1.17; margin-bottom: 22px;
  animation: fadeUp .5s .2s both;
}
.hero__title em { font-style: normal; color: var(--color-2); }

.hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.80);
  line-height: 1.75; max-width: 520px; margin-bottom: 36px;
  animation: fadeUp .5s .3s both;
}

.hero__actions { display: none; }

.hero__stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
  animation: fadeUp .5s .55s both;
}

/* ── ABOUT ────────────────────────────────────────────────────── */
.about { background: var(--color-6); }
.about__img {
  border-radius: 0; overflow: hidden;
  height: 400px; position: relative;
}
.about__img-inner {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #bec6ce 0%, #a2acb5 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; letter-spacing: .14em;
  color: rgba(30,43,56,.3); font-weight: 700; text-transform: uppercase;
}
.about__img::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 64px; height: 64px; background: var(--color-2);
}
.about__text p {
  font-size: .96rem; color: #5a6878; line-height: 1.78; margin-bottom: 18px;
}
.about__stats {
  display: flex; gap: 32px; margin-bottom: 30px; padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08);
}
.about__stat { display: flex; flex-direction: column; }
.about__stat-num { font-size: 2rem; font-weight: 700; color: var(--color-2); line-height: 1; }
.about__stat-num sup { font-size: 1rem; }
.about__stat-label { font-size: .75rem; color: var(--color-4); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

/* ── SERVICE IMAGE CARDS ─────────────────────────────────────── */
.card--img {
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  border: none;
  min-height: 300px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 16px;
  overflow: hidden;
}
.card--img::before { display: none; }
.card--img__overlay {
  position: absolute; inset: 0;
  background: none;
}
.card--img:hover .card--img__overlay { background: none; }
.card--img__body {
  position: relative; z-index: 1;
  padding: 20px 24px 24px;
  background: linear-gradient(to top, rgba(25,42,61,.85) 0%, transparent 100%);
}
.card--img__body h3 { color: #fff; margin-bottom: 6px; }
.card--img__body p  { display: none; }
.card-link--light { color: var(--color-2); }
.card-link--light:hover { color: #ffa94d; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-rating {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-6); padding: 7px 18px;
  font-size: .82rem; color: var(--color-4); font-weight: 600;
  margin-top: 16px;
}
.stars { color: var(--color-2); letter-spacing: .05em; }

/* ── CROSS-CUTTING ────────────────────────────────────────────── */
.cc-num {
  font-family: var(--heading-font);
  font-size: 2.6rem; font-weight: 700;
  color: rgba(242,140,40,.2); margin-bottom: 16px;
}
.cc-num--light {
  color: rgba(242,140,40,.7);
}

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner__accent {
  position: absolute; right: -120px; top: -120px;
  width: 450px; height: 450px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  pointer-events: none;
}
.cta-banner__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 52px 0;
}
.cta-banner__text { max-width: 600px; }
.cta-banner__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem); color: #fff; margin-bottom: 22px;
}
.cta-banner__bullets {
  display: flex; flex-direction: column; gap: 10px;
}
.cta-banner__bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: rgba(255,255,255,.82);
}
.cta-banner__bullets li::before {
  content: ''; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--color-2); border-radius: 50%;
}
.cta-banner__aside {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start;
}
.cta-banner__img {
  width: 280px; height: 170px;
  background: rgba(0,0,0,.25);
}

/* ── PARTNERS ─────────────────────────────────────────────────── */
.partners__grid {
  display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center;
}
.partner-logo {
  flex: 0 0 auto;
  width: 180px; height: 90px;
  background: #fff; border: 1px solid #e0e8ef;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.partner-logo:hover { box-shadow: 0 4px 18px rgba(25,42,61,.09); transform: translateY(-2px); }
.partner-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.reveal.revealed { opacity: 1; transform: none; }

/* ── KEYFRAMES ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about__img { display: none; }
  .cta-banner__img { display: none; }
}
@media (max-width: 768px) {
  .hero { margin: 12px 12px 0; border-radius: 14px; }
  .hero__content { padding: 64px 0; max-width: 100%; }
  .hero__stats { gap: 20px; }
  .cta-banner__inner { padding: 40px 0; }
}
@media (max-width: 480px) {
  .hero { margin: 8px 8px 0; border-radius: 10px; }
}

/* ── SECTOR SOLUTIONS — side-by-side header ─────────────────── */
.services-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
}
.services-header-row__left { flex: 0 0 auto; }
.services-header-row__left .section-header { margin-bottom: 0; }
.services-header-row__right {
  flex: 1;
  max-width: 480px;
  padding-bottom: 4px;
}
.services-header-row__right .section-desc {
  margin-bottom: 12px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .services-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .services-header-row__right { max-width: 100%; }
}
