/* assets/css/style.css */
/* Premium NGO Stylesheet - Celeritas Foundation */

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

:root {
    --primary-color: #1e3a8a; /* Deep Royal Navy */
    --primary-light: #3b82f6;
    --secondary-color: #0d9488; /* Vibrant Teal */
    --secondary-light: #14b8a6;
    --accent-color: #f59e0b; /* Amber Gold for CTA/Donations */
    --accent-light: #fbbf24;
    --accent-rose: #f43f5e; /* Rose for emotional indicators */
    --dark-color: #0f172a; /* Slate Dark */
    --light-color: #f8fafc; /* Ice White */
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: var(--font-body);
    color: #334155;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
}

/* --- Sticky Navbar --- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    padding: 15px 0;
}

.navbar-custom.scrolled {
    padding: 10px 0;
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand-custom {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand-custom span {
    color: var(--secondary-color);
}

.nav-link-custom {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: #475569 !important;
    margin: 0 5px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.nav-link-custom:hover, 
.nav-link-custom.active {
    color: var(--primary-color) !important;
    background-color: rgba(59, 130, 246, 0.06);
}

.nav-btn-donate {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    border: none;
}

.nav-btn-donate:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

/* --- Hero Banner Section --- */
.hero-section {
    position: relative;
    padding: 180px 0 120px 0;
    background: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.05) 0%, rgba(13, 148, 136, 0.04) 90%), #ffffff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(13, 148, 136, 0.08);
    border-radius: 50px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media(max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-section {
        padding: 140px 0 80px 0;
    }
}

.hero-image-container {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    box-shadow: var(--hover-shadow);
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 12s;
}

.hero-image-container:hover img {
    transform: scale(1.08);
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.hero-badge i {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--accent-rose);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* --- Buttons --- */
.btn-premium {
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
}

.btn-premium-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.35);
}

.btn-premium-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-premium-outline:hover {
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Section Styling --- */
.section-padding {
    padding: 100px 0;
}

@media(max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    margin-top: 15px;
}

.section-title.center::after {
    margin-left: auto;
    margin-right: auto;
}

/* --- Cards Design --- */
.card-custom {
    border: none;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
}

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

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-custom:hover .card-img-container img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* --- Progress Bars --- */
.donation-progress-bar {
    height: 8px;
    border-radius: 10px;
    background-color: #e2e8f0;
    overflow: hidden;
    margin: 15px 0 8px 0;
}

.donation-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* --- Stats Section --- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 10px;
}

.stats-label {
    font-weight: 500;
    color: #cbd5e1;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Testimonials --- */
.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(13, 148, 136, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* --- Donation Page Form --- */
.donation-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--hover-shadow);
    border: 1px solid var(--border-color);
}

.amount-btn-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

@media(max-width: 576px) {
    .amount-btn-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

.amount-btn {
    border: 2px solid #cbd5e1;
    background: transparent;
    padding: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    color: var(--dark-color);
    transition: var(--transition-smooth);
}

.amount-btn:hover, 
.amount-btn.active {
    border-color: var(--secondary-color);
    background-color: rgba(13, 148, 136, 0.05);
    color: var(--secondary-color);
}

/* --- Form Inputs Custom --- */
.form-control-custom {
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control-custom:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* --- Volunteer Page Cards --- */
.skill-checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media(max-width: 576px) {
    .skill-checkbox-group {
        grid-template-columns: 1fr;
    }
}

.skill-card-checkbox {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.skill-card-checkbox:hover {
    border-color: var(--primary-light);
    background-color: rgba(59, 130, 246, 0.02);
}

.skill-card-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* --- Footer --- */
.footer-main {
    background: #090d16;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    font-size: 0.95rem;
}

.footer-main .text-muted {
    color: #94a3b8 !important;
    transition: var(--transition-smooth);
}

.footer-main a.text-muted:hover {
    color: var(--accent-light) !important;
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.footer-social-icon:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
    padding-top: 30px;
}

/* --- Admin Dashboard Layout --- */
.admin-sidebar {
    background: #0f172a;
    color: #94a3b8;
    min-height: 100vh;
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 4px 10px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.admin-sidebar .nav-link i {
    width: 25px;
}

.admin-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    padding: 15px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-content-container {
    padding: 40px;
    background-color: #f8fafc;
    min-height: calc(100vh - 70px);
}

.stat-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-box-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* --- Image Upload Preview Container --- */
.img-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin-top: 10px;
}
