html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

#navbar.fixed {
    position: fixed;
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.fixed-navbar {
    transition: background-color 0.3s ease;
}

.bg-transparent {
    background-color: transparent;
}

.bg-black {
    background-color: black;
}


/* Main Content Styles */
#main-content {
    display: none;
    opacity: 0;
    transition: opacity 5s ease;
}

/* Logo Animation */
.logo-animation {
    width: 150px;
    animation: spin 5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}


#logo-img {
    width: 190px; /* Set logo size for large screens */
    height: auto; /* Maintain aspect ratio */
}

/* Resize logo for smaller screens */
@media (max-width: 1024px) {
    #logo-img {
        width: 100px; /* Set logo size for smaller screens */
        height: auto; /* Maintain aspect ratio */
    }
}

@media (max-width: 600px) {
    #logo-img {
        width: 80px; /* Further reduce logo size for very small screens */
        height: auto; /* Maintain aspect ratio */
    }
}


/* Reset and Basic Styles */


/* Loader Styles */


.logo-animation {
    width: 150px; /* Adjust size of the logo */
    animation: spin 2s ease-in-out infinite;
}

/* Keyframes for the spinning animation */
@keyframes spin {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

/* Loader Styles */
/* Loader Styles */
#loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #000000;
    opacity: 1;
    transition: opacity 5s ease-out; /* Smooth fade-out */
}

/* Logo Styles */
#new-logo {
    width: 100%; /* Set a standard width for the logo */
    transition: none; /* Ensures logo doesn't rotate or animate */
}

/* Main content hidden initially */
#main-content {

    opacity: 0;
    transition: opacity 15s;
}

/* Responsive Styles */

/* For mobile (small screens) */
@media screen and (max-width: 639px) {
    #loader {
        justify-content: center; /* Center the loader for small screens */
    }

    #new-logo {
        width: 100%; /* Logo size for mobile */
    }
}

/* For tablet (medium screens) */
@media screen and (min-width: 640px) and (max-width: 1023px) {
    #loader {
        justify-content: center; /* Keep centered for tablets */
    }

    #new-logo {
        width: 100%; /* Logo size for tablets */

    }
}

/* For desktop and laptop (large screens) */
@media screen and (min-width: 1024px) {
    #loader {
        justify-content: center; /* Keep centered for desktops */
    }

    #new-logo {
        width: auto; /* Logo size for desktops */
        height: 400px;
    }
}

/* Simplfied plans */

.simplified-plans-content-box {
    background: rgba(236, 236, 236, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4.5px);
    border-radius: 15px;
    width: 100%;
}

/* Hover Box*/

.deals-box-shadow {
    margin: 10px auto 0;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    transition: .6s;
}

.deals-box-shadow:hover {
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(1.05, 1.05);
}

/* Testimonial Slider CSS */

.center-slider {
    position: relative;
    width: 100%;
    height: 400px; /* Adjusted for horizontal layout */
}

.slick-list {
    height: 100%;
}

.slick-track {
    display: flex;
}

.slick-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    transform: scale(0.8);
}

.slick-center {
    transform: scale(1);
    opacity: 1;
}

.testimonial-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.testimonial-author div {
    font-size: 14px;
}

.slick-arrow {
    display: none !important;
}

.slick-prev,
.slick-next {
    display: none !important; /* Force hide arrows */
}

@layer components {
    .slick-prev,
    .slick-next {
        @apply hidden;
    }
}

.center-slider .slick-prev,
.center-slider .slick-next {
    display: none !important; /* Force hide */
    pointer-events: none; /* Prevent interaction */
}


/* card animation  */
/*.card {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 2s ease, transform 1s ease;
}


.card.animate {
    opacity: 1;
    transform: translateX(0);
}


.card:nth-child(1).animate { animation-delay: 0.5s; }
.card:nth-child(2).animate { animation-delay: 2.0s; }
.card:nth-child(3).animate { animation-delay: 4.0s; }
.card:nth-child(4).animate { animation-delay: 6.0s; }

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 4px;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 2px;
    }

    .card img {
        max-width: 90%;
        margin: 0 auto;
    }
}
*/

/* Card Animation Styles */


.boxes-row {
    display: grid;
    grid-gap: 1rem;
}

/* Responsive Grid Layout */
.sm\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Card Styles */
.card {
    opacity: 0;
    transform: translateX(50px); /* Initially off-screen to the right */
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: auto; /* Maintains aspect ratio of images */
    object-fit: cover; /* Ensures images cover the entire area without distortion */
}

/* Animation Delays for Staggered Cards */
.stagger-desktop-1 {
    transition-delay: 0ms;
}

.stagger-desktop-2 {
    transition-delay: 600ms;
}

.stagger-desktop-3 {
    transition-delay: 900ms;
}

