/* ============================================================
   ADFC WordPress Theme - Homepage Custom Styles
   Retouched & refined visual styling (sleek, technical, non-bulky)
   ============================================================ */

/* ── HERO SECTION ────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--adfc-charcoal-dark);
  padding-top: 120px;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.85) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 30%, rgba(25, 113, 185, 0.35) 0%, rgba(30, 32, 36, 0.92) 80%);
}

.hero-grid-mesh {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.05;
  background-image:
    linear-gradient(to right, #FFFFFF 1px, transparent 1px),
    linear-gradient(to bottom, #FFFFFF 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adfc-gold);
  background: rgba(253, 192, 16, 0.1);
  border: 1px solid rgba(253, 192, 16, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-pill-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--adfc-gold);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.12;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  color: var(--adfc-gold);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  max-width: 680px;
  margin-inline: auto;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.hero-tag-link:hover {
  background: var(--adfc-gold);
  border-color: var(--adfc-gold);
  color: var(--adfc-charcoal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(253, 192, 16, 0.3);
}

.hero-accent-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--adfc-blue) 0%, var(--adfc-gold) 100%);
  z-index: 5;
}

/* ── INTRO / WHY CHOOSE ADFC SECTION ────────────────────── */
.intro-section {
  background: var(--adfc-bg-surface);
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.intro-content p {
  font-size: 1.0625rem;
  color: var(--adfc-text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.intro-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--adfc-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  transform: translateX(4px);
  border-color: rgba(25, 113, 185, 0.25);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--adfc-gold-light);
  border-radius: var(--radius-md);
  color: #D69E00;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adfc-text-main);
  margin-bottom: 0.35rem;
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--adfc-text-body);
  line-height: 1.55;
}


/* ── PROCESS SECTION (How We Work) ──────────────────────── */
.process-section {
  background: var(--adfc-charcoal-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding-block: 6rem;
}

.process-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(25, 113, 185, 0.22) 0%, rgba(253, 192, 16, 0.05) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
}

.process-mesh-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, #FFFFFF 1px, transparent 1px),
    linear-gradient(to bottom, #FFFFFF 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.hero-pill-badge--gold {
  color: var(--adfc-gold);
  background: rgba(253, 192, 16, 0.1);
  border-color: rgba(253, 192, 16, 0.3);
  margin-bottom: 1rem;
}

.process-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 1rem;
}

.process-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.8rem 3.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--adfc-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(253, 192, 16, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(253, 192, 16, 0.12);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-card__icon-box {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(253, 192, 16, 0.08);
  border: 1.5px solid rgba(253, 192, 16, 0.25);
  border-radius: var(--radius-md);
  color: var(--adfc-gold);
  margin-bottom: 1.5rem;
  transition: all 0.35s ease;
}

.process-card:hover .process-card__icon-box {
  background: rgba(253, 192, 16, 0.18);
  border-color: var(--adfc-gold);
  transform: scale(1.06) rotate(3deg);
}

.process-card__icon-box svg {
  width: 26px;
  height: 26px;
}

.process-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.process-card__desc {
  font-size: 0.875rem;
  color: var(--adfc-text-white-sub);
  line-height: 1.65;
}

/* Creative Bottom-Right Step Number */
.process-card__number-br {
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-card__number-br {
  color: var(--adfc-gold);
  opacity: 1;
  transform: translateY(-2px) scale(1.08);
  text-shadow: 0 4px 18px rgba(253, 192, 16, 0.45);
}


/* ── PRODUCTS / SOLUTIONS SECTION ───────────────────────── */
.products-section {
  background: var(--adfc-bg-main);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--adfc-text-muted);
}

/* Solutions grid — 3 columns for 6 cards */
.card-grid--solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card__custom-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* 6th Card CTA Highlight */
.product-card--cta {
  background: linear-gradient(135deg, #1971B9 0%, #11538A 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(25, 113, 185, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.product-card--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--adfc-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  z-index: 5;
}

.product-card--cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(25, 113, 185, 0.35);
  border-color: rgba(253, 192, 16, 0.6) !important;
}

.product-card--cta:hover::before {
  transform: scaleX(1);
}

.product-card--cta::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.product-card__icon--cta {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--adfc-gold) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.product-card__icon--cta svg {
  width: 24px;
  height: 24px;
}

.product-card__title--cta {
  color: #FFFFFF !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.product-card__desc--cta {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.product-card__cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.product-card__cta-actions .btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.78125rem;
  white-space: nowrap;
}


/* ── INDUSTRIES SECTION ─────────────────────────────────── */
.industries-section {
  background: var(--adfc-bg-surface);
  border-top: 1px solid var(--adfc-border-subtle);
  border-bottom: 1px solid var(--adfc-border-subtle);
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.industry-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.industry-pill {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--adfc-blue);
  background: #FFFFFF;
  border: 1px solid rgba(25, 113, 185, 0.2);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.industry-pill:hover {
  background: var(--adfc-blue);
  color: #FFFFFF;
  border-color: var(--adfc-blue);
}

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

.stat-box {
  padding: 1.75rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--adfc-border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--adfc-blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adfc-text-muted);
}

/* ── CORE VALUES SECTION ────────────────────────────────── */
.values-section {
  background: var(--adfc-charcoal-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.values-section .section-header h2 {
  color: #FFFFFF;
}

.values-section .section-subtitle {
  color: var(--adfc-text-white-sub);
}

.value-card-item {
  padding: 2.5rem 2rem;
  background: #23272F;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--adfc-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.value-card-item:hover {
  background: #282C35;
  border-color: rgba(253, 192, 16, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(253, 192, 16, 0.1);
}

.value-card-item:hover::before {
  transform: scaleX(1);
}

.value-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  border: 1.5px solid var(--adfc-gold);
  border-radius: var(--radius-md);
  color: var(--adfc-gold);
}

.value-card-icon svg {
  width: 26px;
  height: 26px;
}

.value-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.value-card-body {
  font-size: 0.875rem;
  color: var(--adfc-text-white-sub);
  line-height: 1.65;
}


/* ── INTEGRATED CLIENTS SUBBLOCK & LOGO CAROUSEL ─────────── */
.clients-subblock {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--adfc-border-subtle);
}

.clients-subblock-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  text-align: center;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  padding-block: 0.5rem 1.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-carousel__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  align-items: center;
  animation: logoScroll 30s linear infinite;
}

.logo-carousel__track:hover {
  animation-play-state: paused;
}

.logo-carousel__item {
  flex-shrink: 0;
  width: 180px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0.85;
}

.logo-carousel__item img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
  transition: transform 0.3s ease;
}

.logo-carousel__item:hover {
  transform: scale(1.15) translateY(-2px);
  opacity: 1;
}

.logo-carousel__item:hover img {
  transform: scale(1.05);
}

@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── CTA BANNER STRIP ───────────────────────────────────── */
.cta-banner-strip {
  background: linear-gradient(135deg, #1971B9 0%, #11538A 100%);
  padding-block: 3.5rem;
  color: #FFFFFF;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner-text h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}


/* ── RESPONSIVE HOMEPAGE ────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-grid,
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--solutions {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .process-pipeline-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--solutions {
    grid-template-columns: 1fr;
  }

  .clients-subblock {
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .logo-carousel {
    padding-block: 0.5rem 1rem;
  }

  .logo-carousel__track {
    gap: 1rem;
    animation-duration: 20s;
  }

  .logo-carousel__item {
    width: calc(50vw - 1.5rem);
    height: 55px;
    padding: 6px 8px;
  }
}
