/********** Template CSS **********/
:root {
    --primary: #2ba6d9;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background-color: #2ba6d9;
    color: #fff;
    font-size: 14px;
    flex-wrap: wrap;
}

/* Left Section */
.left-info {
    display: flex;
    align-items: center;
}

.location-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #217fa7;
    /* padding: 4px 10px; */
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.flag-icon {
    width: 70px;
    height: 40px;
    /* border-radius: 3px; */
    /* border: 1px solid #fff; */
}

.location-label {
    display: block;
    font-size: 12px;
    color: #ffdd59;
    font-weight: bold;
}

.location {
    font-size: 14px;
    color: #fff;
}

/* Center Section */
.center-info {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #ffdd59;
}

.offer-title {
    background: #3c6382;
    padding: 5px 10px;
    border-radius: 5px;
    animation: pulse 2s infinite;
}

/* Right Section */
.right-info {
    display: flex;
    align-items: center;
}

.time-zone-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #217fa7;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffdd59;
    font-weight: bold;
}

.time-zone-container i {
    font-size: 18px;
    color: #fff;
}

.time-zone-label {
    display: block;
    font-size: 12px;
    color: #fff;
}

.time-zone-value {
    font-size: 14px;
}

@media (max-width: 768px) {
    .top-bar {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 5px 10px;
        font-size: 10px;
    }

    .left-info,
    .center-info,
    .right-info {
        display: flex;
        align-items: center;
        justify-content: center;
        /* flex: 1; */
        /* padding: 5px; */
    }

    .location-container {

        gap: 1px;
        padding: 0px 5px;
        border-radius: 5px;
        box-shadow: none;
        /* Simplify design on smaller screens */
        background: transparent;
        /* Remove background for cleaner mobile view */
    }

    .time-zone-container {

        width: 90px;
        box-shadow: none;
        /* Simplify design on smaller screens */
        background: transparent;
        /* Remove background for cleaner mobile view */
        gap: 4px;

    }

    .flag-icon {
        width: 40px;
        height: 26px;
    }

    .location-label,
    .time-zone-label {
        display: none;
        /* Hide labels to save space */
    }

    .location,
    .time-zone-value {
        font-size: 8px;

        color: #fff;
    }

    .offer-title {
        margin-left: 15px;
        width: 212px;
        font-size: 11px;
        padding: 3px;
        background: transparent;
        /* Remove background for a minimal look */
        color: #ffdd59;
    }

    .top-bar i {
        font-size: 0px;
        /* Reduce icon size */
    }
}


/* Animation for Offer */
@keyframes pulse {

    0%,
    100% {
        background-color: #3c6382;
    }

    50% {
        background-color: #217fa7;
    }
}


.back-to-top {
    position: fixed;
    display: none;
    right: 0;
    bottom: 0;
    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: 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: #2ba6d9;
}

@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;
    }
}

/*** Header ***/
@media (min-width: 992px) {
    .header {

        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    visibility: hidden;
    position: absolute;
    top: 85%;
    gap: 30px;
    left: -65px;
    transform: translateY(-50%);
    display: flex;
}

.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: #2ba6d9;
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.owl-carousel-item .img-fluid {
    height: 104vh;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    /* Smooth transition for fade effect */
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.logoarea {
    display: flex;
}

@media (max-width: 768px) {


    .header-carousel .owl-nav {
        left: 25px;
    }

    .owl-carousel-item:before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(7, 7, 14, 0.733);
    }
}

/* Fade effect for text and images */
.owl-carousel .owl-item {
    transition: opacity 1s ease-in-out;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #DDDDDD;
}

.service {
    padding: 10px;
}




.single-service-item {
    position: relative;
    top: -10vh;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 10px 40px 0px rgba(38, 40, 64, .2);
    text-align: center;
    padding: 55px 30px 60px;
    border-radius: 3px;
    margin-bottom: 30px;
    border: 1px solid #dadfe9;
    -webkit-transition: .3s linear;
    -moz-transition: .3s linear;
    -ms-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
}

.single-service-icon {
    display: inline-block;
    color: #50616c;
}

.single-service-icon img {
    width: 10vw;
}

.single-service-item h2 a {
    font-size: 20px;
    margin: 35px 0 20px;
}

.single-service-item h2 a span {
    text-transform: lowercase;
}

.single-service-item p {
    padding-bottom: 35px;
    text-transform: initial;
    position: relative;
}

.single-service-item p:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 3px;
    background: #3030ea;
    bottom: 0;
    left: 50%;
    margin-left: -10px;
}

