@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── INSDAG Theme Variables ── */
:root {
    --primary:      #003366;
    --primary-dark: #00254d;
    --accent:       #cc0000;
    --gold:         #c9a227;
    --gold-light:   #e8c84a;
    --white:        #ffffff;
    --body-bg:      #ffffff;
    --light-bg:     #f5f7fa;
    --border:       #dde3ec;
    --text:         #1a2233;
    --text-muted:   #55637a;
    --shadow-sm:    0 2px 10px rgba(0,51,102,0.07);
    --shadow:       0 6px 28px rgba(0,51,102,0.10);
    --shadow-lg:    0 16px 48px rgba(0,51,102,0.14);
    --transition:   0.3s ease;
    --radius:       12px;
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--body-bg);
    color: var(--text);
    line-height: 1.75;
}

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

/* ── Utility ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 88px 0; }

.section-header {
    text-align: center;
    margin-bottom: 58px;
}

.section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-tag-pill {
    display: inline-block;
    background: rgba(0,51,102,0.07);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.divider {
    width: 56px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.dg-hero {
    position: relative;
    background: linear-gradient(135deg, #00254d 0%, #003366 50%, #0a4a8c 100%);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.dg-hero-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.dg-hero-glow {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.dg-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Breadcrumb */
.dg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.dg-breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.dg-breadcrumb a:hover { color: var(--gold-light); }
.dg-breadcrumb span:last-child { color: var(--gold-light); }
.bc-sep { color: rgba(255,255,255,0.3); }

.dg-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.dg-hero-title span {
    color: var(--gold);
}

.dg-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.dg-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.dg-hero-wave svg {
    width: 100%;
    height: 50px;
    display: block;
}

/* ══════════════════════════════════════════
   PROFILE SECTION
══════════════════════════════════════════ */
.dg-profile-section {
    background: var(--light-bg);
    padding: 88px 0 80px;
}

.dg-profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Profile Card (Left) ── */
.dg-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: sticky;
    top: 24px;
}

.dg-photo-wrap {
    position: relative;
    background: linear-gradient(160deg, var(--primary) 0%, #0a4a8c 100%);
    padding: 40px 40px 0;
    display: flex;
    justify-content: center;
}

#dg-photo {
    width: 200px;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px 10px 0 0;
    display: block;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.dg-photo-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-dark);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,37,77,0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(0,37,77,0); }
}

.dg-info {
    padding: 32px 28px 28px;
}

.dg-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.dg-designation {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.dg-divider {
    height: 3px;
    width: 45px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.dg-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dg-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.dg-meta-list li .meta-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.dg-meta-list li a {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.2s;
}
.dg-meta-list li a:hover { color: var(--accent); }

/* ── Message (Right) ── */
.dg-message {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 48px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.dg-message::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 10rem;
    font-family: Georgia, serif;
    color: rgba(0,51,102,0.04);
    line-height: 1;
    pointer-events: none;
    font-weight: 700;
}

.dg-section-tag {
    display: inline-block;
    background: rgba(204,0,0,0.07);
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(204,0,0,0.15);
}

.dg-msg-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.25;
}

.dg-msg-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dg-msg-body p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
}

.dg-msg-body strong {
    color: var(--primary);
    font-weight: 700;
}

/* Signature block */
.dg-signature {
    margin-top: 36px;
    padding-top: 24px;
}

.sig-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
    margin-bottom: 12px;
}

.sig-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.sig-title {
    display: block;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════
   FOCUS AREAS
══════════════════════════════════════════ */
.dg-focus-section {
    background: var(--white);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.focus-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.focus-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition), border-color var(--transition);
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.focus-card:hover::before { transform: scaleX(1); }

.focus-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,51,102,0.18);
}

.focus-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1;
}

.focus-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.focus-card p {
    font-size: 0.91rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
.dg-stats-section {
    background: linear-gradient(135deg, #00254d 0%, #003366 60%, #0a4a8c 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}

.dg-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: background var(--transition), transform var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--gold);
    display: inline;
    line-height: 1;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    display: inline;
}

.stat-label {
    margin-top: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    line-height: 1.5;
}

/* ══════════════════════════════════════════
   WAY FORWARD
══════════════════════════════════════════ */
.dg-wayforward-section {
    background: var(--light-bg);
}

.wayforward-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.wf-item {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    opacity: 0;
    transform: translateX(-16px);
}

.wf-item.visible {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}

.wf-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
    border-color: rgba(0,51,102,0.18);
}

.wf-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0,51,102,0.08);
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
    letter-spacing: -1px;
}

.wf-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.wf-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ══════════════════════════════════════════
   QUICK LINKS
══════════════════════════════════════════ */
.dg-links-section {
    background: var(--primary);
    padding: 80px 0;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255,255,255,0.7);
}

.light-pill {
    background: rgba(255,255,255,0.12) !important;
    color: var(--gold-light) !important;
    border: 1px solid rgba(255,255,255,0.18);
}

.white-div {
    background: var(--gold) !important;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ql-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 28px 16px;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    transition: background var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
    opacity: 0;
    transform: scale(0.95);
    cursor: pointer;
}

.ql-card.visible {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease, background var(--transition);
}

.ql-card:hover {
    background: rgba(201,162,39,0.18);
    border-color: rgba(201,162,39,0.45);
    color: var(--gold-light);
    transform: translateY(-4px) scale(1.02);
}

.ql-icon {
    font-size: 1.8rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.dg-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 28px;
    text-align: center;
}

.dg-footer h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.dg-footer p {
    font-size: 0.88rem;
    margin: 4px 0;
}

.footer-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 18px auto;
    border-radius: 2px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
    .dg-profile-grid {
        grid-template-columns: 1fr;
    }

    .dg-card {
        position: static;
        max-width: 420px;
        margin: 0 auto;
    }

    .dg-message { padding: 36px 28px; }
    .dg-hero-title { font-size: 2.3rem; }
    .focus-grid { grid-template-columns: 1fr 1fr; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .dg-hero-title { font-size: 1.9rem; }
    .focus-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
    section { padding: 60px 0; }

    .wf-item { padding: 20px 22px; flex-direction: column; gap: 8px; }
    .wf-num { font-size: 1.4rem; min-width: auto; }
    .dg-message::before { display: none; }
}
