/* ======================================================================
   DIVINE GLOBAL HEALTHCARE & TRAINING INSTITUTE
   Stylesheet — brand palette sampled directly from the institute logo
   ====================================================================== */

/* ---------- Design tokens ---------- */
:root{
  --dg-navy:        #0B1F4B;   /* deep navy from logo ring */
  --dg-navy-light:  #16326E;
  --dg-navy-dark:   #071433;
  --dg-gold:        #C69320;   /* gold from logo continent/ring */
  --dg-gold-light:  #E4B655;
  --dg-gold-dark:   #9C7112;
  --dg-forest:      #1B5E3F;   /* caring / healthcare accent */
  --dg-forest-dark: #103F2A;
  --dg-cream:       #FAF7EF;   /* warm background */
  --dg-cream-2:     #F3EEE0;
  --dg-ink:         #1B2420;   /* body text */
  --dg-ink-soft:    #4A5650;
  --dg-white:       #FFFFFF;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-lg: 26px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-soft: 0 20px 45px -20px rgba(11,31,75,0.35);
  --shadow-card: 0 12px 30px -14px rgba(11,31,75,0.25);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--dg-ink);
  background: var(--dg-cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dg-navy);
  letter-spacing: -0.01em;
}

a{ text-decoration:none; color: inherit; }

::selection{ background: var(--dg-gold-light); color: var(--dg-navy-dark); }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.eyebrow{
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--dg-gold-dark);
  font-weight: 700;
}
.eyebrow.on-dark{ color: var(--dg-gold-light); }

.section{ padding: 6.5rem 0; }
@media (max-width: 767.98px){ .section{ padding: 4rem 0; } }

.bg-cream{ background: var(--dg-cream); }
.bg-cream-2{ background: var(--dg-cream-2); }
.bg-navy{ background: var(--dg-navy); color: var(--dg-white); }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4{ color: var(--dg-white); }
.bg-forest{ background: var(--dg-forest); color: var(--dg-white); }
.bg-forest h1,.bg-forest h2,.bg-forest h3{ color: var(--dg-white); }
.text-gold{ color: var(--dg-gold); }
.text-forest{ color: var(--dg-forest); }
.text-navy{ color: var(--dg-navy); }
.text-soft{ color: var(--dg-ink-soft); }

.divider-ring{
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--dg-gold);
  position: relative;
  margin-bottom: 1.4rem;
}
.divider-ring::after{
  content:"";
  position:absolute; inset: 9px;
  border-radius:50%;
  border: 2px solid var(--dg-forest);
}

/* ---------- Buttons ---------- */
.btn-dg-primary{
  background: var(--dg-gold);
  color: var(--dg-navy-dark) !important;
  border: none;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 10px 24px -10px rgba(198,147,32,0.55);
}
.btn-dg-primary:hover{
  background: var(--dg-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(198,147,32,0.6);
  color: var(--dg-navy-dark);
}
.btn-dg-outline{
  border: 1.5px solid var(--dg-white);
  color: var(--dg-white) !important;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  transition: all .25s ease;
  background: transparent;
}
.btn-dg-outline:hover{
  background: var(--dg-white);
  color: var(--dg-navy) !important;
}
.btn-dg-outline-navy{
  border: 1.5px solid var(--dg-navy);
  color: var(--dg-navy) !important;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  transition: all .25s ease;
  background: transparent;
}
.btn-dg-outline-navy:hover{
  background: var(--dg-navy);
  color: var(--dg-white) !important;
}

/* ---------- Navbar ---------- */
.dg-navbar{
  background: rgba(250,247,239,0.92);
  backdrop-filter: blur(10px);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(11,31,75,0.08);
  transition: box-shadow .3s ease;
}
.dg-navbar.scrolled{ box-shadow: 0 8px 24px -16px rgba(11,31,75,0.3); }
.dg-navbar .navbar-brand{ display:flex; align-items:center; gap:0.7rem; }
.dg-navbar .navbar-brand img{ height: 52px; width:auto; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dg-navy);
  line-height: 1.05;
  font-size: 1.05rem;
}
.brand-word small{
  display:block;
  font-family: var(--font-mono);
  font-weight:400;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--dg-forest);
  text-transform: uppercase;
}
.dg-navbar .nav-link{
  font-weight: 600;
  color: var(--dg-navy) !important;
  margin: 0 0.55rem;
  position: relative;
  padding: 0.4rem 0.1rem !important;
}
.dg-navbar .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background: var(--dg-gold);
  transition: width .25s ease;
}
.dg-navbar .nav-link:hover::after,
.dg-navbar .nav-link.active::after{ width:100%; }
.dg-navbar .btn-dg-primary{ padding:0.6rem 1.4rem; font-size:0.9rem; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: radial-gradient(circle at 82% 18%, var(--dg-navy-light) 0%, var(--dg-navy) 55%, var(--dg-navy-dark) 100%);
  color: var(--dg-white);
  padding: 8.5rem 0 6rem;
  overflow: hidden;
}
.hero .ring-orbit{
  position:absolute;
  right: -120px; top: 50%; transform: translateY(-50%);
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(228,182,85,0.25);
  pointer-events: none;
}
.hero .ring-orbit::before{
  content:"";
  position:absolute; inset: 70px;
  border-radius: 50%;
  border: 1px dashed rgba(228,182,85,0.3);
}
.hero .ring-orbit::after{
  content:"";
  position:absolute; inset: 150px;
  border-radius: 50%;
  border: 1px solid rgba(27,94,63,0.4);
}
@media (max-width: 991.98px){ .hero .ring-orbit{ display:none; } }

