/********** Template CSS **********/
:root {
    --primary: #fff;
    --secondary: #8CC641;
    --light: #F2F2F2;
    --dark: #272630;
}
a {
    color: #172be3;
    text-decoration: none;
}
.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 30px;
    padding: 35px 0;
    font-size: 18px;
    color: var(--light);
    outline: none;
    transition: .5s;
}
p{
    text-align: justify;
}
.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-brand img{
    width: 120px !important;
}

.phone{
  margin-left:-15px;
}

@media(max-width: 360px){

   
    .navbar-brand img{
        width: 80px !important;
    }

    .navbar-toggler {
        padding: .25rem .45rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 1px solid #fff !important;
        border-radius: 8px;
        transition: box-shadow 0.15s ease-in-out;
        margin-left:15px;
        color: #fff !important;
    }

    .navbar-dark .navbar-toggler-icon {
        background-image: url("../img/toggle.png") !important;
    }

    .banner-text h5 {
        font-size: 28px !important;
        padding-top: 0px !important;
    }
    .banner-text h4 {
        font-size: 18px !important;
        padding-top: 0px !important;
    }

    .bg-hero {
        height: 750px !important;
    }
}

@media(max-width: 420px){
    .navbar-brand img{
        width: 80px !important;
    }
    .banner-text h5{
        font-size: 22px !important;
    }
    .banner-text h4{
        font-size: 18px !important;
    }

    .bg-hero {
        height: 750px !important;
    }
}

@media (max-width:768px){
    .bg-hero{
        height: 750px !important;
    }
}

@media (max-width:820px){
    .bg-hero{
        height: 750px !important;
    }
}

    .banner-text h5{
        font-size: 42px;
    }

@media (min-width: 992px) {
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.bg-hero {
    background: url(../img/eldeco-viviana-ludhiana-banner.jpg) top right no-repeat;
    background-size: cover;
    height: 600px;
}

@media (max-width: 991.98px) {
    .bg-hero {
        background-size: cover;
    }
}

.about-start,
.about-end {
    background: url(../img/about-bg.jpg) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .about-start {
        position: relative;
        margin-right: -90px;
        z-index: 1;
    }

    .about-end {
        position: relative;
        margin-left: -90px;
        z-index: 1;
    }
}

.service-item,
.contact-item {
    background-color:#000;
    background-size: cover;
    transition: .5s;
}

.service-item:hover,
.contact-item:hover {
    background: url(../img/service.jpg) bottom center no-repeat;
    background-size: cover;
}

.service-item .service-icon,
.contact-item .contact-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    color: var(--secondary);
    background: #FFFFFF;
    transform: rotate(-45deg);
}

.service-item .service-icon div,
.contact-item .contact-icon div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: .5s;
}

.service-item .service-icon img,
.contact-item .contact-icon i {
    transform: rotate(45deg);
    transition: .5s;
    width: 100%;
}

.service-item:hover .service-icon div,
.contact-item:hover .contact-icon div {
    background: #000;
}

.service-item:hover .service-icon i,
.contact-item:hover .contact-icon i {
    color: var(--primary);
}

.service-item a.btn {
    position: relative;
    bottom: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: 0;
    opacity: 1;
}

.bg-quote {
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-quote {
        background-size: cover;
    }
}

.team-item {
    position: relative;
    margin-bottom: 45px;
}

.team-item img{
   height: 350px;
}

.team-text {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color:#0009;
    background-size: cover;
    height: 70px;
    padding: 0 30px;
    right: 45px;
    left: 45px;
    bottom: -35px;
    transition: .5s;
    z-index: 1;
    color: #fff;
}

.team-item:hover .team-text {
    height: 100%;
    bottom: 0;
}

.team-social {
    position: absolute;
    transition: .1s;
    transition-delay: .0s;
    opacity: 0;
}

.team-item:hover .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.bg-testimonial {
    background: url(../img/testimonial.jpg) top left no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-testimonial {
        background-size: cover;
    }
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--secondary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 60px;
    height: 60px;
}

