/********** Template CSS **********/
:root {
    --primary: #ca2027;
    --secondary: #FF6922;
    --light: #fff2f2;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    /* margin-top: 45px; */
    /* padding: 0 3rem; */
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    /* content: "\f107"; */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 2em;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid #d12129;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    /* font-weight: 500; */
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        /* margin-top: -120px; */
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #626b72;
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
        display: none;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    /* padding: 15px; */
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    /* background: #FFFFFF !important; */
    border-radius: 50px;
    /* border: 1px dashed var(--primary) !important; */
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
    
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgb(185 0 0 / 30%);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgb(185 0 0 / 0%) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgb(185 0 0 / 30%)!important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** project ***/
.project-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .project-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.project-carousel .project-item .border {
    border: 1px dashed rgb(185 0 0 / 30%)!important;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #606a71;
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}




/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgb(185 0 0 / 30%)!important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #606a71;
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.collapse-custom {
    position: absolute;
    /* top: 0; */
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    z-index: 1050;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
}

/* When collapse is shown */
.collapse.show {
    max-height: 300px; /* Adjust height as needed */
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    color: rgb(220, 220, 220);
    cursor: pointer;
}

ul.list{
    list-style-type: none;
    padding-left:0;
    }
    
    ul.list li {
       display: flex;
    margin-bottom:7px;
    }
    ul.list li strong{
      display: contents;
    margin-bottom:7px;
 color:#c11e26;
    }
    ul.list li::before {
        font-family: "FontAwesome";
        content: "\f058";
      color:#ca2027;
        padding: 0 10px 0 0;
    }
    .help-block{
        color: red !important;
        font-size: small!important;
    }


    .btn-primary {
        color: #000 !important;
        background-color: transparent;
        border-color: #000;
      }
      .btn-primary:hover {
        color: #fff !important;
        background-color: #ff1515;
        border-color: #ff1515;
      }
      .bg-primary {
        background-color: #626b72 !important;
      }

      .bg-dark {
        background-color: #606a71 !important;
      }

      .breadcrumb-item.active {
        color: #fff;
      }

.fancybox-lock .fancybox-overlay {
	z-index:9999!important;
}@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 3.5rem;
  }
}

.space-btn {
    position: relative;
    font-family: "Electrolize", sans-serif;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.125em;
    line-height: 1;
    color: #fff;
    margin: 0;
    padding: 1em;
    background: none;
    border: none;
    background: #ca2027;
    cursor: pointer;
  }
  .space-btn:hover {
    color: #ffd568;
  }
  .space-btn:focus {
    color: #ffc735;
    outline: none;
  }
  .space-btn:active {
    color: #fff;
  }
  .space-btn:before, .space-btn:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
  }
  .space-btn:before {
    top: 0;
    left: 0;
    box-shadow: inset 3px 3px 0 0 #fff;
  }
  .space-btn:after {
    right: 0;
    bottom: 0;
    box-shadow: inset -3px -3px 0 0 #fff;
  }
  
  .space-btn:hover:before {
    -webkit-animation: hoverShadowBefore 1s forwards;
            animation: hoverShadowBefore 1s forwards;
  }
  .space-btn:hover:after {
    -webkit-animation: hoverShadowAfter 1s forwards;
            animation: hoverShadowAfter 1s forwards;
  }
  
  @-webkit-keyframes hoverShadowBefore {
    0% {
      width: 100%;
      height: 3px;
      top: 0;
      left: 0;
    }
    33% {
      width: 3px;
      height: 100%;
      top: 0;
      left: 0;
    }
    66% {
      width: 3px;
      height: 3px;
      top: calc(100% - 3px);
      left: 0;
    }
    100% {
      width: 100%;
      height: 3px;
      top: calc(100% - 3px);
      left: 0;
    }
  }
  
  @keyframes hoverShadowBefore {
    0% {
      width: 100%;
      height: 3px;
      top: 0;
      left: 0;
    }
    33% {
      width: 3px;
      height: 100%;
      top: 0;
      left: 0;
    }
    66% {
      width: 3px;
      height: 3px;
      top: calc(100% - 3px);
      left: 0;
    }
    100% {
      width: 100%;
      height: 3px;
      top: calc(100% - 3px);
      left: 0;
    }
  }
  @-webkit-keyframes hoverShadowAfter {
    0% {
      width: 100%;
      height: 3px;
    }
    33% {
      width: 3px;
      height: 100%;
      bottom: 0;
      right: 0;
    }
    66% {
      width: 3px;
      height: 3px;
      bottom: calc(100% - 3px);
      right: 0;
    }
    100% {
      width: 100%;
      height: 3px;
      bottom: calc(100% - 3px);
      right: 0;
    }
  }
  @keyframes hoverShadowAfter {
    0% {
      width: 100%;
      height: 3px;
    }
    33% {
      width: 3px;
      height: 100%;
      bottom: 0;
      right: 0;
    }
    66% {
      width: 3px;
      height: 3px;
      bottom: calc(100% - 3px);
      right: 0;
    }
    100% {
      width: 100%;
      height: 3px;
      bottom: calc(100% - 3px);
      right: 0;
    }
  }

  

  
.btn-cont {
    /* text-align: center;
    margin-top: 200px;
     */
    .btn {
      position: relative;
      padding: 1em;
      border: 1px solid #000;
      color: #000;
      text-decoration: none;
      font-size: em(18px);
      font-family: 'Open Sans', sans-serif;
      text-transform: uppercase;
      letter-spacing: 2px;
      -webkit-font-smoothing: antialiased;
      
      &:hover {
        border: none;
        
        .line-1 {
          animation: move1 1500ms infinite ease;
        }
        
        .line-2 {
          animation: move2 1500ms infinite ease;
        }
        
        .line-3 {
          animation: move3 1500ms infinite ease;
        }
        
        .line-4 {
          animation: move4 1500ms infinite ease;
        }
      }
    }
    
    .line-1 {
      content: "";
      display: block;
      position: absolute;
      width: 1px;
      background-color: #000;
      left: 0;
      bottom: 0;
    }
    .line-2 {
      content: "";
      display: block;
      position: absolute;
      height: 1px;
      background-color: #000;
      left: 0;
      top: 0;
    }
    .line-3 {
      content: "";
      display: block;
      position: absolute;
      width: 1px;
      background-color: #000;
      right: 0;
      top: 0;
    }
    .line-4 {
      content: "";
      display: block;
      position: absolute;
      height: 1px;
      background-color: #000;
      right: 0;
      bottom: 0;
    }
  }
  
  @keyframes move1 {
    0% {
      height: 100%; 
      bottom: 0;
    }
    54% {
      height: 0; 
      bottom: 100%;
    }
    55% {
      height: 0; 
      bottom: 0;
    }
    100% {
      height: 100%; 
      bottom: 0;
    }
  }
  
  @keyframes move2 {
    0% {
      width: 0;
      left: 0;
    }
    50% {
      width: 100%; 
      left: 0;
    }
    100% {
      width: 0; 
      left: 100%;
    }
  }
  
  @keyframes move3 {
    0% {
      height: 100%; 
      top: 0;
    }
    54% {
      height: 0; 
      top: 100%;
    }
    55% {
      height: 0; 
      top: 0;
    }
    100% {
      height: 100%; 
      top: 0;
    }
  }
  
  @keyframes move4 {
    0% {
      width: 0; 
      right: 0;
    }
    55% {
      width: 100%; 
      right: 0;
    }
    100% {
      width: 0; 
      right: 100%;
    }
  }