/*
Template: QuanTech
Author: Modina Theme
Author URI: https://themeforest.net/user/modinatheme/
Description: IT Solution & Technology HTML Template
Version: 1.2.0
*/

/* ----------------------------------
    Mesutayvaztatto Bilisim Custom & Mobile Style Overrides
 ------------------------------------*/

/* Complete viewport overflow prevention */
html, body, .body-wrapper {
    overflow-x: hidden !important;
    width: 100%;
}

/* About Section Live Image Overlapping Layout Fix */
.about-images-video-popup .live-image-box {
    display: inline-block;
    width: 100%;
}
.about-images-video-popup .live-image-box:first-of-type {
    padding-right: 90px;
}
@media (max-width: 767px) {
    .about-images-video-popup .live-image-box:first-of-type {
        padding-right: 40px;
    }
}
.about-images-video-popup .live-image-box + .live-image-box {
    position: relative;
    float: right;
    margin-top: -100px;
    border-radius: 10px;
    width: auto;
}
@media (max-width: 767px) {
    .about-images-video-popup .live-image-box + .live-image-box {
        padding-right: 10px;
        padding-left: 10px;
        float: none;
        overflow: hidden;
        margin-top: 20px;
    }
}

/* Mobile Logo Max Height Limit */
@media (max-width: 991px) {
    header.header-1 .logo img {
        max-height: 50px !important;
        width: auto !important;
    }
}

/* Fix mobile menu background overlay z-index */
.overlay.active {
    z-index: 9998 !important;
}

/* Mobile Navigation Premium Redesign & Smooth GPU-Accelerated Slide Animation */
.mobile-nav {
    position: fixed;
    right: 0 !important;
    top: 0;
    width: 320px;
    height: 100vh;
    background: #0e225c !important; /* Premium dark brand blue */
    padding: 30px 24px !important;
    z-index: 9999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
}

.mobile-nav.show {
    transform: translateX(0) !important;
}

/* Close button positioning & style */
.mobile-nav .close-nav {
    position: absolute !important;
    right: 24px !important;
    top: 24px !important;
    left: auto !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.mobile-nav .close-nav:hover {
    background: #15389A !important;
    border-color: #15389A !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

.mobile-nav .sidebar-nav {
    margin-top: 50px !important;
}

/* Menu links styling inside drawer */
.mobile-nav .sidebar-nav .metismenu a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    border-bottom: none !important;
    margin-bottom: 5px !important;
    background: transparent !important;
    transition: all 0.2s ease-in-out !important;
}

/* Menu links hover/active states */
.mobile-nav .sidebar-nav .metismenu a:hover,
.mobile-nav .sidebar-nav .metismenu a:focus,
.mobile-nav .sidebar-nav .metismenu a:active {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    padding-left: 24px !important;
}

/* Active page menu link */
.mobile-nav .sidebar-nav .metismenu li.active > a {
    background: #15389A !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Action bar settings in drawer */
.mobile-nav .action-bar {
    margin-top: 40px !important;
    padding-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 30px !important;
}

.mobile-nav .action-bar .single-info-element {
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
}

.mobile-nav .action-bar .single-info-element .icon {
    color: #15389A !important;
    background: rgba(21, 56, 154, 0.15) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    margin-right: 14px !important;
    float: none !important;
}

.mobile-nav .action-bar .single-info-element .text h5 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
}

.mobile-nav .action-bar .single-info-element .text span,
.mobile-nav .action-bar .single-info-element .text a {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.mobile-nav .action-bar .call-us {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
}

.mobile-nav .action-bar .call-us .icon {
    color: #15389A !important;
    background: rgba(21, 56, 154, 0.15) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    margin-right: 14px !important;
    float: none !important;
}

.mobile-nav .action-bar .call-us .text h5 {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 4px !important;
    margin-top: 0 !important;
}

.mobile-nav .action-bar .call-us .text span,
.mobile-nav .action-bar .call-us .text a {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.mobile-nav .action-bar .theme-btn {
    background: #15389A !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 12px rgba(21, 56, 154, 0.2) !important;
    transition: all 0.3s ease !important;
}

.mobile-nav .action-bar .theme-btn:hover {
    background: #0f2b77 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(21, 56, 154, 0.3) !important;
}

/* Bottom Footer Links alignment on Desktop */
@media (min-width: 768px) {
    .footer-links-wrapper {
        justify-content: flex-end !important;
    }
}
/* Bottom Footer Links style */
.footer-bottom-link {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}
.footer-bottom-link:hover {
    color: #fff !important;
}

/* Premium Responsive Footer Style */
@media (max-width: 991px) {
    .footer-info {
        text-align: center !important;
        margin-bottom: 40px;
    }
    .footer-info a {
        display: inline-block !important;
    }
    .social-links-elite {
        justify-content: center !important;
    }
    .footer-widget {
        text-align: center !important;
        margin-bottom: 30px;
    }
    .footer-widget h4 {
        margin-bottom: 15px !important;
    }
    .footer-widget ul {
        display: inline-block;
        text-align: center;
    }
    .footer-widget ul li {
        text-align: center;
    }
    .footer-contact-block .contact-item {
        justify-content: center;
        text-align: center;
    }
    .footer-contact-block .contact-item span {
        text-align: left;
    }
}
