/* Smooth scrolling effect */
html {
    scroll-behavior: smooth;
}

/* Custom dreamy scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 223, 186, 0.3); /* Soft yellowish track */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #212529; /* Warm yellow shade */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 180, 80, 0.9); /* Slightly darker yellow on hover */
}

body {
    font-family: 'Libre Bodoni', serif;
    background-image: url("/images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    /* Adding a dreamy overlay */
    position: relative;
    scroll-behavior: smooth;
    cursor: none;
}
body::selection {
    background-color: yellow; /* Background color when text is selected */
    color: red; /* Text color when selected */
  }
  

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 249, 228, 0.4), rgba(255, 223, 186, 0.3)); /* Soft yellowish overlay */
    backdrop-filter: blur(10px); /* Soft dreamy blur effect */
    z-index: -1;
}




/* Glowing Cursor Effect */
.cursor {
    z-index: 999;
    position: fixed;
    width: 20px;
    height: 20px;
    filter: blur(4px);
    background: #1c314c;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(78, 78, 78), 0 0 20px rgb(65, 65, 65);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.08s ease-out;
}

/* Soft Aura Effect */
.cursor-glow {
    position: fixed;
    width: 80px;
    z-index: 999;
    height: 80px;
    background: radial-gradient(circle, rgba(63, 63, 63, 0.3) 10%, transparent 80%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.08s ease-out;
    
}

/* Particle Trails */
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #313131;
    border-radius: 50%;
    pointer-events: none;
    animation: fadeOut 0.5s linear forwards;
}



@media (max-width: 768px) {
    
    body{
        cursor: default ;
    }
    
    .cursor{
        display: none;
    }
    .cursor-glow{
         display: none;
    }
    
    
}



/* Particle fade-out animation */
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}



header {
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    z-index: 999;
}

footer {
    background-color: rgb(255, 255, 255);
    
}



.card {
    margin-bottom: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    border-radius: 50%; /* Circular buttons */
    padding: 20px; /* Increase padding for larger buttons */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Adjust the width of the control area */
    padding: 20px;
}

    .hero-section {
        width: 100%;
        height: 500px; /* Adjust height as needed */
        background-size: cover; /* Ensures the background image covers the entire section */
        background-position: center; /* Centers the background image */
    }


    .service-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 15px; /* Add border radius */
        overflow: hidden; /* Ensure content stays within the rounded corners */
        box-shadow: 0 10px 20px rgba(143, 133, 133, 0.2); /* Add shadow on hover */
height: 500px;
    }
    
    .service-item:hover {
        transform: scale(1.05); /* Zoom effect on hover */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
    }




    /* Ensure images have the same height */
    .card-img-top {
        height: 600px; /* Adjust as needed */
        object-fit: cover; /* Ensures the image covers the area without distortion */
    }

    section {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    position: relative;
    box-shadow: 0 10px 20px rgba(143, 133, 133, 0.2); /* Add shadow on hover */

}

section:hover {
    transform: scale(1.05); /* Added scale(1.05) for zoom-in effect */
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.3);
}



.book-item {
    transition: transform 0.3s ease-in-out;
     font-family: "EB Garamond", serif;
}

.book-item:hover {
    transform: scale(1.1);
}
.book-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content from the top */
    align-items: center;
    height: 100%;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-item .position-relative {
    width: 100%;
    height: 350px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.book-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space */
    transition: transform 0.3s ease-in-out;
}

.book-item .text-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    text-align: center;
}

.book-item .btn {
    width: 100%;
}

    body {
        padding-top: 80px; /* Adjust this value based on the height of your header */
    }


    


    /* Page Loader Styling */
    #page-loader {
        position: fixed;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1050;
    }

    /* Loader Container */
    .loader {
        position: relative;
        width: 150px;
        height: 150px;
        border: 5px solid #ccc;
        border-top: 5px solid #007bff; /* Loader color */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    /* Centered Image */
    .loader-img {
        width: 150px; /* Adjust image size */
        height: auto;
        position: absolute;
        overflow: hidden;
        border-radius: 50%;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

.book-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-item .position-relative {
    width: 100%;
    height: 350px; /* Set a fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.book-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures full view without distortion */
    transition: transform 0.3s ease-in-out;
}

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

.book-item .text-center {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
}

.book-item .btn {
    width: 100%; /* Optional: Makes the button full width */
}



/* Custom CSS for about-section */
.about-section {
     border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    margin-bottom: 20px; /* Space between sections */
    border: 1px solid #ddd; /* Subtle border */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect */
.about-section:hover {
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
    transform: translateY(-5px); /* Slight lift effect */
    border-color: #000000; /* Change border color on hover */
}

/* Heading styles */
.about-section h2, .about-section h3 {
    color: #333; /* Dark text color for headings */
    margin-bottom: 15px; /* Space below headings */
}

/* Paragraph styles */
.about-section p {
    color: #555; /* Slightly lighter text color */
    line-height: 1.8; /* Improved readability */
    margin-bottom: 0; /* Remove default margin */
}

/* Link styles */
.about-section a {
    color: #ff6f61; /* Custom link color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold text */
}

.about-section a:hover {
    color: #e65a50; /* Darker link color on hover */
    text-decoration: underline; /* Add underline on hover */
}







    /* Ensure the navbar toggler is visible on mobile */
    .navbar-toggler {
        border: none;
        outline: none;
    }

    /* Center the navbar items on mobile */
    @media (max-width: 991.98px) {
        .navbar-nav {
            text-align: center;
        }
        .navbar-collapse {
            backdrop-filter: blur(10px);
    padding: 10px;
    position: fixed;
    top: 10%;
    left: 10%;
    border-radius: 15px;
    width: 80%; /* Adjust width as needed */
    max-width: 400px; /* Optional max width */
    z-index: 1050; /* Ensure it stays on top */
}

        .nav-item {
            margin: 10px 0;
        }

        .nav-link {
            font-size: 1.2rem;
            color: #000000 !important;
            background-color: #b8b8b8ad;
            border-radius: 25px;
        }

        .nav-link:hover {
            color: #007bff !important; /* Highlight color on hover */
        }

        /* Hide the custom button on mobile */
        .btn-primary.d-none.d-lg-inline-block {
            display: none !important;
        }
    }

    /* Desktop styles */
    @media (min-width: 992px) {
        .navbar-nav {
            gap: 20px; /* Add spacing between nav items */
        }

        .nav-link {
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #007bff !important; /* Highlight color on hover */
        }
    }





.footer {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.btn-link {
    color: #72d1db;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #e3d568;
    text-decoration: underline;
}

.btn-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #e3d568;
    color: #000;
}





.buttons-container {
    position: fixed;
    bottom: 0;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: "Hammersmith One", sans-serif;
    z-index: 998;
    padding: 10px;

}

.buttons-container .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 160px;
    text-align: center;
    border-radius: 60px;
    
}

.call-btn {
    background-color: #45bfe4;
}

.whatsapp-btn {
    background-color: #25d366;
}

.btn:hover {
    opacity: 0.8;
}

.btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}


@media (max-width: 768px) {
    .buttons-container {
        bottom: 0px;
        right: 0;
        left: 0;
        padding: 20px;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        backdrop-filter: blur(12px);
       border-top-left-radius: 60px;
       border-top-right-radius: 60px;
        margin: 10px;
        margin-bottom: 0;
    }

    .btn {
        width: 140px;
        padding: 10px 15px;
        border-radius: 25px;
        box-shadow: 1px 1px 15px rgba(3, 32, 49, 0.288);
    }
    a{
        text-decoration: none;
    }
}

a{
    text-decoration: none;
}