/* styles.css */


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Ensure the content takes the full viewport height */
}







  /* Cookie Popup Styling */
  .cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #ccc;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 7px;
    color: #333;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem!important;
}

.cookie-link {
    color: #056579;
    text-decoration: underline;
    font-weight: bold;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.btn-accept {
    background-color: #056579;
    color: #fff;
}

.btn-reject {
    background-color: #e74c3c;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
        gap: 5px;
    }
}












/* Style for the popup overlay */
.popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}
/* Make the first option bold */
.bold-option {
    font-weight: bold;
}
/* Style for the popup content with border */

/* Style for the popup logo */
.popup-logo {
    position: absolute;
    top: -60px; /* Adjust the logo's position above the box */
    left: 50%;
    transform: translateX(-50%); /* Center the logo horizontally */
    width: 80px; /* Set a fixed width for the logo */
    height: 80px; /* Set a fixed height for the logo */
    background: rgb(255, 255, 255); /* Add a semi-transparent circle for a glass effect */
    border-radius: 50%; /* Make the logo background circular */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
    padding: 5px; /* Add some padding inside the circle */
    z-index: 2; /* Ensure the logo is above the popup content */
}

/* Style the logo image */
.popup-logo img {
    width: 100%; /* Fit the image within the container */
    height: 100%; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the logo scales proportionally */
}



/* Style for the popup content with glassmorphism */
.popup-content {
    position: relative;
    background: rgba(235, 232, 232, 0.301); /* Semi-transparent white */
    padding: 25px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.3); /* Soft shadow */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Subtle border for glass effect */
    animation: popup-fade-in 0.3s ease-in-out;
    backdrop-filter: blur(15px); /* Enhanced blur for content */
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    border: 2px solid #b3b2b2;
}

/* Close button style */
/* Close button style */
.close-btnn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #ffffff; /* Bright color for contrast */
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.2s;
}

.close-btnn:hover {
    transform: scale(1.2); /* Subtle hover effect */
    color: #de262c; /* Highlight on hover */
}

/* Header style */
.popup-content h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffffff;
}

/* Add stylish underline to text */
.popup-content p {
    font-size: 1rem;
    color: #ffffff; /* White text for visibility */
    margin-bottom: 15px;
    position: relative;
}

.popup-content p::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: #ffffff;
    margin: 8px auto 0;
}


/* Dropdown menu styling */
.popup-content select {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #cccccc;
}

/* Button styling */
.popup-content button {
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #007bff, #0056b3); /* Modern gradient */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add button shadow */
}

.popup-content button:hover {
    background: linear-gradient(135deg, #0056b3, #003f7f);
    transform: scale(1.05); /* Subtle hover effect */
}

/* Fade-in animation */
@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}







/* Hero Section Styling */
#slider {
    width: 100%;
    padding-top: 90px;
}

.carousel-caption {
    font-family: 'Noto Sans Bengali', sans-serif; 
    top: 50%;
    transform: translateY(-50%);
    bottom: auto !important; /* Ensure bottom is not affecting positioning */
    text-align: center; /* Center align text */
    left: 0; /* Ensure it spans the full width */
    right: 0; /* Ensure it spans the full width */
}

.carousel-caption h5 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 0; /* Remove any margin that may push it off-center */
    padding: 20px 40px; /* Adjust padding if needed */
    background-color: rgba(236, 0, 0, 0.5); /* Set the background color of the box */
    border-radius: 25px; /* Make the corners rounded */
    display: inline-block; /* Adjust width to fit text */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 15px; /* Adjust font size for smaller screens */
        padding: 15px 30px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 15px; /* Further adjust font size for very small screens */
        padding: 10px 20px; /* Further adjust padding for very small screens */
    }
}

/* Carousel Inner Height */
.carousel-inner {
    max-height: 600px !important;
}






/* Navbar Styles */
.navbar {
    position: fixed; /* Sticks the navbar to the top of the viewport */
    top: 0; /* Ensures it stays at the top */
    z-index: 1000; /* Makes sure it stays above other content */
    padding: 0; /* Reduce padding to make the navbar thinner */
    height: 90px; /* Fixed height for the navbar */
    background-color: rgba(255, 255, 255, 0.5) !important; /* 50% opacity for transparency */
    border: none; /* Removes border */
    box-shadow: none; /* Removes shadow */
}

