/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: 'Segoe UI Custom';
  src: url('./fonts/segoe-ui.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
    font-family: 'Segoe UI Custom';
    line-height: 1.6;
    color: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

/* Add responsive container class */
.responsive-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: #1F2937;
    /* Dark blue from image, now #1F2937 */
    color: white;
    padding: 0.5rem 5%;
    font-size: 0.9rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1002;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info span {
    margin-right: 1.5rem;
}

.contact-info i,
.language-selector i {
    margin-right: 0.5rem;
}

.language-selector {
    position: relative;
    cursor: pointer;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: #fff !important;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    top: 100%;
    right: 0;
}

.language-dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.language-dropdown a:hover {
    background-color: #ddd;
}

.language-selector.active .language-dropdown {
    display: block;
}

/* Main Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    /* top will be set by JS */
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}


.hamburger {
    display: none;
    /* Hidden by default */
    font-size: 1.8rem;
    cursor: pointer;
    color: #1F2937;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo h1 {
    background: linear-gradient(to right, #1E3A8A, #0F766E);
    /* Gradient color */
    color: white;
    padding: 8px 16px;
    margin-right: 16px;
    font-weight: 400;
    border-radius: 8px;
    /* Rounded corners */
}

.logo-text p {
    font-size: 0.8rem;
    color: #4B5563;
    line-height: 1.2;
    font-weight: 400;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FACC15;
    /* Hover color, now #FACC15 */
}

.nav-buttons button {
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-left: 1rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    height: calc(100vh - (32px + 69px));
    /* Re-add height calculation to CSS */
    min-height: 500px;
    /* Ensure a minimum height for the image */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/motor_image.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    /* margin-top will be set by JS */
}


.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 400;

}

.hero h1 .highlight {
    color: #FACC15;
}

