
/* ==========================================================
   DHIDIB TECH — PERMANENT MULTI-SLIDER TEXT FIX
   No text baked into starter images. One HTML text layer only.
   ========================================================== */

.dt-slider-perfect{
  position:relative;
  height:365px;
  overflow:hidden;
  border-radius:0 0 10px 10px;
  background:#eee7db;
  isolation:isolate;
}

.dt-perfect-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .5s ease,visibility .5s ease;
}

.dt-perfect-slide.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:2;
}

.dt-perfect-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none !important;
  object-fit:cover;
  object-position:center;
}

.dt-perfect-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.74) 0%,rgba(255,255,255,.48) 35%,rgba(255,255,255,.14) 72%),
    linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.22),rgba(255,255,255,.05));
}

.dt-perfect-copy{
  position:absolute;
  z-index:4;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(760px,68%);
  margin:0;
  padding:0 10px;
  text-align:center;
  color:#071f3e;
  text-shadow:0 1px 0 rgba(255,255,255,.85);
}

/* Exact controlled vertical rhythm prevents every overlap. */
.dt-perfect-eyebrow{
  display:block;
  margin:0 0 8px;
  padding:0;
  color:#d48600;
  font:italic 28px/1.08 Georgia,serif;
}

.dt-perfect-copy h1{
  display:block;
  margin:0 0 9px !important;
  padding:0 !important;
  color:#071f3e !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:50px !important;
  font-weight:900 !important;
  line-height:1.02 !important;
  letter-spacing:-1px !important;
  text-transform:none;
  white-space:normal;
}

.dt-perfect-subtitle{
  display:block;
  margin:0 0 10px;
  padding:0;
  color:#d48600;
  font:italic 26px/1.08 Georgia,serif;
}

.dt-perfect-copy p{
  display:block;
  max-width:650px;
  margin:0 auto 15px !important;
  padding:0 !important;
  color:#10213a !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1.35 !important;
}

.dt-perfect-btn{
  display:inline-flex;
  min-width:180px;
  min-height:44px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0 22px;
  border-radius:8px;
  background:#082349;
  color:#fff !important;
  font-size:12px;
  font-weight:900;
  text-shadow:none;
  box-shadow:0 7px 16px rgba(7,31,62,.2);
}

/* Exactly one pair of arrows. */
.dt-perfect-arrow{
  position:absolute;
  z-index:20;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:#071f3e;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 13px rgba(0,0,0,.2);
}
.dt-perfect-arrow.prev{left:16px}
.dt-perfect-arrow.next{right:16px}

.dt-perfect-dots{
  position:absolute;
  z-index:21;
  left:50%;
  bottom:11px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:7px;
}
.dt-perfect-dots button{
  width:9px;
  height:9px;
  min-width:0;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  box-shadow:0 1px 4px rgba(0,0,0,.22);
}
.dt-perfect-dots button.is-active{background:#d99400}

/*
 Kill every legacy slider text/arrow layer that may still be styled
 by an old cached stylesheet. These classes are NOT used by the new slider.
*/
.dt-slider-perfect .dt-hero-copy,
.dt-slider-perfect .hero-copy,
.dt-slider-perfect .slide-content,
.dt-slider-perfect .dt-slide-content,
.dt-slider-perfect .dt-slider-arrow,
.dt-slider-perfect .hero-arrow,
.dt-slider-perfect .dt-arrow,
.dt-slider-perfect .dt-dots,
.dt-slider-perfect .dt-slider-dots{
  display:none !important;
}

@media(max-width:1100px){
  .dt-perfect-copy{width:72%}
  .dt-perfect-copy h1{font-size:43px !important}
  .dt-perfect-eyebrow{font-size:25px}
  .dt-perfect-subtitle{font-size:23px}
}

@media(max-width:760px){
  .dt-slider-perfect{height:350px}
  .dt-perfect-copy{width:74%}
  .dt-perfect-copy h1{font-size:34px !important;line-height:1.05 !important}
  .dt-perfect-eyebrow{font-size:21px;margin-bottom:7px}
  .dt-perfect-subtitle{font-size:20px;margin-bottom:8px}
  .dt-perfect-copy p{font-size:13px !important;line-height:1.3 !important;margin-bottom:12px !important}
  .dt-perfect-btn{min-width:155px;min-height:40px;font-size:11px}
  .dt-perfect-arrow{width:38px;height:38px;font-size:28px}
  .dt-perfect-arrow.prev{left:8px}
  .dt-perfect-arrow.next{right:8px}
}

@media(max-width:480px){
  .dt-slider-perfect{height:330px}
  .dt-perfect-copy{width:72%}
  .dt-perfect-copy h1{font-size:28px !important}
  .dt-perfect-eyebrow{font-size:18px}
  .dt-perfect-subtitle{font-size:17px}
  .dt-perfect-copy p{font-size:12px !important}
}
