/*
 ****************** Button styles **************
 */

.btn {
    position: relative;
    display: inline-block;
    width: auto; height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin: 0px;
    min-width: 150px;
    padding: 5px;
    text-align: center;

    span {
        position: relative;
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        top: 0; left: 0;
        width: 100%;
        padding: 8px 15px;
        transition: 0.3s;
        color: rgb(255, 255, 255);
        background: linear-gradient(45deg, #ffac53, #de4908);;
    }
    
    &::before,
    &::after {
        background: transparent;
        z-index: 2;
        width: 10%; height: 25%;
        transition: 0.35s;
        position: absolute;
        content: "";
    }

    &::before {
        top: 0; left: 0;
        border-left: 1px solid #de4908;
        border-top: 1px solid #de4908;
    }

    &::after {
        bottom: 0; right: 0;
        border-right: 1px solid #de4908;
        border-bottom: 1px solid #de4908;
    }

    &:hover::before,
    &:hover::after {
        width: 99%;
        height: 90%;
    }

}
/*
 ****************** Button styles end **************
 */

h3.section-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
}

.banner-container {
    position: relative;

    div {
        position: absolute;
        bottom: 15%;
        z-index: 1000;
        left: 5%;

        a {
            margin: 0 10px;
        }
    }
}

.key-properties-container {
    background-image: url('../../images/elegant_white_bg.jpg');
    padding: 60px 0;

    .design-above {
        margin-top: -8px;
    }

    .design-below {
        margin-bottom: -20px;
    }

    .box {
        background: #fff;
        padding: 40px 30px 30px;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        position: relative;
        margin-top: 45px;
        display: flex;
        justify-content: center;

        .icon-wrapper {
            width: 100px;
            height: 100px;
            background: #fff;
            border-radius: 50%;
            border: 3px solid;
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: -55px;
        }

        p {
            margin-top: 30px;
            font-size: 18px;
            font-weight: 600;
            line-height: 30px;
            margin-bottom: 0;
        }
    }

    
}

#logo img {
    height: 72px;
}

.members-bg {
    background: url(../../images/members_bg.png);
    padding-top: 150px;
    padding-bottom: 60px;
    margin-top: -105px;
    z-index: 100;
    position: relative;

    .message-heading {
        color: white;
        font-size: 34px;
    }

    .message {
        margin-bottom: 0;
        color: white;
        font-size: 22px;
        line-height: 35px;
    }

    .main-member-container {
        width: 100%;
        height: auto;
        background: #fff;
        transform: skew(-14deg);
        border-top-left-radius: 45px;
        border-bottom-left-radius: 45px;
        margin-right: -5%;

        &.right-side {
            border-radius: 0;
            transform: skew(14deg);
            border-top-right-radius: 45px;
            border-bottom-right-radius: 45px;
            margin-left: -15%;
            flex: 0 0 60%;
            margin-right: 8%;

            .content-container {
                transform: skew(-14deg);
                display: flex;
                flex-direction: column;
                align-items: center;
                padding-top: 30px;
            }
        }

        .content-container {
            transform: skew(14deg);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 30px;

            img {
                width: 120px;
                border-radius: 8px;
            }

            .member-name {
                font-size: 22px;
                font-weight: 600;
                margin-top: 15px;
            }
        }

        .main-member-details {

            .detail_1 {
                font-weight: 600;
                font-size: 16px;
                margin: 5px 0;
            }

            .detail_2 {
                font-size: 16px;
                font-weight: 600;
                margin-bottom: 20px;
            }

        }
    }
}

.footer-links a {
    color: #fff;

    &:hover {
        color: #66676b;
    }
}

.page-wrapper {
    background-image: url('../../images/elegant_white_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}


/* ****************** Responsive styles **************
 */
@media (max-width: 450px) {
    iframe,
    .footer-flex-container > div:last-child {
        width: 100% !important;
    }

    .footer-flex-container {
        flex-direction: column;
        align-items: center;
    }

    #footer h3 {
        margin-top: 10px;
    }

    .footer-middle-section {
        padding-top: 15px;
    }

    .address-field-1 {
        margin-top: 5px;
    }

    .address-field-3 {
        margin-bottom: 20px !important;
    }

    .key-properties-container {
        .box {
            margin-bottom: 50px;
        }

        .key-properties-middle {
            margin-bottom: 0 !important
        }
    }

    .members-bg {
        .about-minister-wrapper {
            flex-direction: column;
            align-items: center;
            margin-left: 0;
            margin-right: 0;

            > div:first-child {
                width: 100%;
                text-align: center;
                margin-right: 0 !important;
                padding: 0 15px;
            }
        }

        .about-eo-wrapper {
            flex-direction: column-reverse;
            margin-top: 50px;
            margin-left: 0;

            > div:last-child {
                margin-right: 0 !important;
                text-align: center;
                padding: 0 15px;
            }
        }

        .message-heading {
            font-size: 28px;
        }

        .message {
            font-size: 20px;
            line-height: 30px;
            margin-bottom: 20px;
        }

        .main-member-container {
            transform: skew(0deg);
            margin-right: 0;
            border-radius: 0;

            .content-container {
                transform: skew(0deg);
            }

            &.right-side {
                margin-left: 0;
                margin-right: 0;
                border-radius: 0;
                transform: skew(0deg);

                .content-container {
                    transform: skew(0deg);
                }
            }
        }
    }

    .banner-container img {
        height: 300px;
    }

    .btn span {
        font-size: 14px;
        padding: 6px 10px;
    }

    .left-side {

        #logo {
            margin-right: 0;
            padding-right: 0;

            .logo-title {
                font-size: 16px;
                width: 55%;
                line-height: 20px;
            }
        }
    }
}

@media (max-width: 400px) {
    header.fullwidth .container {
        padding: 0 5px;
    }

    #header {
        .right-side {
            right: 5px;
        }
    }
}

@media (max-width: 320px) {
    
    .left-side {

        #logo {

            .logo-title {
                font-size: 14px;
                width: 40%;
                line-height: 20px;
            }
        }
    }

    .btn span {
        font-size: 12px;
        padding: 4px;
    }
}