.hero h1{
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  color: var(--dg-white);
  line-height: 1.12;
}
.hero .lead{
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 540px;
}
.hero-tagline{
  font-family: var(--font-display);
  font-style: italic;
  color: var(--dg-gold-light);
  font-size: 1.05rem;
}

.hero-badge-photo{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-card{
  position: static;
  margin-top: 1.2rem;
  background: var(--dg-white);
  color: var(--dg-navy);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-card);
  display:flex; align-items:center; gap: 0.8rem;
  width: fit-content;
}
.hero-stat-card .num{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight:700;
  color: var(--dg-forest);
  line-height:1;
}
/* Intentionally static at every breakpoint (not absolutely positioned):
   this card always sits in normal document flow directly beneath the
   hero image, inside the image's own column, so it can never overlap
   the CTA buttons in the text column next to it. */

/* ---------- Image placeholders ---------- */
.img-placeholder{
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(45deg, rgba(198,147,32,0.07) 0 12px, rgba(198,147,32,0.02) 12px 24px),
    var(--dg-cream-2);
  border: 1.5px dashed var(--dg-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--dg-navy);
  overflow: hidden;
}
.img-placeholder .ph-inner{ padding: 1.2rem; }
.img-placeholder svg{ width: 34px; height: 34px; opacity: 0.55; margin-bottom: 0.5rem; }
.img-placeholder .ph-label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dg-navy-light);
  font-weight: 700;
}
.img-placeholder .ph-size{
  font-size: 0.68rem;
  color: var(--dg-ink-soft);
  margin-top: 0.15rem;
}
.ph-16x9{ aspect-ratio: 16/9; }
.ph-4x3{ aspect-ratio: 4/3; }
.ph-1x1{ aspect-ratio: 1/1; }
.ph-3x4{ aspect-ratio: 3/4; }
.ph-round{ border-radius: 50%; }

/* Real images dropped into a placeholder box: fill the box, crop to fit,
   keep the box's aspect-ratio and rounded corners. */
.img-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}

/* ---------- Section headers ---------- */
.section-head{ max-width: 680px; }
.section-head.mx-auto{ text-align:center; }

/* ---------- About / values ---------- */
.value-pill{
  display:flex; align-items:flex-start; gap:0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11,31,75,0.08);
}
.value-pill:last-child{ border-bottom:none; }
.value-ring{
  flex: 0 0 auto;
  width: 40px; height:40px;
  border-radius:50%;
  border: 1.5px solid var(--dg-gold);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono);
  font-size:0.75rem;
  color: var(--dg-gold-dark);
  font-weight:700;
}

/* ---------- Programme cards ---------- */
.prog-card{
  background: var(--dg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.7rem;
  height:100%;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--dg-gold);
  transition: transform .3s ease, box-shadow .3s ease;
}
.prog-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(11,31,75,0.35);
}
.prog-card .prog-icon{
  width:52px; height:52px;
  border-radius: 14px;
  background: var(--dg-forest);
  color: var(--dg-white);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 1.1rem;
}
.prog-card .prog-icon svg{ width:26px; height:26px; }
.prog-card h4{ font-size: 1.12rem; margin-bottom:0.5rem; }
.prog-card p{ color: var(--dg-ink-soft); font-size:0.93rem; margin-bottom:0; }

/* Office hours card on the Contact page — same visual style as prog-card
   but intentionally auto-height so it doesn't stretch to match the
   taller contact-form column next to it. */
.office-hours-card{
  background: var(--dg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.7rem;
  height: auto;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--dg-gold);
}

/* ---------- Checklist ---------- */
.dg-check-list{ list-style:none; padding:0; margin:0; }
.dg-check-list li{
  display:flex; gap:0.75rem; align-items:flex-start;
  padding: 0.55rem 0;
}
.dg-check-list li svg{ flex:0 0 auto; width:20px; height:20px; color: var(--dg-gold); margin-top:0.15rem;}

