@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
   
}
html {
    scroll-behavior: smooth;
}

html,

body {
    height: 100%; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    
}

.main-content {
    flex: 1; 
}

.logo-link{
    text-decoration: none;
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 70px;
    width: auto;
    margin-right: 10px;
}

nav .logo h1 {
    font-size: 2.1rem;
    background: #000;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
    position: relative; /* Allow dropdown positioning */
    display: flex; /* Align items in a row */
    align-items: center; /* Center items vertically */
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 5px;
    display: flex; /* Use flex for alignment */
    align-items: center; /* Center text and icon */
}

nav ul li a i {
    margin-right: 5px; /* Space between icon and text */
}

nav ul li a:hover {
    background-color: #f5f5f5;
}

/* Dropdown Styles */
nav .dropdown {
    display: none; /* Initially hidden */
    position: absolute;
    top: 100%; /* Below the Account link */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Offset to center */
    background-color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    z-index: 100;
    padding: 0; /* Remove padding to minimize gap */
    border-radius: 5px;
}

nav ul li:hover .dropdown {
    display: block; /* Show dropdown on hover */
}

nav .dropdown li {
    margin: 0 10px; /* Remove margin for dropdown items */
    display: flex; /* Align items in a row */
    align-items: center; /* Center items vertically */
}

nav .dropdown li a {
    padding: 8px 15px; /* Adjust padding for dropdown links */
    display: flex; /* Use flex for alignment */
    align-items: center; /* Center text and icon */
}

nav .dropdown li a:hover {
    background-color: #f5f5f5; /* Hover effect for dropdown items */
}

/* for service menu */
/* Services Dropdown Parent */
.services-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Toggle Link */
.services-toggle {
    text-decoration: none;
    color: #000; /* Black text */
    padding: 8px 12px;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.services-toggle:hover {
    color: #2e834b; /* Green text */
}

/* Dropdown Menu Styling */
.services-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Aligns below the parent */
    left: 0;
    background-color: #fff; /* White background */
    border: 1px solid #ddd; /* Subtle border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    border-radius: 8px; /* Rounded corners */
    min-width: 240px; /* Minimum width for consistency */
    padding: 10px 0; /* Add space between the items */
    z-index: 1000; /* Ensure it appears above other content */
}

/* Dropdown Items */
.services-menu li {
    list-style: none; /* Remove bullets */
}

