/* ==========================================================================
   DPS Kadirabad — Premium theme
   Layered on top of Bootstrap 5. Owns all visual design for the public site.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
   --green-900: #04281a;
   --green-800: #06331f;
   --green-700: #0b5d3b;
   --green-600: #0f7a4d;
   --green-100: #e7f3ec;

   --navy-900: #0a1420;
   --navy-800: #0c1b2a;
   --navy-600: #24384b;

   --gold-600: #a9852a;
   --gold-500: #c9a227;
   --gold-400: #e3be5a;
   --gold-100: #f8efd8;

   --cream: #fbf9f4;
   --sand: #f3efe6;
   --white: #ffffff;

   --ink: #12212e;
   --ink-soft: #4a5a68;
   --ink-mute: #78899a;
   --line: #e6e1d6;

   --ff-display: "Fraunces", "Playfair Display", Georgia, serif;
   --ff-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

   --r-sm: 10px;
   --r-md: 16px;
   --r-lg: 24px;
   --r-xl: 34px;
   --r-pill: 999px;

   --sh-1: 0 1px 2px rgba(10, 20, 32, .06), 0 6px 18px rgba(10, 20, 32, .06);
   --sh-2: 0 10px 30px rgba(10, 20, 32, .10);
   --sh-3: 0 24px 60px rgba(10, 20, 32, .16);
   --sh-gold: 0 14px 34px rgba(169, 133, 42, .28);

   --ease: cubic-bezier(.22, 1, .36, 1);
   --shell: min(1240px, 100% - 3rem);

   --header-h: 86px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
   margin: 0;
   font-family: var(--ff-body);
   font-size: 1rem;
   line-height: 1.7;
   color: var(--ink-soft);
   background: var(--cream);
   -webkit-font-smoothing: antialiased;
   overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4, h5, h6 {
   font-family: var(--ff-display);
   color: var(--ink);
   font-weight: 600;
   line-height: 1.15;
   letter-spacing: -.015em;
   margin: 0 0 .6em;
}

h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1rem; }

::selection { background: var(--gold-400); color: var(--green-900); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--green-700); border-radius: 99px; border: 3px solid var(--sand); }
::-webkit-scrollbar-thumb:hover { background: var(--green-600); }

/* Focus ring */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
   outline: 3px solid var(--gold-500);
   outline-offset: 3px;
   border-radius: 6px;
}

/* ---------- 3. Layout helpers ---------- */
.dps-shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(4rem, 2.5rem + 5vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 2rem + 3vw, 5rem) 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--green-900); color: rgba(255, 255, 255, .78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Decorative blurred orbs */
.orb {
   position: absolute;
   border-radius: 50%;
   filter: blur(70px);
   opacity: .5;
   pointer-events: none;
   z-index: 0;
}
.orb--green { background: rgba(15, 122, 77, .22); }
.orb--gold { background: rgba(201, 162, 39, .22); }

.section > .dps-shell { position: relative; z-index: 1; }

/* ---------- 4. Section headings ---------- */
.sec-head { max-width: 680px; margin-bottom: 3rem; }
.sec-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
   display: inline-flex;
   align-items: center;
   gap: .55rem;
   font-family: var(--ff-body);
   font-size: .72rem;
   font-weight: 700;
   letter-spacing: .22em;
   text-transform: uppercase;
   color: var(--green-700);
   background: var(--green-100);
   border: 1px solid rgba(11, 93, 59, .16);
   padding: .45rem 1rem;
   border-radius: var(--r-pill);
   margin-bottom: 1.1rem;
}
.section--dark .eyebrow {
   color: var(--gold-400);
   background: rgba(201, 162, 39, .12);
   border-color: rgba(201, 162, 39, .3);
}
.eyebrow::before {
   content: "";
   width: 6px; height: 6px;
   border-radius: 50%;
   background: var(--gold-500);
   box-shadow: 0 0 0 4px rgba(201, 162, 39, .22);
}

.sec-head .lead { font-size: 1.06rem; color: var(--ink-mute); margin-bottom: 0; }
.section--dark .sec-head .lead { color: rgba(255, 255, 255, .66); }

.grad-text {
   background: linear-gradient(100deg, var(--green-700) 0%, var(--gold-600) 55%, var(--green-600) 100%);
   background-size: 220% 100%;
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   animation: gradShift 9s linear infinite;
}
.section--dark .grad-text {
   background-image: linear-gradient(100deg, var(--gold-400), #fff 55%, var(--gold-400));
}
@keyframes gradShift { to { background-position: 220% 0; } }
@media (prefers-reduced-motion: reduce) { .grad-text { animation: none; } }

/* Ornamental rule under centered headings */
.sec-rule {
   width: 120px; height: 14px;
   margin: 0 auto 1.1rem;
   display: block;
   color: var(--gold-500);
}

/* ---------- 5. Buttons ---------- */
.btn-dps,
.default-btn,
.rts-theme-btn {
   --btn-bg: var(--green-700);
   --btn-fg: #fff;
   position: relative;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: .6rem;
   padding: .95rem 1.9rem;
   font-family: var(--ff-body);
   font-size: .86rem;
   font-weight: 700;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--btn-fg);
   background: var(--btn-bg);
   border: 0;
   border-radius: var(--r-pill);
   box-shadow: var(--sh-1);
   cursor: pointer;
   white-space: nowrap;
   overflow: hidden;
   isolation: isolate;
   transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
}
.btn-dps::before,
.default-btn::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
   transform: translateY(102%);
   transition: transform .45s var(--ease);
}
.btn-dps:hover, .default-btn:hover, .rts-theme-btn:hover {
   color: var(--green-900);
   transform: translateY(-3px);
   box-shadow: var(--sh-gold);
}
.btn-dps:hover::before, .default-btn:hover::before { transform: translateY(0); }

/* Shine sweep */
.btn-dps::after {
   content: "";
   position: absolute;
   top: 0; left: -120%;
   width: 55%; height: 100%;
   background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
   transform: skewX(-20deg);
}
.btn-dps:hover::after { animation: shine .85s var(--ease); }
@keyframes shine { to { left: 130%; } }

