/*=========================================
        ADVISORY BOARD SECTION
=========================================*/

.advisory-section{
    position: relative;
    padding: 60px 0;
    background: #f8fbff;
    overflow: hidden;
}

/* Background Effect */

.advisory-section::before{
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle,#1187c915 0%,transparent 70%);
}

.advisory-section::after{
    content: "";
    position: absolute;
    right: -180px;
    bottom: -180px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle,#1187c910 0%,transparent 70%);
}

.advisory-section .container{
    width: 90%;
    max-width: 1320px;
    margin: auto;
    position: relative;
    z-index: 2;
}

/*=========================================
        HEADING
=========================================*/

.advisory-heading{
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.advisory-heading h2 {
  font-size: 36px;
  margin: 10px 0;
  color: #1187c9;
  text-align: center;
}

.advisory-heading p {
  max-width: 700px;
  font-size: 17px;
  color: #6b7280;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto;
}



/*=========================================
        GRID
=========================================*/

.advisory-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    align-items: stretch;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:1200px){

.advisory-section{
    padding: 70px 0;
}

.advisory-grid{
    grid-template-columns: repeat(2,1fr);
    gap: 28px;
}

.advisory-heading h2{
    font-size: 46px;
}

.advisory-heading p{
    font-size: 17px;
}

}

@media(max-width:768px){

.advisory-section{
    padding: 60px 0;
}

.advisory-grid{
    grid-template-columns: 1fr;
    gap: 24px;
}

.advisory-heading{
    margin-bottom: 40px;
}

.title-top span{
    width: 65px;
}

.title-top h5{
    font-size: 14px;
}

.advisory-heading h2{
    font-size: 34px;
}

.advisory-heading p{
    font-size: 15px;
    line-height: 1.7;
}

}

/*=========================================
        ADVISORY CARD
=========================================*/

.advisory-card{
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 24px 20px 28px;
    text-align: center;
    overflow: hidden;
    border-top: 4px solid #1187c9;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
    transition: all .4s ease;
    max-width: 305px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.advisory-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,#1187c906,transparent);
    opacity: 0;
    transition: .4s;
}

.advisory-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(17,135,201,.18);
}

.advisory-card:hover::before{
    opacity: 1;
}

/*=========================================
        MEMBER IMAGE
=========================================*/

.member-image{
    width: 170px;
    height: 170px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.member-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.advisory-card:hover .member-image img{
    transform: scale(1.05);
}

/*=========================================
        MEMBER ICON
=========================================*/

.member-icon{
    width: 58px;
    height: 58px;
    margin: -24px auto 16px;
    background: #1187c9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 4px solid #fff;
    position: relative;
    z-index: 5;
    box-shadow: 0 6px 16px rgba(17,135,201,.30);
}

.member-icon i{
    transition: .5s;
}

.advisory-card:hover .member-icon i{
    transform: rotate(360deg);
}

/*=========================================
        NAME
=========================================*/

.advisory-card h3{
    font-size: 22px;
    color: #16233b;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 8px;
}

/*=========================================
        DESIGNATION
=========================================*/

.advisory-card h4{
    font-size: 17px;
    color: #1187c9;
    line-height: 1.5;
    font-weight: 600;
    min-height: 52px;
    margin-bottom: 16px;
}

/*=========================================
        DIVIDER
=========================================*/

.line{
    width: 70px;
    height: 2px;
    background: #ddd;
    margin: 0 auto 18px;
    position: relative;
}

.line::before{
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: #1187c9;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

/*=========================================
        DESCRIPTION
=========================================*/

.advisory-card p{
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}


/*=========================================
        RESPONSIVE
=========================================*/

/*============= Large Desktop =============*/

@media (max-width:1400px){

.advisory-grid{
    grid-template-columns:repeat(4,1fr);
    gap:28px;
}

.advisory-card{
    max-width:290px;
}

.member-image{
    width:165px;
    height:165px;
}

.advisory-card h3{
    font-size:21px;
}

.advisory-card h4{
    font-size:16px;
}

.advisory-card p{
    font-size:15px;
}

}


/*============= Laptop =============*/

@media (max-width:1200px){

.advisory-grid{
    grid-template-columns:repeat(2,1fr);
    gap:28px;
}

.advisory-card{
    max-width:330px;
    padding:22px 20px 26px;
}

.member-image{
    width:160px;
    height:160px;
}

.member-icon{
    width:56px;
    height:56px;
    font-size:20px;
    margin:-22px auto 15px;
}

.advisory-card h3{
    font-size:22px;
}

.advisory-card h4{
    font-size:16px;
    min-height:48px;
}

.advisory-card p{
    font-size:15px;
    line-height:1.75;
}

}


/*============= Tablet =============*/

@media (max-width:992px){

.advisory-grid{
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}

.advisory-card{
    max-width:320px;
}

.member-image{
    width:150px;
    height:150px;
}

.member-icon{
    width:54px;
    height:54px;
    font-size:19px;
}

.advisory-card h3{
    font-size:21px;
}

.advisory-card h4{
    font-size:15px;
}

.advisory-card p{
    font-size:14px;
}

}


/*============= Mobile =============*/

@media (max-width:768px){

.advisory-section{
    padding:60px 0;
}

.advisory-grid{
    grid-template-columns:1fr;
    gap:22px;
}

.advisory-card{
    width:100%;
    max-width:350px;
    padding:22px 18px 25px;
}

.member-image{
    width:140px;
    height:140px;
}

.member-icon{
    width:50px;
    height:50px;
    font-size:18px;
    margin:-20px auto 14px;
}

.advisory-card h3{
    font-size:20px;
    margin-bottom:8px;
}

.advisory-card h4{
    font-size:15px;
    min-height:auto;
    margin-bottom:15px;
}

.line{
    width:65px;
    margin-bottom:16px;
}

.line::before{
    width:8px;
    height:8px;
}

.advisory-card p{
    font-size:14px;
    line-height:1.7;
}

}


/*============= Small Mobile =============*/

@media (max-width:480px){

.advisory-card{
    max-width:100%;
    padding:20px 16px 24px;
}

.member-image{
    width:130px;
    height:130px;
}

.member-icon{
    width:46px;
    height:46px;
    font-size:16px;
}

.advisory-card h3{
    font-size:18px;
}

.advisory-card h4{
    font-size:14px;
}

.advisory-card p{
    font-size:13.5px;
}

}



/*=========================================
        SCROLL ANIMATION
=========================================*/

.reveal-title{

    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;

}

.reveal-title.show{

    opacity:1;
    transform:translateY(0);

}


.reveal-card{

    opacity:0;
    transform:translateY(50px);
    transition:all .7s ease;

}

.reveal-card.show{

    opacity:1;
    transform:translateY(0);

}
