/* ----------------------------------
  Service Section Styles
 ------------------------------------ */
 .services-1 {
     padding-bottom: 147px;

    @media (max-width: 991px) {
        padding-bottom: 100px;
    }
    
    @media (max-width: 991px) {
        padding-bottom: 100px;
    }

 }
 
 .single-service-item { 

    &.service-1 {
        margin-top: 60px;
        text-align: center;
        padding: 60px 35px;
        border-radius: 10px;
        position: relative;
        z-index: 1;
        background: #fff;

        &:hover, &.active {
            .service-bg {                
                opacity: 1;
                visibility: visible;
            }

            .icon {
                color: $theme-color;
                background-color: #fff;

                img {
                    filter: inherit;
                }
            }

            h3 {
                color: #fff;
            }

            a { 
                background: $theme-color;
                color: #fff;
                width: 60%;

                @media (max-width: 767px) {
                    width: 50%;
                }
    
                span { 
                    display: inline;              
                }
            }

        }

        .service-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            left: 0;
            top: 0;
            content: "";
            z-index: -1;
            border-radius: 10px;
            visibility: hidden;            
            transition: all .3s ease-in-out;
            overflow: hidden;

            &::before {
                position: absolute;
                width: 100%;
                height: 100%;
                opacity: .8;
                left: 0;
                top: 0;
                content: "";
                background-color: #000;
            }
        }

        .icon { 
            width: 120px;
            height: 120px;
            margin: 0px auto;
            margin-bottom: 30px;
            display: inline-block;
            border-radius: 50%;
            color: #fff;
            font-size: 48px;
            background-color: $theme-color;
            line-height: 120px;
            transition: all .3s ease-in-out;

            img {
                filter: invert(1);
            }
        }
      
        h3 { 
            font-size: 26px;
            letter-spacing: -1px;
            transition: all .3s ease-in-out;

            @media (max-width: 767px) {
                font-size: 22px;
            }
        }
      
        a { 
            display: inline;
            border-radius: 10px;
            background-color: #f6f6f6;
            padding: 19px 25px;
            line-height: 1;
            font-weight: 700;
            text-transform: capitalize;
            color: $theme-color;
            position: absolute;
            bottom: 0;
            transform: translate(-50%, 50%);

            @media (max-width: 767px) {
                padding: 18px 24px;
                font-weight: 500;
            }

            span { 
                display: none;
                margin-right: 15px;                         
            }
        }

    }

}