.btn-dps--gold { --btn-bg: linear-gradient(120deg, var(--gold-600), var(--gold-400)); --btn-fg: var(--green-900); }
.btn-dps--gold::before { background: linear-gradient(120deg, var(--green-700), var(--green-600)); }
.btn-dps--gold:hover { color: #fff; }

.btn-dps--ghost {
   --btn-bg: transparent;
   --btn-fg: #fff;
   box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.btn-dps--ghost::before { background: #fff; }
.btn-dps--ghost:hover { color: var(--green-900); box-shadow: inset 0 0 0 1.5px #fff, var(--sh-2); }

.btn-dps--outline {
   --btn-bg: transparent;
   --btn-fg: var(--green-700);
   box-shadow: inset 0 0 0 1.5px rgba(11, 93, 59, .3);
}
.btn-dps--sm { padding: .7rem 1.3rem; font-size: .76rem; }

/* Text link with arrow */
.link-arrow {
   display: inline-flex;
   align-items: center;
   gap: .5rem;
   font-weight: 700;
   font-size: .85rem;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: var(--green-700);
}
.link-arrow i, .link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover i, .link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Top bar ---------- */
.dps-topbar {
   background: var(--green-900);
   color: rgba(255, 255, 255, .72);
   font-size: .82rem;
   position: relative;
   z-index: 60;
}
.dps-topbar__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1.5rem;
   min-height: 44px;
   flex-wrap: wrap;
}
.dps-topbar a { color: rgba(255, 255, 255, .78); }
.dps-topbar a:hover { color: var(--gold-400); }
.dps-topbar__meta { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.dps-topbar__meta span, .dps-topbar__meta a { display: inline-flex; align-items: center; gap: .5rem; }
.dps-topbar__meta i { color: var(--gold-400); }

.dps-social { display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.dps-social a {
   width: 30px; height: 30px;
   display: grid; place-items: center;
   border-radius: 50%;
   background: rgba(255, 255, 255, .08);
   font-size: .78rem;
   transition: transform .3s var(--ease), background .3s var(--ease);
}
.dps-social a:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-3px); }

/* ---------- 7. Header / navigation ---------- */
.dps-header {
   position: sticky;
   top: 0;
   z-index: 200;
   background: rgba(255, 255, 255, .78);
   backdrop-filter: blur(18px) saturate(160%);
   -webkit-backdrop-filter: blur(18px) saturate(160%);
   border-bottom: 1px solid rgba(230, 225, 214, .8);
   transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.dps-header.is-stuck {
   background: rgba(255, 255, 255, .92);
   box-shadow: var(--sh-2);
}

.dps-nav {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1.5rem;
   min-height: var(--header-h);
   transition: min-height .35s var(--ease);
}
.dps-header.is-stuck .dps-nav { min-height: 70px; }

.dps-brand { display: flex; align-items: center; gap: .85rem; flex-shrink: 0; }
.dps-brand img {
   height: 58px;
   width: auto;
   transition: height .35s var(--ease);
}
.dps-header.is-stuck .dps-brand img { height: 48px; }

.dps-nav__actions { display: flex; align-items: center; gap: .75rem; }

/* Menu */
.dps-menu, .dps-menu ul { list-style: none; margin: 0; padding: 0; }
.dps-menu {
   display: flex;
   align-items: center;
   gap: .15rem;
}
.dps-menu > li { position: relative; }
.dps-menu > li > a {
   display: inline-flex;
   align-items: center;
   gap: .35rem;
   padding: .7rem .85rem;
   font-size: .82rem;
   font-weight: 700;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--ink);
   border-radius: var(--r-sm);
   position: relative;
   white-space: nowrap;
}
.dps-menu > li > a::after {
   content: "";
   position: absolute;
   left: .85rem; right: .85rem;
   bottom: .42rem;
   height: 2px;
   background: linear-gradient(90deg, var(--green-700), var(--gold-500));
   transform: scaleX(0);
   transform-origin: left;
   transition: transform .38s var(--ease);
}
.dps-menu > li > a:hover,
.dps-menu > li.is-active > a { color: var(--green-700); }
.dps-menu > li > a:hover::after,
.dps-menu > li.is-active > a::after { transform: scaleX(1); }

.dps-menu li.has-child > a::before {
   content: "\f107";
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   order: 2;
   font-size: .7rem;
   opacity: .6;
   transition: transform .3s var(--ease);
}
.dps-menu > li.has-child:hover > a::before { transform: rotate(180deg); }

/* Dropdowns */
.dps-menu ul {
   position: absolute;
   top: calc(100% + 14px);
   left: 0;
   min-width: 254px;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-md);
   box-shadow: var(--sh-3);
   padding: .55rem;
   opacity: 0;
   visibility: hidden;
   transform: translateY(12px);
   transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
   z-index: 30;
}
.dps-menu ul::before {
   content: "";
   position: absolute;
   top: -14px; left: 0; right: 0; height: 14px;
}
.dps-menu li:hover > ul,
.dps-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }

.dps-menu ul li { position: relative; }
.dps-menu ul a {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: .6rem;
   padding: .62rem .85rem;
   font-size: .86rem;
   font-weight: 600;
   color: var(--ink-soft);
   border-radius: var(--r-sm);
   transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
}
.dps-menu ul a:hover {
   background: var(--green-100);
   color: var(--green-700);
   padding-left: 1.15rem;
}
.dps-menu ul ul { top: -.55rem; left: calc(100% + .5rem); }

/* Burger */
.dps-burger {
   display: none;
   width: 46px; height: 46px;
   border: 1px solid var(--line);
   border-radius: var(--r-sm);
   background: #fff;
   cursor: pointer;
   padding: 0;
   place-items: center;
}
.dps-burger span {
   display: block;
   width: 20px; height: 2px;
   background: var(--ink);
   border-radius: 2px;
   position: relative;
   transition: background .2s;
}
.dps-burger span::before, .dps-burger span::after {
   content: "";
   position: absolute;
   left: 0;
   width: 20px; height: 2px;
   background: var(--ink);
   border-radius: 2px;
   transition: transform .35s var(--ease);
}
.dps-burger span::before { top: -6px; }
.dps-burger span::after { top: 6px; }
.dps-burger[aria-expanded="true"] span { background: transparent; }
.dps-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.dps-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.dps-drawer {
   position: fixed;
   inset: 0 0 0 auto;
   width: min(380px, 88vw);
   background: #fff;
   z-index: 400;
   transform: translateX(102%);
   transition: transform .45s var(--ease);
   display: flex;
   flex-direction: column;
   box-shadow: var(--sh-3);
}
.dps-drawer.is-open { transform: translateX(0); }
.dps-drawer__head {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 1.1rem 1.4rem;
   border-bottom: 1px solid var(--line);
}
.dps-drawer__head img { height: 46px; }
.dps-drawer__close {
   width: 40px; height: 40px;
   border-radius: 50%;
   border: 1px solid var(--line);
   background: var(--cream);
   font-size: 1.1rem;
   line-height: 1;
   cursor: pointer;
   color: var(--ink);
}
.dps-drawer__body { overflow-y: auto; padding: 1rem 1.1rem 2rem; flex: 1; }
.dps-drawer__foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); background: var(--cream); }
.dps-drawer__foot a { display: flex; align-items: center; gap: .6rem; font-size: .88rem; padding: .25rem 0; }

.dps-drawer .dps-menu {
   flex-direction: column;
   align-items: stretch;
   gap: .15rem;
}
.dps-drawer .dps-menu > li,
.dps-drawer .dps-menu ul li { width: 100%; }
.dps-drawer .dps-menu > li > a,
.dps-drawer .dps-menu ul a {
   display: flex;
   width: 100%;
   justify-content: space-between;
   padding: .8rem .6rem;
   font-size: .85rem;
   border-bottom: 1px solid var(--line);
   border-radius: 0;
   text-transform: none;
   letter-spacing: 0;
}
.dps-drawer .dps-menu > li > a { text-transform: uppercase; letter-spacing: .05em; }
.dps-drawer .dps-menu > li > a::after { display: none; }
.dps-drawer .dps-menu ul {
   position: static;
   opacity: 1;
   visibility: visible;
   transform: none;
   box-shadow: none;
   border: 0;
   border-left: 2px solid var(--green-100);
   border-radius: 0;
   padding: 0 0 0 .9rem;
   margin: 0;
   min-width: 0;
   display: none;
}
.dps-drawer .dps-menu li.is-expanded > ul { display: block; }
.dps-drawer .dps-menu li.has-child > a::before { transition: transform .3s var(--ease); }
.dps-drawer .dps-menu li.is-expanded > a::before { transform: rotate(180deg); }

.dps-overlay {
   position: fixed;
   inset: 0;
   background: rgba(6, 51, 31, .55);
   backdrop-filter: blur(3px);
   z-index: 390;
   opacity: 0;
   visibility: hidden;
   transition: opacity .4s var(--ease), visibility .4s;
}
.dps-overlay.is-open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

@media (max-width: 1199px) {
   .dps-nav__menu { display: none; }
   .dps-burger { display: grid; }
}