/* ---------- Tagline banner ---------- */
.tagline-banner{
  background: var(--dg-gold);
  color: var(--dg-navy-dark);
  padding: 3.2rem 0;
  text-align:center;
}
.tagline-banner p{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  margin:0;
}

/* ---------- Stats strip ---------- */
.stat-strip{ border-top:1px solid rgba(255,255,255,0.12); border-bottom:1px solid rgba(255,255,255,0.12); }
.stat-item{ text-align:center; padding: 2.2rem 1rem; }
.stat-item .num{ font-family: var(--font-display); font-size:2.4rem; color: var(--dg-gold-light); }
.stat-item .lbl{ font-family: var(--font-mono); font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; opacity:0.8; }

/* ---------- Testimonial ---------- */
.testi-card{
  background: var(--dg-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.testi-card .stars{ color: var(--dg-gold); letter-spacing:2px; margin-bottom:0.8rem;}
.testi-card p{ color: var(--dg-ink-soft); font-style: italic; }
.testi-person{ display:flex; align-items:center; gap:0.8rem; margin-top:1.2rem; }
.testi-avatar{ width:46px; height:46px; border-radius:50%; flex:0 0 auto; }
.testi-name{ font-weight:700; color:var(--dg-navy); font-size:0.92rem; }
.testi-role{ font-size:0.78rem; color: var(--dg-ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--dg-forest) 0%, var(--dg-forest-dark) 100%);
  color: var(--dg-white);
  border-radius: var(--radius-lg);
  padding: 3.4rem;
  position: relative;
  overflow: hidden;
}
.cta-band::after{
  content:"";
  position:absolute; right:-60px; top:-60px;
  width:220px; height:220px; border-radius:50%;
  border: 1px solid rgba(228,182,85,0.3);
}
@media (max-width: 767.98px){ .cta-band{ padding: 2.2rem; } }

/* ---------- Footer ---------- */
.dg-footer{ background: var(--dg-navy-dark); color: rgba(255,255,255,0.75); padding-top: 4.5rem; }
.dg-footer a:hover{ color: var(--dg-gold-light); }
.dg-footer h6{ color: var(--dg-white); font-family: var(--font-mono); letter-spacing:0.08em; text-transform:uppercase; font-size:0.78rem; margin-bottom:1.1rem;}
.dg-footer .footer-brand{ display:flex; gap:0.7rem; align-items:center; margin-bottom:1rem; }
.dg-footer .footer-brand img{ height:44px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); margin-top:3rem; padding: 1.4rem 0; font-size:0.82rem; }
.social-ring{
  width:38px; height:38px; border-radius:50%;
  border: 1px solid rgba(255,255,255,0.3);
  display:flex; align-items:center; justify-content:center;
  transition: all .25s ease;
}
.social-ring:hover{ background: var(--dg-gold); border-color: var(--dg-gold); color: var(--dg-navy-dark) !important; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: radial-gradient(circle at 88% 20%, var(--dg-navy-light) 0%, var(--dg-navy) 60%, var(--dg-navy-dark) 100%);
  color: var(--dg-white);
  padding: 7.5rem 0 4.5rem;
  position:relative;
  overflow:hidden;
}
.page-hero .ring-orbit-sm{
  position:absolute; left:-80px; bottom:-120px;
  width:340px; height:340px; border-radius:50%;
  border: 1px solid rgba(228,182,85,0.22);
}
.page-hero h1{ color:var(--dg-white); font-size: clamp(2rem, 3.6vw, 2.9rem); }
.breadcrumb-dg{ font-family: var(--font-mono); font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--dg-gold-light); }

/* ---------- Forms ---------- */
.dg-form .form-control, .dg-form .form-select{
  border: 1.5px solid rgba(11,31,75,0.15);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  background: var(--dg-white);
}
.dg-form .form-control:focus, .dg-form .form-select:focus{
  border-color: var(--dg-gold);
  box-shadow: 0 0 0 0.2rem rgba(198,147,32,0.18);
}
.dg-form label{ font-weight:600; font-size:0.88rem; color: var(--dg-navy); margin-bottom:0.35rem; }

