/*
Theme Name: Darjeeling Public School
Theme URI: https://dpschool.edu.in
Author: Darjeeling Public School
Author URI: https://dpschool.edu.in
Description: A premium, fully custom WordPress theme for Darjeeling Public School. Features mobile-first design, Elementor compatibility, WooCommerce integration, admissions forms, alumni section, chatbot widget, Google Maps, and the Trust & Tradition colour palette (Navy Blue + Prestige Gold).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dps-theme
Tags: education, school, responsive, custom-colors, custom-logo, featured-images, full-width-template, theme-options, blog, e-commerce
*/

/* ============================================================
   CSS CUSTOM PROPERTIES – DPS Design System
   ============================================================ */
:root {
    /* Brand Palette */
    --dps-navy:       #0D2B6E;
    --dps-navy-dark:  #0a2258;
    --dps-navy-light: #1a3d8a;
    --dps-gold:       #C9A84C;
    --dps-gold-light: #d4b86a;
    --dps-silver:     #A8B2C1;
    --dps-white:      #FFFFFF;
    --dps-gray-light: #F4F6F9;
    --dps-gray-mid:   #E2E8F0;

    /* Text */
    --dps-text-dark:  #1A1A2E;
    --dps-text-mid:   #4A5568;
    --dps-text-light: #718096;

    /* Status */
    --dps-success:    #2D7A4F;
    --dps-error:      #C0392B;
    --dps-warning:    #D97706;

    /* Typography */
    --font-serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-elegant:   'Lora', Georgia, serif;
    --font-body:      'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, sans-serif;

    /* Spacing */
    --section-pad:    5rem 0;
    --section-pad-sm: 3rem 0;

    /* Borders & Shadows */
    --radius-sm:      6px;
    --radius-md:      10px;
    --radius-lg:      16px;
    --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:      0 4px 16px rgba(13,43,110,.12);
    --shadow-lg:      0 10px 40px rgba(13,43,110,.18);
    --shadow-xl:      0 20px 60px rgba(13,43,110,.22);

    /* Transitions */
    --transition:     all .3s ease;
    --transition-fast: all .15s ease;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--dps-text-dark);
    background: var(--dps-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dps-navy); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--dps-gold); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--dps-text-dark);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25rem; color: var(--dps-text-mid); }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dps-text-mid);
}

