.light-blue-section {
    margin: 100px clamp(15px, 3vw, 50px) 0px clamp(15px, 3vw, 50px);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    /* Light blue background ADD8E6 */
    max-width: 100%;
    /* Adjust the width as needed */
    height: 300px;
    /* Adjust height to match the original image's height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: adds a slight shadow for depth */
}

.search h1 {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    font-family: var(--bs-font-family-style-4);
    text-align: center;
}

.search-container {
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    display: flex;
    width: 600px;
}

#search {
    width: 90%;
    padding: 10px 15px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 25px 0 0 25px;
    outline: none;
    font-family: var(--bs-font-family-style-4);
}

#search-button {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 25px 25px 0;
    background-color: #FCA311;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: var(--bs-font-family-style-4);
}

#search-button i {
    margin-left: 5px !important;
}

.blog-wrapper {
    margin-top: 0px;
}

.row {
    margin-right: -36px !important;
    margin-left: -36px !important;
}

.blog-image {
    margin: -25px 0 !important;
}

.blog-left-content {
    margin-left: 10px !important;
    margin-right: 20px !important;
}

.img-fluid {
    width: 273px !important;
    height: 273px !important;
    object-fit: cover !important;
    /* Ensures the image covers the given dimensions without distortion */
}

.blog-author-image {
    width: 35px;
    height: 35px;
}

@media (min-width: 1400px) and (max-width: 4000px) {
    .row {
        margin-right: -25px !important;
        margin-left: -25px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: -25px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 767px) and (max-width: 991px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 700px) and (max-width: 767px) {
    .row {
        margin-right: -50px !important;
        margin-left: -50px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .blog-author-image {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (min-width: 600px) and (max-width: 700px) {
    .row {
        margin-right: -30px !important;
        margin-left: -30px !important;
    }
    .blog-left-content {
        margin-left: 50px !important;
        margin-right: 50px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .light-blue-section {
        margin: 120px 20px 20px 20px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 2.0em;
    }
    .search-container {
        width: 500px;
    }
    #search {
        font-size: 15px;
    }
    #search-button {
        font-size: 15px;
    }
    .blog-author-image {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (min-width: 400px) and (max-width: 600px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 400px !important;
        height: 400px !important;
    }
    .light-blue-section {
        margin: 120px 20px 20px 20px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 2.0em;
    }
    .search-container {
        width: 350px;
    }
    #search {
        font-size: 14px;
    }
    #search-button {
        font-size: 14px;
    }
    .blog-author-image {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (min-width: 0px) and (max-width: 400px) {
    .row {
        margin-right: -10px !important;
        margin-left: -10px !important;
    }
    .blog-left-content {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .blog-image {
        margin: 0px -10px !important;
    }
    .img-fluid {
        width: 272px !important;
        height: 272px !important;
    }
    .fs-3 {
        font-size: 15px !important;
    }
    .sub-title {
        margin-bottom: -10px !important;
    }
    .light-blue-section {
        margin: 100px 10px 15px 10px;
        height: 200px;
        /* Adjust height to match the original image's height */
    }
    .search h1 {
        font-size: 1.5em;
    }
    .search-container {
        width: 300px;
    }
    #search {
        font-size: 12px;
    }
    #search-button {
        font-size: 12px;
        padding: 10px 10px;
    }
}


/* Dropdown Styling */

.navbar-nav .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.navbar-nav .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: #FCA311;
    color: white;
}

.navbar-nav .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Animation for fading in */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu .dropdown-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0s;
}

.dropdown-open .moveable-item {
    transition: transform 0.3s ease;
    transform: translateY(180px);
    /* Adjust the value as needed */
}

.filter-link {
    margin: 0 15px;
    text-decoration: none;
    font-size: 26px;
    font-family: var(--bs-font-family-style-4);
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.filter-link.active {
    color: #FCA311 !important;
}

.filter-link.inactive {
    color: #6c757d !important;
}

.filter-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    background-color: #28303F;
    border-radius: 5px;
    /* Added to make the border rounded */
    transition: transform 0.3s ease;
}

.filter-link.inactive::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.filter-link:hover {
    color: #808080;
}

.filter-link:hover::after {
    transform: scaleX(1.1);
    background-color: #28303F;
    border-radius: 5px;
    height: 3.5px;
}

.rounded-left {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

.rounded-right {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}

/* Infinite scrolling event images behind the hero search */
.hero-marquee {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 0;
}
.hero-marquee::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-marquee-track {
    display: flex;
    gap: 12px;
    height: 100%;
    width: max-content;
    animation: hero-marquee-scroll 40s linear infinite;
}
.hero-marquee-track img {
    height: 100%;
    width: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
}
.light-blue-section:hover .hero-marquee-track {
    animation-play-state: paused;
}
.light-blue-section .search {
    position: relative;
    z-index: 1;
}
@keyframes hero-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 6px)); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-marquee-track { animation: none; }
}

