/* Green Aura About Page CSS */

:root {
    /* Primary Green Palette */
    --primary-green: #0f4c3a;
    --light-green: #1a6b4f;
    --accent-green: #10b981;
    --bright-green: #34d399;
    --soft-green: #ecfdf5;
    --pale-green: #f0fdf4;
    
    /* Neutral Colors */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    /* Background Colors */
    --white: #ffffff;
    --off-white: #f9fafb;
    --light-gray: #f3f4f6;
    --border-light: #e5e7eb;
    --border-gray: #d1d5db;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --warm-orange: #f59e0b;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-green) 0%, var(--bright-green) 100%);
    --gradient-soft: linear-gradient(135deg, var(--soft-green) 0%, var(--pale-green) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(15, 76, 58, 0.9) 0%, rgba(26, 107, 79, 0.8) 100%);
}


/* About Header Section */
.about-header {
    background: linear-gradient(rgba(6, 70, 0, 0.493), rgba(6, 70, 0, 0.493)),
                url('../images/about/About-Header-image.png'); /* Adjust path and filename as needed */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* .about-header::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="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
} */

.about-header::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: floatPattern 40s infinite linear;
}

@keyframes floatPattern {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-header p {
    font-size: 1.375rem;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 3px;
}

.about-content p {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 400;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.about-image-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 6rem;
    position: relative;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3), transparent 60%);
}

.about-image-placeholder i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Mission Section */
.mission-section {
    background: var(--gradient-soft);
    padding: 8rem 0;
    position: relative;
}

.mission-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 200 200"><circle cx="50" cy="50" r="2" fill="rgba(16, 185, 129, 0.1)"/><circle cx="150" cy="80" r="1.5" fill="rgba(16, 185, 129, 0.08)"/><circle cx="80" cy="140" r="1" fill="rgba(16, 185, 129, 0.06)"/><circle cx="140" cy="160" r="2.5" fill="rgba(16, 185, 129, 0.1)"/></svg>') repeat;
    opacity: 0.5;
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.mission-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 400;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 8rem 0;
    background: var(--white);
}

.why-choose-about-header {
    text-align: center;
    margin-bottom: 6rem;
}

.why-choose-about-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.why-choose-about-header p {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-green);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: var(--white);
    font-size: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(8deg);
    background: var(--gradient-accent);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-accent);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
     background: linear-gradient(rgba(6, 70, 0, 0.493), rgba(6, 70, 0, 0.493)),
                url('../images/about/CTA-image.png'); /* Adjust path and filename as needed */
    color: var(--white);
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 20px 40px;
    background: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--accent-green);
    background: var(--soft-green);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .about-grid {
        gap: 4rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 5rem 0 4rem;
    }

    .about-header h1 {
        font-size: 3rem;
    }

    .about-header p {
        font-size: 1.125rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        transform: none;
        order: -1;
    }

    .about-content h2,
    .mission-content h2,
    .why-choose-about-header h2,
    .team-about-header h2,
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .about-section,
    .mission-section,
    .why-choose-section{
        padding: 5rem 0;
    }

    .cta-section {
        padding: 5rem 0;
    }

    .feature-card,
    .team-info {
        padding: 2.5rem 2rem;
    }

    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        padding: 4rem 0 3rem;
    }

    .about-header h1 {
        font-size: 2.25rem;
    }

    .about-content h2,
    .mission-content h2,
    .why-choose-about-header h2,
    .team-about-header h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .btn-primary {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .about-section,
    .mission-section,
    .why-choose-section {
        padding: 4rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn-primary:focus,
.feature-card:focus,
.team-card:focus {
    outline: 3px solid var(--accent-green);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: var(--text-primary);
        --text-muted: var(--text-primary);
    }
}