/* Modern Contact Form Styles */
.contact-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(203,239,255,0.18);
    max-width: 480px;
    margin: 40px auto 30px auto;
    padding: 32px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 2px solid #CBEFFF;
}
.contact-form input,
.contact-form textarea {
    border: 2px solid #CBEFFF;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1.08em;
    font-family: inherit;
    margin-bottom: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #f7fbfd;
    color: #001f3f;
    box-shadow: 0 2px 8px rgba(203,239,255,0.08);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1A5DAA;
    box-shadow: 0 0 0 2px #CBEFFF33;
    outline: none;
}
.contact-form button[type="submit"] {
    background: #CBEFFF;
    color: #001f3f;
    border: none;
    border-radius: 10px;
    padding: 14px 0;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(203,239,255,0.12);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.contact-form button[type="submit"]:hover {
    background: #1A5DAA;
    color: #fff;
    box-shadow: 0 4px 16px rgba(203,239,255,0.18);
}
/* Color Scheme: Navy Blue (#001f3f) and Dark Powder Blue (#397ba6) */
body { margin:0; font-family:Arial, sans-serif; scroll-behavior: smooth; }

/* Navbar with animations */
.navbar { display:flex; justify-content:space-between; align-items:center; padding:15px 50px; background:#CBEFFF; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; animation: slideDown 0.5s ease-out; }
.navbar a { color:#001f3f; margin:0 10px; text-decoration:none; transition: all 0.3s ease; position: relative; }
.navbar a:hover { color:#40E0D0; transform: translateY(-2px); }
.navbar a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: #001f3f; transition: width 0.3s ease; }
.navbar a:hover::after { width: 100%; }
.logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    animation: fadeIn 1s ease-in;
    display: block;
}

/* Hero section */
.hero {
    height: 90vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: url('pictures/IMG-20260218-WA0031.jpg') center 60%/cover no-repeat;
}

.hero-about {
    background: url('pictures/IMG-20251210-WA0011(1).jpg') center 25%/cover no-repeat;
    min-height: 70vh;
}

/* Enhance hero image sharpness */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: 0;
        filter: contrast(1.15) saturate(1.12) brightness(1.08) drop-shadow(0 0 2px #0003);
    pointer-events: none;
}
.hero .overlay,
.hero-content {
    position: relative;
    z-index: 1;
}
.overlay { position:absolute; inset:0; background:rgba(40, 60, 90, 0.62); }
.hero-about .overlay { background:rgba(40, 60, 90, 0.68); }
.hero-content { position:relative; color:white; text-align:center; top:50%; transform:translateY(-50%); animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: 3.5em; margin-bottom: 20px; animation: fadeInUp 1s ease-out 0.3s both; }
.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.btn { background:#B8E6F8; color:#001f3f; padding:12px 25px; border-radius:30px; text-decoration:none; font-weight: bold; transition: all 0.3s ease; display: inline-block; animation: fadeInUp 1s ease-out 0.9s both; }
.btn:hover { background:#001f3f; color:#40E0D0; transform: scale(1.05); box-shadow: 0 5px 15px rgba(176, 224, 230, 0.4); }

/* About section */
.about-preview { padding:80px; animation: fadeIn 1s ease-in; }
.about-preview h2 { color: #001f3f; font-size: 2.5em; margin-bottom: 30px; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.about-grid img { border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.about-grid img:hover { transform: scale(1.03); }
.about-grid h3 { color: #001f3f; }
.about-grid li { margin: 10px 0; color: #001f3f; transition: transform 0.3s ease; }
.about-grid li:hover { transform: translateX(10px); }

/* Cards and donations */
.cards, .donation-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:25px; }
.card, .donate-card { background:#001f3f; color:white; padding:0; text-align:center; border-radius:10px; transition: all 0.3s ease; animation: fadeInUp 0.6s ease-out; overflow: hidden; }
.card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card h3 { margin: 20px 15px 10px; color: white; font-size: 1.3em; }
.card p { margin: 0 15px 20px; color: white; font-size: 0.95em; line-height: 1.5; }
.card:hover, .donate-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(176, 224, 230, 0.3); background: #397ba6; }
.card:hover h3, .card:hover p { color: #001f3f; }
.donate-card { padding: 30px; }

.page { padding:80px; }

/* Stats section */
.stats-section {
    background: #001f3f;
    color: white;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}
.stats-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(176, 224, 230, 0.1) 0%, transparent 70%); animation: pulse 4s ease-in-out infinite; }
.stats-container { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:40px; max-width:1200px; margin:0 auto; text-align:center; position: relative; z-index: 1; }
.stat-box { padding:20px; transition: transform 0.3s ease; }
.stat-box:hover { transform: scale(1.1); }
.stat-number { font-size:48px; font-weight:bold; margin:0; color:#6cb6e0; text-shadow: 0 0 10px rgba(176, 224, 230, 0.5); }
.stat-label { font-size:18px; margin:10px 0 0 0; color:white; }

/* Footer Styles */
footer { background: #CBEFFF; color:#001f3f; padding:15px 20px; border-top: 3px solid #CBEFFF; }
footer.simple-footer { border-top: none; padding: 12px 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto 10px; text-align: left; }
.footer-section h4 { color: #001f3f; margin-bottom: 10px; font-size: 1em; }
.footer-section p { margin: 5px 0; font-size: 0.85em; line-height: 1.5; }
.footer-copyright { text-align: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0, 31, 63, 0.3); font-size: 0.8em; }

/* Social Media Styles */
.social-media { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 15px; }
.social-media a { color: #001f3f; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.social-media a:hover { color: #40E0D0; transform: translateY(-5px) scale(1.1); }
.social-media svg { filter: drop-shadow(0 2px 4px rgba(0, 31, 63, 0.2)); }

/* Payment Form Styles */
.donation-amounts { max-width: 600px; margin: 40px auto; text-align: center; }
.donation-amounts h3 { color: #001f3f; margin-bottom: 20px; font-size: 1.5em; }
.amount-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.amount-btn { background: #CBEFFF; color: #001f3f; border: 2px solid #001f3f; padding: 15px 30px; font-size: 1.2em; font-weight: bold; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; }
.amount-btn:hover { background: #001f3f; color: #CBEFFF; transform: scale(1.05); }
.amount-btn.selected { background: #001f3f; color: #CBEFFF; box-shadow: 0 5px 15px rgba(0, 31, 63, 0.3); }
#customAmount { width: 100%; max-width: 300px; padding: 12px; font-size: 1.1em; border: 2px solid #CBEFFF; border-radius: 8px; text-align: center; }

.payment-form-container { max-width: 500px; margin: 40px auto; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.payment-form-container h3 { color: #001f3f; margin-bottom: 25px; text-align: center; font-size: 1.8em; }
.payment-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { color: #001f3f; font-weight: bold; margin-bottom: 8px; font-size: 0.95em; }
.form-group input { padding: 12px; border: 2px solid #397ba6; border-radius: 8px; font-size: 1em; transition: border-color 0.3s ease; }
.form-group input:focus { outline: none; border-color: #001f3f; }
.form-row { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.total-amount { background: #CBEFFF; padding: 15px; border-radius: 8px; text-align: center; font-size: 1.3em; color: #001f3f; margin-top: 10px; }
.payment-btn { width: 100%; background: #001f3f; color: white; padding: 15px; font-size: 1.2em; font-weight: bold; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; margin-top: 10px; }
.payment-btn:hover { background: #40E0D0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 31, 63, 0.3); }
.payment-btn:disabled { background: #ccc; cursor: not-allowed; }
.secure-note { text-align: center; margin-top: 20px; color: #666; font-size: 0.9em; }
.secure-note p { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Read More Button */
.read-more-btn { background: #397ba6; color: #001f3f; border: none; padding: 10px 20px; margin: 10px 15px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; font-size: 0.95em; }
.read-more-btn:hover { background: #40E0D0; transform: scale(1.05); box-shadow: 0 4px 10px rgba(64, 224, 208, 0.4); }
.card:hover .read-more-btn { background: #001f3f; color: #397ba6; }

/* Blog Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.8); animation: fadeIn 0.3s ease; }
.modal-content { background: white; margin: 3% auto; padding: 0; border-radius: 15px; max-width: 800px; width: 90%; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5); animation: slideUp 0.3s ease; position: relative; }
.modal-content h2 { color: #001f3f; margin: 30px 30px 10px; font-size: 2em; }
.modal-content h3 { color: #001f3f; margin: 25px 30px 10px; font-size: 1.4em; }
.modal-content p { color: #333; line-height: 1.8; margin: 15px 30px; font-size: 1.05em; }
.modal-content ul { margin: 15px 30px; padding-left: 20px; }
.modal-content li { color: #333; margin: 10px 0; line-height: 1.6; }
.blog-date { color: #666; font-style: italic; font-size: 0.95em; margin-top: 5px; }
.modal-img { width: 100%; height: 300px; object-fit: cover; display: block; border-radius: 15px 15px 0 0; margin-bottom: 20px; }
.close { color: white; background: #001f3f; position: absolute; top: 15px; right: 15px; font-size: 28px; font-weight: bold; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; z-index: 10; }
.close:hover { background: #40E0D0; transform: rotate(90deg); }

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Comments Section */
.comments-section { background: #f5f5f5; padding: 30px; margin: 30px 0 0; border-top: 2px solid #397ba6; }
.comments-section h3 { color: #001f3f; margin-bottom: 20px; font-size: 1.5em; }
.comment-form { background: white; padding: 20px; border-radius: 10px; margin-bottom: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.comment-form .form-group { margin-bottom: 15px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border: 2px solid #397ba6; border-radius: 8px; font-size: 1em; font-family: Arial, sans-serif; transition: border-color 0.3s ease; box-sizing: border-box; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: #001f3f; }
.comment-form textarea { resize: vertical; min-height: 100px; }
.comment-submit-btn { background: #001f3f; color: white; border: none; padding: 12px 30px; border-radius: 25px; cursor: pointer; font-weight: bold; transition: all 0.3s ease; }
.comment-submit-btn:hover { background: #40E0D0; transform: scale(1.05); }
.comments-list { margin-top: 20px; }
.comment { background: white; padding: 20px; margin-bottom: 15px; border-radius: 10px; border-left: 4px solid #397ba6; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.comment-header strong { color: #001f3f; font-size: 1.1em; }
.comment-date { color: #666; font-size: 0.85em; font-style: italic; }
.comment-text { color: #333; line-height: 1.6; margin: 0; }
.no-comments { color: #666; font-style: italic; text-align: center; padding: 20px; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}
/* Responsive header styles for mobile */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
    }
    .logo {
        height: 60px;
        margin-bottom: 10px;
    }
    .navbar nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    .navbar a {
        font-size: 1em;
        margin: 6px 4px;
        padding: 6px 8px;
    }
    .donate-btn {
        margin-left: auto;
        margin-right: 0;
        padding: 6px 12px;
        font-size: 1em;
    }
}