.text-serif  { font-family: var(--font-serif); }
.text-elegant{ font-family: var(--font-elegant); font-style: italic; }
.text-gold   { color: var(--dps-gold); }
.text-navy   { color: var(--dps-navy); }
.text-white  { color: var(--dps-white); }
.text-muted  { color: var(--dps-text-light); }
.text-center { text-align: center; }
.text-upper  { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 600; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

.section        { padding: var(--section-pad); }
.section-sm     { padding: var(--section-pad-sm); }
.section-white  { background: var(--dps-white); }
.section-gray   { background: var(--dps-gray-light); }
.section-navy   { background: var(--dps-navy); }
.section-dark   { background: var(--dps-navy-dark); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex       { display: flex; }
.flex-center{ display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-wrap  { flex-wrap: wrap; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

/* ============================================================
   SECTION HEADERS (reusable)
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .eyebrow {
    display: block;
    color: var(--dps-gold);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: .6rem;
}
.section-header h2 { color: var(--dps-text-dark); margin-bottom: 1rem; }
.section-header p  { color: var(--dps-text-mid); max-width: 640px; margin: 0 auto; }

.gold-divider {
    width: 70px;
    height: 3px;
    background: var(--dps-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}
.gold-divider-left { margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .03em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary {
    background: var(--dps-gold);
    color: var(--dps-text-dark);
    border-color: var(--dps-gold);
}
.btn-primary:hover { background: var(--dps-gold-light); border-color: var(--dps-gold-light); color: var(--dps-text-dark); }

.btn-secondary {
    background: transparent;
    color: var(--dps-white);
    border-color: var(--dps-white);
}
.btn-secondary:hover { background: var(--dps-white); color: var(--dps-navy); }

.btn-navy {
    background: var(--dps-navy);
    color: var(--dps-white);
    border-color: var(--dps-navy);
}
.btn-navy:hover { background: var(--dps-navy-light); border-color: var(--dps-navy-light); color: var(--dps-white); }

.btn-outline-navy {
    background: transparent;
    color: var(--dps-navy);
    border-color: var(--dps-navy);
}
.btn-outline-navy:hover { background: var(--dps-navy); color: var(--dps-white); }

.btn-sm { padding: .5rem 1.25rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--dps-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card-body   { padding: 2rem; }
.card-footer { padding: 1rem 2rem; border-top: 1px solid var(--dps-gray-mid); }

.card-gold-top    { border-top: 4px solid var(--dps-gold); }
.card-gold-bottom { border-bottom: 4px solid var(--dps-gold); }
.card-navy-top    { border-top: 4px solid var(--dps-navy); }

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}
.badge-gold  { background: var(--dps-gold); color: var(--dps-text-dark); }
.badge-navy  { background: var(--dps-navy); color: var(--dps-white); }
.badge-light { background: var(--dps-gray-light); color: var(--dps-navy); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dps-text-dark);
    margin-bottom: .4rem;
}
.form-label .required { color: var(--dps-error); margin-left: .2rem; }

.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--dps-gray-mid);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--dps-text-dark);
    background: var(--dps-white);
    transition: var(--transition-fast);
    outline: none;
}
.form-control:focus {
    border-color: var(--dps-navy);
    box-shadow: 0 0 0 3px rgba(13,43,110,.1);
}
.form-control::placeholder { color: var(--dps-text-light); }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

textarea.form-control { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media(max-width:600px){ .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   ANNOUNCEMENT TICKER
   ============================================================ */
.announcement-ticker {
    background: var(--dps-gold);
    color: var(--dps-text-dark);
    padding: .55rem 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}
.ticker-inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.ticker-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 0 1.25rem;
    background: rgba(0,0,0,.12);
    height: 100%;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 1.5rem;
    border-right: 1px solid rgba(0,0,0,.15);
    align-self: stretch;
    display: flex;
    align-items: center;
}
.ticker-scroll {
    overflow: hidden;
    flex: 1;
}
.ticker-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span {
    font-size: .85rem;
    font-weight: 600;
    flex-shrink: 0;
}
.ticker-track span::before {
    content: "📢 ";
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--dps-navy);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
    transition: var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.3); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 1.5rem;
}
@media(max-width:768px){ .header-inner { height: 65px; } }

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: .85rem;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}
@media(max-width:768px){ .site-logo img { height: 44px; } }

.logo-text .school-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dps-white);
    line-height: 1.2;
    display: block;
}
.logo-text .school-tagline {
    font-size: .7rem;
    color: var(--dps-gold);
    display: block;
    letter-spacing: .04em;
}
@media(max-width:640px){ .logo-text { display: none; } }

/* Desktop Navigation */
.desktop-nav { display: flex; align-items: center; gap: .25rem; }
@media(max-width:1100px){ .desktop-nav { display: none; } }

.desktop-nav > li { position: relative; }

.desktop-nav a,
.desktop-nav > li > button {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .5rem .8rem;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    text-decoration: none;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav > li > button:hover,
.desktop-nav .current-menu-item > a {
    color: var(--dps-gold);
    background: rgba(255,255,255,.07);
}

/* Dropdown */
.desktop-nav .sub-menu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    background: var(--dps-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1000;
}
.desktop-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.desktop-nav .sub-menu a {
    display: block;
    padding: .65rem 1rem;
    font-size: .85rem;
    color: var(--dps-text-dark);
    border-radius: var(--radius-sm);
    background: none;
}
.desktop-nav .sub-menu a:hover { background: var(--dps-gray-light); color: var(--dps-navy); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
.header-phone:hover { color: var(--dps-gold); }
@media(max-width:900px){ .header-phone { display: none; } }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .4rem;
    cursor: pointer;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dps-white);
    border-radius: 2px;
    transition: var(--transition);
}
@media(max-width:1100px){ .mobile-menu-toggle { display: flex; } }

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Navigation */
#mobile-nav {
    display: none;
    background: var(--dps-navy-dark);
    border-top: 1px solid rgba(255,255,255,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
#mobile-nav.open { display: block; max-height: 600px; overflow-y: auto; }

.mobile-nav-inner { padding: 1rem 1.5rem 1.5rem; }

.mobile-nav-inner a {
    display: block;
    padding: .75rem 1rem;
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}
.mobile-nav-inner a:hover { background: rgba(255,255,255,.07); color: var(--dps-gold); }
.mobile-nav-inner .btn { width: 100%; margin-top: .75rem; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 88vh;
    min-height: 520px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}
.slide.active { opacity: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,43,110,.6) 0%,
        rgba(13,43,110,.4) 50%,
        rgba(13,43,110,.72) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.slide-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.slide-content h1 {
    color: var(--dps-white);
    max-width: 900px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
    animation: slideUp .8s ease both;
}
.slide-content p {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(255,255,255,.88);
    max-width: 600px;
    margin-bottom: 2.5rem;
    animation: slideUp .8s .15s ease both;
}
.slide-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideUp .8s .3s ease both;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.3);
    color: var(--dps-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 5;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.slider-dot.active {
    background: var(--dps-gold);
    width: 28px;
}

.scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    animation: bounce 2s ease infinite;
    z-index: 5;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: var(--dps-navy);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: -3.5rem auto 0;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    box-shadow: var(--shadow-xl);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}
