/* --------------------------Global styles -----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) #f9f9f9;
    overflow-x: hidden;
}
/* Navigation styles */
#navigation, #navbar {
    position: fixed;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
}

nav img {
    max-width: 100%;
}

.nav-link {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position it absolutely */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of dropdown */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 10px 0; /* Padding for dropdown */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li {
    position: relative; /* Required for submenu positioning */
}

.dropdown-menu li a {
    padding: 10px 20px; /* Spacing for dropdown items */
    color: black; /* Dropdown text color */
    display: block; /* Make links block elements */
    transition: padding-left 0.3s ease, border-left 0.3s ease; /* Smooth transition for padding */
}

.dropdown-menu li a:hover {
    padding-left: 20px; /* Indent on hover */
    border-left: 2px solid #3ca0e7; /* Left border on hover */
}

.dropdown:hover > .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

/* Submenu Styles */
.dropdown-submenu {
    display: none; /* Hide submenu by default */
    position: absolute; /* Position it absolutely */
    left: 100%; /* Align to the right of the parent */
    top: 0; /* Align to the top of the parent */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of submenu */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li:hover > .dropdown-submenu {
    display: block; /* Show submenu on hover */
}

/* Mobile styles for dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative; /* Change to relative for mobile */
        min-width: 100%; /* Full width dropdown */
        left: 0; /* Reset left position */
        box-shadow: none; /* Remove shadow on mobile for simplicity */
    }

    .dropdown-submenu {
        position: relative; /* Change to relative for mobile */
        left: 30px; /* Reset left position */
        min-width: 100%; /* Ensure full width submenu */
        box-shadow: none; /* Remove shadow on mobile */
    }

    /* Mobile styles for nav-link */
    .nav-link {
        width: 100%; /* Make the button full width */
        text-align: center; /* Center the text inside the button */
        padding: 10px 0; /* Add some vertical padding for aesthetics */
    }
}
/* ------------------------------------------------------ */

#menu-items a:hover {
    color: blue;
}

#menu-items span:hover {
    color: blue;
}

.form-shadow {
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.4);
}

.side-panel {
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.side-panel.open {
    transform: translateX(0);
}

@media (max-width: 1440px) {

    #main-class {
        height: 105vh; /* Adjust the height for smaller screens */
    }
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    #main-class {
        height: 147vh; /* Adjust the height for smaller screens */
    }
}

@media (max-width: 425px) {
    #main-content {
        height: 200vh; /* Adjusted height for smaller screens */
    }
    #main-class {
        height: 222vh; /* Adjust the height for smaller screens */
    }
}

@media (max-width: 320px) {
    #main-class {
        height: 222vh !important;
    }
}

.bg-white-scrolled {
    background-color: white;
}


/* -------------------------------------- */
#main-class{
    height: 150vh;
    background-image: linear-gradient(to top, white 0%, #accbee 100%);
}
@media (max-width: 768px) {
    #main-class {
        height: 205vh; /* Adjust the height for smaller screens */
    }
}


/*--------------------------------------------------------------
# Header Appointments
--------------------------------------------------------------*/

.headerppointment .php-email-form {
    width: 100%;
  }
  .headerppointment .php-email-form .form-group {
    padding-bottom: 8px;
  }
  .headerppointment .php-email-form .validate {
    display: none;
    color: red;
    margin: 0 0 15px 0;
    font-weight: 400;
    font-size: 13px;
  }
  .headerppointment .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
  }
  .headerppointment .php-email-form .error-message br + br {
    margin-top: 25px;
  }
  .headerppointment .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
  }
  .headerppointment .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
  }
  .headerppointment .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
  }
  .contactus .php-email-form input, .contactus .php-email-form textarea, .contactus .php-email-form select {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px !important;
  }
  .contactus .php-email-form input:focus, .contactus .php-email-form textarea:focus, .contactus .php-email-form select:focus {
    border-color: #2297C0;
  }
  .contactus .php-email-form input, .contactus .php-email-form select {
    height: 44px;
  }
  .contactus .php-email-form textarea {
    padding: 10px 12px;
  }
  .contactus .php-email-form button[type=submit] {
    background: #2297C0;
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
  }
  .contactus .php-email-form button[type=submit]:hover {
    background: #1c84e3;
  }
  

/* ---------------------------- ANIMATION FADE IN FADE OUT ------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}

.fade-out {
    opacity: 1;
    animation: fadeOut 1s ease-in forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}
.zoom-content {
    zoom: 0.95;
    transform: scale(0.95);
}


/*-------------------------- Footer section------------------------- */
.footer {
    background-color: #1e3a8a; 
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%; 
    bottom: 0; 
    z-index: 1002; 
}

.footer p {
    font-size: 0.8rem;
}


/*-------------------------- Iframe Map Section ------------------------- */
/* CSS for Responsive Google Map */
        .map-responsive {
            overflow: hidden;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio. Use 75% for 4:3 ratio */
            position: relative;
            height: 500px;
        }

        .map-responsive iframe {
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            position: absolute;
        }
        ::selection {
  background-color: #51ff3dd9; /* Your desired background color */
  color: #008004;           /* Your desired text color */
}