/* ============================================================
   TNAWB Homepage - Modern Elegant UI
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue-deep:   #1e237e;
    --blue-mid:    #2e3192;
    --blue-light:  #4776e6;
    --purple:      #7c3aed;
    --teal:        #0d9488;
    --orange:      #f97316;
    --white:       #ffffff;
    --bg-soft:     #f1f5f9;
    --text-dark:   #1e293b;
    --text-mid:    #475569;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg:   0 20px 50px rgba(0,0,0,0.18);
    --radius:      16px;
    --radius-sm:   10px;
}

body { font-family: 'Inter', sans-serif; }

/* ===================== HERO BANNER ===================== */
.hero-carousel { width: 100%; }

.hero-slide {
    position: relative !important;
    height: 500px;
    overflow: hidden;
}
@media (max-width: 768px) { .hero-slide { height: 300px; } }

.hero-img-wrap {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-gradient-overlay {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg,
        rgba(30,35,126,0.88) 0%,
        rgba(71,118,230,0.6) 55%,
        rgba(13,148,136,0.35) 100%) !important;
    z-index: 1;
}

.hero-text-block {
    position: absolute !important;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 560px;
}
@media (max-width: 768px) {
    .hero-text-block { left: 4%; max-width: 92%; }
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.35);
    margin-bottom: 14px;
}
.hero-title {
    color: #fff !important;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-subtitle {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 24px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 14px; }
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn {
    display: inline-flex; align-items: center;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px; font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 11;
}
.hero-btn-primary {
    background: linear-gradient(135deg, var(--blue-light), var(--purple)) !important;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(71,118,230,0.5);
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(71,118,230,0.65);
    color: #fff !important;
}
.hero-btn-outline {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(6px);
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.5);
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.28) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.hero-indicators { bottom: 16px !important; }
.hero-indicators [data-bs-target] {
    width: 8px; height: 8px;
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s;
}
.hero-indicators .active {
    width: 26px !important;
    border-radius: 4px !important;
    opacity: 1;
}

