/* ===== CSS Variables ===== */
:root {
    --primary: #c17f59;
    --primary-dark: #a66b47;
    --primary-light: #e8cfc0;
    --secondary: #4a9d8e;
    --secondary-dark: #2d6a5f;
    --accent: #d4a574;
    --dark: #2c3e3a;
    --dark-light: #3d524d;
    --cream: #faf8f5;
    --cream-dark: #f5f0e8;
    --white: #ffffff;
    --text: #4a5552;
    --text-light: #7a8582;
    --shadow: rgba(44, 62, 58, 0.08);
    --shadow-strong: rgba(44, 62, 58, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Navigation ===== */
.navbar {
    background: #ffffff;
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(193, 127, 89, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: #ffffff;
    box-shadow: 0 4px 30px var(--shadow);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    color: #0bda51;
    font-size: 1.2rem;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0bda51 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0bda51;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30%;
}

.btn-donate {
    background: #0bda51 !important;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-donate:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232c3e3a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--primary-light) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c17f59' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.text-accent {
    color: #0bda51;
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 540px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary-custom {
    background: #0bda51;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #0bda51;
    box-shadow: 0 4px 15px rgba(193, 127, 89, 0.3);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 127, 89, 0.4);
}

.btn-outline-custom {
    background: transparent;
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--dark);
}

.btn-outline-custom:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* App Download Section */
.app-download-section {
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.app-download-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--dark);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 2px solid var(--dark);
}

.app-btn:hover {
    background: var(--dark-light);
    border-color: var(--dark-light);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 62, 58, 0.3);
}

.app-btn i {
    font-size: 1.75rem;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-btn-small {
    font-size: 0.65rem;
    opacity: 0.8;
    font-weight: 400;
}

.app-btn-large {
    font-size: 1rem;
    font-weight: 600;
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px var(--shadow-strong);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.hero-image-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.hero-stats {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0bda51;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: var(--white);
}

/* ===== Impact Section ===== */
.impact-section {
    padding: 5rem 0;
    background: var(--white);
}

.impact-card {
    text-align: center;
    padding: 2rem 1rem;
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.impact-icon i {
    font-size: 1.75rem;
    color: #0bda51;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.impact-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Featured Projects Section ===== */
.featured-section {
    padding: 6rem 0;
    background: var(--cream);
}

.project-card {
    display: block;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-strong);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.project-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.progress-bar-custom {
    height: 8px;
    background: var(--cream-dark);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0bda51 0%, var(--secondary) 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== Children Section ===== */
.children-section {
    padding: 6rem 0;
    background: var(--white);
}

.child-card {
    display: block;
    text-align: center;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 24px;
    transition: var(--transition);
}

.child-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
}

.child-image {
    margin-bottom: 1rem;
}

.child-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(193, 127, 89, 0.3);
}

.child-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 600;
}

.child-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.child-location {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.child-location i {
    color: #0bda51;
}

.child-status {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--secondary);
    color: var(--white);
}

.child-status.sponsored {
    background: #0bda51;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 8rem 0;
    background: var(--dark);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-tag {
    display: inline-block;
    background: rgba(193, 127, 89, 0.2);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-light-custom {
    background: #0bda51;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #0bda51;
}

.btn-light-custom:hover {
    background: var(--white);
    color: #0bda51;
    transform: translateY(-3px);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light-custom:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.footer {
    background: #0bda51;
    padding: 5rem 0 2rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .brand-icon {
    color: #0bda51;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: #0bda51;
    transform: translateY(-3px);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #0bda51;
    padding-left: 5px;
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: #0bda51;
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: #0bda51;
}

/* ===== Page Header ===== */
.page-header {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c17f59' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header-content {
    position: relative;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-custom a {
    color: #0bda51;
}

.breadcrumb-custom span {
    color: var(--text-light);
}

/* ===== Projects Grid ===== */
.projects-grid {
    padding: 5rem 0;
    background: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: #0bda51;
    border-color: #0bda51;
    color: var(--white);
}

/* ===== Project Detail ===== */
.project-detail {
    padding: 5rem 0;
    background: var(--white);
}

.project-detail-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 50px var(--shadow);
}

.project-detail-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-placeholder i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.8);
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.meta-item i {
    color: #0bda51;
    font-size: 1.1rem;
}

.project-detail-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.project-detail-text {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-sidebar {
    background: var(--cream);
    border-radius: 24px;
    padding: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.donation-goal {
    margin-bottom: 1.5rem;
}

.goal-amounts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.goal-raised {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0bda51;
}

.goal-target {
    color: var(--text-light);
    font-size: 0.9rem;
}

.donors-count {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 0.75rem;
    border: 2px solid var(--cream-dark);
    background: var(--white);
    border-radius: 12px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: #0bda51;
    background: var(--primary-light);
}

.custom-amount {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.custom-amount:focus {
    outline: none;
    border-color: #0bda51;
}

.btn-donate-now {
    width: 100%;
    background: #0bda51;
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-donate-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.share-project {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cream-dark);
}

.share-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* ===== Children Grid ===== */
.children-grid {
    padding: 5rem 0;
    background: var(--white);
}

.child-card-large {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: block;
}

.child-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--shadow);
}

.child-image-large {
    height: 220px;
    overflow: hidden;
}

.child-placeholder-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.child-placeholder-large span {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--white);
    font-weight: 600;
}

.child-content {
    padding: 1.5rem;
}

.child-name-large {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.child-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.child-detail {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.child-detail i {
    color: #0bda51;
}

.child-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.child-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-sponsor {
    background: #0bda51;
    color: var(--white);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

/* ===== Child Detail ===== */
.child-detail-section {
    padding: 5rem 0;
    background: var(--white);
}

.child-profile-image {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 50px var(--shadow);
}

.child-profile-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.child-profile-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: var(--white);
    font-weight: 600;
}

.child-profile-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.child-profile-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.child-profile-text {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.child-info-card {
    background: var(--cream);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-card-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card-title i {
    color: #0bda51;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-light);
}

.info-value {
    font-weight: 500;
    color: var(--dark);
}

.sponsor-card {
    background: linear-gradient(135deg, #0bda51 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.sponsor-card-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sponsor-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sponsor-amount span {
    font-size: 1rem;
    opacity: 0.8;
}

.sponsor-text {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-sponsor-now {
    background: var(--white);
    color: #0bda51;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-sponsor-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .project-sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .impact-number {
        font-size: 2rem;
    }

    .project-meta {
        gap: 1rem;
    }

    .child-profile-meta {
        gap: 1rem;
    }
}