/* 
   CONFIDENTIAL AND PROPRIETARY

   This software and its source code are the property of Exodus Software Development Team.
   Unauthorized use, copying, or distribution is strictly prohibited.

   Team Members:
   Fuertez
   Bundalian
   Arevalo
   De Vera
   De Jesus
   Orendain 
*/


.about-hero-section {
    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    background-image: url('../res/about_hero_bg.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1600px;
    height: 450px;
    margin: auto;
    transition: background-image 1.5s ease-in-out, opacity 1.5s ease-in-out;
}



.about-hero-section.fade-in {
    opacity: 1;
}


.about-hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out forwards;

}

.about-hero-section h1 .highlight {
    color: yellow;
}

.about-hero-section p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease-out forwards;
}



.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-left: 60px;
    margin-right: 60px;

}

.section-title hr {
    flex-grow: 1;
    border: 3px solid #007bff !important;
    margin: 0;
}

.section-title h2 {
    white-space: nowrap;
    font-size: 1.5em;
    text-align: center;
    color: #007bff;
    font-size: 30px !important;
}


#educational-programs {
    position: relative;
    top: -25px;
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
    border-radius: 15px;
    max-width: 1200px;
    margin: 0 auto;
    
}

.education-programs-sub {
    margin-left: 70px;
    margin-right: 70px;
}

#educational-programs::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F4F6FF;
    border-radius: 15px;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    z-index: -1;
}

#educational-programs h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: #007bff;

}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    gap: 20px;
}

.profile-card {
    background: #F4F6FF;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    flex: 0 0 calc(33.333% - 20px);  
    max-height: 400px;
    width: 400px;
    transition: transform 0.3s ease;
}


.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card img {
    height: 150px;
    width: 150px;
    margin: 0 auto;
    display: block;
}


.profile-card h3 {
    font-size: 1.2rem;;
    margin: 10px;
}

.profile-card h5{
    color: #007bff;
    margin-bottom: 10px;
}

.profile-card p {
    font-size: 0.9rem;
    color: #555;
}

.profile-card .avatar-container {
    display: block; 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    border: 6px solid #007bff; 
    overflow: hidden; 
    margin: 0 auto 15px auto; 
}

.profile-card .avatar-container img {
    width: 100%; 
    height: 100%;
    object-fit: cover; 
    border-radius: 50%; 
}

#about-us h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    color: #007bff;
}



.meet-our-team{
    background-color: #F4F6FF;
}

#team-section{
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.meet-our-team .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
}

.meet-our-team .text-content{
    flex: 1 1 500px;
    text-align: justify;
    padding: 20px;
}

.meet-our-team hr {
    color: #555;
    width: 4rem;
    height: 3px;
    border: none;
    background-color: #007bff;
}
.meet-our-team h3 .highlight {
    color: #007bff !important;
}

.meet-our-team .text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.meet-our-team .text-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.8;
}


#about-us {
    padding: 50px 0;
    background-color: #F4F6FF;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
}

#about-us .content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
    margin-right: 40px;
}
.about-cards {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.about-card {
    background: #F4F6FF;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    max-width: 1100px;
    width: 80%;
    display: flex;
    gap: 20px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    color: #007bff; 
    align-self: center;
    margin-right: 20px; 
}


.about-text {
    max-width: 600px;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 1rem;
    color: #555;
}


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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 768px) {

    .about-card {
        flex-direction: column;
        text-align: center;
    }

    .about-card img {
        margin: 0 auto 15px auto;
        display: block;
    }


    .profile-container {
        flex-direction: column;
        gap: 15px;
    }

    .profile-card {
        max-width: 90%;
        margin: 0 auto;
    }

    .about-hero-section h1 {
        font-size: 2rem;
    }

}