.services-menu li a {
    text-decoration: none;
    color: #333; /* Darker text */
    display: flex; /* Flex for alignment */
    align-items: center; /* Center-align icon and text */
    padding: 10px 0; /* Spacing around each link */
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Add an Icon to Each Item */
.services-menu li a i {
    margin-right: 10px; /* Space between icon and text */
    font-size: 18px; /* Adjust icon size */
    color: #2e834b; /* Green color for icons */
}

/* Hover Effect for Items */
.services-menu li a:hover {
    background-color: #f9f9f9; /* Light gray on hover */
    color: #037832; /* Green text color */
}

/* Show Dropdown on Hover */
.services-dropdown:hover .services-menu {
    display: block; /* Show dropdown menu */
}

/* HAMBURGER */
.hamburger {
    display: none;
    cursor: pointer;
}
.hamburger:hover { opacity: 0.75; }
.hamburger .line {
    width: 25px;
    height: 1px;
    background-color: rgb(60, 60, 60);
    display: block;
    margin: 7px auto;
    transition: all 0.3s ease-in-out;
}

/* Menu bar styles */


/* ── Off‑canvas menubar ── */
.menubar {
    position: absolute;
    top: 80px;
    right: -60%;
    display: none;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    height: 100vh;
    padding: 20% 0;
    background: rgba(255, 255, 255, 0.9);
    transition: right 0.5s ease-in-out;
    z-index: 2;
  }
  .menubar.active {
    display: flex;
    right: 0;
  }
  
  /* ── Reset ── */
  .menubar ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .menubar ul > li {
    margin-bottom: 32px;
  }
  .menubar ul li a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 95%;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .menubar ul li a:hover {
    background-color: #f5f5f5;
  }
  
  /* ── GENERIC DROPDOWN ── */
  .dropdown {
    position: relative;
  }
  .dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
  }
  
  /* Rotate the icon when its parent <li> has .open */
  .dropdown.open > a i {
    transform: rotate(-180deg);
  }
  .dropdown-menu {
    display: none;
    margin-top: 8px;
    padding-left: 15px;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown.open .dropdown-toggle i {
    transform: rotate(-180deg);
  }
/* reduce top & bottom space between items */
.dropdown-menu li {
    margin: 6px 0 !important;        /* instead of your old 16px bottom‑only */
  }
  
  /* optionally, shave off a bit of the link's padding */
  .dropdown-menu li a {
    padding: 4px 10px !important;    /* vertical 4px instead of 5px */
  }
  
  
  /* ── Responsive: show hamburger, hide desktop nav ── */
  @media screen and (max-width: 790px) {
    .hamburger { display: block; }
    nav ul { display: none; }
  }
  












/* HERO */
.hero {
    position: relative; /* Establish positioning context */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures no overflow from the pseudo-element */
    /* No background-image defined here */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/images/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(1.0px); 
    z-index: -1; 
}


.content {
    text-align: center;
    color: #ffffff;
}
.content h1 {
    font-size: 65px;
    margin-bottom: 20px;
}

.content p {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 30px;
    background-color: #00000020;
    padding: 5px 10px;
    backdrop-filter: blur(2px); /* Apply blur effect to the background */
    display: inline-block; /* Ensures background size fits text length */
}

.content .btn {
    font-size: 18px;
    padding: 10px 20px;
    background-color: #2e834b;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease;
    display: block; /* Ensure it's on the next line */
    width: fit-content; /* Make the button width match the text length */
    margin-left: auto;  /* Centers the button horizontally */
    margin-right: auto; /* Centers the button horizontally */
}


.content .btn:hover {
    background-color: #037832;
}

/* MAP Section */

/* SERVICES */

/* Remove Default Swiper Arrow Styles */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    bottom: 20px; /* Position below the swiper content */
    z-index: 10; /* Ensure buttons are above content */
    background-color: #037832;
    border: none; /* Remove border */
    
    width: 60px; /* Set width for a circular button */
    height: 60px; /* Set height for a circular button */
    border-radius: 50%; /* Make it a perfect circle */
    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth with a shadow */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth animations */
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    bottom: 20px; /* Position below the swiper content */
    z-index: 10; /* Ensure buttons are above content */
    background-color: #037832;
    border: none; /* Remove border */
    
    width: 50px !important; /* Set width for square button */
    height: 50px !important; /* Set height for square button */
    border-radius: 10px; /* Round the corners */
    
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth with a shadow */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth animations */
}

/* Pure CSS Arrow for Next Button */
.swiper-button-next::before {
    content: "";
    border: solid #fff; /* White arrow color */
    border-width: 0 6px 6px 0; /* Create a larger triangle shape */
    display: inline-block;
    padding: 8px; /* Adjust arrow size */
    transform: rotate(-45deg); /* Rotate to point right */
}

/* Pure CSS Arrow for Prev Button */
.swiper-button-prev::before {
    content: "";
    border: solid #fff; /* White arrow color */
    border-width: 0 6px 6px 0; /* Create a larger triangle shape */
    display: inline-block;
    padding: 8px; /* Adjust arrow size */
    transform: rotate(135deg); /* Rotate to point left */
}


.swiper {
    width: 100%; /* Full width of the parent container */
    max-width: 1600px; /* Optional: constrain max width */
    margin: auto; /* Center align the swiper */
}

.swiper-slide {
    display: flex; /* Use flexbox to align the cards */
    justify-content: center;
    align-items: stretch; /* Ensure cards take full height */
}


/* Maintain existing card layout */
.service_body {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 2em 1em; /* Adjusted for better spacing */
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align cards horizontally */
    gap: 1.5em; /* Consistent spacing between cards */
    margin-bottom: 20px;
}

.column {
    flex: 0 0 auto; /* Allow Swiper to control width automatically */
    max-width: 100%; /* Maintain original card size */
    text-align: center;
    padding: 0;
}


