/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
 

/*** Spinner End ***/
.page-header {
    background-image: url('img\bg.jpg');
}


/* .dropdown-menu .dropdown-menu {
    left: 100%; 
    top: 0;
    margin-left: 0.1rem; 
    border-radius: 0.25rem;
}

.navbar .dropdown-menu {
    position: absolute;
    will-change: transform;
}

.navbar .dropdown-item.dropdown-toggle::after {
    content: ">";  Adds a visual indicator for nested menus 
    float: right;
}

.dropdown:hover .dropdown-menu {
    display: block;
}  */




/* General Dropdown Styling */
.navbar .dropdown-menu {
    position: absolute;
    will-change: transform;
    border-radius: 0.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

/* Show Dropdown on Hover */
.navbar .nav-item:hover > .dropdown-menu,
.navbar .dropdown-submenu:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* PWAS Dropdown Specific Styling */
.navbar .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-submenu .dropdown-menu {
    top: -10%; /* Adjust to move the nested dropdown slightly above */
    left: 100%; /* Position submenu to the right */
    margin-left: 0.1rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    z-index: 1050; /* Ensure it appears above other elements */
}

/* Show PWAS Submenu on Hover */
.navbar .dropdown-submenu:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Right Arrow for PWAS */
.navbar .dropdown-submenu > .dropdown-item .dropdown-arrow {
    float: right;
    font-size: 16px;
    color: #555;
}

/* Hover Effects for Links */
.navbar .dropdown-item {
    padding: 10px 15px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
}

.navbar .dropdown-item:hover {
    color: var(--bs-primary);
    background-color: #f8f9fa;
}




.experience-box {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
  }

  .number-box {
    border: 2px solid #007; /* Gold border color */
    padding: 20px;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-right: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .text-box span {
    font-size: 18px;
    line-height: 1.2;
  }
.demo-section {
    padding: 50px 20px;
}
.demo-heading {
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.demo-title {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
}
.demo-content {
    font-size: 16px;
    color: #555;
}
.contact-info {
    margin-top: 30px;
}
.contact-info div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}
.contact-icon img {
    width: 20px;
}
.form-container {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.form-control, .form-select {
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.btn-request-demo {
    background-color:#0071B1;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
}

.transparent-box {
    background-color: rgba(255, 255, 255, 0.6); /* Transparent background */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Optional border */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transparent-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.content-list li {
    margin-bottom: 10px;
    padding: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.content-list li:hover {
    background-color: #0071B1;;
    color: white;
    border-radius: 4px;
    padding-left: 10px; /* Indent for hover effect */
}






/* 3 box 
<style> */
.capability-card {
    border: 3px solid transparent; /* Transparent border as a base */
    border-image: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient border */
    border-image-slice: 1; /* Slice the gradient to fit the border */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px; /* Space inside the card */
    background: #fff; /* White background for content */
    text-align: center; /* Center align text */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.capability-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

.capability-card img {
    margin-bottom: 15px; /* Space below the icon */
    width: 60px; /* Consistent icon size */
    height: 60px; /* Consistent icon size */
}

.capability-card h4 {
    font-size: 1.5rem; /* Slightly larger heading size */
    margin-bottom: 10px; /* Space below heading */
    color: #333; /* Darker heading color */
}

.capability-card p {
    font-size: 1rem; /* Regular paragraph size */
    color: #555; /* Softer text color */
    line-height: 1.6; /* Better readability */
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/
.trust-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.trust-section h2 {
    text-transform: uppercase;
    color: #ff6600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 1px;
}

.trust-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.trust-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.trust-section .content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.trust-section .text-content {
    flex: 1 1 50%;
}

.trust-section .image-content {
    flex: 1 1 50%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-section .image-content img {
    max-width: 48%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trust-section .features {
    margin-top: 2rem;
}

.trust-section .features .feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trust-section .features .feature img {
    width: 40px;
    height: 40px;
}

.trust-section .features .feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.trust-section .features .feature p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-light);
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-dark) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-dark);
    transition: .8s;

}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-dark);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-dark);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


.carousel-control-prev,
.carousel-control-next {
    width: 60px; /* Adjust the width */
    height: 50px; /* Adjust the height */
    position: absolute;
    top: 50%; /* Ensure the arrow is vertically centered */
    transform: translateY(-50%); /* Centers the arrows */
    background: var(--bs-primary); /* Background color for the arrows */
    border-radius: 50%; /* Circular arrows */
    opacity: 1;
    z-index: 2; /* Ensure arrows are on top of other elements */
    transition: background 0.3s ease;
}

.carousel-control-prev {
    left: 10px; /* Space from the left edge */
}

.carousel-control-next {
    right: 10px; /* Space from the right edge */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--bs-dark); /* Darken the background on hover */
}

/* Remove unwanted space or margin below the carousel */
.carousel-inner {
    margin-bottom: 0;
    padding-bottom: 0;
}

.carousel-item {
    position: relative;
    height: 100%; /* Ensure items fill the carousel height */
    min-height: 300px; /* Set a minimum height for smaller screens */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px; /* Smaller arrows for smaller screens */
        height: 40px;
    }

    .carousel-item {
        min-height: 250px; /* Reduce height for smaller screens */
    }
}


/*** Carousel End ***/
.contact-detail .d-flex {
    padding: 20px; /* Adjust padding as needed */
    width: 100%; /* Ensure the container takes the full width */
    overflow: hidden; /* Prevent text overflow */
}

.contact-detail .ms-3 {
    word-wrap: break-word; /* Ensure long text breaks correctly */
    max-width: calc(100% - 80px); /* Adjust to leave space for the icon */
}

.contact-detail a {
    display: block; /* Ensure the link stays inside the box */
    overflow-wrap: break-word; /* Break text if too long */
}

.contact-detail .btn-square {
    flex-shrink: 0; /* Prevent the icon box from resizing */
}


/*** Services Start ***/
.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
    overflow: hidden; /* Ensure the hover effect stays within the box */
}

.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1); /* Light overlay effect */
    transition: height 0.5s ease, background 0.5s ease; /* Smooth transition */
}

