/*-----------eqdmedia section-----------*/
/********************************************************/
body {
    font-family: prompt;
    margin: 0;
    padding: 0;
    background-image: url('../img/committee_img/bg.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}



/*-----------footer secion-----------*/
/********************************************************/

#footer {
    color: #ffff;
    background-color: #034c96;
}

.Hfooter {
    color: #FFF;
    font-size: 18px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.Hfooter li a {
    color: #EDEDED;
    font-size: 16px;
}

.footer-box {
    color: #FFF;
    padding: 20px;
    text-align: center;
}

.footer-box .fa {
    margin-right: 8px;
    font-size: 25px;
    height: 20px;
}

hr {
    background-color: #ffff;
}

.copyright {
    color: #ffff;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 20px;
}

/* CARD PROFILE BY MOS */
.container-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10 px;
    animation: fadeIn 1.5s ease-in-out;
}

.text-center {
    animation: fadeIn 1.5s ease-in-out;
}

.card-profile {
    width: 300px;
	height: 370px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.628);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 10px;
}

.card-profile2 {
    width: 300px;
	height: 340px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.628);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 10px;
}

.container-profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 18px;
    transition: transform 0.3s ease;
}

.card-profile:hover img {
    transform: scale(1.1);
}
.card-profile2:hover img {
    transform: scale(1.1);
}

.container-profile h6 {
    margin-bottom: 10px;
    font-weight: bold;
}

.container-profile .namelong {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 12.5px;
}

.container-profile .namelong2 {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14.3px;
}

.container-profile .position {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.container-profile .position2 {
    font-size: 16px;
    color: #7c7b7b;
    margin-bottom: 10px;
}

.card-profile .position3 {
    font-size: 14px;
    color: #7c7b7b;
    margin-bottom: 10px;
}

.container-profile .fa-phone  {
   color: rgb(0, 0, 0) !important;
}

.container-profile .number {
    font-size: 14px;
    color: #333;
    margin-bottom: 1px;
}

.container-profile .email {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}






@media (min-width: 375px) and (max-width: 819px) {
    .card-profile {
        width: 70%;
    }

    .card-profile2 {
        width: 70%;
    }
	
	.navbar .eqd-logo {
		height: 35px;
	}

    .text-center {
        font-size: 17px;
    }
}
@media (min-width: 820px) and (max-width: 1023px) {
    .card-profile {
        width: 35%;
    }
	.card-profile2 {
        width: 35%;
    }
	.navbar .eqd-logo {
		height: 40px;
	}

    .text-center {
        font-size: 17px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-profile,
.card-profile2 {
    opacity: 0; /* ซ่อนก่อนแสดง */
    transform: translateY(40px);
    transition: all 0.5s ease-out;
}

.card-profile.show,
.card-profile2.show {
    animation: popUp 0.6s ease-out forwards;
}


/*-----------footer secion-----------*/
/********************************************************/

#footer {
    color: #ffff;
    background-color: #034c96;
}

.Hfooter {
    color: #FFF;
    font-size: 18px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.Hfooter li a {
    color: #EDEDED;
    font-size: 16px;
}

.footer-box {
    color: #FFF;
    padding: 20px;
    text-align: center;
}

.footer-box .fa {
    margin-right: 8px;
    font-size: 25px;
    height: 20px;
}

hr {
    background-color: #ffff;
}

.copyright {
    color: #ffff;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 20px;
}