/* Search Results Styles (Original Design) */
.search-results-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.search-results-wrapper::-webkit-scrollbar {
    width: 6px;
}

.search-results-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.results-list .list-group-item {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.results-list .list-group-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.hero-image-wrap {
    position: absolute;
    right: 0;
    top: -80%;
    z-index: 1;
    justify-content: flex-end;
    margin-right: -32%;
}

.hero-image-wrap img.main-thumb {
    width: 100%;
    border-radius: 26px 0px 0px 26px;
}

.intro-content {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 1199px) {
    .intro-content {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Responsive hero image */
@media (max-width: 1199px) {
    .hero-image-wrap {
        position: relative;
        right: auto;
        top: auto;
        margin-right: 0;
        justify-content: center;
        margin-top: 120px;
    }

    .hero-image-wrap img.main-thumb {
        border-radius: 16px;
    }

    .intro-wrapper.style1 .intro-thumb {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-image-wrap img.main-thumb {
        border-radius: 12px;
    }

    .intro-wrapper.style1 .intro-thumb {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Footer Hover Effects */
.footer-links a:hover {
    opacity: 1 !important;
    color: var(--theme) !important;
    padding-left: 5px;
}

.footer-links a {
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--theme);
    border-color: var(--theme) !important;
    transform: translateY(-3px);
    color: #fff !important;
}

.footer-bottom-links a:hover {
    opacity: 1 !important;
    color: #fff !important;
}

@media (min-width: 1200px) {
    .footer-1 .container {
        max-width: 1620px;
    }
}

/* Preloader Styles */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #fff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer spinning arc */
.preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-ring--outer {
    border-top-color: #2563eb;
    border-right-color: #2563eb33;
    animation: preloader-spin 1.1s linear infinite;
}

.preloader-ring--inner {
    inset: 14px;
    border-bottom-color: #2563eb;
    border-left-color: #2563eb22;
    animation: preloader-spin 0.8s linear infinite reverse;
}

.preloader-logo-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: preloader-pulse 1.4s ease-in-out infinite;
}

.preloader-logo {
    width: auto !important;
    height: 32px !important;
    object-fit: contain;
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

@keyframes preloader-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* Disable scroll inside offcanvas */
.offcanvas__info,
.offcanvas__wrapper,
.offcanvas__content {
    overflow: hidden !important;
}