:root {
    --primary-green: #2e7d32;
    --accent-gold: #d4a373;
    --dark-grey: #333;
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --vibrant-blue: #2196f3;
    --sunset-orange: #ff9800;
    --coral-pink: #ff6b6b;
    --teal: #009688;
    --purple: #9c27b0;
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@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);
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
    background: var(--white);
    background-image: radial-gradient(circle at 1px 1px, rgba(46, 125, 50, 0.08) 1px, transparent 0);
    background-size: 30px 30px;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

.container {
    padding: 1rem 4%;
    max-width: 100%;
    margin: 0 auto;
}

/* Section Titles */
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
}

/* Impact Section Title */
#impact .section-title h2 {
    color: #ff9800;
    text-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.section-title p {
    font-size: 1rem;
    color: var(--dark-grey);
    max-width: 100%;
    text-align: center;
}

/* Mobile Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 60px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

#nav-menu { display: flex; list-style: none; }
#nav-menu li a { 
    text-decoration: none; 
    color: var(--dark-grey); 
    margin-left: 2rem; 
    font-weight: 500;
    transition: 0.3s;
}

#nav-menu li a:hover { color: var(--primary-green); }

/* Mobile Hero */
.hero {
    min-height: 80vh;
    background-image:
        linear-gradient(135deg, rgba(46, 125, 50, 0.3) 0%, rgba(76, 175, 80, 0.2) 50%, rgba(139, 195, 74, 0.1) 100%),
        url('https://images.unsplash.com/photo-1524024973431-2ad916746881?auto=format&fit=crop&w=1200&q=80');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

@keyframes heroGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    animation: heroSlideIn 1.2s ease-out;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Slogan Section */
.slogan-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-gold) 25%, var(--vibrant-blue) 50%, var(--sunset-orange) 75%, var(--coral-pink) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slogan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        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%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.slogan-img {
    max-width: 80%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.03em;
    animation: textGlow 3s ease-in-out infinite alternate, textPulse 4s ease-in-out infinite;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6347 50%, #FF1493 75%, #00CED1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


@keyframes textPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 100%;
    letter-spacing: 0.01em;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(255,255,255,0.6)); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4caf50 50%, #66bb6a 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin: 0.5rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 56px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.5);
    background: linear-gradient(135deg, #4caf50 0%, var(--primary-green) 50%, #388e3c 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffb74d 50%, #ff9800 100%);
    color: var(--dark-grey);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin: 0.5rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3);
    font-size: 1.1rem;
    font-weight: 600;
    min-height: 56px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff9800 0%, var(--accent-gold) 50%, #f57c00 100%);
    color: var(--dark-grey);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.4);
}

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card { 
    background: linear-gradient(135deg, var(--white), var(--light-grey)); 
    padding: 2rem; 
    border-radius: 16px; 
    text-align: center; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.card:hover { 
    transform: translateY(-15px) scale(1.05); 
    background: linear-gradient(135deg, var(--vibrant-blue), var(--teal));
    box-shadow: 0 20px 40px rgba(33, 150, 243, 0.4);
    border-color: var(--vibrant-blue);
    color: white;
}

.card:hover::before {
    left: 100%;
}

.card:hover h3 {
    color: white;
}

.card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.card i { 
    font-size: 2.5rem; 
    color: var(--primary-green); 
    margin-bottom: 1rem; 
    transition: 0.4s;
}

.card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-gold);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
    font-weight: 600;
}

.card p {
    color: var(--dark-grey);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* About Content */
.about-content {
    max-width: 100%;
    margin: 0 auto 2rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.95);
    background-image: radial-gradient(circle at 1px 1px, rgba(46, 125, 50, 0.25) 1px, transparent 0);
    background-size: 20px 20px;
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.1);
    text-align: center;
}

.about-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
    text-align: center;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

.about-content ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.about-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.about-content em {
    font-style: italic;
    color: var(--dark-grey);
    font-size: 0.95rem;
}

/* Flagship Project Background */
.flagship-project {
    background-image: url('https://images.unsplash.com/photo-1524024973431-2ad916746881?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    position: relative;
    color: white;
    overflow: hidden;
}

.flagship-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    z-index: 1;
}

.flagship-project::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 192, 203, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.1) 0%, transparent 50%);
    border-radius: 12px;
    z-index: 2;
}

.flagship-project h3, .flagship-project p, .flagship-project ul, .flagship-project li {
    position: relative;
    z-index: 3;
}

.flagship-project h3 {
    color: white;
    margin-bottom: 1rem;
}

.flagship-project strong {
    color: var(--accent-gold);
}

.flagship-project em {
    color: var(--accent-gold);
    font-style: italic;
}

