@charset "utf-8";
/*----------
* theme: 
* Author: ANTS Creation
* Url : https://www.ants.lk/
----------------------------
* main css file
----------------------------------*/

/*--
Section slider
----------------------------------*/

.slider-section{
    position: relative;
}
.slider-inner{
    max-height:650px;
    overflow: hidden;
}
.carousel-item img{
    width:100%;
}

.slider-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.2);
}

.main-slider .carousel-control-next, 
.main-slider .carousel-control-prev {
    width: 80px;
    height: 80px;
    border-radius: 0;
    opacity: 1;
    top: auto;
    bottom: 0;
    margin: auto;
    background-color: var(--main-1);
    color: var(--white);
    font-size: 2rem;
}

.main-slider .carousel-control-prev {
    right: 101px;
    left: auto;
}

.main-slider .carousel-control-next {
    right: 20px;
}

.text-box {
	position: absolute;
	top: 48%;
	left: 8%;
	color: #fff;
	transform: translateY(-50%);
    width: 40%;
}

.text-box h2{
    font-family: font-5;
    font-size: 3.2rem;
    line-height: 55px;
    margin: 0 0 20px 0;
    text-shadow: 0 0 15px rgba(0, 0, 0,.15 );
}

.text-box p{
    font-family: font-1;
    font-size: 1rem;
    line-height: 22px;
    text-align: justify;
}

.main-slider .carousel .carousel-indicators {
    bottom: 0;
    top: 40%;
    right: -14%;
    left: auto;
    z-index: 1;
    display: block;
    opacity: 0.8;
}

.main-slider .carousel .carousel-indicators li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    display: block;
    width: 15px;
    height: 15px;
    margin: 10px;
    border-radius: 50%;
    text-indent: -999px;
    cursor: pointer;
    border: 2px solid var(--main-2);
}

.main-slider .carousel .carousel-indicators li.active{
    background-color: var(--main-1);
}

.main-slider .carousel .carousel-indicators li {
    position: relative;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    display: block;
    width: 15px;
    height: 15px;
    margin: 10px;
    border-radius: 50%;
    text-indent: -999px;
    cursor: pointer;
    border: 2px solid var(--main-2);
    background: transparent;
}
.main-slider .carousel .carousel-indicators li.active{
    background-color: var(--main-2);
}

/*
===========================
Home-page
===========================
*/

.welcome-section{
    position: relative;
}

.welcome-section::before{
    content: '';
    background-image: url(../images/bg-welcome-2.png);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.6;
}

.welcome-img-inner{
    position: relative;
}

.welcome-img-inner .welcome-img{
    padding: 40px 0 0 40px;
    position: relative;
    overflow: hidden;
}

.welcome-img-inner .welcome-img::before{
    content: "";
    position: absolute;
    background: #98cc4c;
    left: 0;
    right: 40px;
    margin: auto;
    top: 0;
    bottom: 40px;
    z-index: -1;
    border-radius: 10px;
}

.welcome-img-inner .welcome-img::after{
    content: "";
    background-image: url(../images/bg-welcome.png);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto 40px 40px auto;
    background-repeat: repeat;
    background-size: 100%;
    position: absolute;
    z-index: -1;
    width: 100%;
    opacity: 1;
    visibility: visible;
}

.welcome-img-inner .welcome-img img{
    border-radius: 10px;
}

.welcome-content h2{
    font-family: font-4;
    color: var(--main-1);
    margin: 6px 0;
    text-transform: uppercase;
}

.welcome-content span{
    font-family: font-4;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    color: var(--main-2);

}

.welcome-content span::after{
    content: "";
    position: absolute;
    top: 8px;
    left: 70px;
    width: 70px;
    height: 2px;
    border-radius: 5px;
    background: var(--main-2);
}

.appointment-section{
    background: linear-gradient(0deg, rgba(105, 175, 7, 0.253), rgba(105, 175, 7, 0.288)), url(../images/appontment.jpg) center;
    background-size:cover;
}

.appointment-content h2{
    font-family: font-5;
    color: #fff;
}

.appointment-content h2 a{
    font-family: font-3;
    color: #fff;
    transition: 0.3s;
}

.appointment-content h2 a:hover{
    color: var(--main-2);
    transition: 0.3s;
}

.appointment-content img{
    width: 6%;
    margin-bottom: 15px;
}

.product-tile h2{
    font-family: font-4;
    color: var(--main-1);
    margin-bottom: 5px;
}

.product-tile span{
    font-size: 0.9rem;
    color: #808080;
}

.product-view-btn{
    margin: 15px 0;
}

