* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    /* background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); */
    background: white;
    color: white;
    /* padding: 1rem 0; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo_company {
    display: flex;
    align-items: center;
}

.logo_company img {
    height: 90px;
    /* Increased size for desktop */
    width: auto;
    object-fit: contain;
    background: white;
    border-radius: 8px;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #fb923c;
}

.hotline {
    background: #fb923c;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    white-space: nowrap;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(71, 109, 214, 0.9), rgba(78, 119, 207, 0.9)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23dbeafe" width="1200" height="600"/><circle cx="200" cy="150" r="80" fill="%233b82f6" opacity="0.1"/><circle cx="900" cy="400" r="120" fill="%232563eb" opacity="0.1"/><rect x="100" y="300" width="200" height="150" fill="%231e40af" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 150px 2rem 100px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #fb923c;
    color: white;
}

.btn-primary:hover {
    background: #f97316;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 146, 60, 0.4);
}

.btn-secondary {
    background: white;
    color: #1e3a8a;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #fb923c;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #f8fafc;
}

.about-content {
    text-align: center;
    font-size: 1.2rem;
    line-height: 2;
    color: #475569;
    max-width: 900px;
    margin: 0 auto;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* USP Section */
.usp {
    background: linear-gradient(135deg, rgba(71, 109, 214, 0.9), rgba(78, 119, 207, 0.9));
    color: white;
}

.usp .section-title {
    color: white;
}

.usp .section-title:after {
    background: #fb923c;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.usp-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.usp-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.usp-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Projects */
.projects-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 250px;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #1e40af;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fb923c;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
}

.footer-section a:hover {
    color: #fb923c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #fb923c;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.btn-call {
    background: #22c55e;
}

.btn-zalo {
    background: #0084ff;
}

.btn-quote {
    background: #fb923c;
    width: auto;
    padding: 0 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .specs-container {
        overflow-x: auto;
        width: 100%;
        border: 1px solid #ddd;
    }

    .specs-table {
        min-width: 700px;
    }

    .specs-table th,
    .specs-table td {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo_company img {
        height: 60px;
        /* Smaller size for mobile */
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .floating-buttons {
        right: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Quote Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #1e3a8a;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

/* Product Detail Page Styles */
.breadcrumb-container {
    padding: 100px 2rem 1rem;
    /* Adjust for fixed header */
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.breadcrumb li a {
    text-decoration: none;
    color: #1e3a8a;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

.breadcrumb li:not(:last-child):after {
    content: '/';
    margin-left: 0.5rem;
    color: #cbd5e1;
}

.product-detail-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-detail-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 2rem;
    }
}

.product-detail-image {
    flex: 1;
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h1 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-sku {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-description {
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Specs Section */
.specs-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.specs-container {
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.specs-table th {
    /* Background moved to specific headers or default below */
    padding: 1rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

/* Default header style for non-custom tables */
.specs-table thead tr:only-child th {
    background: #1e3a8a;
    color: white;
    font-weight: 600;
}

.specs-table tr:nth-child(even) {
    background: #f8fafc;
}

.specs-table tr:hover {
    background: #f1f5f9;
}

.specs-note {
    margin-top: 1rem;
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
}

/* Map Section */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .logo_company img {
        height: 90px;
    }
}

@media (max-width: 768px) {
    header {
        padding-bottom: 8px;
    }

    .logo_company img {
        height: 90px;
    }

    .hero h1 {
        padding-top: 5rem;
    }
}

