/*
 Theme Name:   Infogiant FM Charity Child
 Theme URI:    https://megaone.geeaig.com
 Description:  Infogiant FM Charity Theme for Hello Elementor
 Author:       Megaone
 Template:     hello-elementor
 Version:      1.0.0
*/

/* --- Variables --- */
:root {
    --primary-color: #ea580c; /* Orange-600 */
    --primary-dark: #c2410c;
    --dark-bg: #111827;
    --light-bg: #f9fafb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --white: #ffffff;
    --radius: 12px;
}

/* --- General Layout --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background-color: var(--dark-bg);
    color: white;
    padding: 120px 0;
    text-align: center;
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-tag {
    background: rgba(234, 88, 12, 0.2);
    color: #fdba74;
    border: 1px solid rgba(234, 88, 12, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* --- Stats Bar --- */
.stats-bar {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e5e7eb;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--dark-bg); }
.stat-label { color: var(--text-muted); text-transform: uppercase; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; }

/* --- Case Cards --- */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.case-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-cat {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    background: #ecfdf5;
    color: #059669;
}

.progress-bar-bg {
    width: 100%;
    background: #f3f4f6;
    height: 10px;
    border-radius: 10px;
    margin: 15px 0 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

/* --- Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.modal-active { display: flex; }

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}