.product-view-btn a{
    font-size: 0.9rem;
    color: var(--main-1);
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
    position: relative;
}

.product-view-btn a::before{
    position: absolute;
    content: "";
    background: var(--main-1);
    height: 2px;
    width: 100%;
    bottom: -3px;
    transition: 0.3s;
    left: 0;
}

.product-view-btn a::after{
    position: absolute;
    content: "";
    background: var(--main-2);
    height: 2px;
    width: 0;
    bottom: -3px;
    transition: 0.3s;
    left: 0;
}

.product-view-btn a:hover{
    color: var(--main-2);
}

.product-view-btn a:hover::after{
    width: 100%;
}

.product-inner{
    padding: 10px 10px 20px 10px;
    position: relative;
    background: #ebebeb;
    height: 455px;
}

.product-inner .product-tag{
    position: absolute;
    left: 40px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    height: 25px;
    width: 48px;
    line-height: 25px;
    top: 20px;
    border-radius: 5px;
    background: #e4573d;
    text-align: center;
}

.product-content{
    margin-top: 25px;
    text-align: center;
}

.product-content h3{
    font-size: 1.1875rem;
    color: #000;
    font-family: font-3;
    width: 80%;
    margin: auto;
}

.product-content span{
    color: #e4573d;
    font-size: 1rem;
}

.counter-section{
    background-attachment: fixed;
    background: url(../images/count_bg.jpg) center;
    background-size: cover;
    position: relative;
    background-attachment: fixed;
}

.counter-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: block;
}

.counter-text h4{
    color: #fff;
    font-family: font-4;
    font-size: 2rem;
    margin-bottom: 25px;
}

.counter-text span{
    color: var(--main-2);
}

.counter-check{
    float: left;
    margin-right: 30px;
}

.counter-inner ul{
    display: flex;
}

.counter-inner ul li{
    width: 40%;
    /* margin: auto; */
}

.counter-col{
    margin-top: 25px;
}

.counter-no{
    position: relative;
}

.counter-no h4{
    color: #fff;
    font-family: font-4;
    font-size: 3rem;
    margin: 0;
}

.counter-no span{
    clear: both;
    color: #fff;
    font-size: 0.875rem
}

.counter-text p{
    color: #fff;
    font-size: 0.89rem;
}

.counter-video-inner{
    position: relative;
}

.counter-section .modal-body{
    padding: 0;
}


.video-btn-inner{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 70%;
}

.about-video-icon{
	position: relative;
}

.video-play-button {
    position: absolute;
    z-index: 10;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
}

.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: var(--main-2);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background:var(--main-1);
    border-radius: 50%;
    transition: all 200ms;
}

.video-play-button:hover:after {
    background-color: darken(#fa183d, 10%);
}

.video-play-button img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #fff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

.video-bg img{
    border-radius: 15px;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.45);
}

.map-h-inner{
    line-height: 0;
}

.contact-h-details{
    margin-top: 50px;
}

.contact-h-icon img{
    max-width: 15%;
}

.contact-h-details h5{
    font-family: font-4;
    font-size: 1rem;
    margin-top: 10px;
}

.contact-h-info-text{
    margin: 25px 0;
}

.contact-h-info-text h6{
    font-family: font-3;
}

.contact-h-info-text a{
    color: var(--main-1);
    font-family: font-4;
    transition: 0.3s;
}

.contact-h-info-text a:hover{
    color: var(--main-2);
    transition: 0.3s;

}


/*
==========================
ABOUT PAGE
==========================
*/

.about-section{
    background: url(../images/bg-about-us.png) center center;
    background-size: cover;
}

.about-content span{
    font-family: font-5;
    color: var(--main-1);
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
}

.about-content h3{
    margin: 2px 0;
    font-family: font-5;
    color: var(--main-2);
    font-size: 2.3rem;
}

.about-content span::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 95px;
    width: 70px;
    height: 2px;
    border-radius: 5px;
    background: var(--main-2);
}

