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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo p {
    color: #666;
    font-size: 0.9rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #2c5aa0;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero, .btn-small, .btn-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2c5aa0;
    color: white;
}

.btn-secondary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.btn-hero {
    background: #e74c3c;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #e74c3c;
    color: white;
}

.btn-small:hover {
    background: #c0392b;
}

.btn-link {
    background: transparent;
    color: #2c5aa0;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.btn-link:hover {
    border-bottom-color: #2c5aa0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff8f71 0%, #ff9f7c 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Current Campaign */
.current-campaign {
    padding: 80px 0;
    background: white;
}

.current-campaign h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5aa0;
}

.campaign-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.campaign-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.progress-bar {
    background: #e9ecef;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    height: 100%;
    transition: width 0.3s ease;
}

.campaign-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.campaign-info > div {
    text-align: center;
}

.amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.label {
    font-size: 0.9rem;
    color: #666;
}

.date {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
}

/* Sections */
.about-preview, .children-preview, .reports-preview, .projects-preview {
    padding: 80px 0;
}

.about-preview {
    background: white;
}

.children-preview {
    background: #f8f9fa;
}

.reports-preview {
    background: white;
}

.projects-preview {
    background: #f8f9fa;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.placeholder-image {
    background: #e9ecef;
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
}

/* Children Grid */
.children-preview h2, .reports-preview h2, .projects-preview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c5aa0;
}

.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.child-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.child-photo {
    background: #e9ecef;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #666;
}

.child-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.age {
    color: #666;
    margin-bottom: 0.5rem;
}

.diagnosis {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 1rem;
}

.progress-mini {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-mini .progress {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    height: 100%;
}

.amount {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-footer {
    text-align: center;
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.report-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.report-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.report-card p {
    margin-bottom: 0.5rem;
    color: #555;
}

.photos-preview {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.photos-preview h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.photo-item {
    background: #e9ecef;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c5aa0;
}

.project-card .date {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    font-size: 1rem;
}

.project-card p {
    color: #555;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ff8f71 0%, #ff9f7c 100%);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: #ecf0f1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 8px 16px;
    background: #2c5aa0;
    border-radius: 6px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #2c5aa0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .campaign-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .children-grid {
        grid-template-columns: 1fr;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .current-campaign, .about-preview, .children-preview, .reports-preview, .projects-preview {
        padding: 40px 0;
    }
    
    .campaign-card, .child-card, .report-card, .project-card, .photos-preview {
        padding: 1rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.amount-btn {
    padding: 12px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-weight: 600;
}

.amount-btn:hover, .amount-btn.active {
    border-color: #2c5aa0;
    background: #2c5aa0;
    color: white;
}

.custom-amount {
    margin-top: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}