.hero p {
    font-size: 24px;
    font-family: 'Segoe UI';
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-buttons button {
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
}

.primary-btn {

    text-decoration: none;
    background-color: #FACC15;
    color: #333;
    border-radius: 8px;
    padding: 16px 32px;
    border-width: 0px;
}

.primary-btn:hover {
    background-color: #e0a32c;
}

.secondary-btn {
    text-decoration: none;
    padding: 16px 32px;
    background-color: transparent;
    border: 1px solid #FACC15 !important;
    color: white;
    border-radius: 8px;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-buttons button:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {

    .container,
    .responsive-container {
        padding: 0 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .products-catalog-section,
    .insight-testing-section,
    .request-quote-section,
    .future-products-section,
    .find-more-section {
        width: 100%;
        overflow-x: hidden;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .products-catalog-section>.container,
    .insight-testing-section>.container,
    .request-quote-section>.container,
    .future-products-section>.container,
    .find-more-section>.container {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-info span {
        margin-bottom: 0.5rem;
    }

    .navbar {
        flex-direction: row;
        /* Keep flex-direction row for logo and hamburger */
        justify-content: space-between;
        /* Space between logo and hamburger */
        align-items: center;
    }

    .nav-links {
        display: none;
        /* Hide default nav links on small screens */
        flex-direction: column;
        position: absolute;
        top: calc(32px + 69px);
        /* Position below fixed header */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 999;
        /* Below fixed header but above content */
        transition: all 0.3s ease-in-out;
        transform: translateY(-100%);
        /* Start off-screen */
        opacity: 0;
    }

    .nav-links.active {
        display: flex;
        /* Show nav links when active */
        transform: translateY(0);
        /* Slide in */
        opacity: 1;
    }

    .nav-links a {
        margin: 0.5rem 1rem;
        padding: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: block;
        /* Show hamburger on small screens */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        margin: 0;
        width: 100%;
    }

    .hero {
        margin-top: calc(32px + 69px);
        /* Ensure hero starts below header */
        height: auto;
        padding: 8rem 1rem 4rem;
    }

    /* Further mobile adjustments */
    .category-grid,
    .features-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        /* Stack cards vertically on mobile */
        gap: 1rem;
        /* Adjust gap for mobile */
    }

    .stat-card {
        padding: 1.5rem;
        width: auto;
        height: auto;
        transform: translateY(0) !important;
        /* Ensure no vertical offset on mobile */
    }

    .product-grid,
    .future-product-grid,
    .stats-grid,
    .footer-content-grid {
        justify-content: center;
        padding: 0 1rem;
    }

    .product-card,
    .future-product-card,
    .stat-card {
        margin: 0 auto;
    }
}

/* About Section */
.about-section {
    background-color: #ffffff;
    padding: 5rem 5%;
    color: #1F2937;
    /* Adjusted to dark text on light background */
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #111827;
    /* Dark text for header */
}

.about-header h2 .highlight-blue {
    color: #1E3A8A;
}

.about-header p {
    font-size: 20px;
    font-weight: 400;
    /* Corrected unit */
    max-width: 800px;
    margin: 0 auto;
    color: #4B5563;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.about-text-block {
    flex: 1;
    /* Remove min-width and width for flex to control sizing */
}

.about-text-block h3 {
    font-size: 24px;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #4B5563;
}

.about-text-block p {
    font-size: 14px;
    /* Condensed font size */
    line-height: 1.4;
    /* Tighter line height to condense text */
    margin-bottom: 2rem;
    color: #4B5563;
}

.stats-grid {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* width: 1000px; */
    /* Use 1fr for equal distribution */
    gap: 1rem;
    /* Re-introduce a slightly larger but still controlled gap */
}

.stat-card {
    background-color: white;
    color: #1F2937;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    /* height: 240px; */
    width: 264px;
    height: 196px;
    /* Let the grid manage width, remove fixed width */
    max-width: none;
    /* Remove max-width constraint */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stats-grid .stat-card:nth-child(2),
.stats-grid .stat-card:nth-child(4) {
    transform: translateY(30px);
    /* Removed for better mobile control */
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0rem;
    font-size: 1.8rem;
    color: white;
}

.orange-bg {
    background-color: #F97316;

}

.red-bg {
    background-color: #EF4444;

}

.yellow-bg {
    background-color: #FACC15;

}

.teal-bg {
    background-color: #2DD4BF;

}

.stat-card h4 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #1F2937;
}

.stat-card p {
    font-size: 0.9rem;
    color: #6B7280;
}

.primary-about-btn {
    color: black;
    background-color: #FACC15;
    border-radius: 8px;
    padding: 1rem 2rem;
    border-width: 0px;
    text-decoration: none;

}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about-text-block,
    .stats-grid {
        width: 100%;
        /* Removed this to allow full width */
        flex-shrink: 1;
        /* Allow shrinking on smaller screens */
    }

    .stats-grid {
        width: auto;
        max-width: unset;
        grid-template-columns: repeat(4, 1fr);
        /* Set to 4 columns for tablet sizes */
        gap: 1rem;
        /* Consistent gap for tablets */
    }

    .stats-grid .stat-card:nth-child(2),
    .stats-grid .stat-card:nth-child(4) {
        transform: translateY(0);
        /* Remove vertical offset for tablet */
    }

    .stat-card {
        width: auto;
        height: auto;
        max-width: unset;
        transform: translateY(0) !important;
        /* Ensure no vertical offset */
        min-width: 0;
        /* Allow cards to shrink further */
    }
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 2.2rem;
    }

    .about-header p {
        font-size: 1rem;
    }

    .about-text-block h3 {
        font-size: 1.8rem;
    }

    .stat-card h4 {
        font-size: 2rem;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Display in 2 columns on mobile */
        gap: 1rem;
        /* Adjust gap for mobile */
    }

    .stat-card {
        padding: 1.5rem;
        width: auto;
        height: auto;
        transform: translateY(0) !important;
        /* Ensure no vertical offset on mobile */
    }
}

/* Products Catalog Section */
.products-catalog-section {
    background-color: #F3F4F6;
    padding-bottom: 5rem;

}

.products-catalog-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.products-catalog-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-catalog-section .section-header h2 {
    font-size: 2.8rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.products-catalog-section .section-header p {
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto;
}

.catalog-main-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    /* Align top of sidebar and grid */
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    /* Prevent shrinking */
    width: 280px;
    /* Fixed width as per image */
}

.filter-group {
    margin-bottom: 1.5rem;
}

.search-input-container {
    position: relative;
    margin-bottom: 1rem;
}

.search-input-container input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    /* Left padding for icon */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 1rem;
    color: #374151;
}

.search-input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
}

