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

:root {
    --primary: #d48c31;
    --primary-dark: #b67524;
    --secondary: #2d5a27;
    --accent: #e9c46a;
    --text: #2c3e50;
    --text-muted: #576574;
    --bg: #fdfaf5;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Prata', serif;
    font-weight: 400;
    color: var(--secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 80px 0;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Prata', serif;
    font-size: 1.5rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-donate {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 140, 49, 0.3);
}

.btn-donate:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('assets/images/hero.png') center/cover no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Sections Misc */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Mission cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Programs section */
.program-card {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.program-card:nth-child(even) {
    flex-direction: row-reverse;
}

.program-img {
    flex: 1;
    min-height: 400px;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-info {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Impact Section */
.impact {
    background: var(--secondary);
    color: white;
    text-align: center;
}

.impact h2 {
    color: white;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.impact-item h4 {
    font-size: 3rem;
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-col h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .program-card { grid-template-columns: 1fr; flex-direction: column !important; }
    .mission-grid { grid-template-columns: 1fr 1fr; }
    .impact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .mission-grid, .impact-grid, .footer-grid { grid-template-columns: 1fr; }
    .program-info { padding: 2rem; }
    section { padding: 60px 0; }
}

/* Active Nav Links */
.nav-links a.active::after {
    width: 100%;
}
.nav-links a.btn-donate.active-donate {
    background: var(--primary-dark);
}

/* Banners & Tags */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #1f421b 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}
.page-banner p {
    margin-left: auto;
    margin-right: auto;
}
.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.btn-secondary-outline {
    border: 1px solid white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}
.btn-secondary-outline:hover {
    background: white;
    color: var(--secondary);
}
.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-link:hover {
    color: var(--primary-dark);
}

/* Alert Boxes */
.alert-box {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-error {
    background-color: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}
.alert-success {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 140, 49, 0.1);
}
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* News & Blog Grid */
.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.news-card-home, .news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}
.news-card-home:hover, .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.news-card-img {
    height: 200px;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.news-card-home:hover .news-card-img img, 
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}
.news-card-body {
    padding: 2rem;
}
.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.news-card-body h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.news-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.read-more-btn {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

/* Blog Article Detail */
.blog-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.blog-rich-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: #2d3748;
}
.blog-rich-text ul, .blog-rich-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}
.blog-rich-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.blog-rich-text blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

/* Social Media Section */
.social-section {
    background: var(--bg);
}
.social-embed-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}
.embed-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
.social-placeholder {
    text-align: center;
    padding: 3rem 2rem;
}
.instagram-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}
.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 50%, #cc2366 100%);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(230, 104, 60, 0.3);
}

/* Donation Page */
.donation-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.donation-form-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}
.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.preset-btn {
    border: 1px solid #cbd5e0;
    background: white;
    padding: 0.6rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}
.preset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.preset-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.custom-amount-wrapper {
    position: relative;
}
.currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--text-muted);
}
.custom-amount-wrapper input {
    padding-left: 30px !important;
    font-weight: 600;
    font-size: 1.1rem !important;
}

/* Modals & Receipts */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.sandbox-modal-card, .receipt-card {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    animation: fadeInUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sandbox-header {
    background: #2b3648;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sandbox-info-panel {
    background: var(--bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.sandbox-action-btn {
    width: 100%;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}
.sandbox-action-btn.success-btn {
    background: var(--secondary);
    color: white;
}
.sandbox-action-btn.success-btn:hover {
    background: #1f421b;
}
.sandbox-action-btn.fail-btn {
    background: #c53030;
    color: white;
}
.sandbox-action-btn.fail-btn:hover {
    background: #9b2c2c;
}
.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}
.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
}
.receipt-row:last-of-type {
    border-bottom: none;
}

/* Contact Page Cards */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.contact-card-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}
.contact-card-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.contact-info-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-info-list i {
    background: rgba(212, 140, 49, 0.1);
    color: var(--primary);
    padding: 0.8rem;
    border-radius: 50%;
    font-size: 1rem;
}
.contact-info-list h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.contact-info-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Legacy Timeline */
.about-heritage blockquote {
    border-left: 4px solid var(--primary);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}
