/* Ensure body and html take full height */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
}
/* Navbar Start */

/* Initial floating style */
.floating-nav {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    background-color: #b5e6ea;
    border-radius: 20px;
    border: 10px solid white;
    transition: all 0.4s ease;
    z-index: 1000;
}

.sticky-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0 !important;
    background-color: #b5e6ea !important;
    border: none !important;
    padding: 1rem 2rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.navbar-nav .nav-link {
    color: #000;
    font-weight: 600;
    position: relative;
    padding: 8px 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover and active underline */
.navbar-nav .nav-link::after,
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background-color: #000;
    transition: width 0.3s ease;
}

/* On hover */
.navbar-nav .nav-link:hover {
    color: #000 !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Active state */
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav li {
    padding: 0px 20px;
    font-size: 1.2em;
}

.book_btn {
    font-size: 1.2em !important;
    border-radius: 30px !important;
    border: 2px solid #d2a541 !important;
    background: linear-gradient(145deg, #faebb2, #fff9dc) !important;
    color: #3a2c00 !important;
    padding: 10px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    animation: none;
    transition: none;
    cursor: pointer;
}

/* Hover animation */
.book_btn:hover {
    animation: liftButton 0.8s forwards ease-in-out;
    color: #2a1d00 !important; /* darker text on hover */
}

/* Click effect */
.book_btn:active {
    animation: pressButton 0.2s forwards ease-out;
}

@keyframes liftButton {
    0% {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        background: linear-gradient(145deg, #faebb2, #fff9dc);
    }
    50% {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        background: linear-gradient(145deg, #ffe97f, #fff4b3);
    }
    100% {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
        background: linear-gradient(145deg, #ffe97f, #fff4b3);
    }
}

@keyframes pressButton {
    from {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    }
    to {
        transform: translateY(0px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Navbar End */
/* Banner Start */
.banner_wrapper {
    position: relative;
    min-height: 100vh;
    max-height: 120vh;
    /* background-image: url("../img/banner1.png");  */
    background-size: cover;
    background-position: center;
}
.banner_wrap {
    position: absolute;
    background-color: rgba(142, 227, 255, 0.25);
    width: 100%;
    height: 100%;
}
/* Ensure navbar is above the banner */
.banner_wrapper nav {
    z-index: 10;
    position: relative;
}
/* Content block */
.banner-content {
    padding: 40px 30px;
    width: 100%;
    margin: auto;
}
.banner_logo {
    width: auto;
    height: 100px;
}
/* Text styles inside banner */
.banner_header1 {
    font-family: "Merriweather", serif;
    font-size: 3rem;
    font-weight: bold;
}

.banner_desc1 {
    font-family: "Merriweather", serif;
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 90%;
}

/* Button style */
.banner_btn {
    font-size: 1.3rem !important;
    transition: all 0.3s ease;
    padding: 20px 60px !important;
    border-radius: 15px !important;
    color: #b5e6ea !important;
}
.banner_btn:hover {
    background-color: #0dddf0; /* hover effect for Explore button */
    color: #fff !important;
}

/* Social icons */
.banner_icons {
    transition: transform 0.3s ease;
}
.banner_icons:hover {
    transform: scale(1.1);
}
/* Banner End */
/* Our Villas Start */
/* 
.skewed-image {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.villas_container {
    position: relative;
}
.villa-text {
    margin-top: 9rem;
}

.villa-badge {
    background-color: #6ba2bd;
    color: white;
    font-family: Georgia, serif;
    font-size: 1.75rem;
    font-weight: bold;
    padding: 2rem 3rem; 
    width: 100%; 
    text-align: center; 
    display: inline-block;
    position: absolute;
    top: 90px;
    right: 0px;
    transform: translateY(-50%);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 4% 100%);
    border-bottom: 10px solid rgba(98, 98, 98, 0.303);
}

.villa-title {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.villa-underline {
    width: 80%;
    border: none;
    border-top: 8px solid #78b4d0; 
    margin: 0 auto 1rem auto;
    background: none;
    opacity: 1 !important;
}

.villa-description {
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1.6;
    text-align: justify center;
    width: 100%;
} */

.carousel-item {
    height: 100vh;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-control-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 10;
}

.carousel-control-prev-custom {
    left: 10px;
    z-index: 1;
}

.carousel-control-next-custom {
    right: 10px;
    z-index: 1;
}

.custom-arrow svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 3;
    transition: stroke 0.3s, transform 0.3s;
}

.carousel-control-next-custom .custom-arrow svg {
    stroke: #222;
}

.carousel-control-custom:hover .custom-arrow svg {
    transform: scale(1.1);
}
/* Our Villas End */
/* CTA Start */
.cta_wrapper {
    padding: 50px 0px !important;
    background-color: #449dc5;
}
.cta_wrap {
    position: relative;
    /* background-image: url("../img/banner2.png"); */
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 120vh;
}

/* Card Styling */
.custom_card {
    background-color: rgba(132, 183, 202, 0.95);
    border-radius: 5px;
    color: #fff;
    width: 90%;
}

.custom_title {
    font-size: 3rem;
    font-weight: bold;
}

.custom_hr {
    border: none;
    border-top: 3px solid #fff;
    width: 90%;
    margin: 0 auto;
    opacity: 1;
}
.custom_text p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: justify;
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Buttons */
.custom_btn_white,
.custom_btn_yellow {
    padding: 1rem 4.5rem;
    border-radius: 2rem;
    font-weight: 500;
    border: 1px solid #000;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-block;
    transition: 0.3s;
}

.custom_btn_white {
    background-color: #fff;
    color: #000;
}

.custom_btn_white:hover {
    background-color: #f0f0f0;
}
.custom_btn_white:hover {
    background-color: #497f8b;
    color: #fff;
    transform: translateY(-2px);
}
.custom_btn_yellow {
    background-color: #fae39b;
    color: #000;
}

.custom_btn_yellow:hover {
    background-color: #497f8b;
    color: #fae39b;
    transform: translateY(-2px);
}
/* CTA End */
/* Footer Start */
.footer_wrapper {
    position: relative;
    background-image: url("../img/bg2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 75vh; /* changed from height: 75vh to min-height */
}

.footer_wrap {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.65);
    width: 100%;
    height: 100%;
    padding: 0px 100px;
}
.footer_container {
    /* padding-top: 100px; */
}
.footer_logo {
    width: 90%;
    height: auto;
}
.footer_title {
    color: #135b6d;
    font-weight: 800;
}
.footer_contact {
    width: 100%;
}
.footer_contact p {
    color: #135b6d;
    font-size: 1.2rem;
    font-weight: 600;
}
.footer_contact strong {
    color: #135b6d;
}

.footer-nav a {
    position: relative;
    padding: 0 15px;
    flex: 1;
    text-align: center;
}

.footer-nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 100%;
    width: 2px;
    background-color: #000000;
    opacity: 1;
}
.footer-nav a {
    font-size: 1.5rem;
    color: #135b6d !important;
    font-weight: 800;
    text-decoration: underline 2px #135b6d;
    text-underline-offset: 5px;
}
.footer-nav a:hover {
    color: #ffffff !important;
    text-decoration: underline 3px #ffffff;
    transition: color 0.3s ease;
}
.footer_copyright p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #135b6d !important;
}
/* Footer End */

/* Scroll To Top CSS Start */
/* Style for the button */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #217bf4;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
}

/* Style for the button when hovering over it */
#scrollToTop:hover {
    background-color: #241e5f;
}
