/* ==========================================================================
   V&D TECH — HERO REDESIGN & DARK HOMEPAGE OVERRIDES
   ========================================================================== */

/* --- Hero Section Dark Theme Overrides & Centered Layout --- */
.hero-section-new.sec-navy {
  background: var(--primary);
  color: var(--surface);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
  text-align: center;
}

.hero-section-new .hero-content-centered {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-section-new .hero-title-centered {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 64px);
  color: var(--surface);
  line-height: 1.15;
  margin: 12px 0 24px;
  font-weight: 500;
  text-align: center;
}

.hero-section-new .hero-subtext-centered {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(236, 231, 223, 0.75);
  max-width: 580px;
  margin: 0 auto 36px;
  text-align: center;
}

.hero-section-new .hero-buttons-centered {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Standards Section Card Base & Dark Overrides --- */
.standards-grid-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.standards-intro-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.standards-btn-wrapper {
  margin-top: 32px;
}

.standards-cards-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-row {
  padding: 24px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: var(--white);
}

.card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  flex-shrink: 0;
}

.card-icon-box svg {
  width: 20px;
  height: 20px;
}

.card-row-title {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.card-row-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-navy);
  opacity: 0.85;
  margin: 0;
}

/* Dark section styles for cards inside .sec-navy */
.sec-navy .card-row {
  background: rgba(236, 231, 223, 0.05);
  border-color: rgba(236, 231, 223, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.sec-navy .card-row:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.sec-navy .card-icon-box {
  background-color: rgba(236, 231, 223, 0.08);
  color: var(--accent);
}

.sec-navy .card-row-title {
  color: var(--surface);
}

.sec-navy .card-row-desc {
  color: rgba(236, 231, 223, 0.7);
}

.sec-navy .btn-primary {
  background: var(--surface);
  color: var(--primary);
}

.sec-navy .btn-primary:hover {
  background: var(--bg);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --- Responsive Layout for Standards Section --- */
@media (max-width: 960px) {
  .standards-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .standards-grid-container {
    gap: 32px;
  }

  .standards-intro-col .section-title {
    font-size: clamp(26px, 6.5vw, 34px);
    line-height: 1.25;
  }

  .standards-btn-wrapper {
    margin-top: 24px;
    width: 100%;
  }

  .standards-btn-wrapper .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .standards-cards-list {
    gap: 16px;
  }

  .card-row {
    padding: 20px 22px;
    gap: 16px;
    border-radius: 16px;
  }

  .card-icon-box {
    width: 38px;
    height: 38px;
  }

  .card-row-title {
    font-size: 17px;
    margin-bottom: 4px;
  }

  .card-row-desc {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .standards-grid-container {
    gap: 28px;
  }

  .card-row {
    padding: 16px 18px;
    gap: 14px;
  }

  .card-icon-box {
    width: 36px;
    height: 36px;
  }

  .card-icon-box svg {
    width: 18px;
    height: 18px;
  }
}