/* ===================== STATS SECTION ===================== */
.stats-section {
    background: var(--white) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.stats-row { overflow: hidden; }

.stat-card {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.3s, filter 0.3s;
    cursor: default;
}
.stat-card:hover { transform: translateY(-3px); filter: brightness(1.06); }

.stat-blue   { background: linear-gradient(135deg,#1e237e,#4776e6) !important; }
.stat-teal   { background: linear-gradient(135deg,#0d7a70,#0d9488) !important; }
.stat-purple { background: linear-gradient(135deg,#5b21b6,#7c3aed) !important; }
.stat-orange { background: linear-gradient(135deg,#c2410c,#f97316) !important; }

.stat-icon { font-size: 2rem; margin-bottom: 8px; color: rgba(255,255,255,0.85) !important; }
.stat-number {
    font-size: 2rem; font-weight: 800;
    line-height: 1; margin-bottom: 4px;
    color: #fff !important;
}
.stat-label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.88) !important; }
@media (max-width: 768px) {
    .stat-card { padding: 20px 10px; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 11px; }
}

/* ===================== SECTION HEADINGS ===================== */
.section-pill {
    display: inline-block;
    background: linear-gradient(135deg,#e0e7ff,#ede9fe) !important;
    color: var(--blue-mid) !important;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 8px;
}
.section-title {
    font-size: 1.75rem; font-weight: 800;
    color: var(--text-dark) !important;
}

/* ===================== QUICK ACTIONS ===================== */
.quick-actions-section { padding: 52px 0 40px; }

.action-card {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 32px 16px;
    border-radius: var(--radius);
    text-decoration: none !important;
    text-align: center;
    position: relative; overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-md);
    min-height: 160px;
}
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
}

.action-card-1 { background: linear-gradient(135deg,#1e237e,#4776e6) !important; }
.action-card-2 { background: linear-gradient(135deg,#7c3aed,#a855f7) !important; }
.action-card-3 { background: linear-gradient(135deg,#0d7a70,#0d9488) !important; }
.action-card-4 { background: linear-gradient(135deg,#c2410c,#f97316) !important; }

.action-icon { font-size: 2.2rem; margin-bottom: 10px; color: rgba(255,255,255,0.92) !important; }
.action-label { font-size: 15px; font-weight: 700; color: #fff !important; margin-bottom: 12px; }
.action-arrow {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2) !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff !important;
    font-size: 13px;
    transition: background 0.3s;
}
.action-card:hover .action-arrow { background: rgba(255,255,255,0.35) !important; }

/* ===================== INFO SECTION ===================== */
.info-section { padding: 0 0 52px; }

.info-card {
    background: var(--white) !important;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30,35,126,0.08);
    transition: box-shadow 0.3s;
}
.info-card:hover { box-shadow: var(--shadow-lg); }

.info-card-header {
    background: linear-gradient(135deg,#1e237e,#2e3192) !important;
    color: #fff !important;
    padding: 14px 18px;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center;
}
.info-card-header * { color: #fff !important; }
.info-card-body { padding: 18px; }

/* Leadership */
.leader-avatar {
    width: 64px; height: 64px;
    background: linear-gradient(135deg,#e0e7ff,#ede9fe) !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 10px;
    font-size: 26px;
    color: var(--blue-mid) !important;
}
.leader-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--text-dark) !important; }
.leader-role { font-size: 12px; line-height: 1.5; color: var(--text-mid) !important; }

/* Live badge */
.live-badge {
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 9px; font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 7px; border-radius: 4px;
    animation: pulse-badge 1.5s infinite;
}
@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* News */
.news-scroll-wrap { padding: 12px 16px; }
.news-ticker-wrap {
    background: #f8faff !important;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    overflow: hidden;
}
.news-item {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 4px;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 13px;
}
.news-item:last-child { border-bottom: none; }
.news-num {
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--blue-light),var(--purple)) !important;
    color: #fff !important;
    font-size: 11px; font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.news-item a {
    color: var(--blue-mid) !important;
    text-decoration: none;
    line-height: 1.4; font-weight: 500;
}
.news-item a:hover { color: var(--purple) !important; text-decoration: underline; }

/* External links */
.ext-link-list { list-style: none; padding: 0; margin: 0; }
.ext-link-list li { border-bottom: 1px solid #f1f5f9; }
.ext-link-list li:last-child { border-bottom: none; }
.ext-link-item {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 4px;
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 13px; font-weight: 500;
    transition: all 0.2s;
}
.ext-link-item:hover { color: var(--blue-mid) !important; padding-left: 10px; }
.ext-link-item .fa-chevron-right { font-size: 10px; color: #94a3b8 !important; }
.ext-link-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.ext-dot-1 { background: var(--blue-light) !important; }
.ext-dot-2 { background: var(--teal) !important; }
.ext-dot-3 { background: var(--purple) !important; }
.ext-dot-4 { background: var(--orange) !important; }

/* ===================== DONATION SECTION ===================== */
.donation-section { padding: 52px 0 60px; }

.kural-modern-card {
    background: linear-gradient(135deg,#1e237e,#4776e6) !important;
    color: #fff !important;
    border-radius: var(--radius);
    padding: 28px 22px;
    height: 100%;
    box-shadow: var(--shadow-md);
}
.kural-modern-card * { color: #fff !important; }
.kural-icon { font-size: 2rem; opacity: 0.35; margin-bottom: 10px; }
.kural-quote { font-size: 14px; font-style: italic; line-height: 1.65; opacity: 0.92; margin-bottom: 14px; }
.kural-divider {
    width: 40px; height: 3px;
    background: rgba(255,255,255,0.35) !important;
    border-radius: 2px; margin-bottom: 14px;
}
.kural-verse { font-size: 15px; font-weight: 600; line-height: 1.7; margin-bottom: 4px; }
.kural-number { font-size: 12px; opacity: 0.7; margin-bottom: 10px; }
.kural-meaning { font-size: 13px; opacity: 0.82; line-height: 1.65; margin: 0; }

.bank-card {
    background: var(--white) !important;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(30,35,126,0.08);
}
.bank-card-title {
    font-size: 16px; font-weight: 700;
    color: var(--blue-deep) !important; margin-bottom: 18px;
}
.donation-table-modern {
    margin: 0; font-size: 13px;
    border-collapse: separate; border-spacing: 0;
    width: 100%;
}
.donation-table-modern thead tr {
    background: linear-gradient(135deg,#1e237e,#2e3192) !important;
}
.donation-table-modern thead th {
    color: #fff !important; font-weight: 600; font-size: 13px;
    padding: 10px 14px; border: none; text-align: center;
}
.donation-table-modern thead th:first-child { border-radius: 8px 0 0 0; }
.donation-table-modern thead th:last-child  { border-radius: 0 8px 0 0; }
.donation-table-modern tbody tr { transition: background 0.2s; }
.donation-table-modern tbody tr:hover { background: #f0f4ff !important; }
.donation-table-modern tbody td {
    padding: 10px 14px; border-bottom: 1px solid #e2e8f0;
    text-align: center; vertical-align: middle;
    color: var(--text-dark) !important;
}
.bank-label {
    display: inline-block;
    background: #e0e7ff !important;
    color: var(--blue-deep) !important;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
    white-space: nowrap;
}

/* ===================== SKIP LINK ===================== */
.skip-link {
    position: absolute; top: -9999px; left: -9999px;
    z-index: 9999; background: var(--blue-mid) !important; color: white !important;
    padding: 12px 20px; font-weight: bold;
}
.skip-link:focus { top: 10px; left: 10px; outline: 3px solid #ffc107; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 576px) {
    .section-title { font-size: 1.35rem; }
    .action-card { padding: 22px 10px; min-height: 130px; }
    .action-icon { font-size: 1.7rem; }
    .action-label { font-size: 13px; }
    .quick-actions-section { padding: 36px 0 28px; }
    .donation-section { padding: 36px 0 44px; }
}
