@import url('../base.css');

/* Mission Page - Dark Techy Frosted Glass Theme */

/* Hero Section */
.mission-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 170, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    color: var(--color-text-primary);
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.mission-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        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='%2300d4ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.mission-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.mission-hero .container {
    position: relative;
    z-index: 2;
}

.mission-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #fff 0%, #00d4ff 40%, #7c3aed 70%, #ff00aa 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
    letter-spacing: -0.02em;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mission-hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text-secondary);
    line-height: 1.7;
    opacity: 0.9;
}

/* Mission Statement Section */
.mission-statement {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
}

.mission-statement .container {
    max-width: 1000px;
}

.mission-statement h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.mission-statement h2 i {
    color: #00d4ff;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.mission-statement p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    text-align: center;
    color: var(--color-text-secondary);
    line-height: 2;
    padding: var(--spacing-2xl) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mission-statement p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed, #ff00aa, #00d4ff);
    background-size: 300% 100%;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.mission-statement p::after {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(0, 212, 255, 0.1);
    line-height: 1;
    pointer-events: none;
}

/* Values Section */
.our-values {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-primary);
    position: relative;
}

.our-values::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.our-values::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.our-values .container {
    position: relative;
    z-index: 1;
}

.our-values h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.our-values h2 i {
    color: #ff00aa;
    filter: drop-shadow(0 0 10px rgba(255, 0, 170, 0.5));
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.values-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--glass-bg);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.values-list li::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
}

.values-list li:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.2),
        0 0 30px rgba(0, 212, 255, 0.15);
}

.values-list li:hover::before {
    opacity: 1;
}

.values-list li i {
    font-size: 1.25rem;
    color: #00d4ff;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
    position: relative;
    z-index: 1;
}

.values-list li span,
.values-list li {
    position: relative;
    z-index: 1;
}

/* Different accent colors for each value */
.values-list li:nth-child(1) { border-color: rgba(0, 212, 255, 0.3); }
.values-list li:nth-child(2) { border-color: rgba(124, 58, 237, 0.3); }
.values-list li:nth-child(3) { border-color: rgba(0, 255, 136, 0.3); }
.values-list li:nth-child(4) { border-color: rgba(255, 0, 170, 0.3); }
.values-list li:nth-child(5) { border-color: rgba(255, 215, 0, 0.3); }

.values-list li:nth-child(1) i { color: #00d4ff; filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5)); }
.values-list li:nth-child(2) i { color: #7c3aed; filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.5)); }
.values-list li:nth-child(3) i { color: #00ff88; filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5)); }
.values-list li:nth-child(4) i { color: #ff00aa; filter: drop-shadow(0 0 8px rgba(255, 0, 170, 0.5)); }
.values-list li:nth-child(5) i { color: #ffd700; filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5)); }

.values-list li:nth-child(1):hover { border-color: rgba(0, 212, 255, 0.5); box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2), 0 0 20px rgba(0, 212, 255, 0.15); }
.values-list li:nth-child(2):hover { border-color: rgba(124, 58, 237, 0.5); box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2), 0 0 20px rgba(124, 58, 237, 0.15); }
.values-list li:nth-child(3):hover { border-color: rgba(0, 255, 136, 0.5); box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2), 0 0 20px rgba(0, 255, 136, 0.15); }
.values-list li:nth-child(4):hover { border-color: rgba(255, 0, 170, 0.5); box-shadow: 0 15px 40px rgba(255, 0, 170, 0.2), 0 0 20px rgba(255, 0, 170, 0.15); }
.values-list li:nth-child(5):hover { border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.15); }

/* Impact Section */
.our-impact {
    padding: var(--spacing-3xl) 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        var(--color-bg-secondary);
    position: relative;
}

.our-impact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.our-impact h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.our-impact h2 i {
    color: #00ff88;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: var(--glass-bg);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #7c3aed, #00ff88);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.2),
        0 0 40px rgba(0, 212, 255, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover::after {
    opacity: 1;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
    position: relative;
    z-index: 1;
}

.stat-item:nth-child(1) i {
    color: #00d4ff;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

.stat-item:nth-child(2) i {
    color: #7c3aed;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.6));
}

.stat-item:nth-child(3) i {
    color: #00ff88;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
}

.stat-item h3 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 1;
}

.stat-item:nth-child(2) h3 {
    background: linear-gradient(135deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) h3 {
    background: linear-gradient(135deg, #fff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 1.0625rem;
    position: relative;
    z-index: 1;
}

/* Team Section */
.our-team {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-primary);
    position: relative;
}

.our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 170, 0.5), transparent);
}

.our-team h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.our-team h2 i {
    color: #7c3aed;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: var(--glass-bg);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #00d4ff, #ff00aa);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 
        0 20px 50px rgba(124, 58, 237, 0.2),
        0 0 40px rgba(124, 58, 237, 0.1);
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover::after {
    opacity: 1;
}

.member-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--glass-border);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.team-member:hover .member-photo {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transform: scale(1.05);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.team-member h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.team-member p {
    background: linear-gradient(135deg, #7c3aed, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
    
    .stat-item {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .stat-item i {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .mission-hero {
        min-height: 50vh;
        padding: var(--spacing-2xl) var(--spacing-md);
    }
    
    .mission-statement,
    .our-values,
    .our-impact,
    .our-team {
        padding: var(--spacing-2xl) 0;
    }
    
    .mission-statement p {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
    
    .mission-statement p::after {
        font-size: 4rem;
        top: 10px;
        left: 15px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:last-child {
        grid-column: span 2;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .values-list {
        gap: var(--spacing-sm);
    }
    
    .values-list li {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    .values-list li i {
        font-size: 1.125rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .mission-hero {
        min-height: 45vh;
        padding: var(--spacing-xl) var(--spacing-sm);
    }
    
    .mission-statement,
    .our-values,
    .our-impact,
    .our-team {
        padding: var(--spacing-xl) 0;
    }
    
    .mission-statement p {
        padding: var(--spacing-lg);
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .mission-statement p::after {
        display: none;
    }
    
    .values-list {
        flex-direction: column;
        align-items: stretch;
    }
    
    .values-list li {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item:last-child {
        grid-column: span 1;
        max-width: none;
    }
    
    .stat-item {
        padding: var(--spacing-lg);
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .team-member h3 {
        font-size: 1.125rem;
    }
    
    .team-member p {
        font-size: 0.8125rem;
    }
}
