/* Hide Translator on Mobile View - exactly as in template */
@media (max-width: 767px) {
    #google_mobile {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #google_desktop {
        display: none !important;
        visibility: hidden !important;
    }

    #mainmenu li#google_mobile {
        display: none !important;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        line-height: 0 !important;
    }

    .goog-te-gadget,
    .goog-te-gadget-simple,
    .goog-te-banner-frame,
    .goog-te-menu-frame {
        display: none !important;
        visibility: hidden !important;
    }
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* WhatsApp floating button - exactly as in template */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Scroll to top button - exactly as in template */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #0a4d8c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    display: none;
    text-decoration: none;
}

.scroll-to-top:hover {
    background-color: #063a6b;
    color: white;
}

/* Contact link styles - exactly as in template */
.contact-link {
    display: block;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
    text-decoration: none;
    color: inherit;
}

.contact-text {
    font-size: 20px;
    font-weight: normal;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-text {
        font-size: 16px !important;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .contact-text {
        font-size: 14px !important;
        line-height: 1.3;
    }
}

.footer-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-products-list li {
    margin-bottom: 8px;
}

.footer-products-list li a {
    font-size: 15px;
    line-height: 1.6;
    display: inline-block;
    transition: all 0.3s ease;
    color: #ddd;
    text-decoration: none;
}

.footer-products-list li a:hover {
    padding-left: 5px;
    color: #0a4d8c !important;
}

@media (max-width: 768px) {
    .footer-products-list li a {
        font-size: 14px;
        line-height: 1.5;
    }

    .footer-products-list li {
        margin-bottom: 6px;
    }
}

@media (max-width: 576px) {
    .footer-products-list li a {
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-products-list li {
        margin-bottom: 5px;
    }
}

/* NEW minimal design tweaks for middle sections */
.clean-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.clean-card:hover {
    box-shadow: 0 30px 45px -12px rgba(10, 77, 140, 0.15);
    border-color: rgba(10, 77, 140, 0.1);
}

.stat-modern {
    text-align: center;
    background: #f8faff;
    border-radius: 40px;
    padding: 2rem 1.5rem;
    transition: background 0.2s;
}

.stat-modern .timer {
    font-size: 3rem;
    font-weight: 700;
    color: #0a4d8c;
    line-height: 1.2;
}

.why-icon-box {
    background: white;
    border-radius: 32px;
    padding: 2rem 1.8rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

/* footer blue shade overrides */
.section-dark .widget h5 {
    color: #0a4d8c !important;
    font-weight: 600;
}

.section-dark .social-icons a {
    background: rgba(10, 77, 140, 0.1);
    color: #0a4d8c;
}

.section-dark .social-icons a:hover {
    background: #0a4d8c;
    color: #fff;
}

.section-dark .contact-text,
.section-dark .contact-link {
    color: #fff;
}

.section-dark .contact-link:hover .contact-text {
    color: #0a4d8c;
}

.section-dark .op-5 {
    color: #aaa;
}

.section-dark .fa-arrow-right,
.section-dark .arrow-img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2246%) hue-rotate(197deg) brightness(92%) contrast(90%);
}

/* footer arrow image replacement with blue */
.footer-blue-arrow {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #0a4d8c;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.025 1l-2.847 2.828 6.176 6.176h-16.354v3.992h16.354l-6.176 6.176 2.847 2.828 10.975-11z'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: #0a4d8c;
    opacity: 0.8;
}

.category-card {
    position: relative;
    display: block;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    text-decoration: none;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 63%);
    transition: 0.3s;
}

.category-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}

.category-content h4 {
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.category-content p {
    font-size: 14px;
    color: #eee;
    margin: 0;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-overlay {
    background: rgba(10, 77, 140, 0.75);
}

.supplier-section {
    padding: 80px 0;
}

.supplier-box {
    background: #f5f8fd;
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    transition: 0.3s;
}

.supplier-title {
    font-size: 42px;
    font-weight: 700;
    color: #0a4d8c;
    margin-bottom: 20px;
}

.supplier-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: auto;
}

/* highlight words */
.supplier-text span {
    color: #0a4d8c;
    font-weight: 600;
}

/* hover effect */
.supplier-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    background: #0a4d8c;
}

.supplier-box:hover .supplier-title,
.supplier-box:hover .supplier-text {
    color: white;
}

.supplier-box:hover span {
    color: #eae441;
}

/* ===== HEADER STYLES - FIXED LOGO SIZE ===== */

/* Logo styling - desktop and mobile */
#logo img {
    max-height: 65px !important;
    width: auto !important;
    display: block !important;
}

/* Desktop logo size */
@media (min-width: 993px) {
    #logo img {
        max-height: 70px !important;
    }
}

/* Tablet logo size */
@media (max-width: 992px) and (min-width: 769px) {
    #logo img {
        max-height: 60px !important;
    }
}

/* Mobile logo size - INCREASED */
@media (max-width: 768px) {
    #logo img {
        max-height: 55px !important;
    }
}

/* Small mobile logo size */
@media (max-width: 576px) {
    #logo img {
        max-height: 50px !important;
    }
}

/* Ensure logo container shows properly */
#logo {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.de-flex-col {
    display: flex;
    align-items: center;
}

/* Header layout */
.de-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Desktop menu styles */
#mainmenu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainmenu>li {
    position: relative;
    margin: 0 8px;
}

#mainmenu>li>a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
}

#mainmenu>li>a:hover {
    color: #0a4d8c;
}

/* Hamburger button styles */
#menu-btn {
    width: 45px;
    height: 45px;
    background: #0a4d8c;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 15px;
    position: relative;
    display: none;
}

#menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 8px auto;
    border-radius: 3px;
}

/* ===== MOBILE ONLY STYLES ===== */
@media (max-width: 992px) {

    /* Hide desktop menu on mobile */
    .header-col-mid {
        display: none !important;
    }

    /* Show hamburger button on mobile */
    #menu-btn {
        display: block !important;
    }

    /* Mobile menu styles */
    .mobile-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        padding: 15px 0;
    }

    .mobile-nav.active {
        display: block !important;
    }

    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-nav li:last-child {
        border-bottom: none;
    }

    .mobile-nav li a {
        display: block;
        padding: 12px 20px;
        color: #0a4d8c;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
    }

    /* Adjust slider height on mobile */
    .swiper {
        height: 700px !important;
    }
}

/* ===== DESKTOP ONLY STYLES ===== */
@media (min-width: 993px) {

    /* Hide mobile elements on desktop */
    #menu-btn {
        display: none !important;
    }

    .mobile-nav {
        display: none !important;
    }

    /* Keep original desktop menu visible */
    .header-col-mid {
        display: block !important;
    }

    /* Original slider height on desktop */
    .swiper {
        height: 800px !important;
    }
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .swiper {
        height: 450px !important;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 300px !important;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}
