/* Logo fade-out animation for index.html */
.hero-logo-large {
    max-width: 400px;
    height: auto;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: opacity 1s ease-in-out !important;
}

.hero-logo-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-nav-top {
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.donate-nav-top {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.donate-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero-nav-top {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .hero-nav-top .hero-nav {
        order: 2;
    }
    .donate-nav-top {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .donate-nav-top .hero-nav {
        position: static;
        order: 2;
    }
    .donate-logo {
        height: 50px;
    }
    .hero-logo-large {
        max-width: 300px;
    }
}

.logo-fade-out {
    opacity: 0 !important;
}

/* Rest of existing styles unchanged - appending for completeness */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

/* CSS Variables for Colors */
:root {
    --primary-green: #4CAF50;
    --secondary-blue: #2196F3;
    --accent-green: #81C784;
    --accent-blue: #64B5F6;
    --shadow-soft: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    color: white;
    overflow: hidden;
    transition: background-image 1s ease-in-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-nav {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
    border: none;
}

.nav-btn:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
    .hero-nav {
        right: 20px;
        top: 15px;
    }
    
    .nav-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.hero-content {
    max-width: 700px;
    padding: 0 20px;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
}

.hero-header {
    position: absolute;
    top: 3%;
    left: 1%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    font-family: 'Arial Black', Arial, sans-serif;
    margin: 0;
    line-height: 1.1;
    text-align: left;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

.hero-logo {
    height: 100px;
    width: auto;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero-logo {
        height: 80px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-header {
        left: 5%;
        top: 2%;
    }
    
    .hero-logo {
        height: 50px;
    }
}

.hero-subtitle {
    margin:0;
    font-size: clamp(2.1rem, 4.8vw, 3.2rem);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.55);
}

.hero-description {

    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    max-width: 500px;
}

.hero-buttons {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
    border: none;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-green);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-placeholder {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

.program-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Programs Section */
.programs {
    padding: 5rem 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Impact Section */
.impact {
    padding: 5rem 0;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    opacity: 0;
}

.stat-number {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
}

/* Stories Section */
.stories {
    padding: 5rem 0;
    background: #f8f9fa;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-image-placeholder {
    height: 200px;
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.story-card h3 {
    padding: 1.5rem;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.story-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
}

.read-more {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
}

.read-more:hover {
    background: #45a049;
}

/* Partners Section */
.partners {
    padding: 3rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.become-partner-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.become-partner-btn:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .become-partner-btn {
        max-width: 100%;
    }
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

/* Donation Page Enhanced Styles */
.donation-hero {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.donation-hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.donation-hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.donation-hero-subtitle.handwritten {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.6rem) !important;
    letter-spacing: 1px;
}

.donate-hero-btn {
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(59,130,246,0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.donate-hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 80px rgba(59,130,246,0.6);
}

.support-ways {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.support-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-blue));
}

.support-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.support-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
}

.support-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.support-card p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.support-card .btn-secondary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59,130,246,0.4);
}

.support-card .btn-secondary:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.donation-form-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.form-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-top: -2rem;
    margin-bottom: 2rem;
}

.donation-form-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    max-width: 700px;
    margin: 0 auto;
}

.amount-section {
    margin-bottom: 2rem;
}

.bold-label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.amount-btn {
    flex: 1 1 calc(33.333% - 0.75rem);
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.amount-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.amount-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 4px 15px rgba(76,175,80,0.3);
}

.custom-amount {
    margin-top: 1rem;
}

.custom-amount input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.frequency-section {
    margin-bottom: 2rem;
}

.frequency-section select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    background: white;
    cursor: pointer;
}

.fees-toggle {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f0f8f0;
    border-radius: 12px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.toggle-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.donate-buttons {
    text-align: center;
    margin-bottom: 1.5rem;
}

.donate-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

.donate-btn small {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.security-note {
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Thank You Message */
.thank-you-message {
    padding: 4rem 0;
}

.thank-you-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thank-you-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.thank-you-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.thank-you-footer {
    font-style: italic;
    color: #777;
    margin-bottom: 2rem;
}

/* Donation Impact */
.donation-impact {
    padding: 6rem 0;
    background: white;
}

.donation-impact .impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    z-index: 1001;
    box-shadow: var(--shadow-hover);
}

.contact-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.contact-modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-modal-content h2 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-modal-details {
    margin: 1.5rem 0;
    text-align: left;
}

.contact-modal-details p {
    margin-bottom: 0.75rem;
    color: #444;
}

.contact-modal-socials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* =============================
   Premium Hero (Landing) Styles
   ============================= */

.hero{
    height: 100vh;
    min-height: 720px;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: stretch;
}

.hero-nav-top,
.hero-logo-container{
    z-index: 20;
}

.hero::before{
    background: rgba(0,0,0,0.48);
}

.hero-slider{
    position:absolute;
    inset:0;
    z-index: 1;
    overflow:hidden;
    background: #04101a;
}

.hero-slider::after{
    content:'';
    position:absolute;
    inset:0;
    background: radial-gradient(1200px 600px at 50% 30%, rgba(59,130,246,0.22), rgba(0,0,0,0) 55%),
                linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.62));
    pointer-events:none;
    z-index:2;
}

.hero-slider-track{
    height:100%;
    position:relative;
    width:100%;
    display:block;
    transform:none;
    transition:none;
}

.hero-slide{
    position:absolute;
    inset:0;
    opacity: 0;
    transition: opacity 900ms cubic-bezier(.2,.8,.2,1);
    z-index:1;
}

.hero-slide.is-active{
    opacity: 1;
    z-index: 3;
}

.hero-slide img{
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: center;
    display:block;
    transform: scale(1.08);
    will-change: transform, opacity;
    filter: saturate(1.02) contrast(1.02);
}

/* Ken Burns (applies only to active slide) */
.hero-slide.is-active img{
    animation: kenburns 7.2s ease-in-out both;
}

@keyframes kenburns{
    0% { transform: scale(1.04) translate3d(0,0,0); }
    50% { transform: scale(1.08) translate3d(-1.0%, -0.8%, 0); }
    100% { transform: scale(1.10) translate3d(-1.4%, -1.2%, 0); }
}


@media (prefers-reduced-motion: reduce){
    .hero-slide.is-active img{ animation: none; }
    .hero-scroll-indicator__dot{ animation: none; }
    .hero-slider-arrow{ transition:none; }
}


/* Dots */
.hero-slider-dots{
    position:absolute;
    left: 50%;
    bottom: clamp(18px, 3.5vh, 28px);
    transform: translateX(-50%);
    z-index: 5;
    display:flex;
    gap: 10px;
    align-items:center;
    justify-content:center;
}

.hero-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.35);
    cursor:pointer;
    padding:0;
    transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.hero-dot:hover{
    transform: scale(1.12);
}

.hero-dot[aria-current="true"]{
    background: rgba(255,255,255,0.92);
    box-shadow: 0 0 0 6px rgba(59,130,246,0.18);
    border-color: rgba(255,255,255,0.92);
}

/* Arrows */
.hero-slider-arrow{
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(10,20,30,0.22);
    color: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
    backdrop-filter: blur(10px);
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible{
    transform: translateY(-50%) translateY(-2px);
    background: rgba(10,20,30,0.35);
    border-color: rgba(255,255,255,0.5);
    outline: none;
}

.hero-slider-arrow span{
    font-size: 22px;
    line-height: 1;
}

.hero-slider-arrow--prev{ left: clamp(14px, 4vw, 28px); }
.hero-slider-arrow--next{ right: clamp(14px, 4vw, 28px); }

/* Content */
.hero-content{
    position: relative;
    z-index: 10;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding: 0 clamp(16px, 4vw, 48px);
}

.hero-content-inner{
    width: 100%;
    max-width: 980px;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vh, 28px);
    padding-top: clamp(24px, 4vh, 48px);
    padding-bottom: clamp(28px, 6vh, 58px);
}

.hero-subtitle{
    margin:0;
    font-size: clamp(2.1rem, 4.8vw, 3.2rem);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.55);
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator{
    margin-top: 8px;
    width: 34px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding-top: 10px;
    backdrop-filter: blur(8px);
}

.hero-scroll-indicator__dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot{
    0%{ transform: translateY(0); opacity: 1; }
    70%{ transform: translateY(20px); opacity: .2; }
    100%{ transform: translateY(22px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
    .hero-scroll-indicator__dot{ animation: none; }
}

/* Premium primary button */
.btn-primary{
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: 0;
    box-shadow: 0 10px 30px rgba(59,130,246,0.35);
}

.btn-primary.btn-large{
    padding: 1.05rem 2.3rem;
    border-radius: 999px;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.btn-primary{
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn-primary:hover{
    transform: translateY(-3px);
    box-shadow: 0 18px 55px rgba(59,130,246,0.52);
    filter: brightness(1.03);
}

.btn-primary:focus-visible{
    outline: 3px solid rgba(147,197,253,0.9);
    outline-offset: 3px;
}

/* Glass navbar */
.hero-nav-top{
    background: rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
}

@media (max-width: 768px){
    .hero{ height: 90vh; min-height: 650px; }
    .hero-content{ padding-left: 16px; padding-right: 16px; }
    .hero-scroll-indicator{ display:none; }
}

/* Fade-in animation for scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Programs Page Styles */
.programs-hero {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.programs-page .programs-title {
    font-size: 2rem !important;
    text-align: left !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 600px;
}

.programs-page .hero-subtitle {
    display: none;
}

.stories-hero {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.stories-title {
    font-size: 2.5rem !important;
    text-align: center !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.story-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.story-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f0f7f0, #e8f5e8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-image-placeholder:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: white;
}

.story-card-content {
    padding: 2.5rem;
    text-align: left;
}

.story-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.story-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stories-title {
        font-size: 2rem !important;
    }
}

.programs-grid-stacked {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.programs-page .program-image-placeholder {
    width: 90% !important;
    max-width: 650px;
    height: 300px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
}

.programs-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.program-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.program-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #f0f7f0, #e8f5e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 600;
    position: relative;
}

.program-image-placeholder::after {
    content: attr(data-image);
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.program-card > div:nth-child(1) {
    padding: 2rem;
    text-align: center;
}

.program-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.program-card p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.programs-grid .btn {
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.donation-form-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 4rem 3rem;
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.08);
    border: 1px solid rgba(76,175,80,0.12);
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .donation-form-card {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }
    
    .amount-buttons {
        flex-direction: column;
    }
    
    .donate-hero {
        padding: 6rem 0 4rem;
    }
}

/* About Page Styles */
.about-hero {
    padding: 5rem 0;
    background: #f8f9fa;
}

.content-section {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.content-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mission-vision-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mission-vision-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.mission-vision-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #666;
}

.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-photo-placeholder,
.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.team-photo {
    object-fit: cover;
    background: white;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-section p {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Scroll Offsets for Anchor Links */
section[id] {
  scroll-margin-top: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: 90vh;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 40%;
        order: -1;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}



@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .programs-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
}

/* Fade-in Animation */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s ease;
}

/* Donation Page Styles - Corrupted section removed */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   REUSABLE SOCIAL ICONS COMPONENT
   ============================================ */

/* Container */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Individual Icon Link */
.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    outline: none;
}

.social-icon:hover,
.social-icon:focus {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icon:focus-visible {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Platform-specific hover colors */
.social-icon--facebook:hover,
.social-icon--facebook:focus {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.social-icon--instagram:hover,
.social-icon--instagram:focus {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #E4405F;
}

.social-icon--x:hover,
.social-icon--x:focus {
    background: #000000;
    color: white;
    border-color: #000000;
}

.social-icon--whatsapp:hover,
.social-icon--whatsapp:focus {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

/* WhatsApp Primary CTA */
.social-icon--whatsapp {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.social-icon--whatsapp:hover,
.social-icon--whatsapp:focus {
    animation: none;
    background: #25D366;
    color: white;
}

/* Tooltip */
.social-icon::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1a1a;
    color: white;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

.social-icon::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border-width: 6px;
    border-style: solid;
    border-color: #1a1a1a transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

.social-icon:hover::before,
.social-icon:hover::after,
.social-icon:focus::before,
.social-icon:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dark variant for footer / dark backgrounds */
.social-icons--dark .social-icon {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border-color: rgba(255, 255, 255, 0.15);
}

.social-icons--dark .social-icon:hover,
.social-icons--dark .social-icon:focus {
    color: white;
}

.social-icons--dark .social-icon--whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .social-icons {
        gap: 0.6rem;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .social-icon--whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}



