/* ====================================
   Divine Smiles — new hero (dh- prefix)
   Sept 2026 design refresh
   ==================================== */

.dh-hero *,
.dh-hero *::before,
.dh-hero *::after { box-sizing: border-box; }

.dh-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  max-height: 960px;
  overflow: visible;
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
}

.dh-hero-img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.dh-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.dh-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.10);
  z-index: 1;
}

.dh-vignette {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 65% 40%, transparent 25%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.dh-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 30%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,1) 85%, rgba(255,255,255,1) 100%);
  z-index: 3;
}

.dh-content {
  position: relative;
  z-index: 5;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 56px 120px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dh-text { max-width: 520px; }

.dh-text h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 58px;
  line-height: 1.04;
  color: #ffffff;
  margin: 0 0 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4), 0 1px 6px rgba(0,0,0,0.3);
}

.dh-glow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: #7ec8e3;
  animation: dhGlow 3s ease-in-out infinite;
}
@keyframes dhGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(126,200,227,0.3), 0 0 30px rgba(126,200,227,0.15), 0 2px 20px rgba(0,0,0,0.3); }
  50%      { text-shadow: 0 0 20px rgba(126,200,227,0.6), 0 0 60px rgba(126,200,227,0.3), 0 0 100px rgba(126,200,227,0.15), 0 2px 20px rgba(0,0,0,0.3); }
}

.dh-text p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin: 0 0 36px;
  font-weight: 400;
  max-width: 440px;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}

.dh-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.dh-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.015em;
  transition: all 0.35s ease;
  cursor: pointer;
  border: none;
}
.dh-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.dh-btn-primary {
  background: #2b8bc5;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(43,139,197,0.35);
}
.dh-btn-primary:hover {
  background: #1e6f9e;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(43,139,197,0.4);
}

.dh-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #2b8bc5;
}
.dh-btn-outline:hover {
  background: #2b8bc5;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(43,139,197,0.35);
}

.dh-info-bar {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 56px;
  max-width: 1000px;
  margin: 0 auto;
}

@keyframes dhFloat1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes dhFloat2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes dhFloat3 { 0%,100%{transform:translateY(-2px)} 50%{transform:translateY(-6px)} }

.dh-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.dh-card:nth-child(1) { animation: dhFloat1 4.5s ease-in-out infinite; }
.dh-card:nth-child(2) { animation: dhFloat2 5s ease-in-out 0.4s infinite; }
.dh-card:nth-child(3) { animation: dhFloat3 4.8s ease-in-out 0.8s infinite; }

.dh-card:hover {
  background: rgba(13,34,52,0.75);
  border-color: rgba(126,200,227,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  animation-play-state: paused;
}

.dh-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a8cc7, #7ec8e3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 0 0 14px 14px;
}
.dh-card:hover::after { transform: scaleX(1); }

.dh-ic-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #eef7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}
.dh-ic-icon svg {
  width: 16px; height: 16px;
  stroke: #1678b0; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: all 0.4s ease;
}

.dh-ic-label {
  font-size: 9px; font-weight: 700;
  color: #1678b0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1px;
  transition: color 0.4s ease;
}
.dh-ic-value {
  font-size: 12.5px;
  color: #1a2e42;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.dh-card:hover .dh-ic-icon {
  background: linear-gradient(135deg, #1a8cc7, #3dbde8);
  box-shadow: 0 3px 14px rgba(26,140,199,0.35);
}
.dh-card:hover .dh-ic-icon svg { stroke: #ffffff; }
.dh-card:hover .dh-ic-label { color: #7ec8e3; }
.dh-card:hover .dh-ic-value { color: #ffffff; }

/* When the Weblium transparent-header sits on top, we add extra top padding
   so the title isn't tucked under the nav */
.dh-hero .dh-content { padding-top: 96px; }

/* Responsive */
@media (max-width: 960px) {
  .dh-content { padding: 96px 32px 100px; }
  .dh-info-bar { padding: 0 32px; }
  .dh-text h1 { font-size: 48px; }
}
@media (max-width: 640px) {
  .dh-hero { min-height: 640px; max-height: none; height: auto; padding-bottom: 200px; }
  .dh-content { padding: 110px 20px 30px; min-height: 400px; height: auto; }
  .dh-info-bar { flex-direction: column; padding: 0 20px; bottom: 14px; gap: 6px; }
  .dh-card { padding: 12px 14px; }
  .dh-btns { flex-direction: column; }
  .dh-btn { justify-content: center; width: 100%; }
  .dh-text h1 { font-size: 38px; }
}