.single-service-icon [class^="flaticon-"]:before,
.single-service-icon[class*=" flaticon-"]:before,
.single-service-icon [class^="flaticon-"]:after,
.single-service-icon [class*=" flaticon-"]:after {
    font-size: 60px;
}

.single-service-item:hover .single-service-icon [class^="flaticon-"]:before,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:before,
.single-service-item:hover .single-service-icon [class^="flaticon-"]:after,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:after {
    color: #fff;
}


.single-service-item:hover h2 a,
.single-service-item:hover p {
    color: #fff;
}

.single-service-item:hover p:before {
    background: #fff;
}

.single-service-item:hover {
    box-shadow: 0 12px 30px 0px rgba(0, 1, 193, .2);
    background: #2ba6d9;
    border: 1px solid #2ba6d9;
}



/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
}

.icon .img-fluid {
    width: 6vw;
}

.newlogo {
    height: 60px;
    width: 90px;
    object-fit: cover;
}


/* Ensure the images overlay each other */
.about-img {
    position: relative;
    height: 80vh;
    z-index: 2;
}




#image-before,
#image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Initially only half of the after image is visible */
#image-after {
    clip-path: inset(0 50% 0 0);
    /* Start with a 50% view */
    transition: clip-path 0.3s ease;
}

.slider {
    position: absolute;
    bottom: 250px;
    right: 0;
    width: 100%;
    z-index: 10;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #ffffff;
}


/* video */
/* About Section */
.about-img2 {
    position: relative;
    height: 80vh;
    z-index: 2;
    overflow: hidden;
    /* Ensures the video does not overflow outside the container */
}

/* Video styling */
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the container without distorting the aspect ratio */
    z-index: 1;
}

/* Initially, only half of the video is visible (can be controlled by slider) */
#background-video {
    object-fit: cover;
}

/* Styling for the slider */
.slider2 {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #fff;
    border-radius: 5px;
}

/* Custom styling for slider thumb */
.slider2::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: #333;
    cursor: pointer;
    border-radius: 50%;
}

.slider2::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #333;
    cursor: pointer;
    border-radius: 50%;
}

/* Optional: Responsive behavior */
@media (max-width: 768px) {
    .about-img2 {
        height: 50vh;
    }
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    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 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: 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: #185c79 !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 445px) {
    .nechay {
        margin-top: 5px;
    }

    .logo {
        display: none;

    }
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }


}

.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: var(--primary);
    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;
}

.book-btn {
    background-color: #2ba6d9 !important;
    color: white;
    font-size: 15px;
}

.book-btn:hover {
    color: white;
    font-weight: 900;
}

.book-btn2 {
    background-color: #022331 !important;
    color: #2ba6d9;
    font-weight: 600;
    font-size: 17px;
}

.book-btn2:hover {
    color: #2286b1;
    font-weight: 900;
}

.property-item .img-fluid {
    width: 560px;
    object-fit: cover;
    height: 40vh;
}

@media only screen and (max-width: 1400px) {
    .display-5 {
        margin-top: 80px;
        font-size: 3vw;
    }
}

@media only screen and (max-width: 768px) {

    .icon .img-fluid {
        width: 14vw;
    }

    .text-carousel {
        margin-top: 20vh;
        text-align: center;
        position: absolute;
        top: 40px;
        left: 0;
        color: #DDDDDD;
        /* width: 70vw; */
    }

    .display-5 {
        width: 100%;
        text-align: center;
        color: white;
        font-size: 7vw;
    }

    .display-5 para {
        width: 100%;
        text-align: center;
        color: white;
        font-size: 2rem;
    }

    .owl-carousel {
        height: 75vh;
    }
}

.footer-imgs .img-fluid {
    width: 260px;
    object-fit: cover;
    height: 60px;
}

@media only screen and (max-width: 464px) {
    .service {
        margin-top: 10px;
    }

    .tabs-bar {
        padding: 10px;
    }


}

.position-relative .second-img {
    display: none;
    /* Hide the second image by default */
}

.position-relative:hover .first-img {
    display: none;
    /* Hide the first image on hover */
}

.position-relative:hover .second-img {
    display: block;
    /* Show the second image on hover */
}


@media only screen and (max-width: 500px) {
    #bookingModal {
        top: 110px;

    }
}

@media only screen and (max-width: 1500px) {
    .modal {
        top: 60px;

    }
}