:root {
    --navy: #2E3355;
    --orange: #F59C1E;
    --teal: #2A9D8F;
    --red: #D63A2F;
    --ink: #1F2333;
    --ink-2: #4A4F66;
    --ink-3: #8A8FA3;
    --page: #F7F5F0;
    --raised: #EFEBE2;
    --font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-text);
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Dari fonts */
@font-face { font-family: "Vazirmatn"; src: url("assets/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: "Vazirmatn"; src: url("assets/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; }
@font-face { font-family: "Vazirmatn"; src: url("assets/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; }
@font-face { font-family: "Markazi Text"; src: url("assets/fonts/markazi.woff2") format("woff2"); font-weight: 400 700; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("assets/fonts/naskh.woff2") format("woff2"); font-weight: 400 700; }
html[dir="rtl"] body, html[dir="rtl"] p, html[dir="rtl"] a, html[dir="rtl"] span, html[dir="rtl"] button, html[dir="rtl"] li {
    font-family: "Vazirmatn", "Noto Naskh Arabic", "Geeza Pro", var(--font-text);
    letter-spacing: 0;
    word-spacing: 0.06em;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .headline, html[dir="rtl"] .headline-sm, html[dir="rtl"] .brand-name {
    font-family: "Markazi Text", "Vazirmatn", "Noto Naskh Arabic", var(--font-text);
    letter-spacing: 0;
    word-spacing: 0.08em;
}
html[dir="rtl"] .quote-text { font-family: "Noto Naskh Arabic", "Markazi Text", "Vazirmatn", serif; }
html[dir="rtl"] .hero-copy h1 { line-height: 1.5; }
html[dir="rtl"] .headline { line-height: 1.5; }
html[dir="rtl"] .headline-sm { line-height: 1.5; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] .body-copy, html[dir="rtl"] .col p, html[dir="rtl"] .tv-copy, html[dir="rtl"] .goal-list li, html[dir="rtl"] .tv-list li, html[dir="rtl"] .commit-list li {
    line-height: 1.9;
}
html[dir="rtl"] .stat-number { font-size: 34px; line-height: 1.3; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(46 51 85 / 0.97);
    backdrop-filter: blur(6px);
}
.header-inner {
    max-width: 1040px; margin: 0 auto; padding: 10px 24px;
    display: flex; align-items: center; gap: 18px;
}
@media (min-width: 768px) { .header-inner { padding: 12px 40px; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand-name { color: #fff; font-weight: 700; font-size: 17px; }
.main-nav { display: none; gap: 22px; margin-inline-start: 12px; }
@media (min-width: 768px) { .main-nav { display: flex; } }
.main-nav a { color: rgb(255 255 255 / 0.85); text-decoration: none; font-size: 14px; font-weight: 600; }
.main-nav a:hover { color: #fff; }
.lang-switch { margin-inline-start: auto; display: inline-flex; gap: 4px; background: rgb(255 255 255 / 0.15); border-radius: 999px; padding: 4px; }
.lang-switch button {
    appearance: none; border: 0; background: transparent; color: #fff;
    font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
    cursor: pointer; min-height: 36px;
}
.lang-switch button.is-active { background: #fff; color: var(--navy); }

/* Hero */
.hero {
    background-image: url("assets/hero2.jpg");
    background-size: cover; background-position: center 30%;
    min-height: 480px; display: flex;
}
@media (min-width: 768px) { .hero { min-height: 560px; } }
.hero-overlay {
    flex: 1; display: flex; align-items: flex-end;
    background: linear-gradient(180deg, rgb(37 31 33 / 0.35) 0%, rgb(37 31 33 / 0.05) 40%, rgb(37 31 33 / 0.6) 100%);
    padding: 32px 24px 40px;
}
@media (min-width: 768px) { .hero-overlay { padding: 48px 40px 56px; } }
.hero-copy { max-width: 640px; margin: 0 auto; width: 100%; }
@media (min-width: 1040px) { .hero-copy { max-width: 1040px; } }
.hero-copy h1 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 8vw, 56px); line-height: 1.08; letter-spacing: -0.02em;
    color: #fff; margin: 0 0 14px; text-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
}
.hero-sub { font-size: 16px; line-height: 1.5; color: #fff; margin: 0 0 22px; text-shadow: 0 1px 6px rgb(0 0 0 / 0.4); max-width: 620px; }

.eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--orange); margin: 0 0 10px;
}
.eyebrow.light { color: var(--orange); text-shadow: 0 1px 6px rgb(0 0 0 / 0.5); }
.eyebrow.red { color: var(--red); }

.btn-accent {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 26px;
    background: var(--orange); color: var(--navy);
    font-weight: 700; font-size: 15px; border-radius: 6px; text-decoration: none;
}
.btn-accent.is-disabled { opacity: 0.55; cursor: not-allowed; user-select: none; }

/* Trust strip */
.trust-strip {
    background: var(--navy); color: #fff;
    display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: center;
    padding: 13px 24px; font-size: 13px; font-weight: 600;
}

/* Sections */
.section { padding: 48px 0 8px; }
.headline {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(26px, 6vw, 38px); line-height: 1.15; letter-spacing: -0.02em;
    margin: 0 0 22px; color: var(--ink);
}
.headline.light { color: #fff; }
.headline-sm { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 12px; color: var(--ink); }
.body-copy { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 22px; max-width: 640px; }

/* Stats */
.stats { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.stat-number { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--navy); margin: 0 0 10px; }
.stat-text { font-size: 15px; line-height: 1.55; color: var(--ink); margin: 0 0 8px; }
.stat-source { font-size: 12px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.stat-source a { color: var(--teal); text-decoration: none; }
.stat-source a:hover { text-decoration: underline; }

/* What we do */
.columns { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .columns { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.col img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.col h3 { font-weight: 700; font-size: 17px; margin: 14px 0 6px; color: var(--ink); }
.col p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.art-note { font-size: 12px; color: var(--ink-3); margin: 18px 0 0; }

/* DNTV section */
.dntv { background: #17181D; color: #fff; padding: 56px 0 48px; margin-top: 48px; }
.dntv-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
@media (min-width: 768px) { .dntv-head { flex-direction: row; align-items: center; gap: 28px; } }
.dntv-logo { width: 84px; height: 84px; border-radius: 18px; flex-shrink: 0; }
.dntv-sub { font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / 0.75); margin: 0 0 20px; max-width: 560px; }
.dntv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-red {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 22px;
    background: var(--red); color: #fff; font-weight: 700; font-size: 14px;
    border-radius: 6px; text-decoration: none;
}
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 0 22px;
    background: transparent; color: #fff; font-weight: 600; font-size: 14px;
    border: 1px solid rgb(255 255 255 / 0.35); border-radius: 6px; text-decoration: none;
}
.video-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { background: #22242C; border-radius: 14px; overflow: hidden; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; cursor: pointer; border: 0; padding: 0; display: block; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgb(0 0 0 / 0.25); transition: background 0.15s;
}
.video-frame:hover .video-play { background: rgb(0 0 0 / 0.1); }
.video-play svg { width: 60px; height: 60px; filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.5)); }
.video-title {
    font-size: 14px; line-height: 1.5; font-weight: 600; color: #fff;
    padding: 12px 14px 14px; margin: 0;
    direction: rtl; text-align: right;
    font-family: "Vazirmatn", var(--font-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 62px;
}
.tv-note { font-size: 13px; color: rgb(255 255 255 / 0.55); margin: 24px 0 0; }

/* Transparency */
.transparency { background: var(--raised); border-radius: 16px; padding: 24px; }
@media (min-width: 768px) { .transparency { padding: 32px; } }
.transparency p { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin: 0; }

.fine-print { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }

/* Footer */
.footer { margin-top: 56px; background: var(--navy); color: #fff; padding: 32px 24px 40px; text-align: center; }
.footer-brands { display: flex; justify-content: center; gap: 14px; margin-bottom: 14px; }
.footer-brands img { width: 60px; height: 60px; border-radius: 13px; }
.footer-names { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.footer-legal { font-size: 12px; line-height: 1.6; color: rgb(255 255 255 / 0.8); max-width: 560px; margin: 0 auto; }

/* ---- Brochure content additions ---- */
.photo-strip { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
@media (min-width: 768px) { .photo-strip { grid-template-columns: 2fr 1fr 1fr; } }
.photo-strip img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; }
.aid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.aid-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; }
.aid-grid img:first-child { grid-column: 1 / -1; height: 260px; }
@media (min-width: 768px) {
  .aid-grid { grid-template-columns: repeat(4, 1fr); }
  .aid-grid img { height: 230px; }
  .aid-grid img:first-child { grid-column: span 2; grid-row: span 2; height: 100%; }
}
.aid-caption { margin-top: 14px; font-size: 14px; opacity: 0.75; }
.yalda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.yalda-grid img { width: 100%; height: auto; border-radius: 12px; }
.yalda-caption { margin-top: 12px; font-size: 14px; opacity: 0.75; color: #d7dae3; text-align: center; }
.office-photo { margin: 26px 0 8px; max-width: 720px; }
.office-photo img { width: 100%; height: auto; border-radius: 14px; display: block; }
.body-copy { color: var(--ink-2); line-height: 1.75; max-width: 760px; }
.goals-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 900px) { .goals-wrap { grid-template-columns: 1.2fr 1fr; } }
.goal-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.goal-list li { background: var(--raised); border-radius: 12px; padding: 14px 18px; font-weight: 600; position: relative; padding-inline-start: 44px; }
.goal-list li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgb(245 156 30 / 0.25); }
.goals-photos { display: grid; gap: 14px; }
.goals-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 14px; }
.quote-band { background: var(--navy); margin: 8px 0; padding: 46px 0; }
.quote-text { margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(20px, 3.2vw, 30px); line-height: 1.5; text-align: center; max-width: 820px; margin-inline: auto; }
html[dir="rtl"] .quote-text { font-family: "Vazirmatn", var(--font-display); font-weight: 700; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social-row a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; border: 1px solid rgb(255 255 255 / 0.35); border-radius: 999px; padding: 6px 16px; }
.social-row a:hover { background: rgb(255 255 255 / 0.12); }
.tv-story { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; margin-top: 46px; }
@media (min-width: 820px) { .tv-story { grid-template-columns: 220px 1fr; } }
.tv-dq-logo { width: 100%; max-width: 220px; border-radius: 14px; background: #fff; }
.headline-sm.light { color: #fff; }
.tv-copy { color: rgb(255 255 255 / 0.82); line-height: 1.8; }
.tv-cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
@media (min-width: 768px) { .tv-cards { grid-template-columns: 1fr 1fr; } }
.tv-card { background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 14px; padding: 20px 22px; }
.tv-card h4 { margin: 0 0 8px; color: var(--orange); font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; }
html[dir="rtl"] .tv-card h4 { letter-spacing: 0; font-size: 17px; }
.tv-card p { margin: 0; color: rgb(255 255 255 / 0.85); line-height: 1.75; }
.tv-block { margin-top: 40px; }
.tv-list { margin: 0; padding-inline-start: 22px; color: rgb(255 255 255 / 0.85); line-height: 2.0; }
.tv-list li::marker { color: var(--orange); font-weight: 700; }
.tv-prog-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .tv-prog-grid { grid-template-columns: 1fr 1fr; } }
.tv-prog { background: rgb(214 58 47 / 0.12); border: 1px solid rgb(214 58 47 / 0.35); border-radius: 12px; padding: 14px 18px; }
.tv-prog p { margin: 0; color: rgb(255 255 255 / 0.88); line-height: 1.7; font-size: 15px; }
.commit-list { margin: 10px 0 0; padding-inline-start: 22px; color: rgb(255 255 255 / 0.85); line-height: 1.95; }
.commit-list li::marker { color: var(--red); }
.sada-box { background: rgb(42 157 143 / 0.14); border: 1px solid rgb(42 157 143 / 0.4); border-radius: 16px; padding: 24px 26px; }
.ads-box { display: grid; grid-template-columns: 1fr; gap: 22px; background: rgb(245 156 30 / 0.08); border: 1px solid rgb(245 156 30 / 0.35); border-radius: 16px; padding: 24px 26px; margin-bottom: 10px; }
@media (min-width: 900px) { .ads-box { grid-template-columns: 1.4fr 1fr; } }
.ads-photos { display: grid; gap: 12px; align-content: start; }
.ads-photos img { width: 100%; height: auto; border-radius: 12px; }
.tv-ads-cta { color: var(--orange); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { background: #fff; border: 1px solid var(--raised); border-radius: 14px; padding: 20px 22px; box-shadow: 0 1px 4px rgb(31 35 51 / 0.06); }
.contact-item h4 { margin: 0 0 8px; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
html[dir="rtl"] .contact-item h4 { letter-spacing: 0; font-size: 16px; }
.contact-item p { margin: 0; color: var(--ink-2); line-height: 1.8; }
.contact-item a { color: var(--teal); text-decoration: none; font-weight: 600; }
.footer-domain { color: var(--orange); font-weight: 700; margin: 4px 0; }

/* QR subscribe card */
.qr-card { margin: 22px 0 0; max-width: 420px; }
.qr-card img { width: 100%; border-radius: 16px; display: block; }
.qr-card figcaption { margin-top: 10px; font-size: 13px; color: rgb(255 255 255 / 0.75); }

/* Subpage hero */
.page-hero { background: var(--navy); padding: 64px 0 52px; }
.page-hero .headline { margin: 6px 0 0; }
.page-hero-sub { color: rgb(255 255 255 / 0.8); max-width: 640px; margin: 14px 0 0; line-height: 1.7; }

/* Gallery page */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
.gallery-grid img:first-child:nth-last-child(1) { aspect-ratio: auto; }

/* Leadership page */
.leader-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 768px) { .leader-grid { grid-template-columns: repeat(3, 1fr); } }
.leader-card { background: #fff; border: 1px solid var(--raised); border-radius: 18px; padding: 30px 24px; text-align: center; }
.leader-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: var(--raised); color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 700; }
.leader-card h3 { margin: 0 0 4px; font-size: 18px; }
.leader-role { color: var(--orange); font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.leader-bio { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin: 0; }

/* About page light cards */
.light-cards .tv-card { background: #fff; border: 1px solid var(--raised); }
.light-cards .tv-card h4 { color: var(--orange); }
.light-cards .tv-card p { color: var(--ink-2); }

/* Contact page socials on light bg */
.contact-socials { margin: 26px 0 0; }
.contact-socials a { border-color: var(--ink-3); color: var(--ink); }

/* Nav: tighter + mobile scroll row */
.main-nav { gap: 16px; }
.main-nav a { font-size: 13px; }
@media (max-width: 767px) {
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: flex; order: 3; width: 100%; overflow-x: auto; padding: 6px 0 2px; gap: 18px; }
  .main-nav a { white-space: nowrap; }
}

.gallery-single img { aspect-ratio: auto; max-height: 560px; object-fit: contain; background: #0e1220; }
.col img.fit-natural { aspect-ratio: auto; object-fit: contain; }
@media (min-width: 768px) { .gallery-two { grid-template-columns: 1fr 1fr; } }
.gallery-two img { aspect-ratio: auto; max-height: 480px; object-fit: contain; background: #0e1220; }
