/* =========================================
   Green Capital - Master Stylesheet
   Change colors in the :root section below!
========================================= */
:root {
    --primary-color: #0b8e36; /* Main Green */
    --primary-hover: #086b28;
    --secondary-color: #e31e24; /* Red accent for Topbar/Buttons */
    --secondary-hover: #b8151b;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- Topbar & Marquee --- */
.topbar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 5px 0;
}
.topbar a { color: var(--text-light); text-decoration: none; margin-right: 10px; }
.marquee-container {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- Header & Navbar --- */
.header-section { padding: 15px 0; background: #fff; }
.header-title { color: var(--primary-color); font-weight: 700; font-size: 2rem; margin: 0; }
.btn-primary-custom { background-color: var(--primary-color); color: white; font-weight: 600; border: none; border-radius: 20px; padding: 8px 20px; }
.btn-primary-custom:hover { background-color: var(--primary-hover); color: white; }
.main-navbar { background-color: var(--primary-color); }
.main-navbar .nav-link { color: white !important; font-weight: 500; font-size: 0.95rem; margin: 0 5px; }
.main-navbar .nav-link:hover { color: #ffd700 !important; }
.btn-donate { background-color: var(--secondary-color); color: white !important; border-radius: 20px; padding: 5px 20px !important; }

/* --- Hero Section --- */
.hero-caption {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 8px;
    bottom: 20%;
}
.hero-caption h2 { font-weight: 700; font-size: 2.5rem; }

/* --- Quick Links --- */
.quick-links-bar { background-color: var(--secondary-color); color: white; text-align: center; padding: 10px; font-weight: bold; font-size: 1.2rem; }
.ql-card {
    border-radius: 8px;
    padding: 20px;
    color: white;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
    height: 100%;
}
.ql-card:hover { transform: translateY(-5px); color: white; }
.ql-card i { font-size: 3rem; margin-top: 15px; }
.ql-bg-1 { background: linear-gradient(135deg, #a83232, #d9534f); }
.ql-bg-2 { background: linear-gradient(135deg, #5c6bc0, #3f51b5); }
.ql-bg-3 { background: linear-gradient(135deg, #66bb6a, #4caf50); }
.ql-bg-4 { background: linear-gradient(135deg, #26a69a, #009688); }

/* --- Section Titles --- */
.section-title { text-align: center; font-weight: 700; margin-bottom: 40px; }
.section-title span.red { color: var(--secondary-color); }
.section-title span.green { color: var(--primary-color); }
.section-title hr { width: 100px; height: 3px; background-color: var(--primary-color); margin: 5px auto; opacity: 1; border: none;}

/* --- Projects List --- */
.project-list .list-group-item { background-color: var(--primary-color); color: white; border: 1px solid white; font-weight: 600; padding: 12px 20px; }
.project-list .list-group-item i { margin-right: 10px; }

/* --- Member Cards --- */
.member-card {
    background: linear-gradient(to bottom, var(--primary-color), #2d4a22);
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    color: white;
    transition: 0.3s;
}
.member-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.member-icon { width: 80px; height: 80px; background: white; border-radius: 50%; color: var(--primary-color); font-size: 2.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px auto; }

/* --- Support Cards --- */
.support-card {
    background: linear-gradient(to bottom, #a33b3b, var(--primary-color));
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    height: 100%;
}
.support-card .icon-wrap { color: var(--primary-color); background: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 15px auto; }
.btn-support { background-color: white; color: var(--primary-color); font-weight: bold; padding: 5px 20px; border-radius: 20px; text-decoration: none; display: inline-block; margin-top: 15px;}

/* --- Footer --- */
.footer { background-color: var(--bg-light); padding: 50px 0 20px 0; border-top: 3px solid var(--secondary-color); }
.footer h5 { color: var(--text-dark); font-weight: 700; margin-bottom: 20px; }
.footer ul li a { color: #555; text-decoration: none; line-height: 2; }
.footer ul li a:hover { color: var(--primary-color); }
.social-footer a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--primary-color); color: white; border-radius: 50%; text-decoration: none; margin: 0 5px; }
.social-footer a:hover { background: var(--secondary-color); }