.services-item:hover .services-content::after {
    height: 100%; /* Expand the background overlay on hover */
    background: rgba(0, 0, 0, 0.2); /* Slightly darker overlay */
}

.services-item:hover img {
    transform: scale(1.1); /* Slight zoom effect on image */
    filter: brightness(0.8); /* Dim the image for a more subtle effect */
    transition: transform 0.5s ease, filter 0.5s ease; /* Smooth transition */
}

.services-content h4,
.services-content p {
    transition: color 0.5s ease; /* Smooth transition for text color */
}

.services-item:hover h4,
.services-item:hover p {
    color: var(--bs-primary); /* Change text color on hover */
}

.services-item:hover .services-content img {
    z-index: 1; /* Ensure the image remains under the text */
}

/*** Services End ***/



/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-light);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-light);
    border: 0;
}

/*** Footer End ***/

/* General Dropdown Styling */
.navbar .dropdown-menu {
    position: absolute;
    will-change: transform;
    border-radius: 0.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

/* Show Dropdown on Hover */
.navbar .nav-item:hover > .dropdown-menu,
.navbar .dropdown-submenu:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* PWAS Dropdown Specific Styling */
.navbar .dropdown-submenu {
    position: relative;
}

.navbar .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%; /* Position submenu to the right */
    margin-left: 0.1rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
    z-index: 1050; /* Ensure it appears above other elements */
}

/* Show PWAS Submenu on Hover */
.navbar .dropdown-submenu:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Right Arrow for PWAS */
.navbar .dropdown-submenu > .dropdown-item::after {
    content: ">";
    float: right;
    font-size: 16px;
    color: #555;
}

/* Hover Effects for Links */
.navbar .dropdown-item {
    padding: 10px 15px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
}

.navbar .dropdown-item:hover {
    color: var(--bs-primary);
    background-color: #f8f9fa;
}

/* Adjust Navbar Padding */
.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-primary); /* Use Bootstrap's primary color */
    font-size: 18px;
    outline: none;
}

/* Fix Active Link Styling */
.nav-item .nav-link.active.text-primary {
    color: var(--bs-primary) !important; /* Force primary color for active links */
    font-weight: bold; /* Optional: Add emphasis to active links */
}

/* Hide Nested Dropdown by Default */
.navbar .dropdown-submenu .dropdown-menu {
    display: none; /* Completely hide the submenu */
    position: absolute;
    top: 0;
    left: 100%; /* Align to the right of PWAS */
    margin-left: 0.1rem;
    z-index: 1050;
}

/* Show Nested Dropdown Only on Hover */
.navbar .dropdown-submenu:hover > .dropdown-menu {
    display: block; /* Show submenu only on hover */
}

/* Mobile View Adjustments */
@media (max-width: 991.98px) {
    /* Make nested dropdowns stack vertically on small screens */
    .navbar .dropdown-submenu .dropdown-menu {
        position: static;
        display: none; /* Hide by default */
    }

    .navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block; /* Allow dropdown to open on hover or tap */
    }

    .navbar .dropdown-item.dropdown-toggle::after {
        content: "\25BC"; /* Down arrow for touch devices */
        float: right;
        margin-left: 10px;
        font-size: 0.8rem;
    }
}
.nav-item .nav-link.active.text-primary {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-submenu .dropdown-menu {
    display: none;
}

.navbar .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
@media (max-width: 991.98px) {
    .navbar .dropdown-submenu .dropdown-menu {
        position: static;
        display: none;
    }
    .navbar .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}
.navbar .dropdown-item:hover {
    color: var(--bs-primary);
    background-color: #f8f9fa;
}