.filter-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background-color: white;
    font-size: 1rem;
    color: #374151;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"%3e%3cpath fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd"%3e%3c/path%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 0.8em auto;
}

.apply-filters-btn {
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.apply-filters-btn i {
    margin-right: 0.5rem;
}

/* Product Grid */
.product-grid {
    display: flex;
    /* Change from grid to flex to center single child */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    min-height: 450px;
    /* Ensure enough height for centering the message */
    gap: 30px;
    flex-grow: 1;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    /* Allow wrapping if content is too wide */
    align-content: center;
    /* Center lines when wrapped */
}

.product-card {
    background-color: #FFFFFF;
    width: 300px;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* .product-card .brand-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background-color: #00FF00;
    color: #4B5563;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
} */

.product-card img {
    margin: 0 auto;
    max-width: 100%;
    height: 160px;
    /*object-fit: cover;*/
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.product-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    text-align: left;
}

.product-card .part-number {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
    text-align: left;
}

.product-card .compatibility {
    font-size: 0.75rem;
    color: #4B5563;
    margin-bottom: 0.5rem;
    text-align: left;
}

.product-card .view-details-btn {
    text-decoration: none;
    background-color: #FACC15;
    width: calc(100% - 1.5rem);
    color: #1F2937;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 0 auto;
    display: block;
    margin-top: auto;
}

.product-card .view-details-btn:hover {
    background-color: #E0A32C;
}

/* Find more Section */
.find-more-section {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.find-more-section:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15),
        0 6px 8px rgba(0, 0, 0, 0.08);
}

.find-more-section .container {
    padding-bottom: 1rem;
    position: relative;
}