/* Navbar Brand */
.navbar-brand {
    font-weight: bold;
}

/* Adjust Navbar Link Font Size */
.navbar-nav .nav-link {
    font-family: 'Noto Sans Bengali', sans-serif; /* Bengali font */
    font-size: 25px; /* Font size for navbar links */
    font-weight: 700; /* Bold font weight */
    margin-right: 10px; /* Space between links */
    color: red !important; /* Red color for navbar links */
}

/* Navbar Link Hover Effect */
.nav-link:hover {
    color: #007bff !important; /* Blue color on hover */
}






/* Floating WhatsApp Icon */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-icon img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s;
}

.whatsapp-icon img:hover {
    transform: scale(1.1);
}

/* Call Options (Initially Hidden) */
.call-options {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
}

.call-button {
    display: block;
    padding: 10px 20px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.call-button i {
    margin-right: 10px;
}

/* WhatsApp Call Button */
.whatsapp-call {
    background-color: #25d366;
}

.whatsapp-call:hover {
    background-color: #1ebe56;
}

/* Direct Call Button */
.direct-call {
    background-color: #056579;
}

.direct-call:hover {
    background-color: #045265;
}

/* Show Call Options when clicked */
.show-options {
    display: block;
}







/* Red Contact Button */
.contact-btn {
    position: absolute;
    bottom: 80px; /* 20px from the bottom */
    left: 53%; /* Center horizontally */
    transform: translateX(-50%); /* Center the button exactly */
    background-color: red; /* Red background */
    color: white; /* White text color */
    padding: 10px 20px; /* Padding for the button */
    font-size: 16px; /* Button text size */
    border: none; /* Remove border */
    border-radius: 5px; /* Slightly rounded corners */
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
}

/* Hover effect for Contact Button */
.contact-btn:hover {
    background-color: darkred;
}




/* Language Switcher (Flags) */
.language-switcher {
    display: flex;
    justify-content: center; /* Center the flags */
    margin-bottom: 20px; /* Adjust space between flags and Contact button */
    padding-top: 20px; /* Add some padding at the top to move the flags down */
}

.flag-icon {
    width: 30px; /* Size of the flag icons */
    height: auto;
    margin: 0 10px;
    cursor: pointer;
}






/* Mobile Navigation Sidebar */
.mobile-nav {
    height: 100%;
    width: 0; /* Initially hidden */
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mobile-nav a {
    padding: 10px 30px;
    text-decoration: none;
    font-size: 18px;
    color: #f1f1f1;
    display: block;
    transition: 0.3s;
}

.mobile-nav a:hover {
    background-color: #575757;
}

.mobile-nav .closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
}



/* Overlay when sidebar is active */
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: 0.5s;
}

/* Content darkening when sidebar is open */
.content {
    transition: 0.5s;
}

/* Media Query for mobile view */
@media (max-width: 768px) {
    .navbar .collapse {
        display: none; /* Hide the normal navbar links on mobile */
    }
    .navbar-toggler {
        display: block; /* Show the mobile nav button */
    }
}











/* Container for image and logo */
.image-container {
    position: relative; /* Needed for absolute positioning of the logo */
}

/* Style for the logo */
.card-logo {
    position: absolute;
    top: 250px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    width: 50px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
    opacity: 0.8; /* Optional: adjust opacity */
    z-index: 10; /* Make sure the logo is on top */
}

/* Ensure the image is displayed correctly */
.card-img-top {
    width: 100%;
    height: auto;
}

/* Adjust logo size on smaller screens */
@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 40px; /* Reduce the logo size on smaller screens */
    }
}


    



#hero p {
    color: #000000; /* Change this to your desired color (e.g., #ffffff for white) */
}





/* Background Image with Adjustable Opacity for Services Section */
#services {
    position: relative; /* Required for overlay positioning */
    background-image: url('bg.jpg'); /* Your background image */
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    padding: 60px 0; /* Adjust padding as needed */
    
}


.profile-border{
    border: 6px solid #186997;

}




/* Testimonial Section Styles */
#testimonials .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 1.25rem;
}

.card-text {
    font-size: 1rem;
}


/* Adding a red border to the contact section */
#contact {
    border: 3px solid #186997; /* 3px thick solid red border */
    padding: 20px; /* Optional: Adds padding inside the border */
}

