/* --------------------------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;
    background-color: #f7f7f7;
    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: 1024px) {
    .container {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    #main-content {
        height: 200vh; /* Adjusted height for smaller screens */
    }
}

.bg-white-scrolled {
    background-color: white;
}
/*--------------------------MAIN CONTENT ABOUT US------------------------------  */
.mainsec{
    background-image: linear-gradient(to top, rgba(241, 241, 241, 0.7) 0%, #accbee 100%);
}
.main-content{
    position: relative;
    height: 100vh;
    z-index: 2; /* Ensure this is above the products section */
}
/* Additional CSS for the mission-vision-section */
.mission-vision-section {
    height: 50vh;
    display: flex;
    align-items: center; /* Center vertically */
    background-image: linear-gradient(to top, white 0%, rgba(241, 241, 241, 0.7) 100%);
}

/* Adjustments for responsiveness */
@media (max-width: 640px) {
    .mission-vision-section {
        display: flex;
        justify-content: center;
        height: 100vh;
    }
}


/* -------------------MEDIA QUERY FOR MAIN CONTENT ABOUT US------------------------ */
@media (max-width: 1024px) {
    .main-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .main-content {
        display: flex;
        justify-content: center;
        height: 150vh; /* Adjusted height for smaller screens */
    }
}

/* ---------------------------- 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;
}

::selection {
  background-color: #51ff3dd9; /* Your desired background color */
  color: #008004;           /* Your desired text color */
}