:root {
    --theme-green: #015726;
    --theme-light: #10b981;
    --theme-gold: #fbbf24;
}

body {
    overflow-x: hidden;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    overflow: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
    margin-bottom: 60px;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: brightness(0.6) contrast(1.1);
    animation: fadeInScale 1.5s ease-out backwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1, 87, 38, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    animation: fadeInScale 1.2s ease-out 0.2s backwards;
}

.hero-glow {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 2;
}

.floating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #015726;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite, fadeInScale 0.8s ease-out 0.3s backwards;
    margin: 0 8px 16px;
    position: relative;
    z-index: 10;
}

.floating-badge:nth-child(2) {
    animation: float 3s ease-in-out infinite 0.5s, fadeInScale 0.8s ease-out 0.5s backwards;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(1, 87, 38, 0.5);
    letter-spacing: -2px;
    animation: fadeInDown 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

.about-hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #e5e7eb;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.scroll-indicator {
    animation: bounce 2s infinite, fadeInUp 1s ease-out 1.2s backwards;
    color: #ffffff;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

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

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

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

/* Content Cards */
.content-section {
    margin-bottom: clamp(30px, 5vw, 50px);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 10;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-card {
    background: white;
    border-radius: clamp(15px, 3vw, 30px);
    padding: clamp(25px, 5vw, 50px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(1, 87, 38, 0.18);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-green), var(--theme-light), var(--theme-gold));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

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

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(1, 87, 38, 0.15);
    border-color: var(--theme-green);
}

.section-header {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    margin-bottom: clamp(15px, 3vw, 24px);
    flex-wrap: wrap;
}

.section-icon {
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, var(--theme-green), var(--theme-light));
    border-radius: clamp(12px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 5px 15px rgba(1, 87, 38, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.section-card:hover .section-icon {
    transform: rotate(12deg) scale(1.1);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--theme-green);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.section-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: #475569;
    margin-bottom: 0;
}

.section-text strong {
    color: var(--theme-green);
    font-weight: 700;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(1, 87, 38, 0.03), rgba(16, 185, 129, 0.03));
    border-radius: 15px;
    border-left: 4px solid var(--theme-green);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, rgba(1, 87, 38, 0.08), rgba(16, 185, 129, 0.08));
    box-shadow: 0 5px 20px rgba(1, 87, 38, 0.1);
}

.feature-list i {
    font-size: 1.8rem;
    color: var(--theme-green);
    min-width: 30px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-content strong {
    display: block;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--theme-green);
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-content span {
    color: #64748b;
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Research Paper Section */
.research-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid var(--theme-light);
    position: relative;
    overflow: hidden;
}

.research-highlight::before {
    content: '📄';
    position: absolute;
    font-size: 12rem;
    opacity: 0.05;
    right: -40px;
    top: -40px;
    transform: rotate(-15deg);
}

.research-title {
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--theme-green);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.research-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #475569;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--theme-green);
    border-radius: 50px;
    font-weight: 700;
    color: var(--theme-green);
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(1, 87, 38, 0.1);
}

.tech-badge:hover {
    background: var(--theme-green);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(1, 87, 38, 0.2);
}

.tech-badge i {
    font-size: 1.3rem;
}

.tech-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(1, 87, 38, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-box:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(1, 87, 38, 0.15);
    border-color: var(--theme-green);
}

.stat-value {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 900;
    color: var(--theme-green);
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.stat-value-text {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    font-weight: 900;
    color: var(--theme-green);
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #64748b;
    font-weight: 600;
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, var(--theme-green) 0%, #047857 100%);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(1, 87, 38, 0.3);
}

.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
}

.team-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -200px;
    right: -200px;
}

.team-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.team-image-wrapper {
    max-width: 800px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.team-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 4px solid white;
    transition: transform 0.5s ease;
}

.team-image:hover {
    transform: scale(1.02) rotate(0.5deg);
}

.team-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 24px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* Scroll fade effect */
.about-hero {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero {
        min-height: 80vh;
        padding: 60px 15px 30px;
    }

    .section-card {
        padding: 20px;
        border-radius: 15px;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .team-section {
        padding: 35px 20px;
        border-radius: 20px;
    }

    .feature-list li {
        padding: 15px;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        min-height: 70vh;
        padding: 50px 12px 25px;
    }

    .floating-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin: 0 6px 12px;
    }

    .section-card {
        padding: 18px;
    }

    .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .tech-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .feature-list li {
        flex-direction: column;
        padding: 12px;
    }
}