.history-section{
    background: linear-gradient(to left, rgba(255, 255, 255,0),rgba(255, 255, 255)), url(../images/count_bg.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.history-inner-text h3{
    font-family: font-4;
    margin: 5px 0;
}

.history-inner-text span{
    font-family: font-4;
    color: var(--main-2);
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
}

.history-inner-text p{
    color: #383333;
}

.history-inner-text span::before{
    content: "";
    position: absolute;
    top: 8px;
    left: 135px;
    width: 70px;
    height: 2px;
    border-radius: 5px;
    background: var(--main-2);
}

.award-title span{
    font-family: font-4;
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
}

.award-title span::before{
    content: "";
    position: absolute;
    top: 8px;
    left: 135px;
    width: 70px;
    height: 2px;
    border-radius: 5px;
    background: var(--main-2);
}

.award-title h3{
    font-family: font-4;
    color: var(--main-2);
    font-size: 2.2rem;
}

.awards-inner{
    box-shadow: 0 0 2px rgba(0,0,0,.35);
    position: relative;
    height: calc(100% - 0px);
}

.awards-title h5{
    font-size: 1rem;
    text-align: center;
    padding-bottom: 12px;
    font-family: font-3;
    /* display: inline-block; */
    margin: 0;
    color: #000;
}

/* .awards-title{
    position: absolute;
    background: var(--main-2);
    bottom: 0;
    left: 25px;
} */

.awards-inner:hover{
    transition: 0.3s;
    box-shadow: 0 0 2px rgba(0,0,0,.55);
}

.awards-inner::before, .awards-inner::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.4s;
}

.awards-inner::after{
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    transform: scale(0,1);
}

.awards-inner::before{
    border-left: 1px solid var(--green);
    border-right:1px solid var(--green);
    transform: scale(1,0);
}

.awards-inner:hover:before, 
.awards-inner:hover:after{
    transform: scale(1);
}

.testimonial-section{
    background: rgb(240 243 240 / 82%);
}

.testimonial-head span{
    font-family: font-3;
    font-size: 0.95rem;
    color: var(--main-2);
}

.testimonial-head h3{
    font-family: font-4;
    font-size: 2.2rem;
    margin: 5px 0;
}

.testimonial-inner .testi-img{
    float: left ;
    width: 25% ;
    margin-right: 2rem;
}

.testimonial-inner{
    width: 70%;
    margin: 0 auto;
}

.testimonial-content span i{
    font-size: 2rem;
    color: var(--main-2);
}

.testimonial-content h5{
    margin-top: 25px;
    font-family: font-3;
    font-size: 1.15rem;
}

/*
===========================
PRODUCT DETAIL
===========================
*/

.swiper-slide .swiper-slide-thumb-active img{
    width: 100.5px !important;
    margin: 10px 10px 0 0 !important;
}

.product-detail-inner h3{
    font-family: font-4;
    color: var(--main-1);
}

.rd-products ul li{
    margin-bottom: 12px;
}
  
.rd-products ul li a{
    display: block;
    color: #02162e;
    -webkit-box-shadow: 0px 0px 29px 0px rgba(102, 102, 102, 0.1);
    box-shadow: 0px 0px 29px 0px rgba(102, 102, 102, 0.1);
    background-color: #ffffff;
    padding: 20px 20px;
    position: relative;
    font-weight: 700;
    transition: 0.2s;
}

.rd-products ul li a i{
    float: right;
}

.rd-products ul li a:hover{
    background-color: var(--main-2);
    transition: 0.2s;
    color: #fff;
}

/*
===================
NEWS-PAGE
===================
*/

.news-inner{
    background: whitesmoke;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: calc(100% - 0px);
}

.news-inner::before{
    content: '';
    height: 150px;
    width: 180px;
    background-color: #fff;
    position: absolute;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    top: 0;
    left: -200px;
    opacity: .5;
    transition: all .3s ease-in-out;
}


.news-inner .news-img{
    overflow: hidden;
    transition: 0.2s;
}

.news-inner .news-img img{
    transition: all 0.2s;
}

.news-inner .news-content {
    padding: 18px 10px;
}

.news-inner .news-content h5{
    color: var(--main-1);
    font-family: font-3;
    transition: 0.2s;
    text-transform: capitalize;
    padding: 0 3px;
    font-size: 1.1rem;
}

.news-inner .news-content p{
    font-size: 0.8rem;
    line-height: 22px;
}

.news-content .news-btn {
    text-align: end;
}

.news-content .news-btn span{
    color: var(--main-1);
    font-size: 0.89rem;
    font-family: font-4;
    text-align: end;
    margin-right: 10px;
}

.news-inner:hover h5{
    color: var(--main-2);
    transition: 0.2s;
}

.news-inner:hover{
    border-bottom: 1px solid var(--main-2);
}

.news-inner:hover img{
    transform: scale(1.1);
    transition: all 0.2s;
}

.news-content{
    position: relative;
}

.news-btn{
    text-align: right;
    position: absolute;
    width: 45px;
    height: 30px;
    background-color: var(--main-1);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    right: 0;
    bottom: 0;
    transition: all .3s ease-in-out;
}

.news-btn i{
    color: #fff;
    font-size: 11px;
    width: 30px;
    line-height: 30px;
    display: block;
}

.news-inner:hover::before{
    left: 0;
    z-index: 1;
}

.news-inner:hover .news-btn{
    background-color: var(--main-2);
}


/*
=================
Contact Page
==================
*/


.contact-form-inner h3{
    font-family: font-4;
    font-size: 2.1rem;
    color: var(--main-1);
    margin-bottom: 2px;
}

.contact-form .form-group .form-control{
    width: 100%;
    border-radius: 0px;
    line-height: 1;
    border: 2px solid #dddddd;
    margin-bottom: 20px;
    max-width: 100%;
    transition: .3s ease;
    height: 55px;
}

.contact-form .form-group textarea{
    height: 100% !important;
}

.contact-form .form-group .form-control:hover,
.contact-form .form-group .form-control:active,
.contact-form .form-group .form-control:focus{
    box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.1) !important;
    transition: .3s ease;
}