.our-services-wrapper {

    .grid-area {
        position: relative;
        z-index: 2;
        height: 382px;
        
        @media (min-width: 1550px) {
            max-width: 1444px !important;  
        }

        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-gap: 70px;
        text-align: center;
        margin: 0px auto;
        padding: 60px;
        box-shadow: $box-shadow;
        background: #fff;
        margin-top: -150px;

        .single-service-box {
            transition: all .5s ease-in-out;
            z-index: 1;

            .icon {
                border-radius: 50%;
                background-color: $theme-color-2;
                box-shadow: 0px 16px 32px 0px rgba(255, 94, 20, 0.2);
                width: 140px;
                height: 140px;
                line-height: 140px;
                display: inline-block;
                margin: 0 auto;
                margin-bottom: 30px;
                transition: all .5s ease-in-out;
                position: relative;

                &::before {
                    border-style: solid;
                    border-width: 4px;
                    border-radius: 50%;
                    width: 120%;
                    height: 120%;
                    border-color: $theme-color-2;
                    position: absolute;
                    content: "";
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    opacity: 0;
                    visibility: hidden;
                    transition: all .3s ease-in-out;
                }
            }

            h3 {
                font-size: 22px;
                color: $second-color;
            }

            a {
                opacity: 0;
                visibility: hidden;
                margin-top: 20px;
                transition: all .5s ease-in-out;
            }

            &:hover {
                transform: translateY(-35%);

                a {
                    opacity: 1;
                    visibility: visible;
                }

                .icon { 
                    margin-bottom: 50px;

                    &::before {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }
        }
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 40px;
    margin: 0 40px;

    @media (max-width: 1320px) {
        grid-template-columns: 1fr 1fr;
    }

    @media (max-width: 767px) {
        grid-template-columns: 1fr;
        margin: 0 30px;
    }

    @media (max-width: 500px) {
        grid-template-columns: 1fr;
        margin: 0 15px;
    }

    .single-service-box {
        position: relative;
        z-index: 0;
        height: 420px;
        overflow: hidden;

        @media (max-width: 1199px) {				  	
            height: 350px;
        }


        &::before {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            content: "";
            opacity: .85;
            background-color: $theme-color-3;
            z-index: -1;
        }

        &:hover, &.active {
            .hover-flip-content { 
                left: 0;
                opacity: 1;
                visibility: visible;
            }
        }
        
        .service-title {
            display: grid;
            align-items: center;
            justify-content: center;
            height: 100%;
            padding: 0px 30px;
            text-align: center;

            h2 { 
                color: $second-color;
            }
        }
        
        .hover-flip-content { 
            position: absolute;
            left: -200px;
            top: 0;
            width: 100%;
            height: 100%;
            content: "";
            background: #fff;
            padding: 50px;
            box-shadow: $box-shadow;
            opacity: 0;
            visibility: hidden;
            transition: all .4s ease-in-out;
            z-index: 1;
            
            @media (max-width: 1199px) {				  	
                padding: 30px;
            }
            
            .icon {
                margin-bottom: 20px;
        
                h1 { 
                    font-size: 100px;
                    line-height: 1;
                    color: #001248;
                    -webkit-text-fill-color: white; /* Will override color (regardless of order) */
                    -webkit-text-stroke-width: 1px;
                    -webkit-text-stroke-color: #001248;
                }
            }
        
            h2 { 
                font-size: 28px;
                line-height: 120%;
                margin-bottom: 20px;
            }
        
        }
    }
}

.appointment-notice-board { 

	.notice-board-banner { 
        width: 100%;
        height: 260px;
        background-color: #eee;
        background-size: cover;
        margin-bottom: 40px;
	}

	.appointment-list { 

		h2 { 
            color: #fff;
            font-size: 32px;
            margin-bottom: 10px;
		}

		.appointment-time { 
            margin-top: 20px;

			span { 
                font-weight: 600;
                color: #a1aac3;
			}

			a { 
                display: inline-block;
                padding: 0px 25px;
                font-size: 14px;
                font-weight: 600;
                line-height: 30px;
                height: 30px;
                background-color: $theme-color-3;
                color: #001248;
                -webkit-clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
                clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);

				i { 
                    margin-right: 3px;
				}
			}
		}
	}
}


.process-setps {
    overflow: hidden;

    .single-process-item { 
        overflow: hidden;
        padding-right: 80px;
        margin-top: 40px;
        display: flex;
        align-items: center;

        @media (max-width: 585px) {
            padding-right: 0;
            margin-top: 30px;
            display: block;
        }

        &:nth-child(1) {
            .setp-number { 
                margin-right: 40px;
            }
        }

        .setp-number { 
            float: left;
            margin-right: 25px;

            @media (max-width: 585px) {
                margin-right: 0;
                float: none;
                margin-bottom: 20px;
            }

            h1 { 
                font-size: 100px;
                line-height: 1;
                -webkit-text-stroke-width: 1px;
                -webkit-text-stroke-color: $theme-color;
                color: transparent;

                @media (max-width: 991px) {
                    font-size: 80px;
                }

                @media (max-width: 767px) {
                    font-size: 60px;
                }

            }
        }
    
        .content { 
            overflow: auto;
    
            h3 { 
                margin-bottom: 5px;
                margin-top: -3px;

                @media (max-width: 767px) {
                    font-size: 22px;
                }
            }
    
            p { 
    
            }
        }
    }

}

.service-gallery {
    margin-bottom: 30px;

    .single-service-photo {
        width: 100%;
        height: 450px;
        background-color: #eee;

        @media (max-width: 1199px) {
            height: 400px;
        }

        @media (max-width: 991px) {
            height: 300px;
        }

        @media (max-width: 767px) {
            height: 250px;
        }
    }
    
}

.service-details-wrapper {

    h2 {
        font-size: 32px;

        @media (max-width: 767px) {
            font-size: 28px;
        }

        @media (max-width: 500px) {
            font-size: 26px;
            line-height: 140%;
        }

    }

    .owl-theme {
        .owl-nav {
            div {
                left: 0;
                top: 50%;
                position: absolute;
                transform: translateY(-50%);
                color: $white;
                background-color: $theme-color;
                margin: 0;
                padding: 0;
                width: 60px;
                height: 60px;
                text-align: center;
                line-height: 60px;
                font-size: 20px;
                display: inline-block;
                border-radius: 0px;

                &:hover {
                    background-color: $second-color;
                    color: #fff;
                }

                &.owl-next {
                    left: auto;
                    right: 0;
                }
            }
        }

        .owl-dots { 
            position: absolute;
            left: 50%;
            bottom: 10px;
            transform: translateX(-50%);
            margin-top: 0;
            z-index: 1;
            
            .owl-dot { 
                border-width: 3px;
                border-color: transparent;
                border-style: solid;
                border-radius: 50%;
                width: 24px;
                height: 24px;
                display: inline-block;
                line-height: 24px;
                box-sizing: border-box;
                text-align: center;
                position: relative;
                margin: 0px 5px;
                transition: all .3s ease-in-out;
    
                &:hover, &.active {
                    border-color: $theme-color;
    
                    span {
                        background-color: $theme-color;
                    }
                }
        
                span { 
                    background-color: #fff;
                    margin: 0;
                    line-height: 24px;
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    left: 50%;
                    margin-left: -5px;
                    transition: all .3s ease-in-out;
                }
            }
        }
    }

    .service-details-content-wrapper {

        h1, h2, h3 , h4, h5, h6, p {
            padding-bottom: 20px;
        }
        
        img {
            margin-bottom: 20px;
        }

        blockquote, .wp-block-quote {
            background-color: $second-color;
            color: #fff;
            font-size: 26px;
            line-height: 1.4;
            font-family: $heading-font;
            font-weight: 400;
            padding: 60px;
            text-align: left;
            margin: 40px 0px;
            position: relative;
            z-index: 1;

            @media (max-width: 991px) {
                padding: 30px;
                font-size: 22px;
                line-height: 1.5;
                margin: 20px 0px;
            }
            @media (max-width: 767px) {
                padding: 30px 15px;
                font-size: 18px;
            }

            &::before {
                right: 30px;
                font-size: 110px;
                line-height: 1;
                font-family: $fa;
                position: absolute;
                content: "\f10d";
                bottom: -20px;
                color: #fff;
                z-index: -1;
                opacity: .1;
                font-weight: 900;
           }
       }
    }

    .faq-accordion {
        padding-top: 10px;

        .card {
            background-color: $theme-color;
        }
        .card-header {
            a {
                &:hover {
                    color: $white;
                }

                &::after {
                    color: $white;
                }
            }
        }
    }

}

.service-details-sidebar {
    .single-service-sidebar {
        margin-bottom: 40px;

        &:last-child {
            margin-bottom: 0;
        }

        .sidebar-title {
            margin-bottom: 20px;
    
            h3 { 
                text-transform: capitalize;
                margin-top: -7px;
            }
        }
    
        ul { 
    
            li { 
                position: relative;
    
                a { 
                    position: relative;
                    display: block;
                    background-color: $theme-color;
                    color: #000;
                    text-align: center;
                    padding: 15px 20px;
                    text-transform: capitalize;
                    font-weight: 500;
                    margin-top: 10px;

                    &:hover {
                        background-color: $second-color;
                        color: #fff;
                    }
                }
            }
        }


        .brochures-download {
            a {
                display: block;
                margin-top: 10px;
                text-align: center;
                font-weight: 500;
                text-transform: capitalize;

                i {
                    margin: 0;
                    margin-right: 10px;
                    display: inline-block;
                }

                &:first-child {
                    background-color: #000;
                    border-color: #000;
                    color: #fff;
                }

                &:last-child {
                    background-color: $second-color;
                    border-color: $second-color;
                    color: #fff;
                }
            }
        }


        .contact-us {

            .single-contact-info { 
                overflow: hidden;
                margin-bottom: 20px;
    
                &:last-child {
                    margin-bottom: 0;
                }
    
    
                .icon { 
                    float: left;
                    margin-right: 15px;
                    overflow: hidden;
                }
            
                .contact-info { 
                    overflow: hidden;
    
                    span { 
            
                    }
            
                    p { 
                        font-weight: 600;
                        color: #001248;
                        font-size: 17px;
                    }
                }
            }
        }
    }
}

.promo-service-box-wrap {
    text-align: center;
    z-index: 1;
    position: relative;

    .container {
        background-color: #fff;
        box-shadow: 0px 20px 70px 0px rgba(38, 42, 76, 0.15);
        margin-top: -120px;

        @media (max-width: 1199px) {
            margin-top: 0;
            margin-top: 100px;
        }

        @media (max-width: 767px) {
            margin-top: 0;
            margin-top: 80px;
            background: transparent;
        }
    }

    .col-12 {
        &:last-child {
            
            .single-service-box { 
                border: 0;
            }
        }
    }

    .single-service-box { 
        padding: 45px 50px;
        border-right: 1px solid rgb(231, 231, 231);
        transition: all .3s ease-in-out;
        background-color: #fff;

        @media (max-width: 1199px) {
            padding: 40px 20px;
        }

        @media (max-width: 991px) {
            border: 0;
            border-bottom: 1px solid rgb(231, 231, 231);
        }

        @media (max-width: 767px) {
            border: 0;
            border-bottom: 1px solid rgb(231, 231, 231);
        }

        &:hover {
            background-color: $second-color;
            border-color: $second-color;

            h3, a {
                color: $theme-color
            }

            p {
                color: #fff;
            }
        }

        h3 { 
            margin-bottom: 20px;
        }
    
        p { 
            margin-bottom: 20px;
        }
    
        a { 
            line-height: 1;
            font-weight: 500;

            i {
                margin-left: 5px;
            }

            &:hover {
                padding-left: 10px;
            }
        }
    }
}

.single-service-icon-box { 
    margin-top: 60px;
    padding-right: 30px;

    @media (max-width: 991px) {
        margin-top: 30px;
    }

    &:hover {
        h3 {
            color: $theme-dark;
        }
    }

	.icon { 
		font-size: 32px;
		color: $white;
		float: left;
		overflow: hidden;
		margin-right: 25px;
        display: inline-block;
        background: $theme-color;
        border-radius: 50px;
        width: 70px;
        height: 70px;
        line-height: 70px;
        text-align: center;
	}

	.contents { 
		overflow: auto;

		h3 { 
            font-size: 22px;
            margin-top: -7px;
            margin-bottom: 10px;
            transition: all .3s ease-in-out;
		}

		p { 
		
		}

        a {
            display: block;
            margin-top: 15px;
            text-transform: capitalize;

            &:hover {
                color: $theme-color;
            }

            i {
                margin-left: 10px;
            }
        }
	}
}