/* ---------- 8. News ticker ---------- */
.dps-ticker {
   background: linear-gradient(100deg, var(--green-800), var(--green-700) 55%, var(--green-800));
   color: #fff;
   overflow: hidden;
   position: relative;
   z-index: 50;
}
.dps-ticker__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 48px; }
.dps-ticker__label {
   display: inline-flex;
   align-items: center;
   gap: .55rem;
   flex-shrink: 0;
   background: var(--gold-500);
   color: var(--green-900);
   font-size: .72rem;
   font-weight: 800;
   letter-spacing: .14em;
   text-transform: uppercase;
   padding: .38rem .95rem;
   border-radius: var(--r-pill);
}
.dps-ticker__label .pulse {
   width: 7px; height: 7px;
   border-radius: 50%;
   background: var(--green-800);
   animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
   0%, 100% { transform: scale(1); opacity: 1; }
   50% { transform: scale(1.45); opacity: .45; }
}

.dps-ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.dps-ticker__track {
   display: flex;
   gap: 3rem;
   width: max-content;
   animation: marquee 38s linear infinite;
}
.dps-ticker:hover .dps-ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.dps-ticker__item {
   display: inline-flex;
   align-items: center;
   gap: .55rem;
   white-space: nowrap;
   font-size: .9rem;
   color: rgba(255, 255, 255, .92);
}
.dps-ticker__item i { color: var(--gold-400); font-size: .72rem; }
@media (prefers-reduced-motion: reduce) {
   .dps-ticker__track { animation: none; }
   .dps-ticker__viewport { overflow-x: auto; }
}

/* ---------- 9. Hero ---------- */
.dps-hero {
   position: relative;
   background: var(--green-900);
   overflow: hidden;
}
/* All slides share one grid cell, so the hero sizes to its tallest slide
   instead of clipping content on narrow screens. */
.dps-hero__slides { display: grid; position: relative; min-height: clamp(460px, 42vw + 180px, 760px); }
.dps-hero__slide {
   grid-area: 1 / 1;
   position: relative;
   opacity: 0;
   visibility: hidden;
   transition: opacity 1s var(--ease), visibility 1s;
}
.dps-hero__slide.is-active { opacity: 1; visibility: visible; }

.dps-hero__media { position: absolute; inset: -12% 0; }
.dps-hero__media img {
   width: 100%; height: 100%;
   object-fit: cover;
   transform: scale(1.12);
}
.dps-hero__slide.is-active .dps-hero__media img {
   animation: kenburns 9s var(--ease) forwards;
}
@keyframes kenburns {
   from { transform: scale(1.14) translate3d(0, 0, 0); }
   to { transform: scale(1) translate3d(0, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
   .dps-hero__slide.is-active .dps-hero__media img { animation: none; transform: scale(1); }
}

.dps-hero__scrim {
   position: absolute;
   inset: 0;
   background:
      radial-gradient(120% 90% at 20% 100%, rgba(4, 40, 26, .92) 0%, rgba(4, 40, 26, .35) 55%, transparent 80%),
      linear-gradient(180deg, rgba(4, 40, 26, .62) 0%, rgba(4, 40, 26, .18) 40%, rgba(4, 40, 26, .85) 100%);
}
.dps-hero__grain {
   position: absolute;
   inset: 0;
   opacity: .16;
   pointer-events: none;
   background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px);
   background-size: 4px 4px;
   mix-blend-mode: overlay;
}

.dps-hero__content {
   position: relative;
   z-index: 2;
   display: flex;
   align-items: center;
   min-height: clamp(460px, 42vw + 180px, 760px);
   padding: 4rem 0 7.5rem;
}
.dps-hero__copy { max-width: 760px; color: #fff; }
.dps-hero__copy h1 { color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.dps-hero__copy h1 em {
   font-style: normal;
   background: linear-gradient(100deg, var(--gold-400), #fff 60%, var(--gold-400));
   background-size: 220% 100%;
   -webkit-background-clip: text;
   background-clip: text;
   color: transparent;
   animation: gradShift 8s linear infinite;
}
.dps-hero__copy p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 56ch; }
.dps-hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.dps-hero__badge {
   display: inline-flex;
   align-items: center;
   gap: .6rem;
   padding: .5rem 1.05rem .5rem .55rem;
   border-radius: var(--r-pill);
   background: rgba(255, 255, 255, .1);
   border: 1px solid rgba(255, 255, 255, .22);
   backdrop-filter: blur(10px);
   color: #fff;
   font-size: .78rem;
   font-weight: 600;
   letter-spacing: .08em;
   text-transform: uppercase;
   margin-bottom: 1.4rem;
}
.dps-hero__badge b {
   background: var(--gold-500);
   color: var(--green-900);
   border-radius: var(--r-pill);
   padding: .18rem .7rem;
   font-size: .72rem;
   font-weight: 800;
}

/* Slide staggered entrance */
.dps-hero__slide.is-active .dps-hero__badge,
.dps-hero__slide.is-active h1,
.dps-hero__slide.is-active .dps-hero__copy p,
.dps-hero__slide.is-active .dps-hero__cta {
   animation: heroUp .9s var(--ease) backwards;
}
.dps-hero__slide.is-active h1 { animation-delay: .12s; }
.dps-hero__slide.is-active .dps-hero__copy p { animation-delay: .24s; }
.dps-hero__slide.is-active .dps-hero__cta { animation-delay: .36s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
   .dps-hero__slide.is-active :is(.dps-hero__badge, h1, p, .dps-hero__cta) { animation: none; }
}

/* Hero controls */
.dps-hero__nav {
   position: absolute;
   z-index: 5;
   bottom: 2.6rem;
   left: 0; right: 0;
}
.dps-hero__nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dps-hero__dots { display: flex; gap: .55rem; }
.dps-hero__dot {
   width: 34px; height: 4px;
   border: 0; padding: 0;
   border-radius: var(--r-pill);
   background: rgba(255, 255, 255, .3);
   cursor: pointer;
   overflow: hidden;
   position: relative;
   transition: width .4s var(--ease);
}
.dps-hero__dot.is-active { width: 58px; background: rgba(255, 255, 255, .35); }
.dps-hero__dot.is-active::after {
   content: "";
   position: absolute;
   inset: 0;
   background: var(--gold-400);
   transform-origin: left;
   animation: dotFill var(--hero-delay, 7s) linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dps-hero__arrows { display: flex; gap: .5rem; }
.dps-hero__arrow {
   width: 46px; height: 46px;
   display: grid; place-items: center;
   border-radius: 50%;
   border: 1px solid rgba(255, 255, 255, .3);
   background: rgba(255, 255, 255, .1);
   backdrop-filter: blur(8px);
   color: #fff;
   cursor: pointer;
   transition: background .3s var(--ease), transform .3s var(--ease);
}
.dps-hero__arrow:hover { background: var(--gold-500); color: var(--green-900); border-color: transparent; transform: scale(1.06); }

/* Curved bottom edge */
.dps-hero__curve { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; color: var(--cream); }

/* ---------- 10. Quick action ribbon ---------- */
.quick-ribbon { margin-top: -62px; position: relative; z-index: 12; }
@media (max-width: 767px) { .quick-ribbon { margin-top: -28px; } }
.quick-ribbon__grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
   gap: 1px;
   background: var(--line);
   border-radius: var(--r-lg);
   overflow: hidden;
   box-shadow: var(--sh-3);
}
.quick-card {
   display: flex;
   align-items: center;
   gap: 1rem;
   padding: 1.6rem 1.5rem;
   background: #fff;
   position: relative;
   isolation: isolate;
   transition: color .35s var(--ease);
}
.quick-card::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background: linear-gradient(130deg, var(--green-800), var(--green-700));
   transform: translateY(100%);
   transition: transform .45s var(--ease);
}
.quick-card:hover::before { transform: translateY(0); }
.quick-card__icon {
   width: 50px; height: 50px;
   flex-shrink: 0;
   display: grid; place-items: center;
   border-radius: 14px;
   background: var(--green-100);
   color: var(--green-700);
   font-size: 1.15rem;
   transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
}
.quick-card:hover .quick-card__icon { background: var(--gold-500); color: var(--green-900); transform: rotate(-8deg) scale(1.06); }
.quick-card__text strong {
   display: block;
   font-family: var(--ff-display);
   font-size: 1.05rem;
   color: var(--ink);
   transition: color .35s var(--ease);
}
.quick-card__text span { font-size: .82rem; color: var(--ink-mute); transition: color .35s var(--ease); }
.quick-card:hover .quick-card__text strong { color: #fff; }
.quick-card:hover .quick-card__text span { color: rgba(255, 255, 255, .7); }

/* ---------- 11. About ---------- */
.about-grid {
   display: grid;
   grid-template-columns: 1.05fr 1fr;
   gap: clamp(2rem, 1rem + 4vw, 5rem);
   align-items: center;
}
@media (max-width: 991px) { .about-grid { grid-template-columns: 1fr; } }

.about-figure { position: relative; }
.about-figure__main {
   border-radius: var(--r-xl);
   overflow: hidden;
   box-shadow: var(--sh-3);
   aspect-ratio: 4 / 3.2;
}
.about-figure__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-figure:hover .about-figure__main img { transform: scale(1.05); }

.about-figure__frame {
   position: absolute;
   inset: 1.4rem -1.4rem -1.4rem 1.4rem;
   border: 2px solid var(--gold-500);
   border-radius: var(--r-xl);
   z-index: -1;
}
.about-figure__chip {
   position: absolute;
   left: -1.2rem;
   bottom: 1.8rem;
   background: #fff;
   border-radius: var(--r-md);
   box-shadow: var(--sh-3);
   padding: 1.05rem 1.35rem;
   display: flex;
   align-items: center;
   gap: .85rem;
   max-width: 250px;
}
.about-figure__chip i { font-size: 1.6rem; color: var(--gold-500); }
.about-figure__chip b { display: block; font-family: var(--ff-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.about-figure__chip span { font-size: .78rem; color: var(--ink-mute); }

.about-copy .prose { color: var(--ink-soft); }
.about-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .75rem; }
.about-points li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; }
.about-points i {
   flex-shrink: 0;
   width: 24px; height: 24px;
   display: grid; place-items: center;
   border-radius: 50%;
   background: var(--green-100);
   color: var(--green-700);
   font-size: .7rem;
   margin-top: .2rem;
}

/* ---------- 12. Stats ---------- */
.stats-band {
   background: var(--green-900);
   color: #fff;
   position: relative;
   overflow: clip;
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 1.5rem;
   text-align: center;
}
.stat {
   padding: 1.75rem 1rem;
   border-radius: var(--r-lg);
   background: rgba(255, 255, 255, .06);
   border: 1px solid rgba(255, 255, 255, .12);
   backdrop-filter: blur(8px);
   transition: transform .4s var(--ease), background .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .11); }
.stat i { font-size: 1.5rem; color: var(--gold-400); margin-bottom: .7rem; display: block; }
.stat b {
   display: block;
   font-family: var(--ff-display);
   font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem);
   color: #fff;
   line-height: 1;
}
.stat span {
   display: block;
   margin-top: .5rem;
   font-size: .78rem;
   letter-spacing: .16em;
   text-transform: uppercase;
   color: rgba(255, 255, 255, .68);
}

/* ---------- 13. Facility / feature cards ---------- */
.card-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
   gap: 1.75rem;
}

