﻿/* =========================================
   Comprehensive Mobile Responsive Fixes
   ========================================= */

@media (max-width: 768px) {

    /* ===== HEADER & GAP FIX ===== */
    .header-top-bar-full {
        display: none !important;
    }

    .main-header {
        margin-bottom: 0 !important;
        border-bottom: 1px solid #e0e0e0 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    }

    .header-nav-bar-full {
        padding: 10px 0 !important;
    }

    .logo-image {
        width: 50px !important;
        height: 50px !important;
    }

    .hero-banner {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 120px !important;
        display: block !important;
        overflow: hidden !important;
        background: #fff;
    }

    .hero-slider {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-slide {
        display: none !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .hero-slide.active {
        display: block !important;
    }

    .hero-banner .hero-slide img,
    .hero-bg-image {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        /* Chiá»u cao tá»± Ä‘á»™ng theo tá»· lá»‡ áº£nh */
        display: block !important;
        object-fit: contain !important;
        /* Hiá»‡n full áº£nh khÃ´ng cáº¯t */
        object-position: center !important;
        max-height: none !important;
    }

    /* Äáº£m báº£o picture tag cÅ©ng cÃ³ aspect ratio */
    .hero-slide picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .hero-nav {
        display: none !important;
    }

    .hero-dots {
        bottom: 15px !important;
        /* TÄƒng khoáº£ng cÃ¡ch tá»« Ä‘Ã¡y */
        gap: 8px;
    }

    .hero-dot {
        width: 8px !important;
        height: 8px !important;
    }

    /* ===== GLOBAL SPACING ===== */
    section {
        padding: 30px 0 !important;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* ===== SECTION HEADERS ===== */
    .section-header {
        margin-bottom: 35px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 15px;
    }

    .section-title {
        font-size: 20px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
    }

    .view-all {
        font-size: 13px !important;
        white-space: nowrap;
        margin-top: 0 !important;
    }

    /* ===== NEWS SECTION ===== */
    .news-slider-wrapper {
        gap: 0 !important;
        padding: 0 !important;
        margin-top: 10px !important;
        align-items: stretch !important;
        /* Stretch items to same height */
    }

    .news-slider-track {
        gap: 0 !important;
        display: flex !important;
        align-items: stretch !important;
        /* Ensure items stretch */
    }

    .news-slide-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        /* Visual spacing */
        display: flex !important;
        /* Make item a flex container */
        height: auto !important;
        /* Let it stretch */
    }

    .news-grid-card {
        flex-direction: column;
        border-radius: 0 !important;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
        max-width: 400px;
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
        /* Fill the slide item */
        display: flex !important;
        flex-direction: column !important;
    }

    .news-grid-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        /* Tá»· lá»‡ 4:3 cho ngáº¯n gá»n */
    }

    .news-grid-image img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
        /* Fill the container */
        background: #f8f8f8;
    }

    .news-grid-content {
        padding: 15px !important;
        /* Giáº£m padding */
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .news-grid-content h3 {
        font-size: 18px !important;
        /* To hÆ¡n cho giá»‘ng áº£nh */
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #009900 !important;
        /* MÃ u xanh lÃ¡ Ä‘áº­m nhÆ° áº£nh */
        display: block !important;
        /* Bá» line-clamp Ä‘á»ƒ hiá»‡n háº¿t tiÃªu Ä‘á» */
        -webkit-line-clamp: unset !important;
        text-align: left !important;
    }

    .news-grid-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 10px !important;
        color: #333 !important;
        /* MÃ u chá»¯ Ä‘áº­m hÆ¡n cho dá»… Ä‘á»c */
        display: block !important;
        /* Bá» giá»›i háº¡n dÃ²ng Ä‘á»ƒ hiá»‡n nhiá»u ná»™i dung hÆ¡n */
        -webkit-line-clamp: unset !important;
        text-align: justify !important;
    }

    .news-grid-meta {
        display: none !important;
        /* áº¨n ngÃ y thÃ¡ng cho giá»‘ng áº£nh máº«u sáº¡ch sáº½ */
    }

    .news-grid-date {
        font-size: 12px !important;
    }

    /* Slider Navigation Buttons - Overlay Style */
    .news-slider-wrapper,
    .products-slider-wrapper,
    .gallery-slider-wrapper {
        position: relative !important;
    }

    .slider-nav-btn,
    .news-prev-btn,
    .news-next-btn,
    .gallery-prev-btn,
    .gallery-next-btn {
        display: none !important;
    }

    .news-prev-btn,
    .gallery-prev-btn {
        left: 10px !important;
    }

    .news-next-btn,
    .gallery-next-btn {
        right: 10px !important;
    }

    /* ===== PRODUCTS SECTION ===== */
    .products-slider-wrapper {
        gap: 0 !important;
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .products-slider-track {
        gap: 0 !important;
    }

    .product-slide-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        /* Visual spacing */
        display: flex !important;
        height: auto !important;
    }

    .product-card {
        border-radius: 0 !important;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
        max-width: 400px;
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-card-image {
        height: 500px !important;
        /* TÄƒng máº¡nh tá»« 350px lÃªn 500px cho mobile/tablet */
    }

    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: contain !important;
        /* Äáº£m báº£o luÃ´n hiá»‡n háº¿t bao bÃ¬ */
    }

    .product-card-content {
        padding: 20px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-card-btn {
        margin-top: auto !important;
        align-self: flex-start !important;
        font-size: 14px !important;
        padding: 10px 20px !important;
        border-radius: 8px !important;
    }

    .product-card-title {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        font-weight: 600 !important;
    }

    .product-card-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
        color: #666 !important;
    }

    .product-card-btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
        border-radius: 8px !important;
    }

    .slider-prev-btn,
    .slider-next-btn {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
        border-radius: 50% !important;
        z-index: 10 !important;
        border: none !important;
        cursor: pointer !important;
    }

    .slider-prev-btn {
        left: 10px !important;
    }

    .slider-next-btn {
        right: 10px !important;
    }

    /* ===== STATS SECTION ===== */
    .stats-section {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        padding: 25px 0 !important;
    }

    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .stat-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 15px 5px !important;
        border-radius: 0 !important;
        background: #fff !important;
        text-align: center !important;
    }

    .stat-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .stat-number {
        font-size: 20px !important;
        margin-bottom: 3px !important;
        font-weight: 700 !important;
    }

    .stat-label {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .gallery-slider-track {
        display: flex !important;
        gap: 0 !important;
        transition: transform 0.5s ease-in-out !important;
    }

    .gallery-slide-item {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 0 4px !important;
        /* Reduced padding to make image wider */
        width: 100% !important;
        /* Force full width */
    }

    .gallery-card {
        border-radius: 0 !important;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
        max-width: 400px;
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .gallery-card img {
        width: 100%;
        height: 300px !important;
        /* Äiá»u chá»‰nh chiá»u cao cho mobile */
        object-fit: cover !important;
        flex: 1 !important;
    }

    .gallery-nav-btn,
    .gallery-prev-btn,
    .gallery-next-btn {
        display: none !important;
    }

    /* ===== GALLERY SECTION FIX ===== */
    .gallery-section {
        padding: 0 !important;
    }

    .gallery-bg {
        padding: 30px 0 !important;
    }

    .gallery-section .section-header {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-bottom: 25px !important;
    }

    .gallery-section .section-title {
        margin: 0 auto !important;
    }

    /* ===== FOOTER ===== */
    footer {
        padding: 30px 0 20px !important;
    }

    footer .container {
        padding: 0 20px !important;
    }
}

/* ===== SMALL MOBILE (< 576px) ===== */
@media (max-width: 576px) {
    .section-title {
        font-size: 18px !important;
    }

    .view-all {
        font-size: 12px !important;
    }

    /* Slightly smaller spacing for stats on very small screens to fit 4 columns */
    .stat-item {
        padding: 10px 4px !important;
    }

    .stat-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }

    .stat-number {
        font-size: 16px !important;
    }

    .stat-label {
        font-size: 8px !important;
    }

    /* Slightly smaller cards on very small screens */
    .news-grid-card,
    .product-card {
        max-width: 100% !important;
    }

    .news-grid-image {
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
    }

    .product-card-image {
        height: 450px !important;
        /* Giá»¯ nguyÃªn cho sáº£n pháº©m */
    }
}

