/* Custom Styles for Newsers Template */

/* SolaimanLipi Font Setup */
@font-face {
    font-family: 'SolaimanLipi';
    src: url('/fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Apply SolaimanLipi to entire site with increased font sizes for better readability */
body, .h1, .h2, .h3, .h4, .h5, .h6, p, span, a, div, small, strong, button, input, textarea, select, label {
    font-family: 'SolaimanLipi', 'Siyam Rupali', 'Kalpurush', 'Bangla', Arial, sans-serif !important;
}


/* Improve Bangla text readability */
.bangla-text, .bn-font {
    line-height: 1.8; /* Increased from 1.7 */
    text-align: justify;
    letter-spacing: 0.3px; /* Increased from 0.2px */
}

/* Headings - Increased font weights and sizes */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Increased from 600 */
    line-height: 1.2; 
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

p { font-size: 1.3rem; line-height: 1.4 }

.h1 { font-size: 2.1rem; }
.h2 { font-size: 1.9rem; }
.h3 { font-size: 1.7rem; }
.h4 { font-size: 1.5rem; }
.h5 { font-size: 1.3rem; }
.h6 { font-size: 1.1rem; }

.link-hover {
    transition: all 0.3s ease;
}

.link-hover:hover {
    color: #0d6efd !important;
    transform: translateY(-2px);
}

/* Spinner */
#spinner {
    display: none;
    z-index: 9999;
}

/* Image Effects */
.img-zoomin {
    transition: transform 0.5s ease;
}

.img-zoomin:hover {
    transform: scale(1.1);
}

/* Navigation - Increased font sizes for better visibility */
.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 2rem !important; /* Added for better readability */
}

.navbar-nav .nav-link.active {
    color: #0d6efd !important;
}

/* Features Section */
.features-item {
    transition: transform 0.3s ease;
}

.features-item:hover {
    transform: translateY(-5px);
}

/* Latest News Carousel */
.latest-news-carousel .owl-nav,
.whats-carousel .owl-nav {
    position: absolute;
    top: -70px;
    right: 0;
}

.latest-news-carousel .owl-nav button,
.whats-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: #f8f9fa !important;
    border-radius: 50% !important;
    margin-left: 10px;
}

.latest-news-carousel .owl-nav button:hover,
.whats-carousel .owl-nav button:hover {
    background: #0d6efd !important;
    color: white !important;
}

/* Lifestyle Section */
.lifestyle-item {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.lifestyle-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: white;
}

/* Banner */
.banner-2 {
    position: relative;
}

.banner-content-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* Footer */
.line-h {
    line-height: 1.8;
}

.footer a {
    text-decoration: none;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar-top {
        flex-direction: column;
        text-align: center;
    }
    
    .top-info, .top-link {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .lifestyle-item {
        height: 300px;
    }
    
    /* Adjust font sizes for mobile */
    /*body {*/
    /*    font-size: 1em !important;*/
    /*}*/
    
    /*h1 { font-size: 1.8rem !important; }*/
    /*h2 { font-size: 1.5rem !important; }*/
    /*h3 { font-size: 1.3rem !important; }*/
    
    .navbar-nav .nav-link {
        font-size: 1rem !important;
    }
}
/*** 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 ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.fw-thin {
    font-weight: 100;
}

.text-uppercase {
    font-size: 14px;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    font-size: 1rem !important; /* Added for consistency */
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.link-hover {
    transition: 0.5s;
}

.link-hover:hover {
    color: var(--bs-primary) !important;
}


.img-zoomin {
    transition: 0.5s;
}

.img-zoomin:hover {
    transform: scale(1.1);
}

/*** Topbar Start ***/
.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}

.topbar {
    padding: 10px 0;
}

