﻿/* About Us Section
--------------------------------*/
#about {
    background: url("../img/about-bg.jpg") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
}

    #about::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.92);
        z-index: 9;
    }

    #about .container {
        position: relative;
        z-index: 10;
    }

    #about .about-col {
        background: #fff;
        border-radius: 0 0 4px 4px;
        box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
    }

        #about .about-col .img {
            position: relative;
        }

            #about .about-col .img img {
                border-radius: 4px 4px 0 0;
            }

        #about .about-col .icon {
            width: 64px;
            height: 64px;
            padding-top: 8px;
            text-align: center;
            position: absolute;
            background-color: #18d26e;
            border-radius: 50%;
            text-align: center;
            border: 4px solid #fff;
            left: calc( 50% - 32px);
            bottom: -30px;
            transition: 0.3s;
        }

        #about .about-col i {
            font-size: 36px;
            line-height: 1;
            color: #fff;
            transition: 0.3s;
        }

        #about .about-col:hover .icon {
            background-color: #fff;
        }

        #about .about-col:hover i {
            color: #18d26e;
        }

        #about .about-col h2 {
            color: #000;
            text-align: center;
            font-weight: 700;
            font-size: 20px;
            padding: 0;
            margin: 40px 0 12px 0;
        }

            #about .about-col h2 a {
                color: #000;
            }

                #about .about-col h2 a:hover {
                    color: #18d26e;
                }

        #about .about-col p {
            font-size: 14px;
            line-height: 24px;
            color: #333;
            margin-bottom: 0;
            padding: 0 20px 20px 20px;
        }
/****************services*******************/
.serviceBox {
    font-family: 'Kanit', sans-serif;
    text-align: center;
    padding: 0 15px 15px;
    margin: 0 -15px;
    position: relative;
    z-index: 1;
}

    .serviceBox:before,
    .serviceBox:after {
        content: "";
        width: 100%;
        border: 8px solid #3DACA5;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        position: absolute;
        top: 105px;
        left: 0;
        z-index: -1;
    }

    .serviceBox:after {
        background: #3DACA5;
        width: 40px;
        height: 25px;
        border: none;
        box-shadow: none;
        transform: translateX(-50%) rotateY(270deg);
        top: 135px;
        left: 50%;
        -webkit-clip-path: polygon(0 0, 50% 100%, 100% 0);
        clip-path: polygon(0 0, 50% 100%, 100% 0);
        transition: all 0.3s;
    }

    .serviceBox:hover:after {
        transform: translateX(-50%) rotateY(0);
    }

    .serviceBox .service-icon {
        color: #3DACA5;
        font-size: 45px;
        line-height: 88px;
        width: 120px;
        height: 120px;
        margin: 0 auto 50px;
        border: 15px solid #3DACA5;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset,-3px -3px 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease 0s;
    }

        .serviceBox .service-icon i.fa {
            transform: rotateY(0deg);
            transition: all 0.3s ease 0s;
        }

    .serviceBox:hover .service-icon i.fa {
        transform: rotateY(360deg);
    }

    .serviceBox .title {
        color: #3DACA5;
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 0 0 10px;
    }

    .serviceBox .description {
        color: #9f9f9f;
        font-size: 15px;
        line-height: 25px;
    }

    .serviceBox.yellow:before {
        border-color: #f7ba11;
    }

    .serviceBox.yellow:after {
        background-color: #f7ba11;
    }

    .serviceBox.yellow .service-icon {
        color: #f7ba11;
        border-color: #f7ba11;
    }

    .serviceBox.yellow .title {
        color: #f7ba11;
    }

    .serviceBox.magenta:before {
        border-color: #E53758;
    }

    .serviceBox.magenta:after {
        background-color: #E53758;
    }

    .serviceBox.magenta .service-icon {
        color: #E53758;
        border-color: #E53758;
    }

    .serviceBox.magenta .title {
        color: #E53758;
    }

    .serviceBox.gray:before {
        border-color: #50798F;
    }

    .serviceBox.gray:after {
        background-color: #50798F;
    }

    .serviceBox.gray .service-icon {
        color: #50798F;
        border-color: #50798F;
    }

    .serviceBox.gray .title {
        color: #50798F;
    }

@media only screen and (max-width:990px) {
    .serviceBox {
        margin: 0 -15px 40px;
    }
}

@media only screen and (max-width:767px) {
    .serviceBox {
        margin: 0 0 40px;
    }
}
/* Team Section
--------------------------------*/
#team {
    background: #fff;
    padding: 60px 0;
}

    #team .member {
        text-align: center;
        margin-bottom: 20px;
        background: #000;
        position: relative;
    }

        #team .member .member-info {
            opacity: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            bottom: 0;
            top: 0;
            left: 0;
            right: 0;
            transition: 0.2s;
        }

        #team .member .member-info-content {
            margin-top: -50px;
            transition: margin 0.2s;
        }

        #team .member:hover .member-info {
            background: rgba(0, 0, 0, 0.7);
            opacity: 1;
            transition: 0.4s;
        }

        #team .member:hover .member-info-content {
            margin-top: 0;
            transition: margin 0.4s;
        }

        #team .member h4 {
            font-weight: 700;
            margin-bottom: 2px;
            font-size: 18px;
            color: #fff;
        }

        #team .member span {
            font-style: italic;
            display: block;
            font-size: 13px;
            color: #fff;
        }

        #team .member .social {
            margin-top: 15px;
        }

            #team .member .social a {
                transition: none;
                color: #fff;
            }

                #team .member .social a:hover {
                    color: #18d26e;
                }

            #team .member .social i {
                font-size: 18px;
                margin: 0 2px;
            }
            /*********testimonail******/
/*--------------------------------------------------------------
call to action
--------------------------------------------------------------*/
#call-to-action {
    background: linear-gradient(rgba(0, 142, 99, 0.1), rgba(0, 0, 0, 0.1)), url(../img/call-to-action-bg.png) fixed center center;
    background-size: cover;
    padding: 60px 0;
}
/****************************defult style********/
.section-header p {
    text-align: center;
    padding-bottom: 30px;
    color: #333;
}

#about .about-col .icon {
    width: 64px;
    height: 64px;
    padding-top: 8px;
    text-align: center;
    position: absolute;
    background-color: #ca3324;
    border-radius: 50%;
    text-align: center;
    border: 4px solid #fff;
    left: calc( 50% - 32px);
    bottom: -30px;
    transition: 0.3s;
}

#call-to-action h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

#call-to-action .cta-btn {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 25px;
    transition: 0.5s;
    margin-top: 10px;
    border: 2px solid #fff;
    color: #fff;
}

#call-to-action p {
    color: #fff;
}

.suscribe-area {
    background-image: linear-gradient(to right,rgba(212,51,93, 0.9),rgba(255,86,39,0.9));
    padding: 30px 0;
}

.suscribe-text {
    display: block;
    padding: 10px 0;
}

    .suscribe-text h3 {
        color: #fff;
        display: inline-block;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.sus-btn {
    background: #fff none repeat scroll 0 0;
    border: 2px solid #fff;
    color: #ca3324;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin-left: 100px;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
}