/* =========================================
   ABOUT PAGE FIXES
   ========================================= */
@media (max-width: 768px) {

    /* 1. About Hero Section */
    .about-hero-content {
        flex-direction: column !important;
        padding-top: 20px !important;
    }

    .about-hero-text {
        width: 100% !important;
        text-align: center !important;
        padding-right: 0 !important;
    }

    .about-hero-stats {
        display: flex !important;
        flex-direction: row !important;
        /* Horizontal layout as requested */
        justify-content: space-around !important;
        gap: 10px !important;
        margin-top: 25px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .hero-stat {
        flex: 1 !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .about-hero-stats .stat-number {
        font-size: 20px !important;
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: 5px;
    }

    .about-hero-stats .stat-label {
        font-size: 11px !important;
        line-height: 1.2;
    }

    .about-hero-image {
        width: 100% !important;
        margin-top: 30px !important;
        height: auto !important;
    }

    .hero-image-placeholder {
        height: 250px !important;
    }

    /* 2. History Timeline */
    .timeline-item-modern {
        flex-direction: column !important;
        padding-left: 30px !important;
        border-left: 2px solid #e0e0e0;
        margin-left: 10px;
        padding-bottom: 30px;
    }

    .modern-timeline::before {
        display: none !important;
        /* Hide central line */
    }

    .timeline-dot {
        left: -6px !important;
        top: 0 !important;
    }

    .timeline-content-modern {
        width: 100% !important;
        text-align: left !important;
        padding: 15px !important;
        /* Added padding back to prevent content touching edges */
    }

    .timeline-year-modern {
        margin-bottom: 15px !important;
        /* Increased spacing below year badge */
        display: inline-block;
    }

    .timeline-item-modern:nth-child(even) .timeline-content-modern {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .timeline-item-modern:nth-child(even) .timeline-dot {
        left: -6px !important;
    }

    /* 3. Grids (Mission, Values, Policy) */
    .mission-vision-grid,
    .core-values-grid,
    .agency-policy-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: grid !important;
    }

    /* 4. Cards */
    .mission-card,
    .vision-card,
    .core-value-card,
    .policy-card {
        padding: 25px 20px !important;
    }

    /* 5. Agency CTA */
    .agency-cta {
        padding: 30px 20px !important;
    }
}

/* =========================================
   PRODUCTS PAGE FIXES
   ========================================= */
@media (max-width: 768px) {

    /* 1. Layout Container */
    .products-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    /* 2. Sidebar - Horizontal Scrollable Pills */
    .products-sidebar {
        width: 100% !important;
        margin-bottom: 20px !important;
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px !important;
    }

    .products-sidebar h3 {
        font-size: 16px !important;
        margin-bottom: 15px !important;
        display: none !important;
        /* Hide title to save space, optional */
    }

    .products-sidebar h3 i {
        display: none;
    }

    .category-list {
        display: flex !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding-bottom: 5px !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important;
        padding-left: 0 !important;
        margin: 0 !important;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .category-list::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .category-list li {
        flex: 0 0 auto !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .category-filter {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 8px 16px !important;
        background: #f5f5f5;
        border-radius: 0;
        font-size: 13px !important;
        color: #555 !important;
        border: 1px solid #eee;
        transition: all 0.3s ease;
        text-decoration: none !important;
    }

    .category-filter i {
        font-size: 12px;
    }

    .category-filter.active {
        background: var(--primary-color) !important;
        color: #fff !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    }

    .category-filter:hover {
        background: #e0e0e0;
    }

    /* 3. Product Grid - 2 Columns */
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Ensure product card fits grid */
    .product-card {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        /* Reset auto margin */
        width: 100% !important;
    }

    .product-image {
        height: 160px !important;
        /* Adjust height for mobile grid */
        overflow: hidden !important;
    }

    .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .product-info {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-info h3 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        min-height: 40px;
        /* Force 2 lines for alignment */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hide short desc on mobile list to save space */
    .product-desc {
        display: none !important;
    }

    .product-btn {
        margin-top: auto !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
        width: 100% !important;
        text-align: center !important;
    }
}

@media (max-width: 360px) {

    /* Single column for very small screens */
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   DIGITAL TRANSFORMATION PAGE FIXES
   ========================================= */
@media (max-width: 768px) {

    /* 1. Hero Section */
    .digital-hero-content {
        flex-direction: column !important;
        padding-top: 20px !important;
    }

    .digital-hero-text {
        width: 100% !important;
        text-align: center !important;
        padding-right: 0 !important;
    }

    .digital-hero-stats {
        display: flex !important;
        flex-direction: row !important;
        /* Horizontal layout as requested */
        justify-content: space-around !important;
        gap: 10px !important;
        margin-top: 25px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    .digital-stat {
        flex: 1 1 auto !important;
        min-width: 90px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .digital-stat .stat-number {
        font-size: 24px !important;
        display: block !important;
    }

    .digital-stat .stat-label {
        font-size: 11px !important;
        white-space: normal !important;
    }

    .digital-hero-visual {
        width: 100% !important;
        margin-top: 40px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .digital-circle-main {
        transform: scale(0.8) !important;
    }

    /* 2. SAP Section */
    .sap-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        display: grid !important;
    }

    .benefits-grid-modern {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: grid !important;
    }

    /* 3. Tech Section */
    .tech-ecosystem {
        transform: scale(0.7);
        /* Scale down for mobile */
        margin-bottom: 0 !important;
        margin-top: -30px !important;
    }

    .tech-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: grid !important;
        margin-top: 20px !important;
    }

    /* 4. Smart Apps */
    .smart-app-item {
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 40px !important;
        display: flex !important;
    }

    .smart-app-item.reverse {
        flex-direction: column !important;
    }

    .app-visual,
    .app-content {
        width: 100% !important;
        padding: 0 !important;
    }

    /* 5. Roadmap */
    .roadmap-timeline {
        padding: 0 !important;
    }

    /* 6. Partners */
    .partners-showcase {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: grid !important;
    }

    .partner-card-tech {
        padding: 20px !important;
    }

    /* General Typography Fixes */
    .section-header-center h2 {
        font-size: 22px !important;
    }
}

/* =========================================
   NEWS PAGE FIXES
   ========================================= */
@media (max-width: 768px) {

    /* 1. Category Filter - Horizontal Scrollable Pills */
    .news-categories {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding: 5px 0 !important;
        margin-bottom: 25px !important;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap !important;
        scrollbar-width: none;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    .news-categories::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .category-btn {
        flex: 0 0 auto !important;
        padding: 8px 16px !important;
        background: #f5f5f5;
        border-radius: 20px;
        font-size: 13px !important;
        color: #555 !important;
        border: 1px solid #eee;
        transition: all 0.3s ease;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .category-btn.active {
        background: var(--primary-color) !important;
        color: #fff !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
    }

    .category-btn:hover {
        background: #e0e0e0;
    }

    /* 2. News Grid - Single Column */
    .news-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* 3. News Card Adjustments */
    .news-card {
        display: flex !important;
        flex-direction: column !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    }

    .news-image {
        width: 100% !important;
        height: 220px !important;
        overflow: hidden !important;
    }

    .news-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .news-content {
        padding: 20px !important;
    }

    .news-content h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .news-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    .news-category {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }

    .news-meta {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }

    .read-more {
        font-size: 14px !important;
    }
}

/* =========================================
   FOOTER SECTION FIXES - PREMIUM REDESIGN
   ========================================= */
@media (max-width: 768px) {
    .main-footer {
        padding: 50px 0 30px !important;
        margin-top: 40px !important;
        background: #2e7d32 !important;
        /* Deeper green for depth */
        text-align: left !important;
        /* Left aligned for better structure */
    }

    .footer-content {
        display: block !important;
        /* Stack columns */
    }

    .footer-column {
        margin-bottom: 40px !important;
        padding: 0 10px !important;
    }

    .footer-column h3 {
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin-bottom: 20px !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Icon prefix for headings */
    .footer-column:nth-child(2) h3::before {
        content: '\f0ca';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #ffd700;
    }

    .footer-column:nth-child(3) h3::before {
        content: '\f0c1';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #ffd700;
    }

    .footer-column:nth-child(4) h3::before {
        content: '\f095';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #ffd700;
    }

    .footer-column h3::after {
        display: none !important;
        /* Remove old underline */
    }

    /* 2 Columns for links to save vertical space */
    .footer-column ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 !important;
    }

    .footer-column ul li {
        margin-bottom: 0 !important;
    }

    .footer-column ul li a {
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        transition: all 0.3s ease !important;
    }

    .footer-column ul li a::before {
        content: '\f105';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 12px;
        color: #ffd700;
    }

    /* Social links styling */
    .social-links {
        justify-content: flex-start !important;
        gap: 20px !important;
        margin-bottom: 25px !important;
    }

    .social-links a {
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        transition: all 0.3s ease !important;
    }

    .social-links a:hover {
        background: #ffd700 !important;
        color: #1a5c2e !important;
        transform: translateY(-3px) !important;
    }

    .footer-column p {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 13px !important;
        margin-bottom: 15px !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .footer-column p i {
        color: #ffd700 !important;
        width: 20px !important;
        text-align: center !important;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 25px !important;
        text-align: center !important;
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }
}

/* Adjust grid for very small screens */
@media (max-width: 480px) {
    .footer-column ul {
        grid-template-columns: 1fr !important;
        /* Stack back to 1 column if name too long */
    }
}

/* Forced override for News section spacing */
.news-activities-section {
    padding-top: 20px !important;
    margin-top: 0px !important;
}

.news-activities-section .section-header {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative;
    padding-bottom: 15px;
}

.news-activities-section .section-title {
    margin-bottom: 10px !important;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Yellow/Grey Underline for Title */
.news-activities-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FFD700;
    /* Yellow */
    z-index: 2;
}

.news-activities-section .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: #ccc;
    z-index: 1;
}

.news-activities-section .view-all {
    display: none !important;
}

.news-slider-wrapper {
    margin-top: 10px !important;
}

.hero-banner {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

/* Forced override for Products section spacing */
.products-section {
    padding-top: 20px !important;
    margin-top: 0px !important;
}

.products-section .section-header {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative;
    padding-bottom: 15px;
}

.products-section .section-title {
    margin-bottom: 10px !important;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Yellow/Grey Underline for Title */
.products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FFD700;
    /* Yellow */
    z-index: 2;
}

.products-section .section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: #ccc;
    z-index: 1;
}

.products-section .view-all {
    display: none !important;
}

.products-slider-wrapper {
    margin-top: 10px !important;
}

/* =========================================
   NEW MOBILE HEADER STYLES
   ========================================= */

@media (max-width: 992px) {

    /* Toggle Visibility on Mobile */
    .display-desktop-only {
        display: none !important;
    }

    .display-mobile-only {
        display: flex !important;
    }

    /* Container Layout */
    .mobile-header-custom {
        width: 100%;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
    }

    /* 1. Green Menu Button */
    .mobile-menu-toggle-custom {
        width: 40px;
        height: 40px;
        background: #00b14f;
        /* Green color match */
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    /* 2. Centered Logo */
    /* 2. Centered Logo - Overlapping Effect */
    .mobile-logo-center {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1001;
        /* Higher than banner */
    }

    .mobile-logo-center img {
        height: 70px;
        /* Bigger logo */
        width: 70px;
        object-fit: contain;
        background: #fff;
        /* White background for circle */
        border-radius: 50%;
        /* Make it round */
        padding: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        /* Subtle shadow for depth */
        position: absolute;
        /* Take out of flow to overlap */
        top: -15px;
        /* Adjust vertical position */
    }

    /* 3. Right Icons */
    .mobile-right-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-lang-flag img {
        width: 28px;
        height: auto;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mobile-search-trigger {
        font-size: 22px;
        color: #555;
        cursor: pointer;
        padding: 5px;
        /* Looking like a magnifying glass icon */
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Ensure Header Container Adjustments */
    .header-nav-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

@media (min-width: 993px) {

    /* Desktop Default Styles */
    .display-mobile-only {
        display: none !important;
    }

    /* Don't force display: block !important;, just remove display: none */
    .display-desktop-only {
        display: inherit;
    }
}

/* Force Floating Contact Bar Visibility - Final Fix */
@media (max-width: 768px) {
    .floating-contact-bar {
        display: flex !important;
        flex-direction: column-reverse !important;
        position: fixed !important;
        z-index: 999999 !important;
        right: 15px !important;
        bottom: 80px !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 60px !important;
        height: auto !important;
        min-height: 200px !important;
        pointer-events: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .contact-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 50px !important;
        height: 50px !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}
