/* SIKAF Foundation - Main Stylesheet */

:root {
    --teal-primary: #00A99D;
    --teal-dark: #008B80;
    --teal-light: #4DC4BA;
    --navy-dark: #1a365d;
    --navy-darker: #0f2439;
    --purple-accent: #6B46C1;
    --white: #ffffff;
    --gray-light: #f7fafc;
    --gray-medium: #e2e8f0;
    --gray-dark: #4a5568;
    --text-dark: #2d3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide scrollbar for all browsers */
::-webkit-scrollbar {
    display: none;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Header Styles */
.top-bar {
    background: linear-gradient(135deg, var(--purple-accent) 0%, var(--teal-primary) 100%);
    padding: 0.5rem 0;
    color: var(--white);
    font-size: 0.875rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    margin: 0;
}

.logo-text span {
    font-size: 0.875rem;
    color: var(--gray-dark);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
    display: block;
}

.nav-menu a:hover {
    color: var(--teal-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.lang-selector {
    color: var(--gray-dark);
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-donate {
    background-color: var(--teal-primary);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-donate:hover {
    background-color: var(--teal-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    height: 100vh;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.25) 0%, rgba(0, 169, 157, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 600px;
}

.hero-content {
    text-align: left;
    position: relative;
    z-index: 3;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(26, 54, 93, 0.15);
    backdrop-filter: blur(1px);
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    z-index: 2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--teal-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy-dark);
}

.btn-secondary:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 1.5rem;
    background-color: var(--gray-light);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.stat-icon-people::before {
    content: '👥';
    font-size: 2rem;
}

.stat-icon-eye::before {
    content: '👁';
    font-size: 2rem;
}

.stat-icon-globe::before {
    content: '🌍';
    font-size: 2rem;
}

.stat-icon-spectacles::before {
    content: '👓';
    font-size: 2rem;
}

.stat-icon-school::before {
    content: '🏫';
    font-size: 2rem;
}

.stat-icon-mobile::before {
    content: '🚐';
    font-size: 2rem;
}

.stat-icon-surgery::before {
    content: '⚕';
    font-size: 2rem;
}

.stat-icon-awareness::before {
    content: '📢';
    font-size: 2rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Section Styles */
.section {
    padding: 5rem 1.5rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    background-color: var(--white);
}

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

.mission-text h2 {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.125rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* What We Do Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

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

.program-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.program-icon-spectacles::before {
    content: '👓';
    font-size: 2.5rem;
}

.program-icon-mobile::before {
    content: '🚐';
    font-size: 2.5rem;
}

.program-icon-awareness::before {
    content: '📢';
    font-size: 2.5rem;
}

.program-icon-referral::before {
    content: '🏥';
    font-size: 2.5rem;
}

.program-icon-school::before {
    content: '🏫';
    font-size: 2.5rem;
}

.program-icon-surgery::before {
    content: '⚕';
    font-size: 2.5rem;
}

.program-icon-training::before {
    content: '📚';
    font-size: 2.5rem;
}

.program-icon-vision::before {
    content: '🔍';
    font-size: 2.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s;
}

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

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.value-icon-equity::before {
    content: '👁';
    font-size: 2rem;
}

.value-icon-compassion::before {
    content: '❤';
    font-size: 2rem;
}

.value-icon-integrity::before {
    content: '🛡';
    font-size: 2rem;
}

.value-icon-innovation::before {
    content: '💡';
    font-size: 2rem;
}

.value-icon-collaboration::before {
    content: '🤝';
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background-color: var(--gray-light);
}

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

.cta-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--teal-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.cta-icon-volunteer::before {
    content: '🤝';
    font-size: 2.5rem;
}

.cta-icon-partner::before {
    content: '🤝';
    font-size: 2.5rem;
}

.cta-icon-donate::before {
    content: '$';
    font-size: 2rem;
    font-weight: bold;
}

.cta-icon-advocate::before {
    content: '📢';
    font-size: 2.5rem;
}

.cta-card h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

/* Stories Section */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.story-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.story-content {
    padding: 1.5rem;
}

.story-content h3 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.story-content blockquote {
    font-style: italic;
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.story-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-primary);
    font-size: 0.9rem;
}

.location-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.location-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--teal-primary);
    border-radius: 50%;
    display: block;
    position: absolute;
}

.location-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid var(--teal-primary);
    position: absolute;
    top: 8px;
    left: 3px;
}

/* Footer */
.footer {
    background-color: var(--navy-darker);
    color: var(--white);
    padding: 4rem 1.5rem 2rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--teal-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.footer-logo-icon::before {
    content: '';
    width: 24px;
    height: 16px;
    border: 2px solid var(--white);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: block;
}

.footer-logo-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -2px;
}

.footer-logo-text {
    display: inline-block;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-logo-subtext {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
}

.footer-brand p {
    opacity: 0.9;
    line-height: 1.8;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s, color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--teal-light);
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-icon-location::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: var(--teal-primary);
    border-radius: 50%;
    position: relative;
}

.footer-icon-location::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--teal-primary);
    position: absolute;
    top: 12px;
    left: 6px;
}

.footer-icon-email::before {
    content: '✉';
    display: block;
    color: var(--teal-primary);
    font-size: 16px;
}

.footer-icon-phone::before {
    content: '📞';
    display: block;
    color: var(--teal-primary);
    font-size: 16px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--teal-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 0.875rem;
    font-weight: 600;
}

.social-icon-facebook {
    background-color: #1877F2;
}

.social-icon-facebook:hover {
    background-color: #166FE5;
    transform: translateY(-2px);
}

.social-icon-twitter {
    background-color: #1DA1F2;
}

.social-icon-twitter:hover {
    background-color: #1A91DA;
    transform: translateY(-2px);
}

.social-icon-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon-instagram:hover {
    background: linear-gradient(45deg, #e0852a 0%, #d55a2d 25%, #c91f35 50%, #b91d5a 75%, #a91478 100%);
    transform: translateY(-2px);
}

.social-icon-linkedin {
    background-color: #0077B5;
}

.social-icon-linkedin:hover {
    background-color: #006399;
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Form Styles */
.form-section {
    background-color: var(--gray-light);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--gray-medium);
    border-radius: 0.375rem;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

/* Gradient CTA Section */
.gradient-cta {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 5rem 1.5rem;
    text-align: center;
}

.gradient-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.gradient-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.gradient-cta .hero-buttons {
    justify-content: center;
}

/* Legal Pages Styling */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--navy-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--teal-primary);
}

.legal-content h3 {
    color: var(--navy-dark);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--teal-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}

.legal-highlight-box {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--teal-primary);
    margin: 2rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }

    .legal-content h2 {
        font-size: 1.75rem;
    }

    .legal-content h3 {
        font-size: 1.25rem;
    }

    .legal-content ul {
        margin-left: 1.5rem;
        font-size: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 1.25rem;
    }

    .nav-menu {
        gap: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .logo-text h1 {
        font-size: 1.3rem;
    }

    .btn-donate {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero {
        height: auto;
        min-height: 600px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .hero-content {
        padding: 3rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-video {
        height: 100%;
    }
    
    .hero-video video {
        height: 100%;
    }

    .mission-content,
    .programs-section > div {
        grid-template-columns: 1fr !important;
    }
    
    .programs-section > div > div:first-child {
        order: 1;
    }
    
    .programs-section > div > div:last-child {
        order: 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.875rem 1rem;
        gap: 0.5rem;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .logo-text h1 {
        font-size: 1.15rem;
        line-height: 1.1;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
        z-index: 999;
        justify-content: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        padding: 0.5rem;
        margin-left: 0.5rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .lang-selector {
        display: none;
    }

    .btn-donate {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 0;
        background-attachment: scroll;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        padding: 3rem 1.5rem;
        order: 2;
    }

    .hero-video {
        order: 1;
        width: 100%;
        min-height: 400px;
        height: 400px;
    }
    
    .hero-video video {
        height: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-shape-decoration {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .stats-container,
    .programs-grid,
    .values-grid,
    .cta-grid,
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .gradient-cta {
        padding: 3rem 1.5rem;
    }

    .gradient-cta h2 {
        font-size: 2rem;
    }

    .gradient-cta p {
        font-size: 1rem;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .stat-card,
    .program-card,
    .cta-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        height: auto;
        padding: 2rem 0;
        background-attachment: scroll;
    }

    .hero-container {
        gap: 0;
    }

    .hero-content {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-video {
        min-height: 300px;
        height: 300px;
    }
    
    .hero-video video {
        height: 100%;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .navbar {
        padding: 0.75rem 0.75rem;
        gap: 0.25rem;
    }

    .logo-container {
        gap: 0.4rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .btn-donate {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        font-size: 1.25rem;
        padding: 0.4rem;
    }

    .top-bar {
        font-size: 0.75rem;
        padding: 0.375rem 0;
    }

    .footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-logo-text {
        font-size: 1.25rem;
    }
}

 /* Motion Graphics Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-in-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-rotate-in {
    animation: rotateIn 0.7s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Hover Animations */
.hero-content h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    animation: fadeInUp 1.2s ease-out;
}

.stat-card:hover,
.program-card:hover,
.cta-card:hover,
.story-card:hover {
    animation: pulse 0.6s ease-in-out;
}

/* Continuous Animations */
.stat-icon,
.program-icon,
.cta-icon {
    animation: float 3s ease-in-out infinite;
}

/* Scroll-triggered animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grids */
.stats-container .stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stats-container .stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stats-container .stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.programs-grid .program-card:nth-child(1) {
    animation-delay: 0.1s;
}

.programs-grid .program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.programs-grid .program-card:nth-child(3) {
    animation-delay: 0.3s;
}

.programs-grid .program-card:nth-child(4) {
    animation-delay: 0.4s;
}

.cta-grid .cta-card:nth-child(1) {
    animation-delay: 0.1s;
}

.cta-grid .cta-card:nth-child(2) {
    animation-delay: 0.2s;
}

.cta-grid .cta-card:nth-child(3) {
    animation-delay: 0.3s;
}

.cta-grid .cta-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stories-grid .story-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stories-grid .story-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stories-grid .story-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Work Gallery Overlay */
.work-gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Enhanced CTA Cards */
.cta-card {
    position: relative;
    transition: all 0.4s ease;
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 169, 157, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0.5rem;
    pointer-events: none;
}

.cta-card:hover::before {
    opacity: 1;
}

.work-gallery-item:hover img {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.7) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.work-gallery-item:hover .work-overlay {
    transform: translateY(0);
}

/* Decorative Irregular Shapes */
.decorative-shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-light));
    opacity: 0.1;
    animation: morphShape 15s ease-in-out infinite;
    z-index: 1;
}

.decorative-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.decorative-shape-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
    animation-delay: 5s;
    background: linear-gradient(135deg, var(--purple-accent), var(--teal-primary));
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Hero Sections */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 169, 157, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(107, 70, 193, 0.15) 0%, transparent 70%);
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    animation: morphShape 12s ease-in-out infinite;
    z-index: -1;
}

/* Mobile optimization for animations */
@media (max-width: 768px) {
    .animate-fade-in-up,
    .animate-slide-up,
    .animate-scale-in,
    .animate-rotate-in,
    .animate-slide-in-left,
    .animate-slide-in-right {
        animation-duration: 0.5s;
    }
    
    .stat-icon,
    .program-icon,
    .cta-icon {
        animation: none;
    }
    
    .decorative-shape {
        display: none;
    }
    
    .work-gallery-item {
        margin-bottom: 1.5rem;
    }
    
    /* Get Involved Page Responsive */
    .section-container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    .cta-card {
        padding: 2rem 1.5rem !important;
    }
}