.topbar .top-info {
    font-family: 'SolaimanLipi', sans-serif !important; /* Changed from Montserrat */
    font-size: 16px !important; /* Increased from 15px */
    font-weight: 400;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-family: 'SolaimanLipi', sans-serif !important; /* Changed from Montserrat */
    font-size: 16px !important; /* Increased from 15px */
    font-weight: 400;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .sticky-top .top-link {
        display: none;
    }
    
}
@media (min-width: 992px) and (max-width: 1366px) {
    .navbar-nav .nav-link {
        font-size: 1.1rem !important;  /* instead of 2rem */
        padding: 0.4rem 0.8rem;
    }
    .navbar-brand p.display-6 {
        font-size: 1.8rem !important;
    }
    .navbar-brand small {
        font-size: 0.9rem !important;
    }
}
@media (max-width: 1300px) {
    .topbar-top {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    .top-info {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
    .top-info .overflow-hidden {
        width: auto !important;
        max-width: 70%;
    }
    .top-link {
        justify-content: center;
    }
}
.topbar .top-link a {
    font-size: 16px !important; /* Increased from medium */
    font-weight: 400;
    font-family: 'SolaimanLipi', sans-serif !important; /* Changed from Montserrat */
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}

#note {
    position: relative;
    animation: noteAnimate 10s infinite;
    animation-timing-function: ease-in-out;
    display: flex;
    align-items: center;
}

@keyframes noteAnimate {
    from {left: -735px;}
    to {left: 735px;}
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-weight: 500; /* Increased from 400 */
    font-family: 'SolaimanLipi', sans-serif !important; /* Changed from Fredoka */
    font-size: 22px !important; /* Increased from 16px */
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        font-weight: 400;
        font-family: 'SolaimanLipi', sans-serif !important; /* Changed from Fredoka */
        font-size: 22px;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse .border-top {
        border-top: none !important;
    }
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/


/*** Features Start 
.features {
    width: 100%;
    background: linear-gradient(rgba(26, 125, 255, 0.5), rgba(255, 255, 255, 0.3)), url(../img/features-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

***/
.features {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://www.julytimes.com/public/assetfrontsite/img/features-background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff; /* ensure all text inside is white by default */
}

/* Ensure all text inside features section is white and legible */
.features .features-content p,
.features .features-content a,
.features .features-content small {
    color: #fff !important;
}

/* Optional: slightly dim the text of the category label to differentiate */
.features .features-content p {
    opacity: 0.9;
    font-weight: 500;
}

/* Make links hover more visible */
.features .features-content a:hover {
    color: #ffd966 !important;
    text-decoration: underline;
}
/*** Features End ***/


/*** Top News Start ***/
.news-2 h3 {
    position: relative;
}

.news-2 h3::after {
    content: "";
    line-height: 1.3rem;
    background: var(--bs-secondary);
    position: absolute;
    width: 68%;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    right: 0;
    opacity: 0.2;
}
/*** Top News End ***/


/*** Latest News Start ***/
.latest-news .latest-news-carousel.owl-carousel{
    position: relative;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -65px;
    right: 70px;
    font-size: 20px;
    padding: 2px 20px;
    transition: 0.5s;
    margin-right: 10px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -65px;
    right: 0;
    font-size: 20px;
    margin-left: 10px;
    padding: 2px 20px;
    transition: 0.5s;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
}

.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-prev:hover,
.latest-news .latest-news-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 10px;
}
/*** Latest News End ***/
/*** Whats New Start ***/
.populer-news .whats-carousel.owl-carousel {
    position: relative;
    padding-top: 60px; /* Space for arrows above the carousel */
}

/* Style both arrows - positioned above the carousel */
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev,
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -50px;
    font-size: 18px;
    padding: 4px 18px;
    transition: 0.5s;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    border-radius: 20px;
    background: white;
    cursor: pointer;
}

/* Previous button - positioned to the left of next button */
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev {
    right: 80px;
    left: auto;
}

/* Next button - positioned at the far right */
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {
    right: 0;
}

.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev:hover,
.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 10px;
}

/* Make carousel items compact for 5-column layout */
.whats-carousel .latest-news-item img {
    height: 130px !important;      /* Reduced from 160px */
    object-fit: cover;
}

.whats-carousel .latest-news-item .d-flex.flex-column.p-4 {
    padding: 0.5rem !important;    /* Reduced from 0.75rem */
}