.card {
    width: auto;
    height: 70%; /* Let the card grow to fill the container height */
    display: flex;
    flex-direction: column;
    padding: 1.5em;
    background: linear-gradient(#ffffff 50%, #2e834b 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.card h3 {
    font-size: 18px;
    color: #2e834b;
    font-weight: bold;
    margin-bottom: 10px; /* Add spacing below the title */
}

.card p {
    font-size: 14px;
    color: #555;
    text-align: center;
    flex-grow: 1; /* Allow the paragraph to take available space */
    display: flex;
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    margin: 0; /* Remove default margin */
}

.icon-wrapper {
    background-color: #2e834b;
    font-size: 30px;
    height: 70px;
    width: 70px;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Add spacing below the icon */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover Effects */
.card:hover {
    background-position: 0 100%; /* Smooth background transition */
}

.card:hover .icon-wrapper {
    background-color: #ffffff;
    color: #037832;
}

.card:hover h3 {
    color: #ffffff;
}

.card:hover p {
    color: #f0f0f0;
}


/* Style to remove anchor text decoration and apply hover effects */
.card-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    display: block; /* Make the link span the full card */
}

.card-link:hover .card {
    background-position: 0 100%; /* Optional hover effect for the card */
}


@media screen and (min-width: 768px) {
    .column {
        flex: 0 0 45%; /* 2 columns on medium screens */
        max-width: 45%;
    }
}

@media screen and (min-width: 992px) {
    .column {
        flex: 0 0 30%; /* 3 columns on large screens */
        max-width: 30%;
    }
}



/* Main Map Section */
.map_body {
    background-color: #f4f4f4; /* Light background color */
    padding: 4rem 2rem; /* Top and bottom padding for spacing */
  }
  
  /* Sub Body Section */
  .sub_body {
    max-width: 1200px; /* Maximum width for content */
    margin: 0 auto; /* Center content */
    padding: 2rem;
    display: flex; /* Use Flexbox for layout */
    flex-direction: row; /* Position items side by side */
    justify-content: space-between; /* Space between the content */
    background-color: rgba(255, 255, 255, 0); /* White background for content box */
  }
  
  /* Box containing title and text */
  .box {
    width: 48%; /* Set the width of the text box */
    margin-right: 2%; /* Space between text box and map */
  }
  
  .box h1 {
    font-size: 2.5rem;
    color: black; /* Black color for the text */
    margin-bottom: 1rem;
  }
  
  .box p {
    font-size: 1.1rem;
    color: black; /* Black color for the text */
    line-height: 1.6;
  }
  
  /* Style for the map iframe */
  .map-frame {
    width: 48%; /* Set the map width */
    height: 450px; /* Set a fixed height for the map */
    border: none; /* Remove the iframe border */
    border-radius: 8px; /* Rounded corners for the map iframe */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow around the map */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .map_body {
      padding: 2rem 1rem; /* Reduce padding on smaller screens */
    }
  
    .sub_body {
      flex-direction: column; /* Stack the content on smaller screens */
      align-items: center; /* Center-align the items when stacked */
    }
  
    .box {
      width: 100%; /* Make the text box full-width on smaller screens */
      margin-right: 0; /* Remove the margin on small screens */
      margin-bottom: 2rem; /* Add space below the text box */
    }
  
    .map-frame {
      width: 100%; /* Make the map full-width on smaller screens */
      height: 300px; /* Reduce map height on smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .box h1 {
      font-size: 1.8rem; /* Further reduce title size on very small screens */
    }
  
    .box p {
      font-size: 0.9rem; /* Reduce paragraph size */
    }
  
    .map-frame {
      height: 250px; /* Further reduce map height */
    }
  }


/* Existing CSS for the Footer Section remains unchanged */
.footer {
    background-color: #fff;
    padding: 20px 100px;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left h2 {
    margin: 10px 0 15px 0;
    font-size: 24px;
    color: #333;
}

.footer-left .highlight {
    color: #2e834b;
}

/* Footer Right Container already uses flexbox for horizontal alignment */
.footer-right {
    display: flex;
    align-items: center;      /* vertically center all children */
    justify-content: flex-end;
}

/* Ensure the terms container also uses flex for proper alignment */
.footer-right .terms {
    display: flex;
    align-items: center;      /* center the contents (the <p> with link) vertically */
    margin-right: 15px;       /* spacing between Terms and the Facebook icon */
}

/* Remove default paragraph margin in the terms container */
.footer-right .terms p {
    margin: 0;
}

/* Existing styles for the Terms link and Facebook icon */
.facebook-icon {
    font-size: 1.5rem;
    color: #037832;
    text-decoration: none;
    transition: color 0.3s ease;
}

.facebook-icon:hover {
    color: #2e834b;
}

.terms a {
    color: #037832;
    text-decoration: none;
    font-size: 14px;
}

.terms a:hover {
    color: #2e834b;
}




/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
    overflow: hidden; /* Prevent the entire modal from scrolling */
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Set a width for the modal */
    max-width: 600px; /* Max width of the modal */
    max-height: 80vh; /* Maximum height of the modal */
    overflow-y: auto; /* Only make the content scrollable */
    height: 60vh; /* Fixed height for content, this can be adjusted */
    position: relative; /* Allow positioning of the close button */
}

/* Close Button */
.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute; /* Position it absolutely within the modal-content */
    top: 10px; /* Position it 10px from the top */
    right: 10px; /* Position it 10px from the right */
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Scrollable content inside the modal */
.modal-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}