@media(max-width:900px){ .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:560px){ .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-item .stat-icon { color: var(--dps-gold); font-size: 1.5rem; margin-bottom: .5rem; }
.stat-item .stat-value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dps-white);
    line-height: 1;
}
.stat-item .stat-label {
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    margin-top: .3rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ============================================================
   PRINCIPAL WELCOME
   ============================================================ */
.principal-section { padding: 6rem 0; background: var(--dps-white); }

.principal-image-wrap {
    position: relative;
    max-width: 420px;
}
.principal-image-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}
.principal-quote-icon {
    position: absolute;
    bottom: -1.25rem;
    right: -1.25rem;
    width: 64px;
    height: 64px;
    background: var(--dps-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dps-white);
    box-shadow: var(--shadow-md);
}
.principal-content { padding-left: 2rem; }
@media(max-width:768px){ .principal-content { padding-left: 0; margin-top: 3rem; } }

.principal-message {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dps-text-mid);
    margin-bottom: 2rem;
}
.principal-name { font-weight: 700; font-size: 1rem; color: var(--dps-text-dark); }
.principal-title { font-size: .85rem; color: var(--dps-text-light); }

/* ============================================================
   HIGHLIGHTS GRID
   ============================================================ */
.highlights-section { padding: 6rem 0; background: var(--dps-gray-light); }

.highlight-card {
    background: var(--dps-white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--dps-gold);
    transition: var(--transition);
}
.highlight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

.highlight-icon {
    width: 60px;
    height: 60px;
    background: var(--dps-navy);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dps-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.highlight-card h3 { margin-bottom: .75rem; font-size: 1.2rem; }
.highlight-card p  { font-size: .9rem; color: var(--dps-text-mid); margin-bottom: 1.25rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dps-navy);
    text-decoration: none;
    transition: var(--transition-fast);
}
.link-arrow:hover { gap: .7rem; color: var(--dps-gold); }
.link-arrow::after { content: "→"; }

/* ============================================================
   EVENTS & NEWS
   ============================================================ */
.events-news-section { padding: 6rem 0; background: var(--dps-white); }

.event-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}
.event-item:hover { background: var(--dps-gray-light); }

.event-date-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dps-white);
    flex-shrink: 0;
}
.event-date-box .day  { font-size: 1.3rem; font-weight: 700; line-height: 1; }
.event-date-box .mon  { font-size: .65rem; text-transform: uppercase; letter-spacing: .04em; }

.event-item h4 { font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.event-item .event-cat { font-size: .75rem; color: var(--dps-text-light); }

.news-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.news-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.news-item .news-cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    background: var(--dps-gray-light);
    color: var(--dps-navy);
    padding: .15rem .6rem;
    border-radius: 999px;
    margin-bottom: .4rem;
}
.news-item h4 {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: .3rem;
    color: var(--dps-text-dark);
    transition: var(--transition-fast);
}
.news-item:hover h4 { color: var(--dps-navy); }
.news-item .news-date { font-size: .75rem; color: var(--dps-text-light); }

/* ============================================================
   ADMISSIONS CTA BANNER
   ============================================================ */