/* Responsive About Section */
@media (max-width: 768px) {
    #about {
        padding: 3rem 0;
    }
    
    .about-content {
        padding: 1.5rem;
        margin: 0 auto 2rem;
    }
    
    .about-content h3 {
        font-size: 1.5rem;
    }
    
    .flagship-project {
        padding: 1.5rem;
    }
}

/* Model Section */
.model-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f3e5f5 25%, #fff3e0 50%, #fce4ec 75%, #e3f2fd 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.model-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.model-section .container {
    position: relative;
    z-index: 1;
}

/* Model Description */
.model-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.model-description h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(46, 125, 50, 0.2);
    position: relative;
}

.model-description h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
}

.model-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.model-description li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(129, 199, 132, 0.1));
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
    position: relative;
}

.model-description li:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(129, 199, 132, 0.15));
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.model-description em {
    font-style: italic;
    color: var(--accent-gold);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.model-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.model-description li {
    margin-bottom: 0.5rem;
}

.model-description em {
    font-style: italic;
    color: var(--dark-grey);
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--vibrant-blue) 100%);
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.impact-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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="3" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.impact-number::after {
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -20px;
}

.impact-card:nth-child(3) .impact-number::after {
    content: '%';
}

.impact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.impact-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SDGs */
.sdg-section { background: var(--dark-grey); color: white; text-align: center; }
.sdg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin-top: 2rem; }
.sdg-box { 
    border: 1px solid var(--accent-gold); 
    padding: 1rem; 
    border-radius: 8px; 
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sdg-box:hover {
    background: rgba(212, 163, 115, 0.1);
    transform: translateY(-5px);
}

.sdg-box img {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
}

/* Team Profiles */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.profile { 
    text-align: center; 
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
}

.profile img { 
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 1rem; 
    border: 3px solid var(--light-grey); 
    transition: 0.3s;
    background-color: #f8f9fa;
}

.profile:hover img {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Founder profile - larger size */
.founder-profile img {
    width: 250px;
    height: 250px;
}

/* Model Steps */
.model-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 3rem;
}

.model-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--primary-green) 0%, 
        var(--accent-gold) 25%, 
        #e91e63 50%, 
        #9c27b0 75%, 
        #3f51b5 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 600px;
    position: relative;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

.step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.step:nth-child(even) .step-content {
    text-align: right;
}

.step-num {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.step-num:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5);
}

.step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--primary-green), #4caf50); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--accent-gold), #ff9800); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #e91e63, #f06292); }

.step-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 248, 0.9));
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(255, 193, 7, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.2);
}

.step-content:hover::before {
    opacity: 1;
}

.step-content p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-grey);
    position: relative;
    z-index: 1;
}

/* Responsive Model Section */
@media (max-width: 768px) {
    .model-section {
        padding: 3rem 0;
    }
    
    .model-description {
        padding: 1.5rem;
        margin: 0 auto 2rem;
    }
    
    .model-description h3 {
        font-size: 1.5rem;
    }
    
    .model-steps::before {
        left: 30px;
    }
    
    .step {
        flex-direction: row !important;
        text-align: left !important;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .step:nth-child(even) .step-content {
        text-align: left !important;
    }
    
    .step-num {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin: 0 1rem 0 0;
        flex-shrink: 0;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--light-grey), #f0f8f0);
    padding: 4rem 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    border-color: var(--primary-green);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    transition: 0.3s;
}

.contact-item:hover i {
    transform: scale(1.1);
    color: var(--accent-gold);
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--dark-grey);
    font-size: 1rem;
    margin: 0;
}

/* Donation button styling */
.contact-item button {
    margin-top: 1rem;
    width: 100%;
}

/* Donate Section */
.donate-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 50%, #e1bee7 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 192, 203, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 105, 180, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 182, 193, 0.4) 0%, transparent 50%);
    z-index: 0;
}

.donate-section::after {
    content: '💝';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.6;
}

.donate-section::after:nth-child(2) {
    content: '🌟';
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.donate-section::after:nth-child(3) {
    content: '💚';
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.donate-content {
    max-width: 600px;
    margin: 0 auto;
}

.donate-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.donate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.donate-card:hover::before {
    left: 100%;
}

.donate-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(46, 125, 50, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.donate-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.donate-card h3 {
    font-size: 1.5rem;
    color: var(--dark-grey);
    margin-bottom: 1rem;
    font-weight: 600;
}

.donate-card p {
    color: var(--dark-grey);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.donate-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.donate-option {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.donate-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.6s;
}

.donate-option:hover::before {
    left: 100%;
}

.donate-option:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.donate-option h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 1px 2px rgba(46, 125, 50, 0.2);
    letter-spacing: 0.5px;
    position: relative;
}

.donate-option h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 1px;
}

.donate-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

#mpesa-number1, #mtn-number2, #equity-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 240, 0.9));
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(46, 125, 50, 0.3);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
    transition: all 0.3s ease;
    font-family: 'Inter', monospace;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

#mpesa-number1:hover, #mtn-number2:hover, #equity-number:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
    border-color: var(--primary-green);
}

#mpesa-number1::before, #mtn-number2::before, #equity-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.6s;
}

