/* ============================================================
   DEPARTMENTS PAGE — DEDICATED STYLESHEET
   All selectors use `dp-` prefix to avoid site-wide conflicts.
   Theme tokens reused from style.css:
     --primary-teal --primary-teal-dark --green-deep --green-mid
     --gold --gold-light --cream --parchment --text-dark --text-mid
============================================================ */

.dp-page { padding-top: 0; }


/* ============================================================
   PAGE HERO / BANNER
============================================================ */
.dp-hero {
    position: relative;
    padding: 200px 0 90px;
    background:
        linear-gradient(135deg,
            rgba(20, 68, 42, 0.92) 0%,
            rgba(13, 115, 119, 0.88) 60%,
            rgba(20, 68, 42, 0.94) 100%),
        radial-gradient(ellipse at top left, rgba(200, 147, 58, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(232, 185, 106, 0.18) 0%, transparent 55%),
        var(--green-deep);
    overflow: hidden;
    isolation: isolate;
}

.dp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 38px,
            rgba(200, 147, 58, 0.06) 38px,
            rgba(200, 147, 58, 0.06) 40px);
    pointer-events: none;
    z-index: -1;
}

.dp-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 147, 58, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.dp-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.dp-hero-arabic {
    font-family: 'Scheherazade New', 'Amiri', serif;
    direction: rtl;
    font-size: 1.7rem;
    color: var(--gold-light);
    margin-bottom: 14px;
    display: inline-block;
    animation: fadeUp 0.7s ease both;
}

.dp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 18px;
    animation: fadeUp 0.8s ease 0.05s both;
}

.dp-hero-eyebrow span {
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--gold-light);
}

.dp-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--white);
    animation: fadeUp 0.9s ease 0.1s both;
}

.dp-hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.dp-hero-sub {
    max-width: 760px;
    margin: 0 auto 26px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeUp 1s ease 0.15s both;
}

.dp-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(232, 185, 106, 0.35);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeUp 1.05s ease 0.2s both;
}

.dp-breadcrumb a,
.dp-breadcrumb span {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.dp-breadcrumb a:hover { color: var(--gold-light); }

.dp-breadcrumb .crumb-sep { color: var(--gold-light); font-size: 0.7rem; }

.dp-breadcrumb .crumb-current { color: var(--gold-light); }

.dp-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.dp-hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}


/* ============================================================
   SECTION FOUNDATION (shared)
============================================================ */
.dp-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.dp-section.alt-bg { background: var(--parchment); }

.dp-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
}

.dp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.dp-eyebrow span {
    display: inline-block;
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.dp-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.2;
    margin-bottom: 14px;
}

.dp-section-title em {
    font-style: italic;
    color: var(--primary-teal);
}

.dp-rule {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin-bottom: 22px;
}

.dp-section-sub {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-mid);
    max-width: 720px;
}

.dp-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.dp-section-head .dp-rule { margin: 0 auto 22px; }
.dp-section-head .dp-section-sub { margin: 0 auto; }


/* ============================================================
   OVERVIEW NAV CARDS (3 mini cards linking to anchors)
============================================================ */
.dp-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 14px;
}

.dp-nav-card {
    position: relative;
    background: var(--white);
    border-radius: 14px;
    padding: 32px 28px 30px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px -20px rgba(20, 68, 42, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dp-nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.dp-nav-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 44px -22px rgba(20, 68, 42, 0.45);
    border-color: rgba(200, 147, 58, 0.45);
}

.dp-nav-card:hover::before { transform: scaleX(1); }

.dp-nav-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.12), rgba(200, 147, 58, 0.12));
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.dp-nav-card:hover .dp-nav-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--green-mid));
    color: var(--white);
    transform: rotate(-6deg) scale(1.06);
}

.dp-nav-num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.dp-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.18rem;
    color: var(--green-deep);
    margin-bottom: 8px;
    font-weight: 700;
}

.dp-nav-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-mid);
    flex: 1;
    margin-bottom: 16px;
}

