/* About Page Specific Styles */

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.about-hero::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-stats {
    margin-top: 40px;
}

.stat-item {
    padding: 20px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* Section Titles */
.section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Mission Section */
.mission-section {
    background: #f8f9fa;
}

.mission-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
}

.mission-icon i {
    color: white;
    font-size: 2rem;
}

.mission-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.mission-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    padding: 30px 20px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
}

.team-avatar i {
    color: white;
    font-size: 3rem;
}

.team-info h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.team-affiliation {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-bio {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.team-expertise .badge {
    font-size: 0.75rem;
    padding: 5px 10px;
}

/* Values Section */
.values-section {
    background: white;
}

.value-card {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    color: white;
    font-size: 1.5rem;
}

.value-card h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: #f8f9fa;
}

.contact-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.contact-item h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-item p {
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* AdSense Styles */
.ad-banner {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    min-height: 90px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding: 100px 0 60px;
        margin-top: 76px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats .row {
        margin-top: 30px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .mission-card,
    .team-card,
    .value-card,
    .contact-item {
        margin-bottom: 20px;
    }
    
    .team-avatar {
        width: 80px;
        height: 80px;
    }
    
    .team-avatar i {
        font-size: 2.5rem;
    }
    
    .mission-icon {
        width: 60px;
        height: 60px;
    }
    
    .mission-icon i {
        font-size: 1.5rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mission-card,
    .team-card,
    .value-card,
    .contact-item {
        padding: 20px 15px;
    }
    
    .team-bio {
        font-size: 0.85rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
    }
    
    .hero-stats .row > div {
        margin-bottom: 15px;
    }
}

/* Print Styles */
@media print {
    .ad-banner {
        display: none;
    }
    
    .about-hero {
        background: white !important;
        color: black !important;
        min-height: auto;
    }
    
    .mission-card,
    .team-card,
    .value-card,
    .contact-item {
        break-inside: avoid;
        margin-bottom: 20px;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 1000;
    padding: 8px 16px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for keyboard navigation */
.mission-card:focus,
.team-card:focus,
.value-card:focus,
.contact-item:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mission-section,
    .team-section,
    .contact-section {
        background: #343a40;
    }
    
    .mission-card,
    .team-card,
    .value-card,
    .contact-item {
        background: #495057;
        border-color: #6c757d;
        color: #e9ecef;
    }
    
    .mission-card h4,
    .team-info h4,
    .value-card h5,
    .contact-item h5 {
        color: #e9ecef;
    }
    
    .mission-card p,
    .team-bio,
    .team-affiliation,
    .value-card p,
    .contact-item p {
        color: #adb5bd;
    }
    
    .team-role {
        color: #667eea;
    }
    
    .values-section {
        background: #343a40;
    }
    
    .value-card {
        background: #495057;
    }
    
    .ad-banner {
        background: #343a40;
        border-color: #6c757d;
    }
    
    .section-title {
        color: #e9ecef;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover Effects */
.mission-card:hover .mission-icon,
.team-card:hover .team-avatar,
.value-card:hover .value-icon {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Enhanced Typography */
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}
