/********** Template CSS **********/
:root {
    --primary: #c99255;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}
.banner {
            position: relative;
            width: 100%;
            height: 50vh;
            background: url('../img/img19.jpg') no-repeat center center/cover;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
        }
        .banner h1 {
            font-size: 3rem;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px 20px;
            border-radius: 5px;
        }
        @media (max-width: 768px) {
            .banner h1 {
                font-size: 2rem;
            }
        }
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
p{
    text-align: justify!important;
}
h3#title{
    font-family: gabriola;
}
h1#title{
    font-family: gabriola;
}
h4#subtitle{
    line-height: 0;
    font-size: 20px;
    color: white;
    padding-bottom: 8px;
}
h1#banner-title{
    color: white;
}
p#sub-content{
    text-align: center!important;
}
.modal-header{
    display: none;
}
.swiper {
            width: 100%;
/*            height: 100vh;*/
        }
        .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.video-caption {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 800px;
    background: #02020287;
    height: 40%;
    padding: 1%;
}

.video-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.video-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.video-caption .btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
}
p#subtitle {
    text-align: center!important;
}
 h3.text-primary{
    text-align: center!important;
    padding-top: 4%; 
 }
 .arrow-section img.service-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .arrow-section img.service-img {
    max-height: 150px;
  }
}

    .service-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 5%;
    }

    .arrow-section {
      position: relative;
      width: 48%;
      background-color: #fff;
      padding: 30px 40px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      opacity: 0;
      transform: translateX(0);
      transition: all 0.8s ease;
    }

    .arrow-left::before,
    .arrow-right::before {
      content: '';
      position: absolute;
      top: 50%;
      width: 0;
      height: 0;
      border: 15px solid transparent;
      transform: translateY(-50%);
    }

    .arrow-left::before {
      left: -30px;
      border-right-color: #fff;
    }

    .arrow-right::before {
      right: -30px;
      border-left-color: #fff;
    }

    .arrow-left {
      transform: translateX(-100px);
    }

    .arrow-right {
      transform: translateX(100px);
    }

    .arrow-section.show {
      opacity: 1;
      transform: translateX(0);
    }

    .arrow-section h2 {
      margin-bottom: 10px;
      font-size: 1.5rem;
    }

    .arrow-section p {
      font-size: 1rem;
      color: #444;
    }

    @media (max-width: 768px) {
      .arrow-section {
        width: 100%;
      }

      .arrow-left::before {
        left: 10px;
      }

      .arrow-right::before {
        right: 10px;
      }
    }
 .services {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding: 20px 20px;
        }
        .service {
            width: 300px;
            height: 200px;
            margin: 20px;
            position: relative;
            perspective: 1000px;
        }
        .service-inner {
            width: 100%;
            height: 100%;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            position: relative;
        }
        .service:hover .service-inner {
            transform: rotateY(180deg);
        }
        .front, .back {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 10px;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
        }
        .front {
            background: #f4f4f4;
        }
        .back {
            background: #fff;
            transform: rotateY(180deg);
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @media (max-width: 768px) {
            .banner h1 {
                font-size: 2rem;
            }
        }

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 10px;
            padding: 50px 20px;
            justify-content: center;
        }
        .gallery img {
            width: 100%;
            height: auto;
            transition: transform 0.3s ease-in-out;
        }
        .gallery img:hover {
            transform: scale(1.05);
        }
                @keyframes fadeIn {
                    from { opacity: 0; }
                    to { opacity: 1; }
                }
                @media (max-width: 768px) {
                    .banner h1 {
                        font-size: 2rem;
                    }
                }

        .col-md-4 {
            width: 100%!important;
        }
