:root {
    --primary-blue: #0056b3;
    --secondary-blue: #003d82;
    --accent-green: #4caf50;
    --text-dark: #333;
    --text-light: #fff;
    --bg-gray: #f4f7f9;
    --border-color: #e1e8ed;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

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

/* Header & Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--bg-gray);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links a {
    text-decoration: none;
    color: var(--primary-blue);
    margin-right: 20px;
    font-weight: 500;
}

.top-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 1.1rem;
    cursor: pointer;
    margin-right: 20px;
}

.donate-btn {
    background: var(--accent-green);
    color: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

nav {
    padding: 15px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
    z-index: 0;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.cta-btn {
    background: var(--primary-blue);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: var(--secondary-blue);
}

/* Intro Section */
.intro {
    padding: 60px 0;
    background: var(--bg-gray);
    text-align: center;
}

.intro p {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

/* Centers Section */
.centers {
    padding: 80px 0;
}

.centers h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.center-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.center-card h3 {
    padding: 20px 20px 5px;
    font-size: 1.4rem;
}

.center-card p {
    padding: 0 20px 20px;
    color: #777;
}

.center-card a {
    display: block;
    padding: 15px 20px;
    background: var(--bg-gray);
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: bold;
    text-align: center;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 10px;
    }
}
