:root {
    --background-color: #111;
    --primary-text-color: #ffffff;
    --secondary-text-color: #a9a9a9;
    --accent-color: #4285f4;
    --form-background: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Override base canvas positioning for vision page */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Main content adjustments for vision page */
.main-content {
    min-height: 100vh;
    display: block !important; /* Override base.css flex display */
    align-items: unset !important;
    justify-content: unset !important;
    padding-top: 100px; /* Account for fixed navbar */
    padding-bottom: 100px; /* Space for footer */
    position: relative;
    z-index: 10;
}

.container-vision {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

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

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

/* Gradient text animation from base.css */
@keyframes textGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-text {
    background: linear-gradient(45deg, #fbbc05, #34a853, #00d4ff, #4285f4, #9c27b0, #ea4335);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 6s ease-in-out infinite;
}

/* Vision Content Section Styles */
.vision-section {
    margin-bottom: 3rem;
    text-align: left;
    background-color: var(--form-background);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.vision-section:nth-of-type(1) { animation-delay: 0.1s; }
.vision-section:nth-of-type(2) { animation-delay: 0.2s; }
.vision-section:nth-of-type(3) { animation-delay: 0.3s; }
.vision-section:nth-of-type(4) { animation-delay: 0.4s; }

.vision-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.vision-section p {
    color: var(--secondary-text-color);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.vision-section p:last-child {
    margin-bottom: 0;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: block;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.team-member h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.team-member span {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
    display: block;
    margin-bottom: 0.75rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin: 0;
    font-weight: 400;
}

/* Footer override for vision page */
.custom-footer {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-top: 3rem;
    padding: 2rem 0;
    width: 100%;
    text-align: center;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
}

/* Adjust main content padding since footer is no longer fixed */
.main-content {
    padding-bottom: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding-top: 80px;
        padding-bottom: 0;
    }
    
    .vision-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .vision-section h3 {
        font-size: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
        padding-bottom: 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .vision-section {
        padding: 1.5rem 1rem;
    }
    
    .vision-section h3 {
        font-size: 1.3rem;
    }
    
    .vision-section p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-photo {
        width: 90px;
        height: 90px;
    }
}