/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding-top: 60px; /* To offset the fixed header */
    background-color: #f4f7f6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Header */
.header {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav ul li {
    margin-left: 20px;
}

.nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    background-color: #007bff;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* About Section */
.about {
    background-color: #ffffff;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-top: 10px;
}

.contact {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

/* ×óÓÒ²¼¾ÖÑùÊ½ */
.layout-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    margin-left: 150px;
    margin-right: 150px;
}
        
.layout-container:hover {
    transform: translateY(-5px);
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
        
.feature-icon {
    width: 30px;
    height: 30px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}


.two-column-layout {
    display: flex;
}
        
.left-column {
    flex: 1;
    padding: 30px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
}
        
.image-container {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
        
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
       
.image-container:hover img {
    transform: scale(1.05);
}
        
.right-column {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


        .content-title {
            font-size: 2rem;
            color: #2c3e50;
            margin-bottom: 20px;
            position: relative;
        }
        
        .content-title:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 50px;
            height: 4px;
            background: #3498db;
            border-radius: 2px;
        }
        
        .content-text {
            margin-bottom: 25px;
            color: #7f8c8d;
            line-height: 1.8;
        }
/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }

    .nav ul {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
    }

    .nav ul li {
        margin: 5px 0;
    }

    body {
        padding-top: 120px; /* Adjust for taller header on mobile */
    }
}