/* Adding a red border around the form */
#contact form {
    border: 3px solid red; /* 3px thick solid red border */
    padding: 20px; /* Adds padding inside the border */
    border-radius: 5px; /* Optional: Rounds the corners of the border */
}



/* Service Cards */
.card {
    margin-top: 20px;
}
.card-title{
    text-align: center;
}

/* Card hover effect */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.aa{
    font-family: 'Noto Sans Bengali', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #186997;
    margin-top: 50px;
    text-decoration: underline;
}




.footer {
    background-color: #186997 !important;
    color: #fff;
}






/* Gallery Section */
.gallery-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.section-title {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #186997;
    margin-bottom: 30px;
}

.gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure two images per row on mobile (max-width: 576px) */
@media (max-width: 576px) {
    .gallery-item {
        margin-bottom: 20px;
    }
    .col-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Adjust layout on medium screens */
@media (min-width: 768px) {
    .gallery-item {
        margin-bottom: 30px;
    }
}







/* Team Section */
.team-section {
    background-color: #f4f4f4;
   
}

.section-title {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #186997;
    margin-bottom: 30px;
}

.team-carousel {
    overflow: hidden;
    position: relative;
    touch-action: pan-x; /* Enable horizontal touch scrolling */
}

.team-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    
    will-change: transform; /* Optimize for touch scrolling */
}

.team-item {
    flex: 0 0 200px;
    text-align: center;
}

.team-item img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-item h5 {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
}

.team-item p {
    font-size: 14px;
    color: #555;
}

/* Animation for automatic scrolling */

/* Stop animation on hover */
.team-slider:hover {
    animation-play-state: paused;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .team-item {
        flex: 0 0 150px;
    }
}


/* Keep the existing CSS */
.team-carousel {
    overflow: hidden;
    position: relative;
    touch-action: pan-x; /* Enable horizontal touch scrolling */
    cursor: grab; /* Change cursor to indicate draggable content */
}

.team-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
    animation: scrollTeam 20s linear infinite; /* Continuous scrolling */
    will-change: transform; /* Optimize for touch scrolling */
}

/* Animation for endless scrolling */
@keyframes scrollTeam {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Scrolls entire width */
    }
}

/* Stop animation on hover */
.team-slider:hover {
    animation-play-state: paused;
}




/* Social Icons Styling */
.social-icons {
    position: absolute;
    bottom: 10px; /* Distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 10px;
}

.social-icon {
    margin-right: -20px; /* Adjust the overlap between icons */
}

.social-icon img {
    width: 24px; /* Size of the icons */
    height: 24px;
    display: block;
}

/* Optional: Add hover effect */
.social-icon:hover img {
    opacity: 0.7;
}


#slider video {
    object-fit: cover; /* Ensures the video covers the entire container */
    width: 100%;
    height: 100vh; /* Makes the video full height */
}




#slider {
    overflow: hidden; /* Prevent overflow in slider */
    position: relative; /* Ensure it's positioned relative to parent */
}







/* Container for Google Map to make it responsive */
.map-responsive {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 1rem; /* Space below the map */
    background-color: #b5babd; /* Optional: background color for better visibility */
    
}

/* Map iframe styling */
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* This one remains */
    height: 100%; /* This will ensure it fills the map container properly */
    border: 0;
}

/* Ensure map responsiveness and centering */
@media (max-width: 768px) {
    .map-responsive {
        padding-top: 75%; /* Adjust aspect ratio for better mobile view if needed */
        max-width: 100%;
        margin: 0 auto; /* Center the map */
    }
}
@media (max-width: 576px) {
    .map-responsive {
        padding-top: 70%; /* Adjust this to reduce space on smaller screens */
    }
}






.sound-toggle {
    position: absolute;
    top: 20px;  /* Move to top */
    left: 20px; /* Move to left */
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
}

.sound-toggle button {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}




/* Style for language switcher in the footer */
.language-switcher-footer {
    position: absolute;
    right: 50px;
    bottom: 33px;
}

.flag-icon-footer {
    width: 30px;
    height:25px;
    margin-left: 10px;
    cursor: pointer;
}

/* Ensure flags in the footer appear only on desktop view */
@media (max-width: 768px) {
    .language-switcher-footer {
        display: none;
    }
}

/* Ensure flags in the mobile sidebar are visible only on mobile */
@media (min-width: 769px) {
    .language-switcher {
        display: none;
    }
}

