a{
    color: inherit;
    text-decoration: inherit;
    cursor: pointer;
}
a:visited{
    color: inherit;
}
.sec-gradient{
    background: linear-gradient(to right, #3b82f6, #facc15);
    color: white;
}
.sec-gradient-1{
    background: #3b82f6;
}

.image-logo{
    height: 50px;
}

/* Default header state */
#mainHeader {
    transition: all 0.3s ease;
}

/* Sticky state */
#mainHeader.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff; /* change if needed */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 9999;
}

/* Logo resize on sticky (optional) */
#mainHeader.is-sticky .image-logo {
    max-height: 50px;
}

/* Menu color fix when sticky */
#mainHeader.is-sticky .top_mega_menu .mega-menu-link,
#mainHeader.is-sticky .navbar-search {
    color: #000 !important;
}


.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-video{
    width: 100%;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(128,30,30,0.4), rgba(0,0,0,0.01));
    z-index: 1;
}


/* Search Button */
.navbar-search {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-search:hover {
    color: #ffc107;
    transform: scale(1.15);
}

/* Modal Background */
.search-modal .modal-content {
    animation: zoomIn 0.4s ease;
}

.search-modal .modal-content button, .search-modal .modal-content input{
    animation: slideUp 1s ease;
}

/* Animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0);
        transform: translateX(300px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: scale(0);
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        transform: translateY(0);
    }
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li a {
    color: #9d9d9d;
    font-size: 16px;
}
footer ul li a:visited {
    color: #9d9d9d;
}
footer ul li a:hover {
    color: #c5c5c5;
}

@media (max-width: 992px) {
    .navbar-brand {
        order: 2;
    }
    .top_mega_menu{
        order: 1;
    }
    .navbar-search {
        order: 3;
    }
    .image-logo{
        height: 40px;
    }
}
@media (max-width: 400px) {
    .display-5 {
        font-size: 22px;
    }
}
@media (max-width: 330px) {
    .image-logo{
        height: 35px;
    }
}