/* --- Variables & Reset --- */
:root {
    --primary-color: #0d9488; /* Teal / Turquoise tone, very suitable for charity */
    --primary-hover: #0f766e;
    --secondary-color: #f59e0b; /* Warm amber for contrast / warmth */
    --secondary-hover: #d97706;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--text-main);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--text-main);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    transition: color 0.3s ease;
}

.logo span {
    color: var(--primary-color);
}

.navbar.scrolled .logo {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--text-main);
}

.navbar.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

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

.hero-content {
    max-width: 800px;
    color: white;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    animation: fadeUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeUp 1s ease-out 0.4s backwards;
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
}

/* --- Stats / About Section --- */
.stats {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.stat-card {
    background: white;
    padding: 40px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-card p {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0;
}

/* --- Projects Section --- */
.projects {
    padding: 100px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card-content p {
    margin-bottom: 24px;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* --- Footer --- */
footer {
    background-color: #111827;
    color: white;
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.footer-brand span {
    color: var(--primary-color);
}

.footer-brand .desc {
    color: #9ca3af;
    margin-top: 16px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a, .footer-contact p {
    color: #9ca3af;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.9rem;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* simple mobile fallback: hide links, could add hamburger */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}