.admissions-cta {
    padding: 5rem 0;
    background: var(--dps-navy);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.admissions-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--dps-gold);
    opacity: .07;
    filter: blur(60px);
}
.admissions-cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--dps-gold);
    opacity: .05;
    filter: blur(40px);
}
.admissions-cta .eyebrow { color: var(--dps-gold); }
.admissions-cta h2      { color: var(--dps-white); margin-bottom: 1rem; }
.admissions-cta > .container > p {
    font-family: var(--font-elegant);
    font-style: italic;
    color: rgba(255,255,255,.75);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   GALLERY TEASER
   ============================================================ */
.gallery-section { padding: 6rem 0; background: var(--dps-gray-light); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: .75rem;
}
.gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
@media(max-width:768px){
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 160px);
    }
    .gallery-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
}
@media(max-width:480px){
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,43,110,0);
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}
.gallery-item:hover .gallery-overlay { background: rgba(13,43,110,.45); }
.gallery-overlay span {
    color: var(--dps-white);
    font-size: .85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: translateY(0); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 6rem 0; background: var(--dps-white); text-align: center; }

.testimonial-card { max-width: 750px; margin: 0 auto; }
.testimonial-quote-icon { color: var(--dps-gold); font-size: 3rem; line-height: 1; margin-bottom: 1.5rem; display: block; }
.testimonial-text {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--dps-text-mid);
    margin-bottom: 2rem;
}
.testimonial-stars { color: var(--dps-gold); font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial-name  { font-weight: 700; font-size: 1rem; color: var(--dps-text-dark); }
.testimonial-role  { font-size: .85rem; color: var(--dps-text-light); }

.testimonial-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.5rem; }
.t-dot {
    width: 10px; height: 10px;
    border-radius: 999px;
    background: var(--dps-silver);
    border: none; cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.t-dot.active { background: var(--dps-gold); width: 24px; }

/* ============================================================
   ALUMNI SPOTLIGHT
   ============================================================ */
.alumni-section { padding: 6rem 0; background: var(--dps-gray-light); }

.alumni-card {
    background: var(--dps-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 4px solid var(--dps-gold);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.alumni-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

.alumni-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dps-navy);
    color: var(--dps-gold);
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.alumni-card h3    { font-size: 1.1rem; margin-bottom: .25rem; }
.alumni-card .batch{ font-size: .8rem; color: var(--dps-text-light); margin-bottom: .3rem; }
.alumni-card .role { font-size: .85rem; font-weight: 600; color: var(--dps-navy); margin-bottom: 1rem; }
.alumni-card .quote{
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: .9rem;
    color: var(--dps-text-mid);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    padding: 5rem 0 3.5rem;
    background: var(--dps-navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--dps-gold), transparent);
}
.page-hero h1 { color: var(--dps-white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto; }

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--dps-gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: var(--dps-navy);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--dps-white);
    height: 100%;
}
.contact-info-card h3 { color: var(--dps-white); margin-bottom: 2rem; }

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(201,168,76,.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dps-gold);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-info-item .detail-label { font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.contact-info-item .detail-value { font-size: .9rem; color: var(--dps-white); font-weight: 500; }
.contact-info-item a { color: var(--dps-white); }
.contact-info-item a:hover { color: var(--dps-gold); }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ============================================================
   ADMISSIONS PAGE
   ============================================================ */
.step-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    position: relative;
}
.step-flow::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dps-gray-mid);
    z-index: 0;
}
@media(max-width:640px){ .step-flow::before { display: none; } }
@media(max-width:640px){ .step-flow { grid-template-columns: 1fr; gap: 1rem; } }

.step-item { text-align: center; position: relative; z-index: 1; padding: 0 .5rem; }
.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dps-navy);
    color: var(--dps-gold);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid var(--dps-white);
    box-shadow: var(--shadow-sm);
}
.step-item h4 { font-size: .9rem; margin-bottom: .4rem; }
.step-item p  { font-size: .8rem; color: var(--dps-text-light); }

/* Fee Table */
.fee-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.fee-table thead { background: var(--dps-navy); color: var(--dps-white); }
.fee-table th { padding: 1rem 1.5rem; text-align: left; font-size: .85rem; font-weight: 600; }
.fee-table td { padding: 1rem 1.5rem; font-size: .9rem; border-bottom: 1px solid var(--dps-gray-mid); }
.fee-table tbody tr:last-child td { border-bottom: none; }
.fee-table tbody tr:hover { background: var(--dps-gray-light); }
.fee-table .total-col { font-weight: 700; color: var(--dps-navy); }
.fee-table tfoot { background: var(--dps-gray-light); font-weight: 600; }