/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack the items vertically */
        align-items: center; /* Center align all items */
        padding: 20px; /* Adjust padding for smaller screens */
    }

    .footer-left, .footer-right {
        margin-bottom: 1rem; /* Add margin between sections when stacked */
        text-align: center; /* Center align both sections */
    }

    .footer-left h2 {
        font-size: 20px; /* Slightly smaller text on medium screens */
    }

    .footer-copyright p {
        font-size: 0.9rem; /* Adjust the font size for smaller screens */
    }

    .facebook-icon {
        font-size: 2rem; /* Larger Facebook icon on smaller screens */
    }

    .footer-bottom {
        flex-direction: column; /* Stack footer items vertically */
        align-items: center; /* Center align the footer content */
    }

    .footer-copyright {
        margin-bottom: 10px; /* Adjust the space when stacked */
    }

    .terms {
        text-align: center;
        margin-top: 10px; /* Add space above terms link */
    }
}

@media (max-width: 480px) {
    .footer-left h2 {
        font-size: 1.8rem; /* Further reduce the title size for very small screens */
    }

    .footer-copyright p {
        font-size: 0.8rem; /* Further reduce the copyright text size */
    }

    .facebook-icon {
        font-size: 2.5rem; /* Increase Facebook icon size for small screens */
    }
}




/* BOTPRESS CHAT WIDGET */
#chat-widget .botpress-widget iframe {
    border: none !important; /* Removes the iframe border */
    outline: none !important; /* Removes outline */
}

/* Remove border for the entire Botpress widget container */
#chat-widget .botpress-widget {
    border: none !important; /* Removes border around the widget */
}

/* Disable hover effects on buttons in the Botpress widget */
#chat-widget .botpress-widget button:hover,
#chat-widget .botpress-widget .bp-widget-button:hover {
    cursor: default !important; /* Removes hover effect */
    background-color: transparent !important; /* Optionally remove background on hover */
}

/* Prevent any shadow or outline on the widget */
#chat-widget .botpress-widget .bp-chat-container {
    box-shadow: none !important; /* Removes any shadow effect */
}

/* Fix position for chat widget */
#chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000; /* Ensures the widget is on top */
}
/* Settings Page Styles */
.settings-container {
    display: flex;
    gap: 2rem;
    margin: 5rem 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu {
    width: 25%;
    border-right: 1px solid #ddd;
    padding-right: 1rem;
}

.menu a {
    display: block;
    padding: 10px 15px;
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.menu a.active {
    background-color: #2e834b;
    color: #fff;
    font-weight: 600;
}

.menu a:hover {
    background-color: #037832;
    color: #fff;
}

.content {
    width: 75%;
}

.section-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #2e834b;
    font-weight: 600;
}

.button-group button {
    margin-right: 10px;
}

.mb-3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.form-label {
    color: black;
    align-self: flex-start; /* Aligns the label to the left */
    margin-bottom: 0.5rem; /* Adds spacing below the label */
    font-weight: 500; /* Makes the label slightly bolder */
}

@media (max-width: 768px) {
    .settings-container {
        flex-direction: column;
        padding: 1rem;
    }
    .menu {
        width: 100%;
        border-right: none;
        margin-bottom: 1rem;
    }
    .content {
        width: 100%;
    }
}