/* Hero aligned with page content and full container width */
.hero-container { padding-top: 100px; }
.hero-container .light-blue-section { margin: 0 !important; width: 100%; max-width: 100%; }
@media (max-width: 991px) { .hero-container { padding-top: 120px; } }
.hero-container .light-blue-section { height: 360px; }
@media (max-width: 991px) { .hero-container .light-blue-section { height: 240px; } }

/* Hero background spans the full screen width */
.hero-container { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.hero-container .light-blue-section { border-radius: 0 !important; height: 420px; }
@media (max-width: 991px) { .hero-container .light-blue-section { height: 280px; } }
/* Hero sits flush under the header (padding set from header height by JS) */
.hero-container { padding-top: var(--header-h, 80px) !important; }
.hero-container .light-blue-section { margin-top: 0 !important; }
/* Hero aligned with the events below: same side padding, rounded corners */
.hero-container { padding-left: clamp(15px, 3vw, 50px) !important; padding-right: clamp(15px, 3vw, 50px) !important; }
.hero-container .light-blue-section { border-radius: 20px !important; }
.hero-container { padding-left: 60px !important; padding-right: 60px !important; }
@media (max-width: 576px) { .hero-container { padding-left: 15px !important; padding-right: 15px !important; } }
.hero-container { padding-left: 40px !important; padding-right: 40px !important; }

/* Live search suggestions */
.light-blue-section { overflow: visible !important; }
.hero-marquee { overflow: hidden; border-radius: inherit; }
.search-container { position: relative; }
.search-suggestions { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,.18); max-height: 360px; overflow-y: auto; z-index: 50; text-align: left; padding: 6px; }
.search-suggestions.show { display: block; }
.sugg-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: #14213D; text-decoration: none; }
.sugg-item:hover, .sugg-item.active { background: rgba(252,163,17,.12); color: #14213D; }
.sugg-item img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.sugg-item strong { display: block; font-size: 15px; line-height: 1.3; }
.sugg-item small { color: #FCA311; font-weight: 600; }
.sugg-empty { padding: 14px; color: #6c757d; }
/* Suggestions above every layer + larger result items */
.hero-container { position: relative; z-index: 999; }
.hero-container .light-blue-section, .hero-container .search, .hero-container .search-container { position: relative; z-index: 1000; }
.search-suggestions { z-index: 99999 !important; max-height: 520px; padding: 10px; border-radius: 20px; }
.sugg-item { gap: 18px; padding: 12px 14px; border-radius: 14px; }
.sugg-item + .sugg-item { margin-top: 4px; }
.sugg-item img { width: 110px; height: 110px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.sugg-item strong { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.sugg-item small { font-size: 15px; }
@media (max-width: 576px) {
    .sugg-item img { width: 70px; height: 70px; }
    .sugg-item strong { font-size: 15px; }
    .sugg-item small { font-size: 13px; }
}

/* Detailed suggestion rows */
.sugg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sugg-body small { order: -1; text-transform: uppercase; letter-spacing: .5px; font-size: 13px !important; margin-bottom: 2px; }
.sugg-sub { color: #6c757d; font-size: 14px; margin-bottom: 6px; }
.sugg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #495057; font-size: 14px; }
.sugg-meta i { color: #FCA311; margin-right: 4px; }
.sugg-badge { align-self: center; flex-shrink: 0; font-style: normal; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 20px; background: #FCA311; color: #fff; }
.sugg-badge.soon { background: #14213D; }
.sugg-badge.out { background: #dc3545; }
@media (max-width: 576px) { .sugg-badge { display: none; } .sugg-meta { font-size: 12px; } }
