/* Custom Sticky Controls & Mobile Hero Responsive Fixes */

/* Preloader & Logo Animation */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #111a28 !important;
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader__image {
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
}

.preloader__logo {
    max-height: 80px;
    width: auto;
    animation: preloaderPulse 1.2s infinite alternate ease-in-out;
}

@keyframes preloaderPulse {
    0% { transform: scale(0.92); opacity: 0.7; }
    100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 15px rgba(247, 148, 29, 0.7)); }
}

/* Desktop Sticky Right Floating Bar */
.desktop-sticky-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 5px;
}

.desktop-sticky-widget .sticky-icon {
    width: 46px;
    height: 46px;
    border-radius: 50% 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.desktop-sticky-widget .sticky-icon:hover {
    transform: translateX(-5px);
    width: 52px;
}

.desktop-sticky-widget .whatsapp-btn {
    background-color: #25d366;
}

.desktop-sticky-widget .phone-btn {
    background-color: #007bff;
}

.desktop-sticky-widget .enquiry-btn {
    background-color: #f7941d;
    cursor: pointer;
}

/* Mobile Bottom Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background-color: #111a28;
    z-index: 99999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-sticky-bar .mobile-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 0 5px;
}

.mobile-sticky-bar .call-btn {
    background-color: #0056b3;
}

.mobile-sticky-bar .whatsapp-btn {
    background-color: #1eb954;
}

.mobile-sticky-bar .enquiry-btn {
    background-color: #f7941d;
}

/* Hero Section Mobile Height Reduction Fixes */
@media (max-width: 991px) {
    .main-slider-three .container {
        padding-top: 80px !important;
        padding-bottom: 70px !important;
    }
}

@media (max-width: 767px) {
    .main-slider-three, .main-slider-three .swiper-container, .main-slider-three .swiper-slide {
        min-height: 280px !important;
        height: auto !important;
    }

    .image-layer-three {
        background-size: cover !important;
        background-position: center center !important;
    }

    .main-slider-three .container {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .main-slider-three__content {
        padding: 5px 10px !important;
        text-align: center !important;
    }

    .main-slider-three__sub-title-box {
        margin-bottom: 4px !important;
    }

    .main-slider-three__title {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        word-break: break-word;
    }

    .main-slider-three__sub-title {
        font-size: 11px !important;
    }

    .main-slider-three__text {
        font-size: 11px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .main-slider-three__btn-box {
        margin-top: 8px !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    .main-slider-three__btn {
        padding: 6px 14px !important;
        font-size: 11px !important;
        margin-left: 0 !important;
    }

    body {
        padding-bottom: 48px !important;
    }
}

/* Footer High Contrast & Typography Enhancements */
.site-footer {
    background-color: #0b131e !important;
    color: #cbd5e1 !important;
}

.site-footer__top {
    background-color: #0b131e !important;
    padding: 70px 0 50px 0 !important;
}

.footer-widget__title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    margin-bottom: 25px !important;
}

.footer-widget__about-text, .footer-widget__contact-text {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.footer-widget__links-list li a {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    transition: color 0.2s ease;
}

.footer-widget__links-list li a:hover {
    color: #f7941d !important;
}

.footer-widget__contact-list li {
    color: #cbd5e1 !important;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-widget__contact-list li .text a {
    color: #f7941d !important;
    font-weight: 600 !important;
}

.site-footer__social a {
    background: #1e293b !important;
    color: #ffffff !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    text-align: center;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 8px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #334155;
    text-decoration: none;
}

.site-footer__social a:hover {
    background: #f7941d !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.site-footer__bottom {
    background-color: #070c14 !important;
    border-top: 1px solid #1e293b !important;
    padding: 20px 0 !important;
}

.site-footer__bottom-text {
    color: #94a3b8 !important;
    font-size: 14px !important;
}

/* Header Top Bar High Contrast */
.main-header-three__top {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
    border-bottom: 1px solid #334155;
}

.main-header-three__location-text, .main-header-three__contact-list li .content h4 a {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
}

.main-header-three__location-icon span, .main-header-three__contact-list li .icon span {
    color: #f7941d !important;
}

.main-header-three__social a {
    color: #ffffff !important;
    background: #334155;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 12px;
}

.main-header-three__social a:hover {
    background: #f7941d;
    color: #ffffff !important;
}

/* Fixed Main Navigation Menu (Top Bar Scrolls Off) */
header.main-header-three {
    position: relative !important;
}

.main-menu-three.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Compact Page Header & Simple Breadcrumb */
.page-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    padding: 18px 0 !important;
    min-height: 0 !important;
    background-color: #0f172a !important;
    text-align: center !important;
}

.page-header-bg {
    opacity: 0.15 !important;
}

.page-header .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 auto !important;
}

.page-header__inner {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.page-header h2 {
    display: none !important;
}

.thm-breadcrumb {
    margin: 0 auto !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    line-height: 1 !important;
}

.thm-breadcrumb li, .thm-breadcrumb li+li {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.thm-breadcrumb li::before,
.thm-breadcrumb li::after,
.thm-breadcrumb li+li::before,
.thm-breadcrumb li+li::after {
    display: none !important;
    content: "" !important;
}

.thm-breadcrumb li, .thm-breadcrumb li a {
    color: #e2e8f0 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.thm-breadcrumb li.active {
    color: #f7941d !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.thm-breadcrumb li span {
    margin: 0 10px !important;
    color: #f7941d !important;
    font-weight: bold;
    line-height: 1 !important;
}

/* Page Load Fade-In Transition Effect */
body {
    animation: fadeInPage 0.35s ease-out;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Floating Action Circles (Bottom Right - Call & WhatsApp) */
.floating-action-buttons {
    position: fixed !important;
    right: 18px !important;
    bottom: 54px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.floating-action-buttons .floating-btn {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 24px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
    border: none !important;
}

.floating-action-buttons .floating-btn:hover {
    transform: scale(1.1) !important;
}

.floating-action-buttons .call-btn {
    background-color: #15803d !important;
}

.floating-action-buttons .whatsapp-btn {
    background-color: #25d366 !important;
}

/* Fixed Bottom Ticker (CodePen Style) */
.ticker {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    height: 48px !important;
    margin: 0 auto !important;
    position: fixed !important;
    bottom: 0px !important;
    right: 0px !important;
    left: 0px !important;
    z-index: 99999999 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0px -3px 12px !important;
} 

.news {
    width: 100% !important;
    background: #f7941d !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    padding-left: 175px !important;
}

.news-title {
    width: 160px !important;
    text-align: center !important;
    background: #15803d !important;
    position: absolute !important;
    z-index: 10 !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.news-title:after {
    position: absolute !important;
    content: "" !important;
    right: -36px !important;
    border-left: 18px solid #15803d !important;
    border-top: 24px solid transparent !important;
    border-right: 18px solid transparent !important;
    border-bottom: 24px solid transparent !important;
    top: 0px !important;
} 

.news-title h5 {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: #fff !important;
    letter-spacing: 0.5px !important;
} 

.news marquee {
    font-size: 14px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

.news-content p {
    margin-right: 45px !important;
    display: inline !important;
    color: #111827 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
}

.news-content p i {
    color: #15803d !important;
    margin-right: 5px !important;
}

body {
    padding-bottom: 48px !important;
}

/* Scroll Reveal Fade-In Animation */
.scroll-reveal {
    opacity: 0 !important;
    transform: translateY(35px) !important;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Fix About Section Layout Offset Clipping */
.about-three__left,
.about-three__right {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Show original slider image colors without dark tint overlay or blend modes */
.main-slider-three .swiper-slide {
    background-color: transparent !important;
}

.image-layer-three,
.image-layer-two,
.image-layer {
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    filter: none !important;
}

.image-layer-three::before,
.image-layer-two::before,
.image-layer::before,
.main-slider-three__overly-bg {
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* Text shadow for readability on un-tinted background images */
.main-slider-three__title,
.main-slider-three__sub-title,
.main-slider-three__text {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7) !important;
}