.dp-nav-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: gap 0.3s ease, color 0.3s ease;
}

.dp-nav-card:hover .dp-nav-go {
    gap: 12px;
    color: var(--gold);
}


/* ============================================================
   FEATURED DEPARTMENT BLOCK (2 columns, alternating)
============================================================ */
.dp-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dp-feature.reverse .dp-feature-img-col { order: 2; }
.dp-feature.reverse .dp-feature-content { order: 1; }

/* Image side */
.dp-feature-img-col {
    position: relative;
}

.dp-feature-img-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 28px 60px -25px rgba(20, 68, 42, 0.45),
        0 0 0 1px rgba(200, 147, 58, 0.15);
}

.dp-feature-img-frame img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dp-feature-img-frame:hover img { transform: scale(1.04); }

.dp-feature-img-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.08), transparent 60%);
    z-index: 2;
    pointer-events: none;
}

/* Decorative dot grid behind image */
.dp-feature-img-deco {
    position: absolute;
    width: 130px;
    height: 130px;
    background:
        repeating-linear-gradient(45deg,
            var(--gold) 0,
            var(--gold) 2px,
            transparent 2px,
            transparent 10px);
    opacity: 0.45;
    border-radius: 4px;
    z-index: -1;
    bottom: -22px;
    right: -22px;
}

.dp-feature.reverse .dp-feature-img-deco {
    right: auto;
    left: -22px;
}

/* Ribbon badge */
.dp-feature-badge {
    position: absolute;
    top: 22px;
    left: -18px;
    background: var(--gold);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px -10px rgba(200, 147, 58, 0.6);
    z-index: 3;
}

.dp-feature-badge::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    border-left: 8px solid transparent;
    border-top: 8px solid #8a6520;
    border-bottom: 0;
}

.dp-feature.dept-school .dp-feature-badge { background: var(--primary-teal); }
.dp-feature.dept-school .dp-feature-badge::after { border-top-color: #074a4d; }

.dp-feature.dept-online .dp-feature-badge { background: var(--green-mid); }
.dp-feature.dept-online .dp-feature-badge::after { border-top-color: #103d23; }

/* Floating stat card overlay */
.dp-feature-floating {
    position: absolute;
    bottom: -28px;
    right: -22px;
    background: var(--white);
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: 0 18px 40px -18px rgba(20, 68, 42, 0.4);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    max-width: 240px;
}

.dp-feature.reverse .dp-feature-floating {
    right: auto;
    left: -22px;
}

.dp-feature-floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--green-mid));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.dp-feature-floating-info span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.dp-feature-floating-info strong {
    font-family: 'Playfair Display', serif;
    color: var(--green-deep);
    font-size: 1rem;
    line-height: 1.2;
    display: block;
    margin-top: 2px;
}

/* Content side */
.dp-feature-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(13, 115, 119, 0.1);
    border: 1px solid rgba(13, 115, 119, 0.22);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dp-feature.dept-school .dp-feature-tag {
    background: rgba(200, 147, 58, 0.1);
    border-color: rgba(200, 147, 58, 0.32);
    color: var(--gold);
}

.dp-feature.dept-online .dp-feature-tag {
    background: rgba(20, 68, 42, 0.1);
    border-color: rgba(20, 68, 42, 0.25);
    color: var(--green-mid);
}

.dp-feature-arabic {
    font-family: 'Scheherazade New', 'Amiri', serif;
    direction: rtl;
    color: var(--primary-teal);
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: left;
    line-height: 1.4;
}

.dp-feature-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.2;
    margin-bottom: 12px;
}

.dp-feature-title em {
    font-style: italic;
    color: var(--gold);
}

.dp-feature.dept-school .dp-feature-title em { color: var(--primary-teal); }
.dp-feature.dept-online .dp-feature-title em { color: var(--green-mid); }

.dp-feature-rule {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 8px 0 18px;
}

.dp-feature-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-mid);
    margin-bottom: 18px;
}