.contact-info{
    display: flex;
    position: relative;
    padding: 30px 0;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #ececec;
}

.contact-img{
    margin-right: 20px;
}

.contacts h4{
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding: 0px 0px 0px 0px;
    font-family: font-3;
    line-height: 26px;
    font-style: normal;
    text-transform: capitalize;
    margin: 0;
}

.contacts a{
    color: #4c668d;
    font-size: 14px;
    font-weight: 500;
}

.contacts a:hover{
    color: var(--main-2);
}

.contact-info-inner{
    box-shadow: 0 0 10px 1px rgba(0,0,0,.25);
    border-radius: 10px;
    padding: 0  40px 15px 40px;
}

.social-links ul{
    display: flex;
    margin-top: 15px;
}

.social-links ul li{
    padding: 0px 35px 0px 0px;
}

.social-links ul li a{
    color: #d1d0d0;
}

.social-links ul li a:hover{
    color: var(--main-2);
}


/*
================
Certificate
==================
*/

.certificate{
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
}


.certificate::before{
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.certificate:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}

.alert {
    font-size: 1rem !important;
}

.product-inner .product-img{
    position: relative;
    height: 280px;
    background: var(--main-5);
    overflow: hidden;
}

.product-inner .product-img img{
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.product-inner p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 85%;
    margin: 10px auto;
}
html{
    scroll-behavior: smooth;
}

.inquery-wrapper{
    background: #e0ece0;
    padding: 20px
}

.inquery-wrapper h5{
    font-weight: 600;
    text-align: center;
    font-family: 'font-4';
}

.inquery-wrapper input{
    border-radius: 0;
}

.side-wrapper{
    position: sticky;
    top: 100px;
    z-index: 9;
}


.qty-inner .qty-input {
    color: #000;
    background: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.qty-inner .qty-input .product-qty,
.qty-inner .qty-input .qty-count {
    background: transparent;
    color: inherit;
    font-weight: bold;
    font-size: inherit;
    border: none;
    display: inline-block;
    min-width: 0;
    height: 2.5rem;
    line-height: 1;
}

.qty-inner .qty-input .product-qty:focus,
.qty-inner .qty-input .qty-count:focus {
    outline: none;
}

.qty-inner .qty-input .product-qty {
    width: 100%;
    min-width: 0;
    display: inline-block;
    text-align: center;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-inner .qty-input .product-qty::-webkit-outer-spin-button, .qty-input .product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.qty-inner .qty-input .qty-count {
    padding: 0;
    cursor: pointer;
    width: 2.5rem;
    font-size: 1.25em;
    text-indent: -100px;
    overflow: hidden;
    position: relative;
}

.qty-inner .qty-input .qty-count:before, .qty-input .qty-count:after {
    content: "";
    height: 2px;
    width: 10px;
    position: absolute;
    display: block;
    background: #000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.qty-inner .qty-input .qty-count--minus {
    border-right: 1px solid #e2e2e2;
}

.qty-inner .qty-input .qty-count--add {
    border-left: 1px solid #e2e2e2;
}

.qty-inner .qty-input .qty-count--add:after {
    transform: rotate(90deg);
}
.qty-inner .qty-input .qty-count:disabled {
    color: #ccc;
    background: #f2f2f2;
    cursor: not-allowed;
    border-color: transparent;
}

.qty-inner .qty-input .qty-count:disabled:before, .qty-input .qty-count:disabled:after {
    background: #ccc;
}
  
.qty-inner .qty-input {
    border: 2px solid #dddddd;
    width: 100%;
    height: 40px;
}