.bg-call-to-action {
    background: url(../img/call-to-action.jpg) top right no-repeat;
    background-size: contain;
}

.bg-footer {
    background: url(../img/footer.jpg) center center no-repeat;
    background-size: contain;
}

@media (max-width: 991.98px) {
    .bg-call-to-action,
    .bg-footer {
        background-size: cover;
    }
}


/**************CONTACT FORM****************************/
.contact_form {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
  background-color:#0009;
  padding: 20px 30px;
  border-radius: 2px;
  position: absolute;
  width:40%;
  margin-top:0%;
  border-radius: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;  
  flex-direction:column !important;
}

@media (max-width: 900px){
    .contact_form {
        margin-top:10px;
      width:90% !important;
    }
    .hero-text {
     top:5% !important;
     width: 90%;
     text-align: center !important;
    }
    .hero-text p{
      width: 50% ; 
      text-align: center;
      margin:0 auto;
      margin-top: 25px;
    }
    .Gallery .gallery {
      width: 100%;
      margin-bottom: 20px;
      text-align: center;
    }
}
.contact_form h3{
    color: #fff;
    padding:3px 0;
    text-align: left;
    font-size: 19px;
    margin-bottom: 20px;
}
.contact_form .form-control, .modal-content .form-control {
    background-color: #fff;
    margin-bottom: 30px;
    box-sizing: border-box;
    color: #333333;
    font-size: 16px;
    outline: none;
    padding: 10px 25px;
    height: 55px;
    resize: none;
    box-shadow: none !important;
    width: 100%;
    border-bottom: 1px solid #fab203;
}

.contact_form textarea, .modal-content textarea {
    color: #bcbcbc;
    padding: 20px 25px !important;
    height: 160px !important;
}

.contact_form .form-control::-webkit-input-placeholder, .modal-content .form-control::-webkit-input-placeholder{
    color: #bcbcbc;
}

.contact_form .form-control::-moz-placeholder, .modal-content .form-control::-moz-placeholder{
    opacity: 1;
    color: #bcbcbc;
}

.contact_form .form-control::-ms-input-placeholder, .modal-content .form-control::-ms-input-placeholder {
    color: #bcbcbc;
}

.first-btn{
    display: inline-block;
    background-color:#fab203;
    margin-bottom: 30px;
    box-sizing: border-box;
    color: #000;
    font-size: 15px;
    font-weight:700;
    font-size: 18px;
    outline: 0 none;
    letter-spacing: 0.25px;
    padding: 12px 25px;
    transition: all .3s;
    resize: none;
    box-shadow: none !important;
    width: 100%;
    border-radius: 6px;
    border:none !important;
}

.brochure{
  text-align: center;
  background:#000;
  color: #fff !important;
  width: 220px;
  padding:10px 0;
}


.brochure a{
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.modal-dialog{
  margin-top:100px !important;

}

.modal-body{
     padding:2rem;
}

.modal-body,.modal-header{
  background:#000 !important;
}

.modal-body .first-btn{
  display: inline-block;
  background-color:#fab203;
  margin-bottom: 30px;
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  outline: 0 none;
  letter-spacing: 0.25px;
  padding: 12px 25px;
  transition: all .3s;
  resize: none;
  box-shadow: none !important;
  width: 100%;
  border-radius: 6px;
  border: none !important;
  /*border-bottom: 2px solid #222222!important;*/
}

.modal-header .close{
  font-size: 30px !important;
  color: #fff;
  background-color: transparent !important;
  margin-right:10px !important;
  box-shadow: none !important;
  border: none !important;
}

.with-errors{
  color:orange;
  margin-top: -25px;
  margin-bottom: 15px;
  font-weight: 500;
}

.formblock{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
 .cloud-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: radial-gradient(circle 872px at 24% 2%,rgba(0,0,0,.6) 0,rgba(0,52,113,.6) 100%);
    opacity: 1;
    -webkit-backface-visibility: hidden;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
