/*=========================================================
    FACEBOOK WIDGET CSS START HERE
=========================================================*/

.fb-widget-wrapper{
    width: 100%;
}


/*=========================================================
    MAIN FACEBOOK WIDGET
=========================================================*/

.fb-widget{
    position: relative;

    overflow: hidden;

    border-radius: 26px;

    padding: 35px 30px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    min-height: 320px;

    box-shadow:
        0 18px 45px rgba(0,0,0,0.14);

    transition: all 0.4s ease;
}


/*=========================================================
    HOVER EFFECT
=========================================================*/

.fb-widget:hover{
    transform: translateY(-6px);

    box-shadow:
        0 28px 60px rgba(0,0,0,0.20);
}


/*=========================================================
    DARK OVERLAY
=========================================================*/

.fb-widget-overlay{
    position: relative;

    width: 100%;
    height: 100%;

    z-index: 5;

    padding: 20px;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(15,23,42,0.88),
            rgba(30,41,59,0.82)
        );

    backdrop-filter: blur(6px);
}


/*=========================================================
    ANIMATED BACKGROUND EFFECT
=========================================================*/

.fb-widget::before,
.fb-widget::after{
    content: "";

    position: absolute;

    border-radius: 50%;

    z-index: 1;
}

.fb-widget::before{
    width: 260px;
    height: 260px;

    top: -120px;
    left: -120px;

    background:
        rgba(255,255,255,0.06);

    animation: fbFloat 8s ease-in-out infinite;
}

.fb-widget::after{
    width: 320px;
    height: 320px;

    bottom: -140px;
    right: -140px;

    background:
        rgba(59,130,246,0.14);

    animation: fbFloat 10s ease-in-out infinite;
}


/*=========================================================
    TITLE AREA
=========================================================*/

.home-chairman.chairman-box{
    text-align: center;

    margin-bottom: 28px;
}


/*=========================================================
    TITLE STYLE
=========================================================*/

.home-chairman.chairman-box h3{
    position: relative;

    display: inline-block;

    margin: 0;

    color: #ffffff;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: 0.5px;

    line-height: 1.4;

    animation: fadeDown 1s ease;
}


/*=========================================================
    TITLE UNDERLINE
=========================================================*/

.home-chairman.chairman-box h3::after{
    content: "";

    display: block;
    left: 60;
    width: 70px;
    height: 4px;
    margin: 14px auto 0;
   
    border-radius: 50px;

    background:
        linear-gradient(
            to right,
            #60a5fa,
            #3b82f6,
            #93c5fd
        );

    transition: all 0.35s ease;
}

.home-chairman.chairman-box h3:hover::after{
    width: 100%;
}


/*=========================================================
    FACEBOOK EMBED AREA
=========================================================*/

.acps-panel-body{
    position: relative;

    z-index: 10;

    padding: 22px;

    border-radius: 22px;

    background:
        rgba(255,255,255,0.10);

    backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08);

    animation: fadeUp 1.2s ease;
}


/*=========================================================
    FACEBOOK PAGE BOX
=========================================================*/

.fb-page{
    width: 100% !important;

    display: flex;
    justify-content: center;

    overflow: hidden;

    border-radius: 18px;

    background: #ffffff;

    padding: 8px;
}


/*=========================================================
    FACEBOOK IFRAME
=========================================================*/

.fb-page iframe{
    width: 100% !important;

    border-radius: 14px;

    overflow: hidden;
}


/*=========================================================
    BUTTON WRAPPER
=========================================================*/

.fb-buttons{
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;

    margin-top: 28px;
}


/*=========================================================
    COMMON BUTTON STYLE
=========================================================*/

.fb-buttons .btn{
    position: relative;

    overflow: hidden;

    border: none;

    padding: 13px 26px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.4px;

    transition: all 0.35s ease;
}


/*=========================================================
    FOLLOW BUTTON
=========================================================*/

.fb-buttons .btn-primary{
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );

    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(37,99,235,0.30);
}

.fb-buttons .btn-primary:hover{
    transform: translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #2563eb
        );

    box-shadow:
        0 18px 35px rgba(37,99,235,0.40);
}


/*=========================================================
    SHARE BUTTON
=========================================================*/

.fb-buttons .btn-outline-light{
    background:
        rgba(255,255,255,0.12);

    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.25);
}

.fb-buttons .btn-outline-light:hover{
    transform: translateY(-4px);

    background: #ffffff;

    color: #0f172a;
}


/*=========================================================
    BUTTON SHINE EFFECT
=========================================================*/

.fb-buttons .btn::before{
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform: skewX(-25deg);

    transition: 0.7s ease;
}

.fb-buttons .btn:hover::before{
    left: 140%;
}


/*=========================================================
    FLOAT ANIMATION
=========================================================*/

@keyframes fbFloat{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(24px);
    }

    100%{
        transform: translateY(0px);
    }

}


/*=========================================================
    FADE DOWN ANIMATION
=========================================================*/

@keyframes fadeDown{

    from{
        opacity: 0;
        transform: translateY(-35px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    FADE UP ANIMATION
=========================================================*/

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }

}


/*=========================================================
    LARGE DESKTOP
=========================================================*/

@media (min-width: 1400px){

    .fb-widget{
        min-height: 620px;
    }

    .home-chairman.chairman-box h3{
        font-size: 42px;
    }

}


/*=========================================================
    DESKTOP
=========================================================*/

@media (max-width: 1199px){

    .fb-widget{
        padding: 30px 24px;
    }

    .home-chairman.chairman-box h3{
        font-size: 30px;
    }

}


/*=========================================================
    TABLET DEVICE
=========================================================*/

@media (max-width: 991px){

    .fb-widget{
        min-height: auto;

        padding: 26px 22px;

        border-radius: 22px;
    }

    .fb-widget-overlay{
        padding: 18px;

        border-radius: 18px;
    }

    .home-chairman.chairman-box{
        margin-bottom: 22px;
    }

    .home-chairman.chairman-box h3{
        font-size: 26px;
    }

    .acps-panel-body{
        padding: 18px;

        border-radius: 18px;
    }

}


/*=========================================================
    MOBILE DEVICE
=========================================================*/

@media (max-width: 767px){

    .fb-widget{
        padding: 22px 18px;

        border-radius: 20px;
    }

    .fb-widget::before{
        width: 180px;
        height: 180px;
    }

    .fb-widget::after{
        width: 220px;
        height: 220px;
    }

    .fb-widget-overlay{
        padding: 16px;

        border-radius: 16px;
    }

    .home-chairman.chairman-box h3{
        font-size: 22px;
    }

    .home-chairman.chairman-box h3::after{
        width: 55px;
    }

    .acps-panel-body{
        padding: 15px;
    }

    .fb-buttons{
        flex-direction: column;

        gap: 12px;
    }

    .fb-buttons .btn{
        width: 100%;
    }

}


/*=========================================================
    SMALL MOBILE DEVICE
=========================================================*/

@media (max-width: 575px){

    .fb-widget{
        padding: 18px 14px;

        border-radius: 18px;
    }

    .fb-widget-overlay{
        padding: 14px;
    }

    .home-chairman.chairman-box h3{
        font-size: 19px;
    }

    .acps-panel-body{
        padding: 12px;

        border-radius: 14px;
    }

    .fb-buttons .btn{
        padding: 12px 18px;

        font-size: 13px;
    }

}