/* Accordion FAQ */
.faq-accordion { border: 1px solid var(--dps-gray-mid); border-radius: var(--radius-md); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--dps-gray-mid); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    color: var(--dps-text-dark);
    background: var(--dps-white);
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition-fast);
    gap: 1rem;
}
.faq-question:hover { background: var(--dps-gray-light); color: var(--dps-navy); }
.faq-question.open   { color: var(--dps-navy); background: var(--dps-gray-light); }
.faq-icon { font-size: 1.2rem; color: var(--dps-gold); flex-shrink: 0; transition: transform .3s ease; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    font-size: .9rem;
    color: var(--dps-text-mid);
    line-height: 1.8;
}
.faq-answer.open { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ============================================================
   STAFF DIRECTORY
   ============================================================ */
.staff-card {
    background: var(--dps-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.staff-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

.staff-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 1.75rem auto 1rem;
    border: 3px solid var(--dps-gold);
}
.staff-initials {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--dps-navy);
    color: var(--dps-gold);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.75rem auto 1rem;
    border: 3px solid var(--dps-gold);
}
.staff-card h3    { font-size: 1rem; margin-bottom: .3rem; }
.staff-card .subj { font-size: .85rem; font-weight: 600; color: var(--dps-navy); margin-bottom: .2rem; }
.staff-card .qual { font-size: .78rem; color: var(--dps-text-light); margin-bottom: .2rem; }
.staff-card .exp  { font-size: .78rem; color: var(--dps-text-light); margin-bottom: 1rem; }
.staff-card .email-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--dps-navy); padding: .5rem 1rem; border-top: 1px solid var(--dps-gray-mid); width: 100%; justify-content: center; transition: var(--transition-fast); }
.staff-card .email-link:hover { background: var(--dps-navy); color: var(--dps-white); }

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
#chatbot-toggle {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--dps-navy);
    border: none;
    color: var(--dps-gold);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}
#chatbot-toggle:hover { transform: scale(1.1); background: var(--dps-navy-light); }

#chatbot-window {
    position: fixed;
    bottom: 5.5rem;
    right: 1.75rem;
    z-index: 9998;
    width: 340px;
    max-width: calc(100vw - 2rem);
    height: 460px;
    background: var(--dps-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1.5px solid var(--dps-gold);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(.95);
    pointer-events: none;
    transition: var(--transition);
}
#chatbot-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: var(--dps-navy);
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.chatbot-header img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; }
.chatbot-header .cb-title { font-size: .9rem; font-weight: 600; color: var(--dps-white); display: block; }
.chatbot-header .cb-sub   { font-size: .72rem; color: rgba(255,255,255,.55); display: block; }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.cb-msg {
    max-width: 85%;
    padding: .6rem .9rem;
    border-radius: var(--radius-md);
    font-size: .85rem;
    line-height: 1.5;
}
.cb-msg.bot   { background: var(--dps-gray-light); color: var(--dps-text-dark); border-bottom-left-radius: 2px; align-self: flex-start; }
.cb-msg.user  { background: var(--dps-navy); color: var(--dps-white); border-bottom-right-radius: 2px; align-self: flex-end; }