.whats-carousel .latest-news-item .h4 {
    font-size: 0.85rem !important; /* Smaller title */
    min-height: auto !important;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.whats-carousel .latest-news-item .small,
.whats-carousel .latest-news-item .badge {
    font-size: 0.65rem;            /* Smaller text */
}

/* Adjust Owl Carousel margin for tighter spacing */
.whats-carousel.owl-carousel .owl-item {
    padding: 0 6px;                /* Reduce gap between items */
}
.whats-carousel.owl-carousel .owl-stage-outer {
    margin: 0 -6px;               /* Compensate negative margin */
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1199px) {
    .whats-carousel .latest-news-item img {
        height: 140px !important;
    }
    .whats-carousel .latest-news-item .h4 {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 991px) {
    .populer-news .whats-carousel.owl-carousel {
        padding-top: 50px;
    }
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev,
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {
        top: -40px;
        font-size: 14px;
        padding: 2px 12px;
    }
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev {
        right: 60px;
    }
    .whats-carousel .latest-news-item img {
        height: 150px !important;
    }
    .whats-carousel .latest-news-item .h4 {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .whats-carousel .latest-news-item img {
        height: 160px !important;
    }
    .whats-carousel .latest-news-item .h4 {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .populer-news .whats-carousel.owl-carousel {
        padding-top: 40px;
    }
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev,
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {
        top: -35px;
        font-size: 12px;
        padding: 2px 10px;
    }
    .populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev {
        right: 50px;
    }
    .whats-carousel .latest-news-item img {
        height: 180px !important;
    }
}

/* Active tab styling */
.populer-news .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

/*** Whats New Start ***/
/*.populer-news .whats-carousel.owl-carousel {*/
/*    position: relative;*/
/*}*/

/*.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev {*/
/*    position: absolute;*/
/*    top: -80px;*/
/*    right: 70px;*/
/*    font-size: 20px;*/
/*    padding: 2px 20px;*/
/*    transition: 0.5s;*/
/*    margin-right: 10px;*/
/*    border: 1px solid var(--bs-primary);*/
/*    color: var(--bs-dark);*/
/*    border-radius: 20px;*/
/*}*/

/*.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next {*/
/*    position: absolute;*/
/*    top: -80px;*/
/*    right: 0;*/
/*    font-size: 20px;*/
/*    margin-left: 10px;*/
/*    padding: 2px 20px;*/
/*    transition: 0.5s;*/
/*    border: 1px solid var(--bs-primary);*/
/*    color: var(--bs-dark);*/
/*    border-radius: 20px;*/
/*}*/

/*.populer-news .whats-carousel.owl-carousel .owl-nav .owl-prev:hover,*/
/*.populer-news .whats-carousel.owl-carousel .owl-nav .owl-next:hover {*/
/*    background: var(--bs-primary);*/
/*    color: var(--bs-white);*/
/*    border-radius: 10px;*/
/*}*/

/*.populer-news .tab-class .nav-item a.active {*/
/*    background: var(--bs-primary) !important;*/
/*}*/

.lifestyle .lifestyle-item {
    position: relative;
    overflow: hidden;
}

.lifestyle .lifestyle-item img {
    transition: 0.5s;
}

.lifestyle .lifestyle-item:hover img {
    transform: scale(1.2);
}

.lifestyle .lifestyle-item .lifestyle-content {
    position: absolute;
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}
/*** Whats New End ***/


/*** Banner Section start ***/
.banner-2 {
    position: relative;
}

.banner-content-2 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(rgba(26, 125, 255, 0.7), rgba(255, 255, 255, 0.7));
    z-index: 2;
}
/*** Banner Section End ***/


/*** Footer Start ***/
.footer button:hover {
    background: var(--bs-white) !important;
    color: var(--bs-primary) !important;
}

.footer .footer-item-1 .line-h {
    line-height: 38px;
}

.footer .footer-item-1 a i {
    transition: 0.5s;
}

.footer .footer-item-1 a:hover i {
    color: var(--bs-primary) !important;
}

.footer .footer-item-3 a {
    line-height: 1.5rem;
    font-family: 'Tiro Bangla', serif; 
    font-size: 21px; text-decoration: none;
}

.footer .footer-item-2 a {
    transition: 0.5s;
}

.footer .footer-item-2 a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-3 a {
    transition: 0.5s;
}

.footer .footer-item-3 a:hover {
    color: var(--bs-primary) !important;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/*** Footer End ***/

/* Additional optimizations for Bangla text */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure proper text wrapping for Bangla */
.navbar-nav .nav-link,
.dropdown-item,
.list-group-item,
.btn {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Adjust modal text for better readability */
.modal-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

.form-label {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
}

.form-control {
    font-size: 1rem !important;
}

/* Improve dropdown readability for Bangla */
.dropdown-menu {
    min-width: 220px !important;
}



/* Adjust the "More..." dropdown */
.nav-item.dropdown:last-child .dropdown-menu {
    min-width: 180px !important;
}

/* =================================================== */
/* INCREASED MEGA MENU FONT SIZES */
/* =================================================== */

/* Mega Menu - INCREASED FONT SIZES */
.mega-menu-dropdown {
    font-size: 1.15rem !important; /* Increased base font size */
}

/* Mega menu list items - INCREASED */
.mega-menu-dropdown .list-group-item {
    font-size: 1.1rem !important; /* Increased from 0.95rem */
    font-weight: 500 !important;
    line-height: 1.5 !important; /* Increased line height */
}

/* Mega menu headings/titles - INCREASED */
.mega-menu-dropdown .text-uppercase {
    font-size: 1.2rem !important; /* Increased from 0.9rem */
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important; /* Increased spacing for larger text */
}

/* Mega menu links - INCREASED */
.mega-menu-dropdown .list-group-item-action {
    font-size: 1.1rem !important; /* Increased */
}

/* Mega menu icons - INCREASED */
.mega-menu-dropdown .fa-caret-right,
.mega-menu-dropdown .fa-plus-circle,
.mega-menu-dropdown .fa-search,
.mega-menu-dropdown .fa-folder-open,
.mega-menu-dropdown .fa-tools,
.mega-menu-dropdown .fa-user-secret,
.mega-menu-dropdown .fa-user-plus,
.mega-menu-dropdown .fa-shield-alt,
.mega-menu-dropdown .fa-file-contract {
    font-size: 1.1rem !important; /* Increased icon size */
}

/* Mega menu container adjustments for larger text */
.mega-menu-dropdown .container.py-4 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

/* Adjust spacing for larger text */
.mega-menu-dropdown .mb-3 {
    margin-bottom: 0.75rem !important;
}

.mega-menu-dropdown .mb-4 {
    margin-bottom: 1rem !important;
}

/* Mega menu list item padding for larger text */
.mega-menu-dropdown .list-group-item {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}

/* Column adjustments for larger text */
.mega-menu-dropdown .col-md-6,
.mega-menu-dropdown .col-lg-4 {
    min-width: 260px !important; /* Increased for larger text */
}

/* Dropdown menu font size - INCREASED */
.navbar .nav-item .dropdown-menu {
    font-size: 1.1rem !important; /* Increased dropdown font size */
}

/* Specific mega menu items */
.mega-menu-dropdown a.list-group-item {
    font-size: 1.1rem !important;
    padding: 0.4rem 0 !important;
}

/* Button/link text in mega menu */
.mega-menu-dropdown button.list-group-item {
    font-size: 1.1rem !important;
}

/* Responsive adjustments for mega menu */
@media (max-width: 1200px) {
    .mega-menu-dropdown {
        font-size: 1.1rem !important;
    }
    
    .mega-menu-dropdown .list-group-item {
        font-size: 1.05rem !important;
    }
    
    .mega-menu-dropdown .text-uppercase {
        font-size: 1.15rem !important;
    }
}

/* =================================================== */
/* MEGA MENU VERTICAL SPACING REDUCTION */
/* =================================================== */

/* Reduce mega menu container padding */
.mega-menu-dropdown .container.py-4 {
    padding-top: 1rem !important;  /* Reduced from 1.5rem */
    padding-bottom: 1rem !important; /* Reduced from 1.5rem */
}

/* Reduce gap between mega menu columns */
.mega-menu-dropdown .mb-4 {
    margin-bottom: 0.5rem !important; /* Reduced from 1rem */
}

.mega-menu-dropdown .mb-4.mb-lg-0 {
    margin-bottom: 0.5rem !important; /* Reduced from 1rem */
}

/* Reduce list group item spacing */
.mega-menu-dropdown .list-group-item {
    padding-top: 0.25rem !important; /* Reduced from 0.5rem */
    padding-bottom: 0.25rem !important; /* Reduced from 0.5rem */
    line-height: 1.4 !important; /* Reduced from 1.6 */
}

/* Reduce margin between list group items */
.mega-menu-dropdown .mb-3 {
    margin-bottom: 0.5rem !important; /* Reduced from 1rem */
}

/* Reduce icon spacing */
.mega-menu-dropdown .fa-caret-right,
.mega-menu-dropdown .fa-plus-circle {
    margin-right: 0.3rem !important; /* Reduced from 0.5rem */
}

/* Reduce mega menu row gap */
.mega-menu-dropdown .row.g-4 {
    gap: 0.5rem !important; /* Reduced from 1rem */
}

/* Quick fix: Reduce all vertical spacing in mega menu */
.mega-menu-dropdown * {
    margin-top: 0.1rem !important;
    margin-bottom: 0.1rem !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important; 
}

/* Specific fix for your HTML structure */
.mega-menu-dropdown .list-group-flush .list-group-item {
    padding: 0.15rem 0 !important; /* Reduced vertical padding */
    margin: 0.05rem 0 !important; /* Reduced vertical margin */
}

/* Reduce the gap between the three columns */
.mega-menu-dropdown .col-md-6,
.mega-menu-dropdown .col-lg-4 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* For immediate effect, add these additional styles */
.mega-menu-dropdown {
    font-size: 1.2rem !important; /* Even larger if needed */
}

.mega-menu-dropdown .list-group-item {
    font-size: 1.15rem !important; /* Even larger */
}