.find-more-section h2 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.find-more-section p {
    font-size: 1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.find-more-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.primary-find-btn {
    text-decoration: none;
    background-color: #FACC15;
    color: #333;
    border-radius: 8px;
    padding: 1rem 2rem;
    border-width: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.primary-find-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.secondary-find-btn {
    text-decoration: none;
    background-color: #FFFFFF;
    color: #333;
    border-radius: 8px;
    padding: 1rem 2rem;
    border-width: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.secondary-find-btn:hover {
    background-color: #e0a42c1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Products Catalog */
@media (max-width: 1024px) {
    .catalog-main-content {
        flex-direction: column;
        /* Stack sidebar and grid */
        align-items: center;
    }

    .filter-sidebar {
        width: 100%;
        max-width: 400px;
        /* Limit sidebar width on tablet */
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for tablets */
        width: 100%;
    }

    .product-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .products-catalog-section {
        padding-bottom: 3rem;
    }

    .products-catalog-section .section-header h2 {
        font-size: 2.2rem;
    }

    .products-catalog-section .section-header p {
        font-size: 0.9rem;
    }

    .filter-sidebar {
        padding: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* 1 column for mobile phones */
    }

    .product-card img {
        max-width: 150px;
        /* Smaller image on mobile */
    }

    .find-more-section {
        padding: 2rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .find-more-section .container {
        padding-bottom: 1rem;
    }

    .find-more-section h2 {
        font-size: 1.5rem;
    }

    .find-more-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .find-more-buttons .primary-btn,
    .find-more-buttons .secondary-btn {
        width: 100%;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .product-card .view-details-btn {
        width: calc(100% - 1.5rem);
    }
}



/* Industry Insight and Testing Facilities Section */
.insight-testing-section {
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.insight-testing-section>.container {
    background-color: white;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.industry-insight {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.testing-facilities {
    flex: 1;
    min-width: 400px;
    padding-left: 2rem;
}

.industry-insight h2,
.testing-facilities h2 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 2rem;
    font-weight: 400;
    font-size: 24px;
}

.mission-statement {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mission-statement h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 24px;
    color: #020817;
}

.mission-statement p {

    color: #6c757d;

    margin-bottom: 2rem;
    font-weight: 400;
    font-size: 16px;
}

.stats-grid-insight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); */
    gap: 1.5rem;
}

.stat-card-insight {
    background-color: white;
    /* White background for stat cards */
    padding: 1.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    /* Border for stat cards */
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-card-insight h4 {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.stat-card-insight p {
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 0;
}

.quality-control-process {
    background-color: #f8f9fa;
    /* Background color from image */
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quality-control-process h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.quality-control-process ul {
    list-style: none;
    padding: 0;
}

.quality-control-process li {
    display: flex;
    align-items: flex-start;
    /* Align bullet with text top */
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
}

.quality-control-process .bullet {
    display: inline-block;
    width: 8px;
    /* Original size */
    height: 8px;
    /* Original size */
    background-color: #FACC15;
    border-radius: 50%;
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.4rem;
    /* Align bullet with text */
}

.testing-facilities img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    /* Original margin-bottom for image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Original shadow for image */
}

.facility-details .detail-card {
    background-color: white;
    /* White background for detail cards */
    border: 1px solid #dee2e6;
    /* Border for detail cards */
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    /* Original margin-bottom for detail cards */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Original shadow for detail cards */
}

.facility-details .detail-card h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.facility-details .detail-card p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .insight-testing-section>.container {
        flex-direction: column;
        padding: 2rem;
    }

    .industry-insight,
    .testing-facilities {
        padding: 0;
        width: 100%;
    }
}

/* Call to Action Advantage Section */
.call-to-action-advantage {
    background-color: white;
}

.call-to-action-container {
    background: linear-gradient(to right, #1E3A8A, #0F766E);
    padding: 4rem 2rem;
    text-align: center;
    margin: 2rem;
    margin-top: 0rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.call-to-action-advantage h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.call-to-action-advantage p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.primary-cta-btn {
    text-decoration: none;
    background-color: #FACC15;
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.primary-cta-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
}

.secondary-cta-btn {
    background-color: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    border: 2px solid white;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.secondary-cta-btn:hover {
    background-color: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-cta-btn,
    .secondary-cta-btn {
        width: 80%;
        max-width: 300px;
    }
}

/* Future products grid */
.future-products-section {
    display: flex;
    justify-content: center;
    background-color: #F8F8F8;
    padding: 0;
}

.future-products-section .container {
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
}

.future-products-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.future-products-section .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.future-products-section .section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.future-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 3rem;
    justify-content: center;
    align-items: start;
}

.future-product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    width: 100%;
    position: relative;
}

.future-product-card:hover {
    transform: translateY(-5px);
}

.future-product-card .brand-badge {
    background-color: #E5E7EB;
    color: #4B5563;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 1rem;
}

.future-product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.future-product-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.future-product-card .part-number {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.3rem;
}

.future-product-card .compatibility {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.primary-future-btn {
    background-color: #15fab1;
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.primary-future-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.request-quote-container {
    text-align: center;
}

.request-quote-container .primary-cta-btn {
    margin-top: 2rem;
    /* Adjust as needed for spacing */
    background-color: #FACC15;
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.request-quote-container .primary-cta-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .future-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .future-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .future-products-section .container {
        padding: 0 1rem;
    }

    .future-product-grid {
        grid-template-columns: 1fr;
    }
}

/* Request a Quote Section */
.request-quote-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    width: 100%;
    overflow-x: hidden;
}

.request-quote-section>.container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
    overflow: visible;
    max-width: 1400px;
    width: 100%;
}

.quote-form-container {
    flex: 2;
    min-width: 400px;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-info-section {
    flex: 1;
    min-width: 330px;
    background-color: #FACC15;
    padding: 3rem;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.quote-form-container h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.quote-form-container p {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quote-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quote-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-form .form-group label {
    font-size: 14px;
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {

    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14;
    font-family: 'Segoe UI';
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #FACC15;
    box-shadow: 0 0 0 0.2rem rgba(255, 196, 0, 0.25);
    outline: none;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    transform: translateY(-2px);
    background-color: rgba(98, 98, 98, 0.142);
    outline: none;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .full-width {
    width: 100%;
}

.submit-btn {
    background-color: #FACC15;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: auto;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 1.2rem;
}

.privacy-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 1rem;
    text-align: left;
}

.contact-info-section .info-block {
    margin-bottom: 20px;
}

.contact-info-section .info-block:last-child {
    margin-bottom: 0;
}

.contact-info-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.contact-info-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}


.contact-info-section p span {
    float: right;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    background-color: transparent;
    color: #2c3e50;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
}

.social-icons a.wechat {
    color: #07C160;
}

.social-icons a.whatsapp {
    color: #25D366;
}

.social-icons a.viber {
    color: #7360F2;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 18px;
    color: #2c3e50;
}

@media (max-width: 992px) {
    .request-quote-section {
        padding: 2rem 1rem;
    }

    .request-quote-section>.container {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        padding: 0;
    }

    .quote-form-container,
    .contact-info-section {
        width: 100%;
        padding: 2rem;
        margin: 0;
        border-radius: 8px;
    }

    .quote-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .quote-form input[type="text"],
    .quote-form input[type="email"],
    .quote-form input[type="tel"],
    .quote-form select,
    .quote-form textarea {
        width: 100%;
    }
}

/* New Footer Section */
.new-footer {
    background-color: #1a202c;
    /* Dark blue from image */
    color: #cbd5e0;
    /* Light grey text color */
    padding: 4rem 2rem 0;
    /* Adjusted padding, bottom will be handled by bottom bar */
    font-size: 0.95rem;
}

.new-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
    /* Space above the bottom bar */
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
}

.footer-logo h1 {
    background: linear-gradient(to right, #2a69c0, #14a38b);
    /* Gradient color from image */
    color: white;
    padding: 8px 16px;
    font-weight: 400;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-brand-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-bullet-points {
    list-style: none;
    padding: 0;
}

.footer-bullet-points li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: #94a3b8;
}

.footer-bullet-points i {
    margin-right: 0.8rem;
    color: #facc15;
    /* Yellow icon color */
}

.footer-section h3 {
    font-size: 1.2rem;
    color: #facc15;
    /* Yellow heading color */
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #facc15;
}

.contact-block {
    margin-bottom: 1.5rem;
}

.contact-block h4 {
    font-size: 1rem;
    color: #facc15;
    /* Yellow subheading color */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-block p {
    color: #cbd5e0;
    line-height: 1.6;
}

.contact-block p i {
    margin-right: 0.5rem;
    color: #94a3b8;
}

.contact-block p span {
    float: right;
    color: #cbd5e0;
}

.footer-bottom-bar {
    border-top: 1px solid #2d3748;
    /* Darker border for separation */
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social-media a {
    color: #cbd5e0;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-social-media a:hover {
    color: #facc15;
}

.footer-social-media i {
    margin-right: 0.5rem;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-copyright a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #facc15;
}

@media (max-width: 768px) {
    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-info {
        align-items: center;
    }

    .footer-bullet-points li {
        justify-content: center;
    }

    .footer-section ul li {
        display: inline-block;
        margin: 0 0.5rem 0.5rem;
        /* Arrange links horizontally */
    }

    .contact-block p span {
        float: none;
        display: block;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-media {
        margin-bottom: 1rem;
    }

    .footer-social-media a {
        margin: 0 0.8rem;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.pagination-btn {
    background-color: #e2e8f0;
    /* Light grey background */
    color: #2d3748;
    /* Dark text */
    border: 1px solid #cbd5e0;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #facc15;
    /* Yellow hover */
    color: #1a202c;
    border-color: #facc15;
}

.pagination-btn.active {
    background-color: #facc15;
    /* Active yellow */
    color: #1a202c;
    border-color: #facc15;
    font-weight: bold;
}

.pagination-btn:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 0.75rem 0.25rem;
    color: #475569;
    font-size: 1rem;
}

/* No Results Section */
.no-results-section {
    text-align: center;
    padding: 40px 20px;
    /* Adjusted padding */
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: auto;
    /* Use auto for centering */
    width: 90%;
    /* Responsive width */
    max-width: 450px;
    /* Max width to keep it from being too large */
    aspect-ratio: 1 / 1;
    /* Make it square */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-results-section i {
    font-size: 60px;
    color: #ff9800;
    /* A friendly, warm color */
    margin-bottom: 20px;
}

.no-results-section h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.no-results-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-results-section .primary-btn {
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    /* To allow margin auto and align */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .no-results-section {
        margin: 30px 15px;
        padding: 30px 15px;
    }

    .no-results-section i {
        font-size: 50px;
    }

    .no-results-section h3 {
        font-size: 24px;
    }

    .no-results-section p {
        font-size: 14px;
    }
}