/* Features bullet list */
.dp-feature-list {
    list-style: none;
    margin: 18px 0 26px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}

.dp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.55;
}

.dp-feature-list li i {
    color: var(--primary-teal);
    margin-top: 4px;
    font-size: 0.78rem;
    flex-shrink: 0;
}

.dp-feature.dept-school .dp-feature-list li i { color: var(--gold); }
.dp-feature.dept-online .dp-feature-list li i { color: var(--green-mid); }

/* Quick stats row */
.dp-feature-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.dp-feature-stat {
    flex: 1;
    min-width: 110px;
    background: var(--white);
    border-radius: 10px;
    padding: 12px 14px;
    border-left: 3px solid var(--primary-teal);
    box-shadow: 0 8px 20px -16px rgba(20, 68, 42, 0.35);
}

.dp-feature.alt-bg-context .dp-feature-stat { background: var(--cream); }

.dp-feature.dept-school .dp-feature-stat { border-left-color: var(--gold); }
.dp-feature.dept-online .dp-feature-stat { border-left-color: var(--green-mid); }

.dp-feature-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1;
}

.dp-feature-stat-num span { color: var(--gold); }

.dp-feature-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.dp-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}


/* ============================================================
   PROGRAMS / SUBJECTS GRID
   Used inside each department section to show what's taught
============================================================ */
.dp-programs {
    margin-top: 50px;
}

.dp-programs-head {
    text-align: center;
    margin-bottom: 32px;
}

.dp-programs-head .dp-eyebrow {
    justify-content: center;
}

.dp-programs-head h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    color: var(--green-deep);
    font-weight: 700;
    margin-bottom: 10px;
}

.dp-programs-head h3 em {
    color: var(--primary-teal);
    font-style: italic;
}

.dp-programs-head p {
    font-size: 0.95rem;
    color: var(--text-mid);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.dp-programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dp-pgm-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 18px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dp-pgm-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.dp-pgm-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 147, 58, 0.5);
    box-shadow: 0 14px 30px -18px rgba(20, 68, 42, 0.3);
}

.dp-pgm-card:hover::after { opacity: 1; }

.dp-pgm-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13, 115, 119, 0.1), rgba(200, 147, 58, 0.1));
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.4s ease;
}

.dp-pgm-card:hover .dp-pgm-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--green-mid));
    color: var(--white);
}

.dp-pgm-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.97rem;
    color: var(--green-deep);
    font-weight: 700;
    margin-bottom: 4px;
}

.dp-pgm-desc {
    font-size: 0.78rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ============================================================
   FACULTY / TEAM STRIP
============================================================ */
.dp-team-section {
    background:
        linear-gradient(135deg,
            rgba(20, 68, 42, 0.97) 0%,
            rgba(13, 115, 119, 0.92) 100%),
        var(--green-deep);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: var(--white);
}

.dp-team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(135deg,
            transparent 0,
            transparent 50px,
            rgba(200, 147, 58, 0.04) 50px,
            rgba(200, 147, 58, 0.04) 52px);
    pointer-events: none;
}

.dp-team-section .dp-eyebrow { color: var(--gold-light); }
.dp-team-section .dp-eyebrow span { background: var(--gold-light); }
.dp-team-section .dp-section-title { color: var(--white); }
.dp-team-section .dp-section-title em { color: var(--gold-light); }
.dp-team-section .dp-section-sub { color: rgba(255, 255, 255, 0.78); }
.dp-team-section .dp-rule { background: linear-gradient(90deg, var(--gold), transparent); }

.dp-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.dp-team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 185, 106, 0.18);
    border-radius: 14px;
    padding: 30px 26px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dp-team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.dp-team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 185, 106, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

.dp-team-card:hover::before { transform: scaleX(1); }

.dp-team-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), #b07f2c);
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px -10px rgba(200, 147, 58, 0.55);
}

.dp-team-dept {
    font-size: 0.7rem;
    color: var(--gold-light);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.dp-team-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
}