.about-heritage blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    font-style: normal;
    color: var(--text);
}
.programs-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}
.program-detail-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.program-detail-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.program-detail-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.program-detail-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.timeline-section {
    position: relative;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #cbd5e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even)::after {
    left: -10px;
}
.timeline-date {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.timeline-content {
    padding: 2rem;
    background: white;
    position: relative;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.timeline-content h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ========================================== */
/* SECURE ADMIN PANEL LAYOUT & VIEWS */
/* ========================================== */
.admin-body {
    background-color: #f7fafc;
    min-height: 100vh;
}
.admin-topbar {
    background: white;
    height: 70px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.95rem;
}
.btn-logout-top {
    background: #edf2f7;
    color: #4a5568 !important;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.btn-logout-top:hover {
    background: #e2e8f0;
}
.admin-layout {
    display: flex;
    padding-top: 70px;
    min-height: 100vh;
}
.admin-sidebar {
    width: 240px;
    background: white;
    border-right: 1px solid #e2e8f0;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 999;
}
.admin-nav {
    padding: 1.5rem 0;
}
.admin-nav li {
    margin-bottom: 0.25rem;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
    background: #f7fafc;
    color: var(--secondary);
    border-left-color: var(--secondary);
}
.admin-main {
    flex: 1;
    margin-left: 240px;
    padding: 2rem;
}
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}
.admin-header-title {
    margin-bottom: 2rem;
}
.admin-header-title h2 {
    font-size: 1.8rem;
    color: var(--secondary);
}
.admin-header-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.badge-unread {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-left: auto;
}

/* Warnings and Banner Notifications */
.admin-warning-banner {
    background: #fffaf0;
    border: 1px solid #feebc8;
    color: #dd6b20;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.9rem;
}
.admin-success-banner {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #38a169;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Admin Dashboard Stats */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.stat-details h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
}
.stat-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2px;
}

/* Admin Cards and Tables */
.admin-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.admin-card-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-card-header h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}
.admin-table-responsive {
    width: 100%;
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.admin-table th {
    background: #f7fafc;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #e2e8f0;
}
.admin-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    vertical-align: middle;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr.unread-row td {
    background-color: #f7fafc;
}
.badge-status {
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-status.success {
    background: #c6f6d5;
    color: #22543d;
}
.badge-status.pending {
    background: #feebc8;
    color: #744210;
}
.btn-table-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 5px;
    margin-right: 0.25rem;
}

/* ========================================== */
/* RESPONSIVE MEDIA BREAKDOWNS */
/* ========================================== */
@media (max-width: 992px) {
    .news-grid-3, .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .donation-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 21px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        position: sticky;
        top: 70px;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        background: white;
        z-index: 100;
    }
    .admin-nav {
        padding: 0;
    }
    .admin-nav ul {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .admin-nav ul::-webkit-scrollbar {
        display: none;
    }
    .admin-nav li {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .admin-nav a {
        padding: 1rem 1.25rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.9rem;
    }
    .admin-nav a:hover, .admin-nav a.active {
        border-left-color: transparent;
        border-bottom-color: var(--secondary);
    }
    .admin-layout {
        flex-direction: column;
        padding-top: 70px;
    }
    .admin-main {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
    .admin-topbar {
        padding: 0 1rem;
    }
    .admin-user span {
        display: none;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .programs-detailed-grid {
        grid-template-columns: 1fr;
    }
}

/* Instagram Reels Grid */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
    justify-items: center;
}
.reel-card {
    position: relative;
    width: 240px;
    height: 360px;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.reel-card:hover {
    transform: scale(1.03);
}
.reel-card iframe {
    position: absolute;
    top: -62px;
    left: 0;
    width: 100%;
    height: calc(100% + 145px);
    border: none;
}

@media (max-width: 1200px) {
    .reels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .reels-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .reel-card {
        width: 190px;
        height: 280px;
    }
}
@media (max-width: 480px) {
    .reels-grid {
        grid-template-columns: 1fr;
    }
    .reel-card {
        width: 240px;
        height: 360px;
    }
}

/* Koba Homepage Redesign Styles */
.koba-hero {
    background: url('assets/images/hero_koba.png') center/cover no-repeat !important;
}
.hero-tag {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.quote-card {
    background: rgba(212, 140, 49, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.2rem;
    margin-top: 1.5rem;
    border-radius: 0 12px 12px 0;
}
.quote-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}
.pillar-number {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}
.check-list {
    margin-top: 1.5rem;
}
.check-list li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.check-list i {
    color: var(--secondary);
    font-size: 0.9rem;
    background: rgba(45, 90, 39, 0.1);
    padding: 5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Phased Roadmap Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background: inherit;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-badge {
    position: absolute;
    width: 90px;
    height: 32px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    top: 20px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(212, 140, 49, 0.2);
}
.timeline-item:nth-child(odd) .timeline-badge {
    right: -45px;
}
.timeline-item:nth-child(even) .timeline-badge {
    left: -45px;
}
.timeline-panel {
    padding: 2rem;
    background: white;
    position: relative;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}
.timeline-panel h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--secondary);
}
.timeline-panel ul {
    list-style: none;
    padding-left: 0;
}
.timeline-panel li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}
.timeline-panel li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    top: -2px;
}

/* Contact & Map Layout */
.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}
.map-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}
.map-box h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

@media (max-width: 992px) {
    .contact-map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-badge {
        left: -15px !important;
        right: auto !important;
        width: 90px;
        height: 32px;
        border-radius: 20px;
        font-size: 0.85rem;
        top: 25px;
    }
    .timeline-item:nth-child(odd) .timeline-badge {
        left: -15px !important;
    }
}
