/* Remove diamond background pattern globally */
body, .page-wraper, .page-content, .container, .about-info, .about-heading,
body::before, body::after, .page-wraper::before, .page-wraper::after,
.page-content::before, .page-content::after, 
.container::before, .container::after {
    background-image: none !important;
}

/* Restore and Enhance Big Blue Contact Section */
.bg-primary-dark {
    background-color: #029de0 !important; /* Brand Blue */
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.bg-primary-dark h2 {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
}

.bg-primary-dark p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
}

.bg-primary-dark .site-button.white.outline {
    border-color: #ffffff !important;
    color: #ffffff !important;
    border-width: 2px !important;
    font-weight: 700 !important;
}

.bg-primary-dark .site-button.white.outline:hover {
    background: #ffffff !important;
    color: #029de0 !important;
}


.quality-section {
    background: linear-gradient(rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.76)), url('../images/quality/bg-2.jpeg') !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* QUICK LINKS SECTION */
.footer-quick-links ul {
    list-style: none !important;              /* Remove bullets/arrows */
    padding: 0;
    margin: 0;
}

.footer-quick-links ul li {
    margin-bottom: 12px;           /* Same spacing as contact info */
    position: relative;
    list-style: none !important;
}

/* Remove any arrow icons added via pseudo-elements */
.footer-quick-links ul li::before {
    content: none !important;
}

/* LINKS STYLE */
.footer-quick-links ul li a {
    text-decoration: none;
    color: #ffffff;                /* White font color */
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    transition: all 0.3s ease;
}

/* HOVER EFFECT (clean and minimal) */
.footer-quick-links ul li a:hover {
    color: #4fc3f7;                /* Accent color (turquoise tone) */
    text-decoration: underline;
}

/* HEADING STYLE (match Contact Info) */
.footer-quick-links h4, 
.site-footer h4, 
.site-footer h6 {
    color: #029de0 !important; /* Contrasting blue color for headings */
    font-size: 19px;           /* Increased size */
    font-weight: 900;           /* Maximum boldness */
    margin-bottom: 18px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;      /* Slightly more spacing for very bold text */
}

/* Ensure underline below heading is also bolder */
.footer-quick-links h4::after,
.site-footer h6::after {
    content: "";
    display: block;
    width: 45px;
    height: 3px;                /* Thicker line */
    background: #029de0;
    margin-top: 8px;
}

/* Ensure all footer links and text are white */
.site-footer, 
.site-footer p, 
.site-footer li, 
.site-footer span, 
.site-footer a {
    color: #ffffff !important;
}

.site-footer b {
    color: #029de0 !important; /* Blue color for company name */
    text-transform: uppercase;   /* Match user's screenshot */
    font-weight: 800;
    font-size: 19px;             /* Match heading size */
}

.site-footer a:hover {
    color: #4fc3f7 !important; /* Maintain accent color on hover */
    text-decoration: underline;
}

