* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-list li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-list li a:hover {
    color: #0066cc;
    background-color: #f5f5f5;
}

.nav-list li a i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0066cc;
    color: #fff;
    border: none;
}

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

/* Products Section */
.products {
    padding: 80px 0;
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.product-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.product-link {
    text-align: center;
}

.product-link a {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0066cc;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-link a:hover {
    background-color: #0052a3;
    color: #fff;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.client-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.client-card:hover .client-image img {
    transform: scale(1.05);
}

.client-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 20px 15px 10px;
}

.client-card p {
    font-size: 14px;
    color: #0066cc;
    padding: 0 15px 20px;
}

/* Honor Section */
.honor {
    padding: 80px 0;
    background-color: #fff;
}

.honor-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.honor-image {
    flex-shrink: 0;
}

.honor-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.honor-text {
    flex: 1;
}

.honor-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.honor-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.honor-title small {
    display: block;
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    line-height: 2;
    color: #999;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: #fff;
}

/* Scroll to Top */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scrollup.visible {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s, background-color 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease, visibility 0s linear 0s, background-color 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: auto 0;
}

.modal-close {
    display: block;
    margin: 20px auto 0;
    padding: 8px 24px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.modal-content > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
}

.contact-info a {
    color: #0066cc;
}

.contact-info a:hover {
    text-decoration: underline;
}

.modal-cert {
    max-width: 700px;
}

.modal-cert h3 {
    font-size: 20px;
    margin-bottom: 25px;
}

.cert-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    text-indent: 2em;
}

.cert-signature {
    margin-top: 30px;
    text-align: right;
}

.cert-signature p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    text-indent: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .navbar-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li a {
        width: 100%;
        justify-content: center;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h1 {
        font-size: 26px;
    }

    .products-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
