/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C3E50;
    --secondary-color: #3498DB;
    --accent-color: #E74C3C;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #ECF0F1;
    --bg-white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About highlight */
.about-highlight {
    display: inline-block;
    background: linear-gradient(90deg, rgba(255,235,59,0.12), rgba(52,152,219,0.06));
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand .logo {
    height: 45px;
    width: auto;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.2));
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: justify;
}

/* Impact Stories Section */
.impact {
    background: var(--bg-light);
}

.story-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.story-icon {
    flex-shrink: 0;
}

.story-icon svg {
    width: 80px;
    height: 80px;
    color: var(--secondary-color);
}

.story-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.story-current {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1rem;
}

.story-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 600;
    padding-left: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

/* Eligibility Section */
.eligibility {
    background: white;
}

.eligibility-highlight {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-align: center;
}

.eligibility-highlight .highlight-text {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eligibility-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.eligibility-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.eligibility-card {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.eligibility-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 60px;
    height: 60px;
    color: var(--secondary-color);
}

.eligibility-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.eligibility-card .card-main {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.eligibility-card .card-main strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.card-details {
    list-style: none;
    padding: 0;
}

.card-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.eligibility-documents {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.documents-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.document-item {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.document-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.doc-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.eligibility-note {
    background: #FFF3CD;
    border-left: 5px solid #FFC107;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.note-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.note-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.note-content ul {
    list-style: none;
    padding: 0;
}

.note-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.note-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFC107;
    font-weight: 700;
    font-size: 1.5rem;
}

.eligibility-cta {
    text-align: center;
    padding: 3rem 0 1rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.cta-subtext {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

.cta-subtext a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.cta-subtext a:hover {
    text-decoration: underline;
}

/* Contribution Section */
.contribute {
    background: var(--bg-light);
}

.contribute-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contribute intro summary (prominent box above details) */
.contribute-intro {
    display: flex;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.contribute-summary {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    width: 100%;
    border-left: 6px solid var(--secondary-color);
}

.contribute-summary h3 {
    margin: 0 0 0.35rem 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.contribute-summary .contribute-description {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contribute-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contribute-description {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.bank-details {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.detail-value {
    color: var(--text-dark);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-info {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.email-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid white;
}

.email-link:hover {
    opacity: 0.8;
}

.contribute-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.qr-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.qr-code {
    width: 250px;
    height: 250px;
    border: 5px solid var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.qr-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Donor button styling (prominent, centered below QR) */
.donor-action {
    text-align: center;
    margin-top: 1rem;
}

.donor-btn {
    display: inline-block;
    padding: 12px 22px;
    background: linear-gradient(90deg, var(--secondary-color), #2C88D9);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(44,62,80,0.12);
    border: none;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.donor-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(44,62,80,0.18);
}

@media (max-width: 640px) {
    .donor-btn {
        width: 100%;
        max-width: 360px;
    }
}

/* Trustees Section */
.trustees {
    background: white;
}

.trustees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trustee-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.trustee-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.trustee-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--bg-light);
}

.trustee-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}

.trustee-card:hover .trustee-photo img {
    transform: scale(1.05);
}

.trustee-info {
    padding: 1.5rem;
}

.trustee-name {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.trustee-role {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trustee-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: justify;
}

/* Advisory Members Section */
.advisory-members {
    background: var(--bg-light);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.member-initial {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.member-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .contribute-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .eligibility-cards {
        grid-template-columns: 1fr;
    }

    .trustees-grid {
        grid-template-columns: 1fr;
    }

    .bank-detail-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Footer - Powered By highlight */
.footer-bottom .powered-by {
    margin-top: 0.5rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.95rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.footer-bottom .powered-by-link {
    background: linear-gradient(90deg, var(--secondary-color), #2C88D9);
    color: white;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(44,62,80,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.footer-bottom .powered-by-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(44,62,80,0.18);
    opacity: 0.95;
}
