/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%), url('../images/about-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 150px 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(62, 228, 40, 0.3);
    animation: fadeInDown 1s ease;
}

.about-hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    animation: fadeIn 1s ease 0.6s both;
}

.cta-button {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:first-child {
    background: #fff;
    color: #2c3e50;
    border: 2px solid #fff;
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-content {
    padding: 80px 0;
    background: #fff;
}

.about-card {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

.about-card.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.about-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.rounded-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.about-image:hover .rounded-image {
    transform: scale(1.05);
}

.about-content h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin: 0 0 25px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.about-content h2 i {
    margin-right: 15px;
    color: #3498db;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 4px;
}

.about-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.mission-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.mission-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #3498db;
    font-size: 1.1rem;
}

.expertise {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.expertise-item {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.expertise-item i {
    color: #3498db;
    font-size: 1.2rem;
}

.expertise-item:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.2);
}

.expertise-item:hover i {
    color: white;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAyKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    border-radius: 4px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.team-member {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #f8f9fa;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 1;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    z-index: 2;
    border-radius: 0 0 15px 15px;
    transition: all 0.4s ease;
}

.member-info h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.member-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #3498db;
}

.position {
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    color: #3498db;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.social-icon:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animation for team cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design - Team Section */
@media (max-width: 992px) {
    .team-card {
        flex-direction: column;
        max-width: 500px;
    }
    
    .team-img {
        flex: 0 0 250px;
        width: 100%;
    }
    
    .team-content {
        padding: 30px;
    }
    
    /* About Hero Adjustments */
    .about-hero {
        padding: 120px 20px 80px;
        margin-top: 60px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .about-hero .tagline {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 10px 20px;
    }

    .about-card {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-card.reverse {
        flex-direction: column;
    }

    .about-text, 
    .about-image {
        width: 100%;
        padding: 0;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .mission-list li {
        padding-left: 35px;
    }

    .expertise {
        justify-content: center;
    }

    .expertise-item {
        flex: 1 1 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }
    .about-hero {
        padding: 80px 20px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .about-hero .tagline {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 10px 20px;
    }

    .about-card {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .about-card.reverse {
        flex-direction: column;
    }

    .about-text, 
    .about-image {
        width: 100%;
        padding: 0;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .mission-list li {
        padding-left: 35px;
    }

    .expertise {
        justify-content: center;
    }

    .expertise-item {
        flex: 1 1 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .about-hero {
        padding: 100px 15px 40px;
        margin-top: 0;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero .tagline {
        font-size: 1rem;
    }

    .about-content h2 {
        font-size: 1.75rem;
    }

    .about-content h2 i {
        margin-right: 10px;
    }

    .mission-list li {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .about-card {
        margin-bottom: 50px;
    }
}