.dp-team-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 16px;
}

.dp-team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dp-team-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(232, 185, 106, 0.25);
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.dp-team-role i {
    color: var(--gold-light);
    font-size: 0.6rem;
}


/* ============================================================
   CTA BANNER
============================================================ */
.dp-cta {
    padding: 70px 0;
    background:
        linear-gradient(135deg,
            rgba(200, 147, 58, 0.95) 0%,
            rgba(176, 127, 44, 0.96) 100%),
        var(--gold);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.dp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 40px,
            rgba(255, 255, 255, 0.05) 40px,
            rgba(255, 255, 255, 0.05) 42px);
}

.dp-cta-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.dp-cta-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.dp-cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    line-height: 1.6;
}

.dp-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.dp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--green-deep);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: all 0.35s ease;
}

.dp-cta-btn:hover {
    background: transparent;
    color: var(--white);
}

.dp-cta-btn.outline {
    background: transparent;
    color: var(--white);
}

.dp-cta-btn.outline:hover {
    background: var(--white);
    color: var(--green-deep);
}


/* ============================================================
   ONLINE ACADEMY PREVIEW (special look — links to full page)
============================================================ */
.dp-online-extra {
    margin-top: 30px;
    background: linear-gradient(135deg, var(--green-deep), var(--primary-teal-dark));
    border-radius: 14px;
    padding: 26px 28px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 18px 40px -22px rgba(20, 68, 42, 0.5);
    position: relative;
    overflow: hidden;
}

.dp-online-extra::before {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 147, 58, 0.25), transparent 70%);
    pointer-events: none;
}

.dp-online-extra-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 700;
}

.dp-online-extra-text p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0;
    max-width: 580px;
}

.dp-online-extra-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--green-deep);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.35s ease;
    border: 2px solid var(--gold);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.dp-online-extra-btn:hover {
    background: transparent;
    color: var(--gold);
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 992px) {
    .dp-feature {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .dp-feature.reverse .dp-feature-img-col,
    .dp-feature.reverse .dp-feature-content {
        order: initial;
    }

    .dp-feature-img-col {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .dp-feature-arabic { text-align: center; }
    .dp-feature-content { text-align: center; }
    .dp-feature-rule { margin-left: auto; margin-right: auto; }
    .dp-feature-list { text-align: left; }
    .dp-feature-actions { justify-content: center; }
    .dp-feature-stats { justify-content: center; }

    .dp-overview-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 14px auto 0;
    }

    .dp-team-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .dp-programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dp-hero {
        padding: 110px 0 70px;
    }

    .dp-hero-arabic {
        font-size: 1.4rem;
    }

    .dp-section {
        padding: 60px 0;
    }

    .dp-section-head {
        margin-bottom: 36px;
    }

    .dp-feature-list {
        grid-template-columns: 1fr;
    }

    .dp-feature-floating {
        position: relative;
        bottom: auto;
        right: auto !important;
        left: auto !important;
        margin: 18px auto 0;
    }

    .dp-online-extra {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .dp-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .dp-cta-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dp-hero {
        padding: 100px 0 60px;
    }

    .dp-section {
        padding: 50px 0;
    }

    .dp-inner {
        padding: 0 5%;
    }

    .dp-programs-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .dp-feature-badge {
        font-size: 0.7rem;
        left: 10px;
        padding: 7px 14px;
    }

    .dp-feature-img-deco {
        display: none;
    }

    .dp-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .dp-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .dp-online-extra {
        padding: 22px 20px;
    }
}


/* Animation helpers — match elearning page style */
.dp-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.dp-anim.dp-visible {
    opacity: 1;
    transform: translateY(0);
}

.dp-anim-d1 { transition-delay: 0.1s; }
.dp-anim-d2 { transition-delay: 0.2s; }
.dp-anim-d3 { transition-delay: 0.3s; }
.dp-anim-d4 { transition-delay: 0.4s; }