/* About Page CSS for Examinex */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Body Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background: var(--light-bg);
    line-height: 1.7;
    font-weight: 400; 
    overflow-x: hidden; 
}

/* Hero Section */
.hero {
    background: var(--gradient), url('assets/images/others/about-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(30,64,175,0.45);
    z-index: 1;
}

.hero > .container { 
    position: relative; 
    z-index: 2; 
}

.hero-title { 
    font-size: 2.5rem; 
    font-weight: 700; 
    line-height: 1.2; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.08); 
}

.hero-sub { 
    font-size: 1.2rem; 
    font-weight: 400; 
    opacity: 0.97; 
    margin-bottom: 2rem; 
}

/* About Section */
.about-summary { 
    font-size: 1.15rem; 
    font-weight: 500; 
    color: var(--primary-color); 
    margin-bottom: 2rem; 
}

.about-section { 
    padding: 60px 0; 
}

.feature-list { 
    list-style: none; 
    padding: 0; 
}

.feature-list li { 
    margin-bottom: 1.2rem; 
    font-size: 1.05rem; 
    display: flex; 
    align-items: center; 
}

.feature-list i { 
    color: var(--primary-color); 
    font-size: 1.3rem; 
    margin-right: 0.7rem; 
}

.mission-vision-card { 
    background: #fff; 
    border-radius: 10px; 
    box-shadow: var(--shadow); 
    padding: 2rem 1.5rem; 
    text-align: center; 
    margin-bottom: 1.5rem; 
}

.mission-vision-card i { 
    font-size: 2.2rem; 
    color: var(--primary-color); 
    margin-bottom: 0.7rem; 
}

/* Founder Card */
.founder-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(30,64,175,0.08);
    padding: 2.5rem 2rem;
    max-width: 80%;
    margin: 0 auto 60px auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.founder-photo {
    width: 250px;
    height: 250px;
    border-radius: 20%;
    object-fit: cover;
    border: 5px solid #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
    background: #f3f4f6;
    margin: 0 auto;
    display: block;
}

.founder-info {
    flex: 1 1 300px;
    min-width: 250px;
}

.founder-info h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.founder-info h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.founder-info p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1.5rem;
}

.founder-socials a {
    font-size: 1.5rem;
    margin-right: 18px;
    color: #2563eb;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.founder-socials a:hover {
    color: #1e40af;
    transform: translateY(-2px) scale(1.15);
}

/* CTA Section */
.cta-section { 
    background: var(--gradient); 
    color: #fff; 
    padding: 50px 0; 
    text-align: center; 
}

.cta-section .btn { 
    font-size: 1.1rem; 
    padding: 0.8rem 2.2rem; 
    border-radius: 8px; 
    font-weight: 500; 
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title { 
        font-size: 2.2rem; 
    }
    .hero { 
        padding: 90px 0 60px; 
    }
}

@media (max-width: 767.98px) {
    .hero-title { 
        font-size: 2rem; 
    }
    .hero-sub { 
        font-size: 1.1rem; 
    }
    .about-section, .team-section { 
        padding: 40px 0; 
    }
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .founder-photo {
        width: 200px;
        height: 200px;
    }
}

/* Animation Classes */
.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 0.6s ease, transform 0.6s ease; 
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
} 