/* ========= ACHIVEMENTS======= */
.about__achievements {
    margin-top: 3rem;
}

.about__achievements-container {
    display: grid;
    grid-template-columns:  40% 60%;
    gap: 5rem;
}

.about__achievements-right p {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about__achievements-right > p {
    margin-top: 1.6rem 0 2.5rem;

}

.achivements__cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.achivements__card {
    background: var(--color-bg1);
    padding: 1.6rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
}

.achivements__card:hover {
    background: var(--color-bg2);
    box-shadow: 0 3rem 3rem rgba(0,0,0,0.3);
}

.achivements__icon {
    background: var(--color-danger);
    padding: 0.6rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.achivements__card:nth-child(2) 
.achivements__icon {
    background: var(--color-success);

}

.achivements__card:nth-child(3) 
.achivements__icon {
    background: var(--color-primary);

}

.achivements__card p {
    margin-top: 1rem;
}

/* <!-- ========================== TEAM MEMBER ========================--> */

.team {
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0,0,0,0.5);
}

.team__container {
    display: grid;
    grid-template-columns: repeat(4 ,1fr); 
    gap: 2rem;
}

.team__member {
    background: var(--color-bg2);
    padding: 2rem;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team__member:hover {
    background: transparent;
    border-color: var(--color-primary);
}

.team__member-image img{
    filter: saturate(0);
}

.team__member:hover img {
    filter: saturate(1);
}

.team__member-info * {
    text-align: center;
    margin-top: 1.4rem;
}

.team__member-info p {
    color: var(--color-light);
}

.team__member-socials {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -100%;
    display: flex;
    flex-direction: column;
    background: var(--color-primary);
    border-radius: 1rem 0 0 1rem;
    box-shadow: -2rem 0 2rem rgba(0,0,0,0.3);
    transition: var(--transition);

}

.team__member:hover .team__member-socials {
    right: 0;

}

.team__member-socials a {
    padding: 1rem;
}

/* <!-- ================= MEDIA QUERIES (TABLETS) =======================-->*/

@media  screen and (max-width:1024px) {
 
    .about__achievements {
        margin-top: 2rem;
    }
    
    .about__achievements-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    } 

    .about__achievements-left{
        width: 80%;
        margin: auto;
    }

    .team__container {
        grid-template-columns: repeat(3,1fr);
        gap: 1.5rem;
    }

    .team__member {
        padding: 1rem;
    }

}


/* <!-- ================= MEDIA QUERIES (PHONES) =======================-->*/

@media  screen and (max-width:600Px) {
 
    .achivements__card{
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .team__container {
        grid-template-columns:1fr 1fr ;
        gap: 0.7rem;
    }

    .team__member {
        padding: 0;
    }

    .team__member p {
        margin-bottom: 1.5rem;
    }

}



/* Reset */



/* About Section */
.about-section {
  padding: 6rem 1rem;
  background: #f4f9fd;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #004080;
  margin-bottom: 1rem;
  font-weight: bold;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #555;
}

.highlight-box {
  background: #e0efff;
  padding: 2rem;
  border-left: 6px solid #0073e6;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.highlight-box h3 {
  font-size: 1.8rem;
  color: #005cbf;
  margin-bottom: 1rem;
}

.highlight-box h5{
    color: #005cbf;
}

.highlight-box h3.m-0{
    margin-bottom: 0 !important;
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.info-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  flex: 1 1 calc(50% - 1rem);
  transition: transform 0.3s ease;
}

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

.info-card h4 {
  color: #003366;
  margin-bottom: 0.75rem;
}

.facility-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #004080;
}

.facility-section ul {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
}

.facility-section li {
  background: #ffffff;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .info-grid {
    flex-direction: column;
  }

  .info-card {
    flex: 1 1 100%;
  }

  .highlight-box {
    text-align: center;
  }
}


.images{
    padding: 10px 5px;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}


.images img {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    object-position: top;
}
.text-align-center{
    text-align: center;
    margin: 10px 5px;
}


@media (max-width: 600px) {
    .images {
        display: block;
    }

    .images img {
        margin: 20px auto;
        height: 500px;
        width: 100%;
    }

    .text-align-center{
        font-size: 24px !important;
    } 
}

