/* ============================================================
   QADIRIYYA MEDIA TEAM — Premium Design System v2.0
   Islamic Digital Media Platform
   Inspired by: Spotify · Netflix · Muslim Central · Bayyinah
   ============================================================ */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */

:root {
    /* Brand Colors */
    --primary:           #2E7D32;
    --primary-dark:      #1B5E20;
    --primary-mid:       #388E3C;
    --secondary:         #43A047;
    --light-green:       #E8F5E9;
    --mint:              #C8E6C9;

    /* Gold System */
    --gold:              #D4AF37;
    --gold-light:        #F4D35E;
    --gold-dark:         #B8960C;
    --gold-gradient:     linear-gradient(135deg, #C9A227 0%, #D4AF37 40%, #F4D35E 75%, #D4AF37 100%);
    --gold-gradient-btn: linear-gradient(135deg, #D4AF37 0%, #F4D35E 50%, #C9A227 100%);

    /* Green Gradient System */
    --green-gradient:    linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #43A047 100%);
    --green-gradient-btn:linear-gradient(135deg, #2E7D32 0%, #43A047 100%);

    /* Neutral Colors */
    --text-dark:         #1A1A1A;
    --text-mid:          #3D3D3D;
    --text-muted:        #6B7280;
    --text-light:        #9CA3AF;

    /* Backgrounds */
    --bg-white:          #FFFFFF;
    --bg-section:        #F8F9FA;
    --bg-dark:           #0D1F13;
    --bg-card:           #FFFFFF;
    --bg-glass:          rgba(255,255,255,0.08);

    /* Shadows */
    --shadow-xs:         0 2px 8px  rgba(46, 125, 50, 0.06);
    --shadow-sm:         0 4px 16px rgba(46, 125, 50, 0.09);
    --shadow-md:         0 8px 30px rgba(46, 125, 50, 0.12);
    --shadow-lg:         0 16px 48px rgba(46, 125, 50, 0.18);
    --shadow-xl:         0 24px 64px rgba(46, 125, 50, 0.22);
    --shadow-gold:       0 8px 28px rgba(212, 175, 55, 0.30);
    --shadow-gold-lg:    0 16px 40px rgba(212, 175, 55, 0.40);

    /* Border Radius */
    --radius-xs:         6px;
    --radius-sm:         10px;
    --radius-md:         16px;
    --radius-lg:         22px;
    --radius-xl:         30px;
    --radius-pill:       999px;

    /* Typography */
    --font-display:      'Playfair Display', Georgia, serif;
    --font-body:         'Inter', system-ui, sans-serif;

    /* Spacing Scale */
    --section-pad:       100px;
    --section-pad-sm:    70px;
    --section-pad-xs:    50px;

    /* Transitions */
    --ease:              cubic-bezier(0.4, 0, 0.2, 1);
    --transition:        all 0.30s var(--ease);
    --transition-slow:   all 0.50s var(--ease);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; padding: 0; margin: 0; }
button { cursor: pointer; font-family: var(--font-body); }

/* ============================================================
   3. NAVBAR
   ============================================================ */

.custom-nav {
    background: rgba(14, 40, 20, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    transition: var(--transition);
}

.navbar-brand {
    color: #fff !important;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.navbar-brand span { color: var(--gold-light); }

.nav-link {
    color: rgba(255,255,255,0.80) !important;
    font-size: 13.5px;
    font-weight: 500;
    margin-left: 2px;
    padding: 7px 15px !important;
    border-radius: var(--radius-pill);
    letter-spacing: 0.25px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #fff !important;
    background: rgba(212, 175, 55, 0.15);
}

.nav-link.active {
    color: #fff !important;
    background: rgba(212, 175, 55, 0.20);
    border: 1px solid rgba(212, 175, 55, 0.30);
}

/* ============================================================
   4. HERO SECTION
   ============================================================ */

.hero {
    min-height: 740px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(
            160deg,
            rgba(8, 30, 14, 0.88) 0%,
            rgba(27, 94, 32, 0.72) 45%,
            rgba(0, 0, 0, 0.75) 100%
        ),
        url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Decorative bottom wave */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--bg-white);
    clip-path: ellipse(58% 100% at 50% 100%);
    z-index: 2;
}

/* Subtle geometric pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.04'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 700px;
    padding: 60px 0 80px;
}

.hero-content h5 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
    background: rgba(212, 175, 55, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
}

.hero-content h1 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 70px;
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-content h1 em {
    color: var(--gold-light);
    font-style: italic;
}

.hero-content p {
    color: rgba(255,255,255,0.78);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 520px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-gradient-btn);
    color: #fff;
    padding: 17px 42px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    border: none;
}

.btn-main:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-gold-lg);
    color: #fff;
}

/* ============================================================
   5. LIVE RADIO SECTION
   ============================================================ */

.qmt-radio-section { padding: 40px 20px; background: #061a11; }
.qmt-radio-container { max-width: 800px; margin: 0 auto; }
.qmt-radio-box { 
    background: #0a2d1d; border: 1px solid #d4af37; border-radius: 20px; 
    padding: 25px; display: flex; align-items: center; gap: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(212,175,55,0.1);
}
.qmt-radio-logo { width: 80px; height: 80px; border-radius: 50%; background: #061a11; border: 2px solid #d4af37; overflow: hidden; }
.qmt-radio-info h2 { color: #fff; margin: 0; font-size: 1.5rem; }
.qmt-radio-info p { color: #d4af37; margin: 5px 0; font-size: 0.9rem; }
.qmt-radio-live-badge { color: #ff0000; font-weight: bold; font-size: 0.7rem; text-transform: uppercase; }
.qmt-radio-wave { display: flex; align-items: flex-end; gap: 3px; height: 20px; margin-top: 10px; }
.qmt-bar { width: 4px; height: 10px; background: #d4af37; animation: qmt-pulse 1s infinite; }
@keyframes qmt-pulse { 0%, 100% { height: 10px; } 50% { height: 25px; } }
.qmt-radio-controls { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.qmt-radio-btn { 
    width: 60px; height: 60px; border-radius: 50%; border: none; 
    background: #d4af37; color: #0a2d1d; font-size: 20px; cursor: pointer; 
    transition: 0.3s;
}
.qmt-radio-btn:hover { transform: scale(1.1); box-shadow: 0 0 15px #d4af37; }
.qmt-volume-control { display: flex; align-items: center; gap: 5px; }
@media (max-width: 600px) { .qmt-radio-box { flex-direction: column; text-align: center; } }

/* ============================================================
   6. SECTION TITLES (GLOBAL)
   ============================================================ */

.section-title,
.section-header {
    margin-bottom: 56px;
}

.section-title {
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title h2,
.section-header h2 {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
    margin: 14px auto 0;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.75;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 3px;
    border-bottom: 1.5px solid rgba(46, 125, 50, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.view-all:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    gap: 8px;
}

/* ============================================================
   7. CATEGORIES SECTION
   ============================================================ */

.categories {
    padding: var(--section-pad) 0;
    background: var(--bg-section);
}

.category-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 38px 26px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(46, 125, 50, 0.07);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--green-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 125, 50, 0.15);
    background: #FAFFF8;
}

.category-card:hover::after {
    transform: scaleX(1);
}

.category-icon {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: var(--green-gradient-btn);
    color: #fff;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 22px rgba(46, 125, 50, 0.28);
    transition: var(--transition-slow);
}

.category-card:hover .category-icon {
    background: var(--gold-gradient-btn);
    box-shadow: var(--shadow-gold);
    transform: scale(1.08) rotate(-4deg);
}

.category-card h4 {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 9px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ============================================================
   8. AUDIO SECTION
   ============================================================ */

.audio-section {
    padding: var(--section-pad) 0;
    background: var(--bg-white);
}

.audio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(46, 125, 50, 0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.audio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(46, 125, 50, 0.12);
}

/* Image wrapper */
.audio-card-img-wrap {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.audio-card img {
    width: 100%;
    height: 232px;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
    display: block;
}

.audio-card:hover img {
    transform: scale(1.08);
}

/* Overlay on image hover */
.audio-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(14, 42, 18, 0.55) 100%
    );
    opacity: 0;
    transition: var(--transition);
}

.audio-card:hover .audio-card-img-wrap::after {
    opacity: 1;
}

/* Badge on image */
.audio-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 30, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.audio-content {
    padding: 22px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.audio-content h5 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 6px;
}

.audio-content p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
}

.audio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 16px;
    color: var(--text-light);
    font-size: 12.5px;
    gap: 8px;
}

.audio-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ============================================================
   9. CORE BUTTONS — Play & Download
   ============================================================ */

.play-btn,
.read-btn,
.watch-btn {
    background: var(--green-gradient-btn);
    color: #fff;
    border: none;
    padding: 0 20px;
    height: 44px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.32);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.play-btn:hover,
.read-btn:hover,
.watch-btn:hover {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.42);
    transform: translateY(-2px);
    color: #fff;
}

.download-btn {
    background: var(--gold-gradient-btn);
    color: #fff;
    border: none;
    padding: 0 20px;
    height: 44px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.30);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.download-btn:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    filter: brightness(1.07);
    color: #fff;
}

/* Profile button */
.profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 30px;
    background: var(--green-gradient-btn);
    color: #fff;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.30);
    transition: var(--transition);
    width: 100%;
}

.profile-btn:hover {
    background: var(--gold-gradient-btn);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   10. SCHOLARS SECTION
   ============================================================ */

.scholars,
.scholars-section {
    padding: var(--section-pad) 0;
    background: var(--bg-section);
}

.scholar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(46, 125, 50, 0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.scholar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Rectangular image at top */
.scholar-card > img,
.scholar-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: transform 0.52s var(--ease);
    display: block;
    border: none;
    box-shadow: none;
}

.scholar-card:hover > img,
.scholar-card:hover img {
    transform: scale(1.05);
    border-color: transparent;
}

.scholar-content,
.scholar-card .scholar-content {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scholar-content h4,
.scholar-card h5 {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    margin-top: 0;
}

/* For non-rectangular scholar cards (original .scholar-card with circular img) */
.scholar-card.circle-style {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.scholar-card.circle-style img {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    margin: 0 auto 18px;
    box-shadow: 0 4px 18px rgba(212,175,55,0.28);
    transition: var(--transition);
    display: block;
}

.scholar-card.circle-style:hover img {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(46,125,50,0.28);
}

.scholar-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 20px;
    color: var(--text-muted);
    font-size: 13px;
    width: 100%;
}

.scholar-stats span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ============================================================
   11. BOOKS SECTION
   ============================================================ */

.books-section {
    padding: var(--section-pad) 0;
    background: var(--bg-white);
}

.book-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(46, 125, 50, 0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.book-card > img,
.book-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
    display: block;
    flex-shrink: 0;
}

.book-card:hover img {
    transform: scale(1.06);
}

.book-content {
    padding: 22px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-content h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.book-meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 14px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.book-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ============================================================
   12. VIDEOS SECTION
   ============================================================ */

.videos-section {
    padding: var(--section-pad) 0;
    background: var(--bg-section);
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(46, 125, 50, 0.07);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.video-thumb img {
    width: 100%;
    height: 232px;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
    display: block;
}

.video-card:hover .video-thumb img {
    transform: scale(1.08);
}

/* Dark overlay on hover */
.video-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.video-card:hover .video-thumb::before {
    opacity: 1;
}

/* Duration badge */
.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.80);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Play overlay button */
.play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 58px; height: 58px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-content {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-content h5 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.45;
    margin-bottom: 6px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0 16px;
    font-size: 12.5px;
    color: var(--text-muted);
    gap: 8px;
}

.watch-btn {
    display: block;
    text-align: center;
    padding: 0;
    background: var(--green-gradient-btn);
    color: #fff;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    height: 44px;
    line-height: 44px;
    margin-top: auto;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.28);
    transition: var(--transition);
}

.watch-btn:hover {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.40);
    transform: translateY(-2px);
    color: #fff;
}

/* ============================================================
   13. STATISTICS SECTION
   ============================================================ */

.stats,
.stats-section {
    background: var(--green-gradient);
    padding: 90px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before,
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M40 0L80 40L40 80L0 40Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.stat-box,
.stat-card {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 20px 15px;
}

.stat-box h2,
.stat-number {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-box p,
.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

/* Dividers between stats */
.stat-box + .stat-box,
.stat-card + .stat-card {
    border-left: 1px solid rgba(255,255,255,0.12);
}

/* ============================================================
   14. NEWSLETTER SECTION
   ============================================================ */

.newsletter-section,
section.newsletter {
    padding: var(--section-pad) 0;
    background: var(--bg-section);
}

.newsletter-box {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(46, 125, 50, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.newsletter-box h3 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-box p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input,
.newsletter-box input[type="email"] {
    flex: 1;
    height: 52px;
    padding: 0 22px;
    border: 1.5px solid rgba(46, 125, 50, 0.18);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-section);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus,
.newsletter-box input[type="email"]:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.10);
}

.newsletter-form button,
.newsletter-box button {
    height: 52px;
    padding: 0 32px;
    background: var(--green-gradient-btn);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.32);
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover,
.newsletter-box button:hover {
    background: var(--gold-gradient-btn);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

/* ============================================================
   15. FOOTER
   ============================================================ */

.footer {
    background: #0A1A0F;
    color: #fff;
    padding: 80px 0 0;
    border-top: 3px solid var(--gold);
}

.footer h4 {
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 17px;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: rgba(255,255,255,0.58);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer p {
    color: rgba(255,255,255,0.52);
    font-size: 14px;
    line-height: 1.85;
}

.footer hr {
    margin: 50px 0 24px;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
    margin-top: 60px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    color: rgba(255,255,255,0.32);
    font-size: 13px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65) !important;
    font-size: 16px;
    transition: var(--transition);
    padding-left: 0 !important;
    gap: 0 !important;
}

.footer-social a:hover {
    background: var(--gold-gradient-btn);
    border-color: transparent;
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

/* ============================================================
   16. SCROLLBAR
   ============================================================ */

::-webkit-scrollbar        { width: 6px; }
::-webkit-scrollbar-track  { background: var(--bg-section); }
::-webkit-scrollbar-thumb  { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================================
   17. UTILITIES
   ============================================================ */

.text-primary  { color: var(--primary) !important; }
.text-gold     { color: var(--gold) !important; }
.bg-light-green{ background: var(--light-green) !important; }

/* ============================================================
   18. RESPONSIVE — LAPTOP (max 1366px)
   ============================================================ */

@media (max-width: 1366px) {
    .hero-content h1 { font-size: 62px; }
    .radio-box h2    { font-size: 30px; }
    .stat-box h2,
    .stat-number     { font-size: 46px; }
}

/* ============================================================
   19. RESPONSIVE — TABLET (max 991px)
   ============================================================ */

@media (max-width: 991px) {
    :root {
        --section-pad: 80px;
    }

    .hero-content h1 { font-size: 50px; }
    .hero-content p  { font-size: 17px; }

    .radio-box {
        padding: 28px 30px;
        gap: 20px;
    }
    .radio-box h2    { font-size: 28px; }

    .section-title h2,
    .section-header h2 { font-size: 32px; }

    .stat-box h2,
    .stat-number { font-size: 40px; }

    .stat-box + .stat-box,
    .stat-card + .stat-card {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .newsletter-box { padding: 44px 32px; }
}

/* ============================================================
   20. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */

@media (max-width: 768px) {
    :root {
        --section-pad: var(--section-pad-sm);
    }

    /* Hero */
    .hero            { min-height: 580px; }
    .hero::after     { height: 60px; }
    .hero-content    { padding: 40px 0 70px; }
    .hero-content h5 { font-size: 10.5px; letter-spacing: 2px; }
    .hero-content h1 { font-size: 40px; letter-spacing: -0.8px; }
    .hero-content p  { font-size: 16px; margin-bottom: 30px; }
    .btn-main        { padding: 15px 32px; font-size: 14px; }

    /* Radio */
    .radio-section   { margin-top: -30px; }
    .radio-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 22px;
    }
    .radio-box::after { display: none; }
    .radio-box h2    { font-size: 24px; }
    .radio-btn       { width: 100%; justify-content: center; }
    .live-badge      { justify-content: center; }

    /* Sections */
    .section-header  { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section-title h2,
    .section-header h2 { font-size: 27px; }

    /* Cards */
    .audio-card img,
    .video-thumb img { height: 210px; }
    .book-card img   { height: 260px; }
    .scholar-card > img,
    .scholar-card img { height: 240px; }

    .category-icon   { width: 70px; height: 70px; font-size: 28px; border-radius: 20px; }

    /* Stats */
    .stats,
    .stats-section   { padding: 60px 0; }
    .stat-box,
    .stat-card       { margin-bottom: 28px; }
    .stat-box h2,
    .stat-number     { font-size: 44px; }
    .stat-box + .stat-box,
    .stat-card + .stat-card { border: none; }

    /* Newsletter */
    .newsletter-box  { padding: 36px 22px; }
    .newsletter-box h3 { font-size: 26px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button,
    .newsletter-box button { width: 100%; }

    /* Footer */
    .footer          { padding: 54px 0 0; }
    .footer h4       { margin-top: 30px; font-size: 16px; }

    /* Audio buttons — keep row */
    .audio-buttons   { flex-direction: row; }
    .book-buttons    { flex-direction: row; }
}

/* ============================================================
   21. RESPONSIVE — SMALL MOBILE (max 375px)
   ============================================================ */

@media (max-width: 375px) {
    .hero-content h1 { font-size: 34px; }
    .radio-box h2    { font-size: 22px; }
    .section-title h2 { font-size: 24px; }
}

/* ============================================================
   22. ACCESSIBILITY & REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}