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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    /* background: linear-gradient(135deg, #2594a9 0%, #ff6b35 100%); */
    background: #fff;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Header Styles */
.header {
    text-align: center;
    background: linear-gradient(135deg, #2594a9 0%, #1e7a8c 100%);
    color: white;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.profile-pic {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background: white;
    padding: 8px;
}

.logo:hover {
    transform: scale(1.05);
}

.title {
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-weight: 400;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

/* Links Section */

.link-button {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    border-color: #2594a9;
    background: #f8f9ff;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(30, 60, 114, 0.15);
}

.link-button.primary {
    background: linear-gradient(135deg, #2594a9 0%, #1e7a8c 100%);
    color: white;
    border-color: #2594a9;
}

.link-button.primary:hover {
    background: linear-gradient(135deg, #1e7a8c 0%, #2594a9 100%);
    transform: translateX(4px) scale(1.02);
}

.link-button.donate {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-color: #27ae60;
    font-weight: 600;
}

.link-button.donate:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateX(4px) scale(1.02);
}

.link-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon i {
    font-size: 1.2rem;
}

.link-text {
    flex: 1;
}

/* Mission and Programs */
.mission,
.programs,
.contact {
    border-top: 1px solid #e9ecef;
}

.mission h2,
.programs h2,
.contact h2 {
    font-weight: 600;
    color: #2594a9;
    margin-bottom: 15px;
    text-align: center;
}

.mission p {
    color: #666;
    line-height: 1.7;
    text-align: center;
}

.program-grid {
    display: grid;
    margin-top: 20px;
}

.program-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2594a9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.program-item h3 {
    font-weight: 600;
    color: #2594a9;
    margin-bottom: 10px;
}

.program-item p {
    color: #666;
    line-height: 1.6;
}

.contact p {
    color: #666;
    margin-bottom: 8px;
    text-align: center;
}

/* Footer */
.footer {
    background: #2594a9;
    color: white;
    text-align: center;
    padding: 20px;
    opacity: 0.9;
}

/* Mobile-first Responsive Design */

/* Base styles are for mobile (320px+) */
body {
    padding: 10px;
}

.container {
    border-radius: 15px;
}

.header {
    padding: 30px 20px 25px;
}

.title {
    font-size: 1.6rem;
}

.subtitle {
    font-size: 1rem;
}

.links {
    padding: 20px;
}

.link-button {
    padding: 14px 16px;
    font-size: 0.95rem;
}

.mission,
.programs,
.contact {
    padding: 20px;
}

.program-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}



/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.container {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.link-button:focus {
    outline: 3px solid #2594a9;
    outline-offset: 2px;
}

/* Loading animation for images */
.logo {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 8px 32px rgba(37, 148, 169, 0.3);
    }

    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
}


/* Tablet and up (768px+) */
@media (min-width: 768px) {
    body {
        padding: 20px;
    }

    .container {
        border-radius: 20px;
    }

    .header {
        padding: 40px 30px 30px;
    }

    .title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .links {
        padding: 30px;
    }

    .link-button {
        padding: 16px 20px;
        font-size: 1rem;
    }

    .mission,
    .programs,
    .contact {
        padding: 30px;
    }

    .program-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .logo {
        max-width: 200px;
        height: auto;
    }
}

/* Desktop and up (1024px+) */
@media (min-width: 1024px) {
    .title {
        font-size: 2.2rem;
    }
}