.feature-card {
   position: relative;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   overflow: hidden;
   box-shadow: var(--sh-1);
   transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
   display: flex;
   flex-direction: column;
}
.feature-card:hover {
   box-shadow: var(--sh-3);
   border-color: rgba(201, 162, 39, .45);
}
.feature-card-wrap { translate: 0; transition: translate .5s var(--ease); }
.feature-card-wrap:hover { translate: 0 -10px; }
.feature-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-card:hover .feature-card__media img { transform: scale(1.08); }
.feature-card__media::after {
   content: "";
   position: absolute; inset: 0;
   background: linear-gradient(180deg, transparent 45%, rgba(4, 40, 26, .65));
   opacity: .85;
}
.feature-card__tag {
   position: absolute;
   z-index: 2;
   top: 1rem; left: 1rem;
   background: rgba(255, 255, 255, .9);
   backdrop-filter: blur(6px);
   color: var(--green-800);
   font-size: .68rem;
   font-weight: 800;
   letter-spacing: .14em;
   text-transform: uppercase;
   padding: .35rem .8rem;
   border-radius: var(--r-pill);
}
.feature-card__body { padding: 1.6rem 1.6rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.feature-card__body h3 { margin-bottom: .6rem; }
.feature-card__body h3 a { color: inherit; }
.feature-card__body h3 a:hover { color: var(--green-700); }
.feature-card__body p { font-size: .94rem; flex: 1; }

/* Icon-only cards */
.icon-card {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   padding: 2rem 1.7rem;
   box-shadow: var(--sh-1);
   position: relative;
   overflow: hidden;
   transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.icon-card::after {
   content: "";
   position: absolute;
   top: 0; right: 0;
   width: 120px; height: 120px;
   background: radial-gradient(circle at 100% 0, rgba(201, 162, 39, .2), transparent 70%);
   transition: transform .6s var(--ease);
   transform: scale(0);
   transform-origin: top right;
}
.icon-card:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.icon-card:hover::after { transform: scale(1); }
.icon-card__icon {
   width: 58px; height: 58px;
   display: grid; place-items: center;
   border-radius: 18px;
   background: linear-gradient(135deg, var(--green-700), var(--green-600));
   color: #fff;
   font-size: 1.3rem;
   margin-bottom: 1.2rem;
   box-shadow: 0 10px 22px rgba(11, 93, 59, .25);
   transition: transform .5s var(--ease);
}
.icon-card:hover .icon-card__icon { transform: rotate(-8deg) scale(1.05); }
.icon-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.icon-card p { font-size: .92rem; margin: 0; }

/* ---------- 14. Notice board & news ---------- */
.board {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   box-shadow: var(--sh-1);
   overflow: hidden;
   height: 100%;
   display: flex;
   flex-direction: column;
}
.board__head {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
   padding: 1.2rem 1.5rem;
   background: linear-gradient(120deg, var(--green-800), var(--green-700));
   color: #fff;
}
.board__head h3 { color: #fff; margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.board__head h3 i { color: var(--gold-400); font-size: .95rem; }
.board__head a { color: rgba(255, 255, 255, .8); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.board__head a:hover { color: var(--gold-400); }
.board__body { padding: .5rem 1.5rem 1.5rem; overflow-y: auto; max-height: 420px; flex: 1; }

.notice-item {
   display: flex;
   gap: 1rem;
   padding: 1.05rem 0;
   border-bottom: 1px dashed var(--line);
   transition: transform .35s var(--ease);
}
.notice-item:last-child { border-bottom: 0; }
.notice-item:hover { transform: translateX(5px); }
.notice-item__date {
   flex-shrink: 0;
   width: 58px;
   text-align: center;
   border-radius: 12px;
   background: var(--green-100);
   color: var(--green-800);
   padding: .5rem 0;
   line-height: 1.15;
   transition: background .35s var(--ease), color .35s var(--ease);
}
.notice-item:hover .notice-item__date { background: var(--gold-500); color: var(--green-900); }
.notice-item__date b { display: block; font-family: var(--ff-display); font-size: 1.3rem; }
.notice-item__date span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.notice-item__text h4 { font-size: 1rem; margin-bottom: .2rem; font-family: var(--ff-body); font-weight: 700; }
.notice-item__text p { font-size: .84rem; color: var(--ink-mute); margin: 0; }

.board--empty { display: grid; place-items: center; padding: 3rem 1rem; text-align: center; color: var(--ink-mute); }
.board--empty i { font-size: 2rem; color: var(--line); margin-bottom: .8rem; display: block; }

.board__embed { padding: 0; }
.board__embed iframe { width: 100%; border: 0; display: block; min-height: 420px; }

/* ---------- 15. Gallery ---------- */
.gallery-grid {
   display: grid;
   /* auto-fill (not auto-fit) so a single tile keeps its column width
      instead of stretching across the whole row. */
   grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
   gap: 1.5rem;
}
.gallery-tile {
   position: relative;
   display: block;
   border-radius: var(--r-lg);
   overflow: hidden;
   aspect-ratio: 4 / 3;
   box-shadow: var(--sh-1);
   background: var(--green-900);
   transition: transform .5s var(--ease), box-shadow .5s var(--ease);
   cursor: pointer;
}
.gallery-tile:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.gallery-tile:hover img { transform: scale(1.09); opacity: .72; }
.gallery-tile__overlay {
   position: absolute;
   inset: 0;
   padding: 1.4rem;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   background: linear-gradient(180deg, transparent 40%, rgba(4, 40, 26, .88));
   color: #fff;
}
.gallery-tile__overlay h4 { color: #fff; margin: 0; font-size: 1.1rem; transform: translateY(6px); transition: transform .45s var(--ease); }
.gallery-tile:hover .gallery-tile__overlay h4 { transform: translateY(0); }
.gallery-tile__overlay span { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.gallery-tile__plus {
   position: absolute;
   top: 50%; left: 50%;
   width: 54px; height: 54px;
   display: grid; place-items: center;
   border-radius: 50%;
   background: var(--gold-500);
   color: var(--green-900);
   transform: translate(-50%, -50%) scale(0);
   transition: transform .45s var(--ease);
}
.gallery-tile:hover .gallery-tile__plus { transform: translate(-50%, -50%) scale(1); }

/* ---------- 16. Leadership / message cards ---------- */
.message-card {
   position: relative;
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   padding: 2rem 1.8rem 1.8rem;
   box-shadow: var(--sh-1);
   transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
   height: 100%;
   overflow: hidden;
}
.message-card::before {
   content: "\201C";
   position: absolute;
   top: -1.2rem; right: 1rem;
   font-family: var(--ff-display);
   font-size: 8rem;
   line-height: 1;
   color: var(--green-100);
   pointer-events: none;
}
.message-card:hover {
   transform: translateY(-8px);
   box-shadow: var(--sh-3);
   border-color: rgba(201, 162, 39, .45);
}
.message-card > * { position: relative; }
.message-card__photo {
   width: 92px; height: 92px;
   border-radius: 50%;
   overflow: hidden;
   margin-bottom: 1.1rem;
   box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-500);
}
.message-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.message-card:hover .message-card__photo img { transform: scale(1.08); }
.message-card h4 { font-family: var(--ff-display); font-size: 1.25rem; margin-bottom: .15rem; }
.message-card .role {
   font-size: .72rem;
   letter-spacing: .16em;
   text-transform: uppercase;
   color: var(--gold-600);
   font-weight: 800;
   display: block;
   margin-bottom: .9rem;
}
.message-card p { font-size: .94rem; margin-bottom: 1.1rem; }

/* ---------- 17. CTA band ---------- */
.cta-band {
   position: relative;
   border-radius: var(--r-xl);
   overflow: hidden;
   padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
   background: linear-gradient(120deg, var(--green-800), var(--green-700) 60%, var(--green-600));
   color: #fff;
   text-align: center;
   box-shadow: var(--sh-3);
}
.cta-band::before, .cta-band::after {
   content: "";
   position: absolute;
   border-radius: 50%;
   filter: blur(60px);
}
.cta-band::before { width: 320px; height: 320px; background: rgba(201, 162, 39, .3); top: -120px; right: -60px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(255, 255, 255, .13); bottom: -120px; left: -40px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 60ch; margin-inline: auto; }

/* Newsletter */
.newsletter-form {
   display: flex;
   gap: .6rem;
   max-width: 540px;
   margin: 1.8rem auto 0;
   background: rgba(255, 255, 255, .1);
   border: 1px solid rgba(255, 255, 255, .25);
   backdrop-filter: blur(10px);
   padding: .45rem;
   border-radius: var(--r-pill);
}
.newsletter-form input {
   flex: 1;
   min-width: 0;
   border: 0;
   background: transparent;
   color: #fff;
   padding: .7rem 1.2rem;
   font-family: var(--ff-body);
   font-size: .95rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .6); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { flex-shrink: 0; }
@media (max-width: 480px) { .newsletter-form { flex-direction: column; border-radius: var(--r-lg); } .newsletter-form button { width: 100%; } }

/* ---------- 18. Footer ---------- */
.dps-footer {
   background: var(--green-900);
   color: rgba(255, 255, 255, .64);
   padding: clamp(3.5rem, 2rem + 4vw, 6rem) 0 0;
   position: relative;
   overflow: hidden;
}
.dps-footer::before {
   content: "";
   position: absolute;
   top: -160px; right: -120px;
   width: 420px; height: 420px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(201, 162, 39, .16), transparent 68%);
}
.dps-footer__grid {
   display: grid;
   grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
   gap: 2.5rem;
   position: relative;
   z-index: 1;
}
@media (max-width: 991px) { .dps-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .dps-footer__grid { grid-template-columns: 1fr; } }

.dps-footer h4 {
   color: #fff;
   font-family: var(--ff-body);
   font-size: .82rem;
   font-weight: 800;
   letter-spacing: .18em;
   text-transform: uppercase;
   margin-bottom: 1.4rem;
   position: relative;
   padding-bottom: .8rem;
}
.dps-footer h4::after {
   content: "";
   position: absolute;
   left: 0; bottom: 0;
   width: 34px; height: 2px;
   background: var(--gold-500);
}
.dps-footer__logo {
   background: #fff;
   border-radius: var(--r-md);
   padding: .9rem 1.1rem;
   display: inline-block;
   margin-bottom: 1.3rem;
}
.dps-footer__logo img { height: 52px; }
.dps-footer p { font-size: .92rem; }
.dps-footer a { color: rgba(255, 255, 255, .64); }
.dps-footer a:hover { color: var(--gold-400); }

.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot-links a { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; transition: transform .3s var(--ease), color .3s var(--ease); }
.foot-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; color: var(--gold-500); }
.foot-links a:hover { transform: translateX(5px); }

.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.foot-contact li { display: flex; gap: .85rem; font-size: .92rem; }
.foot-contact i {
   flex-shrink: 0;
   width: 34px; height: 34px;
   display: grid; place-items: center;
   border-radius: 10px;
   background: rgba(255, 255, 255, .07);
   color: var(--gold-400);
   font-size: .82rem;
}

.dps-footer__bottom {
   margin-top: clamp(2.5rem, 1.5rem + 2vw, 4rem);
   border-top: 1px solid rgba(255, 255, 255, .1);
   padding: 1.4rem 0;
   font-size: .85rem;
   position: relative;
   z-index: 1;
}
.dps-footer__bottom .dps-shell {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
   flex-wrap: wrap;
}
.dps-footer__bottom p { margin: 0; }

/* Back to top */
.to-top {
   position: fixed;
   right: 22px; bottom: 22px;
   width: 48px; height: 48px;
   display: grid; place-items: center;
   border: 0;
   border-radius: 50%;
   background: var(--green-700);
   color: #fff;
   box-shadow: var(--sh-2);
   cursor: pointer;
   z-index: 300;
   opacity: 0;
   visibility: hidden;
   transform: translateY(14px);
   transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-500); color: var(--green-900); }

/* Floating WhatsApp / call */
.float-actions {
   position: fixed;
   left: 22px; bottom: 22px;
   z-index: 300;
   display: flex;
   flex-direction: column;
   gap: .6rem;
}
.float-actions a {
   width: 48px; height: 48px;
   display: grid; place-items: center;
   border-radius: 50%;
   color: #fff;
   box-shadow: var(--sh-2);
   transition: transform .3s var(--ease);
}
.float-actions a:hover { transform: scale(1.1); color: #fff; }
.float-actions .fa-call { background: var(--green-700); }
.float-actions .fa-wa { background: #25d366; }
@media (max-width: 575px) { .float-actions { left: 14px; bottom: 14px; } .to-top { right: 14px; bottom: 14px; } }

/* ---------- 19. Inner page banner ---------- */
.page-hero {
   position: relative;
   background: var(--green-900);
   overflow: hidden;
   padding: clamp(4rem, 2.5rem + 5vw, 7rem) 0 clamp(3.5rem, 2rem + 4vw, 6rem);
   text-align: center;
   color: #fff;
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after {
   content: "";
   position: absolute;
   inset: 0;
   background:
      radial-gradient(90% 120% at 50% 0, rgba(11, 93, 59, .55), transparent 70%),
      linear-gradient(180deg, rgba(4, 40, 26, .78), rgba(4, 40, 26, .94));
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }

.crumbs {
   display: inline-flex;
   align-items: center;
   gap: .6rem;
   flex-wrap: wrap;
   justify-content: center;
   list-style: none;
   margin: 0; padding: .55rem 1.2rem;
   border-radius: var(--r-pill);
   background: rgba(255, 255, 255, .08);
   border: 1px solid rgba(255, 255, 255, .18);
   backdrop-filter: blur(8px);
   font-size: .82rem;
   color: rgba(255, 255, 255, .72);
}
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs li + li::before { content: "/"; margin-right: .6rem; opacity: .45; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li[aria-current] { color: var(--gold-400); }

/* ---------- 20. Prose (CMS content) ---------- */
.prose { color: var(--ink-soft); font-size: 1.01rem; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 2rem; }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before {
   content: "";
   position: absolute;
   left: 0; top: .62em;
   width: 8px; height: 8px;
   border-radius: 50%;
   background: var(--gold-500);
   box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}
.prose ol li::marker { color: var(--green-700); font-weight: 700; }
.prose blockquote {
   margin: 1.8rem 0;
   padding: 1.4rem 1.6rem;
   border-left: 4px solid var(--gold-500);
   background: var(--green-100);
   border-radius: 0 var(--r-md) var(--r-md) 0;
   font-family: var(--ff-display);
   font-size: 1.12rem;
   color: var(--green-900);
}
.prose img { border-radius: var(--r-md); box-shadow: var(--sh-1); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.prose table, .prose .table {
   width: 100%;
   border-collapse: separate;
   border-spacing: 0;
   margin: 1.6rem 0;
   font-size: .94rem;
   border: 1px solid var(--line);
   border-radius: var(--r-md);
   overflow: hidden;
   background: #fff;
   box-shadow: var(--sh-1);
}
.prose th {
   background: linear-gradient(120deg, var(--green-800), var(--green-700));
   color: #fff;
   font-family: var(--ff-body);
   font-weight: 700;
   font-size: .8rem;
   letter-spacing: .08em;
   text-transform: uppercase;
   padding: .9rem 1rem;
   text-align: left;
}
.prose td { padding: .85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--cream); }
.prose tbody tr:hover { background: var(--green-100); }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.prose figure { margin: 1.6rem 0; }
.prose figure img { margin-inline: auto; }
.prose figcaption {
   margin-top: .7rem;
   font-size: .85rem;
   color: var(--ink-mute);
   text-align: center;
   font-style: italic;
}

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .page-body { grid-template-columns: 1fr; } }

.side-card {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   box-shadow: var(--sh-1);
   overflow: hidden;
   margin-bottom: 1.5rem;
}

/* The whole sidebar column travels with the reader, not each card. */
.page-body > aside {
   position: sticky;
   top: calc(var(--header-h) + 20px);
}
@media (max-width: 991px) { .page-body > aside { position: static; } }
.side-card__head {
   padding: 1.1rem 1.35rem;
   background: linear-gradient(120deg, var(--green-800), var(--green-700));
   color: #fff;
   font-family: var(--ff-display);
   font-size: 1.05rem;
}
.side-card__body { padding: .6rem 1.35rem 1.2rem; }
.side-nav-list { list-style: none; margin: 0; padding: 0; }
.side-nav-list li + li { border-top: 1px solid var(--line); }
.side-nav-list a {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: .6rem;
   padding: .8rem 0;
   font-size: .92rem;
   font-weight: 600;
   color: var(--ink-soft);
}
.side-nav-list a:hover { color: var(--green-700); }
.side-nav-list a.is-active { color: var(--green-700); }
.side-nav-list a::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: var(--gold-500); }

/* ---------- 21. Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
   @supports ((animation-timeline: view()) and (animation-range: entry)) {
      @keyframes revealUp {
         from { opacity: 0; transform: translateY(40px); }
      }
      [data-reveal] {
         animation: revealUp .1s linear backwards;
         animation-timeline: view();
         animation-range: entry 0% cover 34%;
      }
   }
}

/* IntersectionObserver fallback (class added by JS when SDA unsupported) */
.js-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal.is-in { opacity: 1; transform: none; }
.js-reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal:nth-child(3) { transition-delay: .16s; }
.js-reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 22. Legacy module class harmonisation ---------- */
/* Font Awesome 6 Free has no Light/Sharp styles — map them to Solid. */
.fa-light, .fa-thin, .fa-sharp { font-family: "Font Awesome 6 Free"; font-weight: 900; }

.section-title { text-align: center; margin-bottom: 2.6rem; }
.section-title img { display: none; }
.section-title h2 { margin: 0; }

.rts-section-padding { padding: 0; }
.rts-section-title { font-family: var(--ff-display); font-size: 1.3rem; margin: 0; }
.rts-section.rt-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rts-border-bottom-2 { border-bottom: 1px solid var(--line); }
.rts-arrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.single-blog {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   overflow: hidden;
   box-shadow: var(--sh-1);
   transition: transform .5s var(--ease), box-shadow .5s var(--ease);
   height: 100%;
}
.single-blog:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.single-blog .blog-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.single-blog .blog-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--ease); }
.single-blog:hover .blog-img img { transform: scale(1.08); }
.single-blog .blog-hover {
   position: absolute;
   inset: 0;
   display: grid;
   place-items: center;
   background: rgba(4, 40, 26, .55);
   opacity: 0;
   transition: opacity .4s var(--ease);
}
.single-blog:hover .blog-hover { opacity: 1; }
.single-blog .blog-hover a {
   width: 54px; height: 54px;
   display: grid; place-items: center;
   border-radius: 50%;
   background: var(--gold-500);
   color: var(--green-900);
   transform: scale(.6);
   transition: transform .4s var(--ease);
}
.single-blog:hover .blog-hover a { transform: scale(1); }
.single-blog .blog-content { padding: 1.2rem 1.4rem 1.4rem; }
.single-blog .blog-content p { margin: 0; font-family: var(--ff-display); font-size: 1.08rem; color: var(--ink); }

.notice-content-box { margin: 0; padding: 0; }
.single-notice-item, .single-notice {
   display: flex;
   gap: 1rem;
   padding: 1rem 0;
   border-bottom: 1px dashed var(--line);
}
.notice-date {
   flex-shrink: 0;
   min-width: 58px;
   text-align: center;
   border-radius: 12px;
   background: var(--green-100);
   color: var(--green-800);
   padding: .45rem .5rem;
   font-size: .8rem;
   font-weight: 700;
}
.notice-content { font-size: .95rem; }

.nav-pills { gap: .5rem; flex-wrap: wrap; }
.nav-pills .nav-link {
   border-radius: var(--r-pill);
   font-size: .8rem;
   font-weight: 700;
   letter-spacing: .05em;
   text-transform: uppercase;
   color: var(--ink-soft);
   background: var(--sand);
   padding: .5rem 1.1rem;
}
.nav-pills .nav-link.active { background: var(--green-700); color: #fff; }

.program__single--item {
   background: #fff;
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   padding: 1.8rem;
   box-shadow: var(--sh-1);
   transition: transform .45s var(--ease), box-shadow .45s var(--ease);
   height: 100%;
}
.program__single--item:hover { transform: translateY(-8px); box-shadow: var(--sh-3); }
.program__single--item--title { font-family: var(--ff-display); font-size: 1.25rem; margin-bottom: .8rem; }
.program__single--item--list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.program__single--item--list--item { padding: .4rem 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }

/* Bootstrap modal polish */
.modal-content { border: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); }
.modal-header { background: linear-gradient(120deg, var(--green-800), var(--green-700)); color: #fff; border: 0; padding: 1.1rem 1.4rem; }
.modal-title { color: #fff; font-family: var(--ff-display); font-size: 1.15rem; }
.modal-header .btn-close {
   width: 38px;
   height: 38px;
   margin: 0;
   padding: 0;
   flex-shrink: 0;
   border-radius: 50%;
   background-color: rgba(255, 255, 255, .16);
   background-size: 13px;
   filter: invert(1) grayscale(1) brightness(2.4);
   opacity: 1;
   transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.modal-header .btn-close:hover {
   background-color: rgba(255, 255, 255, .34);
   transform: rotate(90deg);
}
.modal-header .btn-close:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.modal-body { padding: 1.4rem; background: var(--cream); }
.modal-body .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.modal-body .gallery-tile { aspect-ratio: 4 / 3; cursor: zoom-in; }
.modal-body .single-blog { margin-bottom: 1.5rem; }

/* Forms */
.form-control, .form-select {
   border: 1px solid var(--line);
   border-radius: var(--r-sm);
   padding: .78rem 1rem;
   font-family: var(--ff-body);
   font-size: .95rem;
   background: #fff;
   color: var(--ink);
   transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control:focus, .form-select:focus {
   border-color: var(--green-600);
   box-shadow: 0 0 0 4px rgba(15, 122, 77, .12);
   outline: none;
}
label, .form-label { font-size: .84rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }

.card {
   border: 1px solid var(--line);
   border-radius: var(--r-lg);
   box-shadow: var(--sh-1);
   overflow: hidden;
}
.card-header {
   background: linear-gradient(120deg, var(--green-800), var(--green-700));
   color: #fff;
   border: 0;
   padding: 1.1rem 1.4rem;
   font-family: var(--ff-display);
   font-size: 1.15rem;
}
.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5 { color: #fff; margin: 0; }
.card-body { padding: 1.6rem; background: #fff; }

.btn-warning, .btn-danger, .btn-primary { border-radius: var(--r-pill); font-weight: 700; padding: .8rem 1.6rem; letter-spacing: .05em; text-transform: uppercase; font-size: .84rem; border: 0; }
.btn-warning { background: linear-gradient(120deg, var(--gold-600), var(--gold-400)); color: var(--green-900); }
.btn-danger { background: linear-gradient(120deg, #a81f3a, #d2453f); color: #fff; }

.contact-map iframe, iframe.map { width: 100%; border: 0; border-radius: var(--r-lg); box-shadow: var(--sh-1); min-height: 380px; display: block; }

/* ---------- 23. Print ---------- */
@media print {
   .dps-header, .dps-topbar, .dps-ticker, .dps-footer, .to-top, .float-actions, .dps-hero { display: none !important; }
   body { background: #fff; color: #000; }
}

/* CMS figures read better floated beside the text on wide screens. */
@media (min-width: 768px) {
   .prose figure:has(img) {
      float: right;
      max-width: 42%;
      margin: .35rem 0 1.4rem 2rem;
   }
   .prose figure:has(img) + * { clear: none; }
}
.prose::after { content: ""; display: block; clear: both; }

/* ---------- 24. Small-screen refinements ---------- */
@media (max-width: 767px) {
   :root { --shell: min(1240px, 100% - 2rem); }

   .dps-topbar__inner { justify-content: center; padding: .45rem 0; }
   .dps-topbar__meta { justify-content: center; gap: 1rem; row-gap: .25rem; }

   .dps-hero__content { padding: 3rem 0 8.5rem; }
   .dps-hero__copy h1 { font-size: clamp(2rem, 1.2rem + 4.4vw, 2.6rem); }
   .dps-hero__copy p { font-size: .98rem; }
   .dps-hero__cta { gap: .65rem; }
   .dps-hero__cta .btn-dps { flex: 1 1 100%; }

   .dps-hero__nav { bottom: 1.4rem; }
   .dps-hero__nav-inner { justify-content: center; }
   .dps-hero__arrows { order: -1; display: none; }

   .dps-hero__curve { height: 34px; }

   .quick-ribbon__grid { border-radius: var(--r-md); }
   .quick-card { padding: 1.15rem 1.15rem; }

   .about-figure__frame { display: none; }
   .about-figure__chip { left: .8rem; bottom: .8rem; padding: .8rem 1rem; }

   .board__body { max-height: none; }
   .board__embed iframe { min-height: 360px; }

   .cta-band { border-radius: var(--r-lg); }

   .dps-footer__bottom .dps-shell { flex-direction: column; text-align: center; gap: .35rem; }
}

@media (max-width: 400px) {
   .dps-brand img { height: 44px; }
   .dps-header.is-stuck .dps-brand img { height: 40px; }
}

/* ==========================================================================
   25. Parallax & school-themed motion
   Scroll-driven animations are progressive enhancement: everything below is
   decorative, so browsers without support simply get the static layout.
   ========================================================================== */

/* ---- Floating school icons (books, globes, pencils drifting in the bg) ---- */
.edu-float {
   position: absolute;
   inset: 0;
   overflow: clip;
   pointer-events: none;
   z-index: 0;
}
.edu-float__item {
   position: absolute;
   display: grid;
   place-items: center;
   width: var(--size, 58px);
   height: var(--size, 58px);
   border-radius: 20px;
   font-size: calc(var(--size, 58px) * .42);
   color: var(--green-700);
   background: rgba(255, 255, 255, .72);
   border: 1px solid rgba(11, 93, 59, .12);
   box-shadow: 0 10px 26px rgba(10, 20, 32, .07);
   backdrop-filter: blur(4px);
   opacity: .6;
   will-change: transform;
}
.section--dark .edu-float__item,
.stats-band .edu-float__item {
   color: var(--gold-400);
   background: rgba(255, 255, 255, .07);
   border-color: rgba(255, 255, 255, .14);
   box-shadow: none;
}

@media (prefers-reduced-motion: no-preference) {
   @keyframes eduDrift {
      0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
      50%  { transform: translate3d(0, -18px, 0) rotate(var(--tilt, 6deg)); }
      100% { transform: translate3d(0, 0, 0) rotate(0deg); }
   }
   .edu-float__item {
      animation: eduDrift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
   }
}

/* Below ~1320px the page gutters are too narrow to hold the icons without
   crowding the text, so they are dropped entirely. */
@media (max-width: 1319px) {
   .edu-float { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
   @supports ((animation-timeline: view()) and (animation-range: entry)) {

      /* ---- Hero: the photograph drifts slower than the copy over it ---- */
      @keyframes heroParallax {
         from { transform: translate3d(0, 0, 0); }
         to   { transform: translate3d(0, 9%, 0); }
      }
      @keyframes heroCopyLift {
         from { transform: translate3d(0, 0, 0); opacity: 1; }
         to   { transform: translate3d(0, -70px, 0); opacity: .15; }
      }

      .dps-hero { view-timeline: --hero; }

      /* Applied to the container so it multiplies with the <img>'s Ken Burns
         transform rather than replacing it. */
      .dps-hero__media {
         animation: heroParallax linear both;
         animation-timeline: --hero;
         animation-range: exit-crossing 0% exit 100%;
      }
      .dps-hero__copy {
         animation: heroCopyLift linear both;
         animation-timeline: --hero;
         animation-range: exit-crossing 0% exit 100%;
      }

      /* ---- Stats band: real parallax instead of background-attachment ---- */
      @keyframes bandParallax {
         from { transform: translate3d(0, -14%, 0); }
         to   { transform: translate3d(0, 14%, 0); }
      }
      .stats-band { view-timeline: --band; }
      .stats-band__bg {
         animation: bandParallax linear both;
         animation-timeline: --band;
         animation-range: cover 0% cover 100%;
      }

      /* ---- About photo drifts within its frame ---- */
      @keyframes figureParallax {
         from { transform: translate3d(0, -7%, 0) scale(1.14); }
         to   { transform: translate3d(0, 7%, 0) scale(1.14); }
      }
      .about-figure__main { view-timeline: --figure; }
      .about-figure__main img {
         animation: figureParallax linear both;
         animation-timeline: --figure;
         animation-range: cover 0% cover 100%;
      }
      /* Hover zoom would fight the parallax transform. */
      .about-figure:hover .about-figure__main img { transform: none; }

      /* ---- Floating icons drift at staggered depths ---- */
      @keyframes floatParallax {
         to { transform: translate3d(0, calc(-38px * var(--depth, 1)), 0); }
      }
      .edu-float { view-timeline: --float; }
      .edu-float__item {
         animation:
            eduDrift var(--dur, 9s) ease-in-out var(--delay, 0s) infinite,
            floatParallax linear both;
         animation-timeline: auto, --float;
         animation-range: normal, cover 0% cover 100%;
      }

      /* ---- Section headings: a chalk-style underline draws itself in ---- */
      @keyframes drawRule {
         from { stroke-dashoffset: 260; }
         to   { stroke-dashoffset: 0; }
      }
      .sec-rule path {
         stroke-dasharray: 260;
         animation: drawRule linear both;
         animation-timeline: view();
         animation-range: entry 20% cover 42%;
      }
   }
}

/* The hand-drawn rule under centred headings. */
.sec-rule {
   display: block;
   width: 132px;
   height: 16px;
   margin: .2rem auto 1.3rem;
   overflow: visible;
}
.sec-rule path {
   fill: none;
   stroke: var(--gold-500);
   stroke-width: 3.5;
   stroke-linecap: round;
}
.section--dark .sec-rule path { stroke: var(--gold-400); }

/* Static fallback: no scroll timeline, so just show the finished stroke. */
@supports not ((animation-timeline: view()) and (animation-range: entry)) {
   .sec-rule path { stroke-dasharray: none; }
}
@media (prefers-reduced-motion: reduce) {
   .sec-rule path { stroke-dasharray: none; animation: none; }
}

/* ---- Stats band background layer ---- */
.stats-band { position: relative; isolation: isolate; }
.stats-band__bg {
   position: absolute;
   inset: -16% 0;
   z-index: -1;
   background: url("../img/facilite/course-bg.jpg") center / cover no-repeat;
   will-change: transform;
}
.stats-band__tint {
   position: absolute;
   inset: 0;
   z-index: -1;
   background: linear-gradient(120deg, rgba(4, 40, 26, .95), rgba(11, 93, 59, .9));
}

/* ==========================================================================
   26. 3D — pointer-driven card tilt
   ========================================================================== */

.feature-card-wrap { display: flex; }
.feature-card-wrap > .feature-card { flex: 1; }

.tilt3d {
   transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
   transform-style: preserve-3d;
   transition: transform .25s var(--ease);
   will-change: transform;
}
/* The hover lift lives on the wrapper so it does not fight the tilt. */
.feature-card-wrap:hover > .feature-card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (prefers-reduced-motion: reduce) {
   .tilt3d { transform: none; }
}

/* ==========================================================================
   27. Hero depth scene
   The slide photograph, its scrim, the copy and a foreground layer sit at
   different Z depths inside a shared 3D space. Tilting that space with the
   pointer makes each layer travel a different distance — real parallax,
   not simulated offsets.

   Depth uses the individual `translate` property (which accepts a Z value)
   rather than `transform`, so it never collides with the scroll-driven
   `transform` animations already running on these elements.
   ========================================================================== */

.dps-hero {
   perspective: 1200px;
   perspective-origin: 50% 50%;
}

.dps-hero__slides {
   transform-style: preserve-3d;
   transform: rotateX(var(--hx, 0deg)) rotateY(var(--hy, 0deg));
   transition: transform .45s var(--ease);
}
.dps-hero.is-tilting .dps-hero__slides { transition: transform .12s linear; }

.dps-hero__slide { transform-style: preserve-3d; }

/* Far: the photograph. Scaled to cover the extra area perspective reveals
   at negative Z ((1200 + 150) / 1200 ≈ 1.13). */
.dps-hero__media {
   translate: 0 0 -150px;
   scale: 1.16;
}

/* Mid: the darkening scrim and grain. */
.dps-hero__scrim { translate: 0 0 -70px; scale: 1.07; }
.dps-hero__grain { translate: 0 0 -30px; scale: 1.03; }

/* Near: the headline and buttons. */
.dps-hero__content { translate: 0 0 45px; }

/* Nearest: soft out-of-focus foreground, the thing that sells the depth. */
.dps-hero__fg {
   position: absolute;
   inset: 0;
   z-index: 4;
   pointer-events: none;
   translate: 0 0 115px;
   scale: .92;
}
.dps-hero__fg span {
   position: absolute;
   display: block;
   border-radius: 50%;
   filter: blur(var(--blur, 22px));
   opacity: var(--op, .5);
   background: var(--bg, radial-gradient(circle at 35% 35%, rgba(11, 93, 59, .9), rgba(4, 40, 26, .75)));
}

/* Foreground bokeh, clustered at the lower corners like real depth-of-field. */
.dps-hero__fg span:nth-child(1) { width: 230px; height: 230px; left: -70px;  bottom: -80px; --blur: 24px; --op: .78; }
.dps-hero__fg span:nth-child(2) { width: 140px; height: 140px; left: 11%;     bottom: -66px; --blur: 18px; --op: .62; }
.dps-hero__fg span:nth-child(3) { width: 280px; height: 280px; right: -95px; bottom: -105px; --blur: 28px; --op: .72; }
.dps-hero__fg span:nth-child(4) { width: 110px; height: 110px; right: 16%;   bottom: -46px; --blur: 15px; --op: .5; }
.dps-hero__fg span:nth-child(5) {
   width: 150px; height: 150px; right: 6%; top: -50px;
   --blur: 28px; --op: .32;
   --bg: radial-gradient(circle at 40% 40%, rgba(201, 162, 39, .85), rgba(169, 133, 42, .6));
}
.dps-hero__fg span:nth-child(6) {
   width: 110px; height: 110px; left: 20%; top: -44px;
   --blur: 22px; --op: .26;
   --bg: radial-gradient(circle at 40% 40%, rgba(201, 162, 39, .7), transparent 70%);
}

/* Keep the controls and curve flat and clickable at the front of the scene. */
.dps-hero__nav,
.dps-hero__curve { transform: translateZ(0); }

/* Touch devices get no pointer, and the tilt would fight scrolling. */
@media (hover: none), (pointer: coarse) {
   .dps-hero__slides { transform: none; }
   .dps-hero__fg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
   .dps-hero__slides { transform: none; transition: none; }
}

/* Smaller screens: less depth, so nothing drifts out of frame. */
@media (max-width: 767px) {
   .dps-hero { perspective: 900px; }
   .dps-hero__media { translate: 0 0 -90px; scale: 1.12; }
   .dps-hero__content { translate: 0 0 25px; }
}