/*** 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;
    padding: 0 3rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
    background: #ffffff
}

.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: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #c99255;
}

ul.nav.nav-pills.d-inline-flex.justify-content-end.mb-5 {
    display: none !important;
}
@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: var(--dark);
    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;
    }
}
@media (max-width: 600px) {
    .video-caption #sub-content {
        display: none;
    }
    h1#title{
        font-size: 2.5rem!important;
    }
    .video-caption{
        top: 38%!important;
        background: none!important;
    }
    .mobile-title{
        background: #2e2e2eb0;
        height: 30%;
    }

}

@media (max-width: 900px){
.video-caption #sub-content {
        display: none;
    }
    h1#title{
        font-size: 3rem;
    }
    .video-caption{
        top: 38%!important;
        background: none!important;
    }
    .mobile-title{
        padding: 3%;
        background: #2e2e2eb0;
        height: 32%;
    }

}

@media (min-width: 1024px) and (max-width:1366px){
.video-caption #sub-content {
        display: none;
    }
    h1#title{
        font-size: 3rem;
    }
    .video-caption{
        top: 38%!important;
        background: none!important;
    }
    .mobile-title{
        padding: 3%;
        background: #2e2e2eb0;
        height: 32%;
    }

}

@media (min-width: 912px) and (max-width:1023px){
.video-caption #sub-content {
        display: none;
    }
    h1#title{
        font-size: 3rem;
    }
    .video-caption{
        top: 38%!important;
        background: none!important;
    }
    .mobile-title{
        padding: 5%;
        background: #2e2e2eb0;
        height: 30%;
    }

}

/*** 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: #c99255;
    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;
    }
}

.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 #c99255 !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: #c99255;
    transform: skew(20deg);
    z-index: 1;
}

.center-container {
    display: flex;
    justify-content: center;  
    align-items: center;  
    
}

.service-content{
    text-align: center;
}

.fa, .far, .fas {
    font-family: "Font Awesome 5 Free";
    color: #a1713d;
}
#icon.fa{
    color:white!important;
}
.bg-dark {
    background-color: #a1713d !important;
    margin-bottom: -50px!important;
}
.text-md-start {
        text-align: center !important;
    }
/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: #c99255;
    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 rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: #c99255;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: #c99255;
}

.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;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}
.container-xxl{
    max-width: 100%!important;
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !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: #c99255;
    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: #c99255;
    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;
}

.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    width: 100%;
    padding-right: 0px!important;
    padding-left: 0px!important;
}

@media (min-width: 481px) and (max-width: 767px) {
  #footer{
    padding: 10%!important;
  }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 480px
*/
@media (min-width: 540px) and (max-width: 720px){
      p{
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    .mb-4{
        text-align: center;
    }
    a#btn{
       display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px 80px 0px 80px;
    }
}
@media (min-width: 320px) and (max-width: 480px) {
   p{
        padding-left: 20px!important;
        padding-right: 20px!important;
    }
    .mb-4{
        text-align: center;
    }
    a#btn{
       display: flex;
        justify-content: center;
        align-items: center;
        margin: 0px 80px 0px 80px;
    }
    span#mail{
        font-size: 14px;
        margin: -9px;
    }
    .text-start {
    text-align: center !important;
}
 .text-white {
    color: #fff !important;
    padding-left: 20px;
}
.footer .btn.btn-link{
    padding-left: 20px;
}
.d-flex.pt-2, #footer_images {
    padding-left: 20px;
    padding-right: 20px;
}
.p-3 {
    padding: 0.4rem !important;
}
}
@media (min-width: 1280px){
   .p-3 {
    padding: 0.5rem !important;
}
}
@media (min-width: 520px) and (max-width: 720px) {
   
}


/* pop up Overlay */
/* ================= POPUP OVERLAY ================= */
#popupOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ================= POPUP BOX ================= */
.popupBox{
  background: #ffffff;
  width: 90%;           /* Desktop & mobile scaling */
  max-width: 380px;     /* Mobile 375px screen fit */
  min-width: 320px;     /* Small devices support */
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  position: relative;
  animation: zoomIn 0.4s ease;
  box-sizing: border-box;
}

/* ================= IMAGE ================= */
.popupImage{
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  object-fit: cover; /* prevents distortion */
}

/* ================= CLOSE BUTTON ================= */
.closeBtn{
  position: absolute;
  top: -12px;
  right: -12px;
  background: #c99255;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.closeBtn:hover{
  background: #000;
}

/* ================= TEXT ================= */
.subText{
  text-align: center;
  font-size: 16px;
  margin: 5px 0 10px;
}

/* ================= CALL BUTTON ================= */
.callBtn{
  display: block;
  margin-top: 15px;
  padding: 12px;
  background: #c99255;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

/* ================= TEXT BLINK ONLY ================= */
.blinkText{
  animation: textBlink 1.2s infinite;
}

@keyframes textBlink{
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Hover – black + stop blink */
.callBtn:hover{
  background: #000;
}

.callBtn:hover .blinkText{
  animation: none;
}

/* ================= POPUP ANIMATION ================= */
@keyframes zoomIn{
  from{ transform: scale(0.6); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}

/* ================= MOBILE OVERRIDE ================= */
@media(max-width: 400px){
  .popupBox{
    width: 95%;
    padding: 12px;
  }
  .popupImage{
    height: auto;
  }
  .callBtn{
    font-size: 14px;
    padding: 10px;
  }
  .subText{
    font-size: 14px;
  }
}