#mpesa-number1:hover::before, #mtn-number2:hover::before, #equity-number:hover::before {
    left: 100%;
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-green), #4caf50);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}

.copy-btn::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;
}

.copy-btn:hover::before {
    left: 100%;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #4caf50, var(--primary-green));
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: bold;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(129, 199, 132, 0.1));
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: var(--primary-green);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    text-align: center;
    font-size: 0.9rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.1);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Donate Text */
@media (max-width: 768px) {
    .donate-option h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    #mpesa-number1, #mtn-number2, #equity-number {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .donate-number {
        gap: 0.8rem;
        flex-direction: column;
    }
}

/* Implementation Section */
.implementation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impl-item {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-top: 4px solid var(--primary-green);
}

.impl-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #eef2ee, #f0f8f0);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
}

.impl-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: 0.3s;
}

.impl-item:hover img {
    transform: scale(1.05);
}

.impl-item h3 {
    font-size: 1.1rem;
    color: var(--dark-grey);
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0.5rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .container {
        padding: 2rem 5%;
    }

    /* Navigation */
    nav {
        padding: 1rem 5%;
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }

    #nav-menu.active {
        display: flex;
    }

    #nav-menu li {
        margin: 0.5rem 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--primary-green);
    }

    /* Hero Section */
    .hero {
        padding: 4rem 5%;
        text-align: center;
        min-height: 70vh;
        background-attachment: scroll; /* Disable fixed background on mobile for better performance */
    }

    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        color: #ffffff;
        letter-spacing: -0.02em;
        font-weight: 400;
        text-transform: uppercase;
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6347 50%, #FF1493 75%, #00CED1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        padding: 0.8rem;
        background: rgba(0, 0, 0, 0.4);
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 320px;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        min-height: 52px;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 2rem;
        text-align: center;
    }

    /* Impact Section Title */
    #impact .section-title h2 {
        color: #ff9800;
        text-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
    }

    .section-title p {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 1rem;
        margin: 0.5rem 0;
    }

    /* About Content */
    .about-content {
        padding: 2rem;
        margin: 0 auto 2rem;
    }

    .about-content h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    /* Grid Layouts */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sdg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile {
        padding: 1.5rem;
    }

    .profile h3 {
        font-size: 1.3rem;
    }

    .profile p {
        font-size: 0.9rem;
    }

    /* Cards */
    .card, .impact-card {
        padding: 1.5rem;
        text-align: center;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .impact-card h3 {
        font-size: 1.2rem;
    }

    .impact-card p {
        font-size: 0.85rem;
    }

    /* Model Section */
    .model-description {
        padding: 1.5rem;
    }

    .model-description h3 {
        font-size: 1.5rem;
    }

    .model-steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }

    .step-num {
        margin-bottom: 0;
        margin-right: 1rem;
    }

    /* Implementation Grid */
    .implementation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impl-item {
        text-align: center;
    }

    .impl-item img {
        width: 100%;
        height: auto;
    }

    /* Contact Section */
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-item {
        text-align: center;
    }

    .contact-item h3 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    /* Donate Section */
    .donate-options {
        flex-direction: column;
        gap: 1rem;
    }

    .donate-option {
        text-align: center;
    }

    .donate-number {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Footer */
    .footer-content {
        text-align: center;
        padding: 2rem 5%;
    }

    /* Implementation items */
    .impl-item h3 {
        font-size: 1rem;
    }

    /* Donate section */
    .donate-card h3 {
        font-size: 1.3rem;
    }

    .donate-card p {
        font-size: 0.9rem;
    }

    .donate-option h4 {
        font-size: 1.1rem;
    }

    /* Slogan Section */
    .slogan-section {
        padding: 2rem 0;
    }

    .slogan-img {
        max-width: 90%;
        max-height: 120px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 3%;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
        color: #ffffff;
        letter-spacing: -0.02em;
        font-weight: 400;
        text-transform: uppercase;
        background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6347 50%, #FF1493 75%, #00CED1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero p {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    #impact .section-title h2 {
        color: #ff9800;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .section-title p {
        font-size: 0.8rem;
        padding: 0 0.8rem;
        margin: 0.5rem 0;
    }

    .impact-number {
        font-size: 2rem;
    }

    .sdg-grid {
        grid-template-columns: 1fr;
    }

    .about-content h3 {
        font-size: 1.3rem;
    }

    .model-description h3 {
        font-size: 1.3rem;
    }

    .donate-card h3 {
        font-size: 1.2rem;
    }

    .impl-item h3 {
        font-size: 0.9rem;
    }
}