.chatbot-faqs {
    padding: .6rem .75rem;
    background: var(--dps-gray-light);
    border-top: 1px solid var(--dps-gray-mid);
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.chatbot-faqs::-webkit-scrollbar { display: none; }
.cb-faq-btn {
    flex-shrink: 0;
    padding: .35rem .75rem;
    font-size: .75rem;
    border: 1.5px solid var(--dps-navy);
    border-radius: 999px;
    background: var(--dps-white);
    color: var(--dps-navy);
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    transition: var(--transition-fast);
}
.cb-faq-btn:hover { background: var(--dps-navy); color: var(--dps-white); }

.chatbot-input-row {
    display: flex;
    gap: .5rem;
    padding: .6rem .75rem;
    border-top: 1px solid var(--dps-gray-mid);
    background: var(--dps-white);
}
.chatbot-input-row input {
    flex: 1;
    padding: .5rem .85rem;
    font-size: .85rem;
    border: 1.5px solid var(--dps-gray-mid);
    border-radius: 999px;
    outline: none;
    font-family: var(--font-body);
}
.chatbot-input-row input:focus { border-color: var(--dps-navy); }
.chatbot-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dps-navy);
    color: var(--dps-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .9rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.chatbot-send:hover { background: var(--dps-gold); color: var(--dps-text-dark); }

/* ============================================================
   TIMELINE (About page)
   ============================================================ */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dps-gold);
    transform: translateX(-50%);
}
@media(max-width:768px){
    .timeline::before { left: 1.5rem; }
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 3rem;
    align-items: start;
}
@media(max-width:768px){
    .timeline-item { grid-template-columns: 60px 1fr; }
    .timeline-item .tl-left { display: none; }
}

.tl-left  { text-align: right; padding-right: 2rem; }
.tl-right { padding-left: 2rem; }
.tl-left.content, .tl-right.content {
    background: var(--dps-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.tl-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    z-index: 2;
}
.tl-dot-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dps-navy);
    border: 3px solid var(--dps-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dps-gold);
    font-weight: 700;
    font-size: .75rem;
    font-family: var(--font-serif);
    flex-shrink: 0;
}
.tl-year {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dps-navy);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--dps-navy-dark); }

.footer-main {
    padding: 4.5rem 0 2.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
}
@media(max-width:1024px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media(max-width:640px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand img  { height: 60px; margin-bottom: 1rem; }
.footer-brand p    { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 1.5rem; }

.footer-socials { display: flex; gap: .6rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: var(--transition-fast);
    text-decoration: none;
}
.social-link:hover { border-color: var(--dps-gold); color: var(--dps-gold); background: rgba(201,168,76,.1); }

.footer-widget h4 {
    font-family: var(--font-serif);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--dps-white);
    margin-bottom: 1.25rem;
}
.footer-widget-divider { width: 36px; height: 2px; background: var(--dps-gold); margin-bottom: 1.25rem; }
.footer-widget ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-widget ul a {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    transition: var(--transition-fast);
    text-decoration: none;
}
.footer-widget ul a:hover { color: var(--dps-gold); padding-left: .25rem; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}
.footer-contact-item .icon { color: var(--dps-gold); font-size: 1rem; margin-top: .1rem; flex-shrink: 0; }
.footer-contact-item span, .footer-contact-item a {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    transition: var(--transition-fast);
    line-height: 1.6;
    text-decoration: none;
}
.footer-contact-item a:hover { color: var(--dps-gold); }

.newsletter-form { display: flex; margin-top: 1rem; }
.newsletter-form input {
    flex: 1;
    padding: .6rem 1rem;
    font-size: .85rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--dps-white);
    outline: none;
    font-family: var(--font-body);
}
.newsletter-form input:focus  { border-color: var(--dps-gold); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button {
    padding: .6rem 1.1rem;
    background: var(--dps-gold);
    color: var(--dps-text-dark);
    font-weight: 700;
    font-size: .85rem;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: var(--transition-fast);
}
.newsletter-form button:hover { background: var(--dps-gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p   { font-size: .8rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.35); transition: var(--transition-fast); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--dps-gold); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-caption { text-align: center; font-size: .85rem; color: var(--dps-text-light); margin-top: .4rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft   { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright  { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }

/* Elementor overrides */
.elementor-section .section-header { margin-bottom: 2.5rem; }

/* WooCommerce basic */
.woocommerce .button,
.woocommerce button.button {
    background: var(--dps-navy) !important;
    color: var(--dps-white) !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-body) !important;
}
.woocommerce .button:hover { background: var(--dps-gold) !important; color: var(--dps-text-dark) !important; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden  { display: none !important; }
.block   { display: block; }
.w-full  { width: 100%; }
.rounded { border-radius: var(--radius-md); }
.shadow  { box-shadow: var(--shadow-md); }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    #site-header, .announcement-ticker, #chatbot-toggle, #chatbot-window,
    .slider-arrow, .slider-dots { display: none !important; }
    body { font-size: 12pt; }
    h1, h2, h3 { page-break-after: avoid; }
    img { max-width: 100% !important; }
}