.contact-info-card{
  background: var(--dg-navy);
  color: var(--dg-white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
}
.contact-info-row{ display:flex; gap:1rem; align-items:flex-start; padding: 1rem 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.contact-info-row:last-child{ border-bottom:none; }
.contact-info-row .ic{
  width:42px; height:42px; border-radius:50%;
  background: rgba(228,182,85,0.15);
  color: var(--dg-gold-light);
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}

/* ---------- Accreditation strip ---------- */
.accred-strip{ padding: 2.6rem 0; }
.accred-strip .badge-ring{
  width:64px;height:64px;border-radius:50%;
  border:1.5px dashed var(--dg-gold-dark);
  display:flex;align-items:center;justify-content:center;
  color: var(--dg-navy-light); margin: 0 auto 0.6rem;
}

/* ---------- Utilities ---------- */
.rounded-dg{ border-radius: var(--radius-md) !important; }
.shadow-dg{ box-shadow: var(--shadow-card); }
.fade-up{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.is-visible{ opacity:1; transform: translateY(0); }

/* ---------- Image scroll animations (zoom / slide reveal) ---------- */
.img-anim{
  transition: opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1);
  will-change: transform, opacity;
}
.img-anim.is-visible{ opacity:1 !important; transform: none !important; }

.img-zoom-in{  opacity:0; transform: scale(1.22); }
.img-zoom-out{ opacity:0; transform: scale(0.8); }
.img-slide-up{    opacity:0; transform: translateY(55px) scale(1.06); }
.img-slide-down{  opacity:0; transform: translateY(-55px) scale(1.06); }
.img-slide-left{  opacity:0; transform: translateX(-65px) scale(1.06); }
.img-slide-right{ opacity:0; transform: translateX(65px) scale(1.06); }

/* optional stagger for grouped images (collages) */
.img-anim-d1{ transition-delay: .12s; }
.img-anim-d2{ transition-delay: .26s; }

@media (prefers-reduced-motion: reduce){
  .img-anim{ transition:none !important; opacity:1 !important; transform:none !important; }
}

.back-to-top{
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 48px; height:48px; border-radius:50%;
  background: var(--dg-navy); color: var(--dg-white) !important;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-card);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:none; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float{
  position: fixed;
  left: 1.5rem; bottom: 1.5rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 28px -10px rgba(37,211,102,0.65);
  z-index: 999;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover{ background:#1ebe5a; color:#fff !important; }
.whatsapp-float svg{ width:30px; height:30px; }
@keyframes wa-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float{ animation: none; }
}

/* ---------- Footer credit line ---------- */
.footer-credit{
  text-align:center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  padding: 0.9rem 0 1.6rem;
}
.footer-credit a{
  color: var(--dg-gold-light);
  font-weight: 600;
  border-bottom: 1px solid rgba(228,182,85,0.4);
  transition: color .2s ease, border-color .2s ease;
}
.footer-credit a:hover{ color:#fff; border-color:#fff; }

/* ======================================================================
   GALLERY — auto-playing infinite marquee + lightbox
   ====================================================================== */
.marquee-wrap{
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-track{
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: marquee-scroll 38s linear infinite;
}
.marquee-track.reverse{
  animation-direction: reverse;
  animation-duration: 46s;
}
.marquee-wrap:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none; }
}
.gallery-item{
  flex: 0 0 auto;
  width: 300px;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
}
.gallery-photo-frame{
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(198,147,32,0.35);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gallery-photo-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover .gallery-photo-frame{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--dg-gold);
}
.gallery-item .gallery-cap{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dg-ink-soft);
  margin-top: 0.6rem;
}

/* Lightbox */
.dg-lightbox{
  position: fixed; inset: 0;
  background: rgba(7,20,51,0.92);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.dg-lightbox.is-open{ display: flex; }
.dg-lightbox-inner{
  position: relative;
  width: min(720px, 100%);
}
.dg-lightbox-img{
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--dg-cream-2);
  box-shadow: var(--shadow-soft);
}
.dg-lightbox-caption{
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.dg-lightbox-close, .dg-lightbox-prev, .dg-lightbox-next{
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  cursor: pointer;
  transition: background .2s ease;
}
.dg-lightbox-close:hover, .dg-lightbox-prev:hover, .dg-lightbox-next:hover{ background: var(--dg-gold); border-color: var(--dg-gold); color: var(--dg-navy-dark); }
.dg-lightbox-close{ top: -56px; right: 0; }
.dg-lightbox-prev{ top: 50%; left: -60px; transform: translateY(-50%); }
.dg-lightbox-next{ top: 50%; right: -60px; transform: translateY(-50%); }
@media (max-width: 767.98px){
  .dg-lightbox-prev{ left: 0; }
  .dg-lightbox-next{ right: 0; }
  .dg-lightbox-close{ top: -48px; right:0; }
}

/* ======================================================================
   TESTIMONIALS — continuous right-to-left auto-scroll, 3 visible at a time
   ====================================================================== */
.testi-viewport{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.testi-track{
  display: flex;
  width: max-content;
  gap: 1.5rem;
  animation: testi-scroll 34s linear infinite;
}
.testi-viewport:hover .testi-track{ animation-play-state: paused; }
@keyframes testi-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .testi-track{ animation: none; }
}
.testi-track .testi-card{
  flex: 0 0 auto;
  width: 340px;
}
@media (max-width: 767.98px){
  .testi-track .testi-card{ width: 280px; }
}