.footer-map {
    width: 100%;
    height: 280px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Logo positioned over the arch square */
.footer-top {
    position: relative !important;
}

.footer-logo-badge {
    position: absolute;
    top: 40px;
    right: 155px; /* Shifted slightly back to the right */
    width: 140px;
    height: 140px;
    z-index: 9999;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important; /* Removed red/white box border */
}

.footer-logo-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media only screen and (max-width: 1024px) {
    .footer-logo-badge {
        top: 15px;
        right: 20px;
        width: 80px;
        height: 80px;
    }
}

@media only screen and (max-width: 575px) {
    .footer-logo-badge {
        display: none;
    }
}

.footer-map iframe {
    width: 100%;
    height: 100%;
}

/* RESPONSIVE OVERRIDES */

/* Fix horizontal overflow globally
   Using overflow-x:clip instead of hidden so that position:sticky works */
html, body {
    overflow-x: clip;
    width: 100%;
    margin: 0;
    padding: 0;
}

.page-wraper {
    overflow-x: clip;
}

/* Mobile & Tablet Fixes */
@media only screen and (max-width: 1024px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .slider-box .slider-content {
        width: 90% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

@media only screen and (max-width: 767px) {
    /* Hero Section */
    .home-banner {
        min-height: 50vh !important;
    }
    
    .home-banner .hero-content h1 {
        font-size: 26px !important;
        line-height: 34px !important;
        padding: 0 10px !important;
    }
    
    /* Typography */
    .section-head .title {
        font-size: 22px !important;
        margin-bottom: 15px !important;
    }
    
    .quality-text {
        font-size: 20px !important;
        line-height: 28px !important;
        padding: 15px !important;
        word-spacing: 1px !important;
    }
    
    /* Quality Section */
    .quality-section {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
        background-attachment: scroll !important; /* Fixed bg is buggy on mobile */
    }
    
    /* Floating Buttons */
    .theme-btn {
        height: 40px !important;
        min-width: 40px !important;
        bottom: 15px !important;
    }
    
    .theme-btn i {
        font-size: 18px !important;
        line-height: 40px !important;
    }
    
    .theme-btn.bt-support-now {
        bottom: 65px !important;
    }
    
    /* About Section */
    .about-heading {
        font-size: 20px !important;
    }
    
    .about-list li {
        font-size: 15px !important;
        padding: 5px 0 !important;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 15px !important;
        border-radius: 10px !important;
    }
    
    /* Footer */
    .footer-top {
        padding-top: 30px !important;
    }
    
    .footer-top .row > div {
        margin-bottom: 25px !important;
    }
    
    .footer-quick-links {
        padding-left: 15px !important;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .product-container img {
        width: 100% !important;
        max-width: 250px !important;
    }
}


/* Products Page Fixes */
.product-container {
    cursor: default !important;
}

/* NAVIGATION BAR STICKY FIX — Pure CSS approach */
/* We make the outer .site-header sticky so it always stays at
   the top of the viewport. No JS dependency needed. */
.site-header.header {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    height: auto !important;
    transition: box-shadow 0.3s ease;
    border-top: 7px solid #029de0 !important;  /* Thick blue top accent line */
    border-right: none !important;
}

/* Prevent template JS is-fixed from doing position:fixed */
.is-fixed .main-bar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    box-shadow: none !important;
}

/* Ensure main-bar always has white bg */
.sticky-header .main-bar {
    background-color: #ffffff !important;
    min-height: 140px !important; /* Increased for better balance */
    display: flex !important;
    align-items: center !important;
}

/* Vertically center logo + nav in the header bar */
.sticky-header .container.clearfix {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Hide the empty top-bar segment */
.top-bar {
    display: none !important;
}

/* Logo — left-aligned, vertically centered */
.logo-header {
    display: flex !important;
    align-items: center !important;
}

.logo-header img {
    max-height: 100px !important; /* Balanced size */
    width: auto !important;
    transition: all 0.3s ease;
    margin-top: 0 !important;
}

@media only screen and (max-width: 991px) {
    .logo-header img {
        max-height: 95px !important;
        margin-top: 0 !important;
    }
}


/* General image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

/* Floating Action Buttons (Bottom Left) */
.extra-nav-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-fixed, .support-fixed {
    width: 55px;
    height: 55px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.whatsapp-fixed {
    background-color: #25d366;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media only screen and (max-width: 767px) {
    .extra-nav-fixed {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }
    .whatsapp-fixed {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Active Navigation Item Blue Box */
.header-nav .nav > li.active > a,
.header-nav .nav > li:hover > a {
    background-color: #029de0 !important;
    color: #ffffff !important;
}

 /* Reverted to original compact spacing */
    display: flex;
    gap: 10px;
}

.footer-social-list li {
    display: inline-block;
    list-style: none !important;
}

.footer-social-list li a {
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px;
    color: #fff !important;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-social-list li a i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    position: static !important;
    line-height: 36px !important;
}

.footer-social-list li a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.footer-social-list li a.linkedin {
    background-color: #0077b5;
}

.footer-social-list li a.facebook {
    background-color: #1877f2;
}

.footer-social-list li a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}