@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Ethiopian Flag Colors */
    --ethiopia-green: #009639;
    --ethiopia-yellow: #FFDE00;
    --ethiopia-red: #DA020E;
    --ethiopia-blue: #0F47AF;
    
    /* Primary Brand Colors */
    --primary-color: #1a365d;
    --secondary-color: #2d7dd2;
    --accent-color: #FFDE00; /* Ethiopian yellow */
    --success-color: #009639; /* Ethiopian green */
    --heritage-red: #DA020E; /* Ethiopian red */
    
    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-gold: #B8860B;
    
    /* Background Colors */
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --background-cream: #FFF8DC;
    --border-color: #e2e8f0;
    
    /* Shadows */
    --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);
    --shadow-ethiopian: 0 8px 32px rgba(218, 2, 14, 0.15);
    
    /* Ethiopian-Inspired Gradients */
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #0F47AF 100%);
    --gradient-accent: linear-gradient(135deg, #FFDE00 0%, #B8860B 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(15, 71, 175, 0.8) 50%, rgba(0, 150, 57, 0.1) 100%);
    --gradient-ethiopian: linear-gradient(45deg, #009639 0%, #FFDE00 50%, #DA020E 100%);
    --gradient-heritage: linear-gradient(135deg, rgba(0, 150, 57, 0.1) 0%, rgba(255, 222, 0, 0.1) 50%, rgba(218, 2, 14, 0.1) 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: var(--text-primary);
    text-align: center;
    line-height: 1.6;
    scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 150, 57, 0.03) 0%, 
        rgba(255, 222, 0, 0.02) 25%, 
        rgba(15, 71, 175, 0.03) 50%, 
        rgba(218, 2, 14, 0.02) 75%, 
        rgba(0, 150, 57, 0.03) 100%);
    z-index: -1;
}

.page-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.container {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

/* Enhanced Hero Section */
.section:first-child {
    background: var(--gradient-hero);
    padding: 100px 40px 60px;
    margin: 0 0 60px 0;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.section:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 222, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 150, 57, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(218, 2, 14, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.section:first-child::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-ethiopian);
    border-radius: 32px;
    z-index: -1;
    opacity: 0.3;
}

.section:first-child h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--background-white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    animation: slideInLeft 1s ease-out 0.3s both;
}

.section:first-child h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin: 0 0 16px 0;
    color: var(--accent-color);
    animation: slideInRight 1s ease-out 0.5s both;
}

.section:first-child h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 500;
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeIn 1s ease-out 0.7s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px 0;
    font-style: italic;
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.9s both;
}

.section {
    margin: 80px 0;
    padding: 60px 40px;
    background: var(--background-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--primary-color);
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

.button {
    display: inline-block;
    padding: 16px 32px;
    margin-top: 20px;
    text-decoration: none;
    background: var(--gradient-primary);
    color: var(--background-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

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

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

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    animation: none;
}

/* Enhanced Navigation */
.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    margin-bottom: 20px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.nav a:hover {
    background: var(--gradient-primary);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Footer */
.footer {
    margin-top: 80px;
    padding: 40px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--background-white);
    box-shadow: var(--shadow-xl);
}

.footer h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--background-white);
}

/* Enhanced Content Cards */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.value-prop {
    background: linear-gradient(145deg, var(--background-white) 0%, #f8fafc 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
}

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

.value-prop h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.value-prop p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Enhanced Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
    position: relative;
}

.step {
    background: var(--background-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-5px);
    color: var(--background-white);
}

.step h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.step:hover h4 {
    color: var(--background-white);
}

.step p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.step:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced Benefits */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.benefit {
    background: var(--background-white);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: left;
    border-left: 5px solid var(--secondary-color);
    transition: all 0.3s ease;
    position: relative;
}

.benefit:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-color);
}

.benefit h4 {
    margin: 0 0 16px 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.benefit p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Enhanced Application Info */
.application-info {
    background: linear-gradient(145deg, var(--background-white) 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    margin: 40px 0;
    border: 1px solid var(--border-color);
    position: relative;
}

.application-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.application-info h4 {
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.application-info ul {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

.application-info li {
    margin: 12px 0;
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.application-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: var(--gradient-accent);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Enhanced CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0 0 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-section::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.cta-section h4 {
    color: var(--background-white);
    margin: 0 0 16px 0;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.cta-section p {
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-section .button {
    background: var(--background-white);
    color: var(--primary-color);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: none;
}

.cta-section .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.1), transparent);
    transition: left 0.5s;
}

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

.cta-section .button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

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

@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Ethiopian Cultural Elements */
.ethiopian-heritage {
    background: var(--gradient-heritage);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.ethiopian-heritage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-ethiopian);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

.ethiopian-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--background-white) 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    margin: 30px auto 50px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
}

.ethiopian-intro strong {
    color: var(--text-gold);
    font-weight: 700;
}

.ethiopian-card {
    border-left: 5px solid var(--ethiopia-green);
    background: linear-gradient(145deg, var(--background-white) 0%, var(--background-cream) 100%);
}

.ethiopian-card:nth-child(2) {
    border-left-color: var(--ethiopia-yellow);
}

.ethiopian-card:nth-child(3) {
    border-left-color: var(--heritage-red);
}

.ethiopian-card:hover {
    box-shadow: var(--shadow-ethiopian);
}

.ethiopian-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0 30px;
    padding: 40px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: var(--background-white);
    box-shadow: var(--shadow-xl);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-item p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Ethiopian Pattern Decorations */
.section:nth-child(even) {
    position: relative;
}

.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" fill="none" stroke="%23FFDE00" stroke-width="3"/><circle cx="50" cy="50" r="10" fill="%23009639"/><circle cx="50" cy="50" r="5" fill="%23DA020E"/></svg>');
    background-size: contain;
    opacity: 0.3;
    pointer-events: none;
}

/* Enhanced Ethiopian Typography */
.section h2 {
    position: relative;
}

.section h2::before {
    content: '◆';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.5rem;
    opacity: 0.7;
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .page-container {
        width: 95%;
    }
    
    .section {
        padding: 40px 20px;
        margin: 40px 0;
    }
    
    .section:first-child {
        padding: 80px 20px 60px;
    }
    
    .nav {
        padding: 20px;
    }
    
    .value-props,
    .process-steps,
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .ethiopian-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .ethiopian-intro {
        font-size: 1.1rem;
        padding: 20px;
        margin: 20px auto 30px;
    }
    
    .section h2::before {
        display: none;
    }
    
    .section:nth-child(even)::before {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .application-info {
        padding: 25px;
        margin: 30px 0;
    }
    
    .application-info li {
        padding-left: 35px;
    }
    
    .application-info li::before {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .footer {
        padding: 30px 20px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .section:first-child {
        padding: 60px 15px 40px;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .value-prop,
    .step,
    .benefit {
        padding: 25px;
    }
    
    .application-info {
        padding: 20px;
    }
    
    .cta-section {
        padding: 25px 15px;
    }
}