.stagger-desktop-4 {
    transition-delay: 1200ms;
}

/* When Card is Animated */
.card.animate {
    opacity: 1;
    transform: translateX(0); /* Moves to its original position */
}

/* Mobile (smaller screens) */
@media screen and (max-width: 767px) {
    /* Remove animation on mobile */
    .card {
        opacity: 1;
        transform: translateX(0); /* Keep cards in place */
        transition: none; /* Disable transitions on mobile */
    }

    .boxes-row {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

/* Tablet (medium screens) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .boxes-row {
        grid-template-columns: 1fr 1fr; /* Two columns on tablet */
    }
}

/* Large screens */
@media screen and (min-width: 1024px) {
    .boxes-row {
        grid-template-columns: 1fr 1fr 1fr 1fr; /* Four columns on larger screens */
    }
}


/* card reveal */

.animation {
    /*display: flex;*/
    justify-content: center;
}

.animation .anm_mod {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: all 1s ease;
}

.anm_mod.full {
    width: 100%;
}

.animation .anm_mod.down {
    width: 100%;
}

.anm_mod.left {
    transform: translate3d(-100%, 0, 0);
}

.anm_mod.right {
    transform: translate3d(100%, 0, 0);
}

.anm_mod.delay1 {
    transition: all 0.5s ease;
}

.anm_mod.delay2 {
    transition: all 0.75s ease;
}

.anm_mod.delay3 {
    transition: all 1s ease;
}

.anm_mod.delay4 {
    transition: all 1.25s ease;
}

.anm_mod.fast {
    transition: all 0.8s ease;
}

.anm_mod.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/*onLoad Animation*/

.page-animation {
    justify-content: center;
}

.page-animation .anim-element {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: all 0.5s ease;
}

.anim-element.full-width {
    width: 100%;
}

.page-animation .anim-element.move-down {
    width: 100%;
}

.anim-element.move-left {
    transform: translate3d(-100%, 0, 0);
}

.anim-element.move-right {
    transform: translate3d(100%, 0, 0);
}

.anim-element.delay-main {
    transition: all 0.5s ease;
}

.anim-element.delay0 {
    transition: all 0.6s ease;
}

.anim-element.delay1 {
    transition: all 0.7s ease;
}

.anim-element.delay2 {
    transition: all 0.8s ease;
}

.anim-element.delay3 {
    transition: all 0.9s ease;
}

.anim-element.delay4 {
    transition: all 1s ease;
}

.anim-element.delay5 {
    transition: all 1.1s ease;
}

.anim-element.delay6 {
    transition: all 1.2s ease;
}

.anim-element.delay7 {
    transition: all 1.3s ease;
}

.anim-element.delay8 {
    transition: all 1.4s ease;
}

.anim-element.delay9 {
    transition: all 1.5s ease;
}

.anim-element.delay10 {
    transition: all 1.6s ease;
}

.anim-element.delay11 {
    transition: all 1.7s ease;
}

.anim-element.fast-transition {
    transition: all 0.8s ease;
}

.anim-element.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}


/*text reveal*/

.rental-reveal-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

.rental-reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-text {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.ml2 {
    display: inline-block; /* Prevent breaking of text structure */
}

.ml2 .letter {
    display: inline-block; /* Ensure spans behave like inline elements */
    white-space: initial; /* Ensure proper wrapping for words if needed */
}

/* for rental  */

.ml14 {
    align-items: center;
}


.ml14 .letter {
    opacity: 0;
    transform: translateX(40px);
}

.ml15 {
    text-transform: uppercase;
}

.ml15 .word {
    display: inline-block;
    line-height: 1em;
}


.ml16 {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.letter {
    display: inline-block;
}


/* Video Box  */


.play-button-inner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: 0.5s ease;
}

.main-animate-image:hover .play-button-inner-overlay {
    display: block;
    background: rgba(0, 0, 0, .7);
}


.play-button-sec-button {
    position: absolute;
    width: 100%;
    left: 40%;
    top: 35%;
    text-align: center;
    opacity: 0;
    transition: 0.5s ease;
}

.play-button-sec-button a {
    text-align: center;
    z-index: 1;
}

.main-animate-image:hover .play-button-sec-button {
    opacity: 1;
}


/* E-Signature */
#signature {
    width: auto;
    border: dashed 2px #53777A;
    margin: 0;
    text-align: center;
    min-height: 80px;
    min-width: 340px;
    cursor: crosshair;
}

#display-signature {
    width: auto;
    border: dashed 2px #53777A;
    margin: 0;
    text-align: center;
    min-height: 80px;
    min-width: 340px;
    pointer-events: none;
    cursor: none;
}


#signature_capture {
    width: 100%;
    height: 7em;
}


.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
