/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2b77ad;
    --accent-color: #38a169;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --background-light: #f8fafc;
    --background-alt: #edf2f7;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Header */
.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.organization-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #48bb78 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 2.5rem;
    box-shadow: 0 8px 32px rgba(56, 161, 105, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: logoShine 3s ease-in-out infinite;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.logo-nvo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
}

.logo-divider {
    font-size: 2rem;
    color: var(--accent-color);
    margin: 0 0.3rem;
}

.logo-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.header-icon {
    font-size: 4rem;
    color: var(--accent-color);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.header h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.stat-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 1.5rem 2rem;
    position: relative;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link i {
    font-size: 1.1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section.alt-bg {
    background: var(--background-light);
}

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

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.content-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #48bb78);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.content-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Mission Section */
.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-statement {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    position: relative;
    border-left: 5px solid var(--accent-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 3rem;
    background: var(--accent-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mission-statement blockquote {
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

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

.detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.detail-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.area-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #48bb78);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.area-card:hover .area-icon {
    transform: scale(1.1);
}

.area-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.area-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Activities Section */
.activities-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.activity-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
}

.activity-text h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.activity-text p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-alt) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #48bb78);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

.contact-cta {
    display: flex;
    align-items: center;
}

.cta-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 100%;
}

.cta-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cta-card p {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .header h1 {
        font-size: 3rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 1rem;
    }

    .organization-logo {
        gap: 0.75rem;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .logo-nvo,
    .logo-name {
        font-size: 2rem;
    }

    .logo-divider {
        font-size: 1.5rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .mission-details {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }

    .organization-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .logo-text {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .logo-nvo,
    .logo-name {
        font-size: 1.5rem;
    }

    .logo-divider {
        display: none;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .content-card,
    .detail-card,
    .activity-item {
        padding: 2rem;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .main-nav,
    .footer {
        display: none;
    }
    
    .header {
        background: none;
        color: black;
        padding: 2rem 0;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
    
    .content-card,
    .area-card,
    .activity-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}