/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0033A0; /* MORNSUN Blue */
    --secondary-color: #00AEEF; /* Lighter Blue */
    --accent-color: #FFC72C; /* Yellow Accent */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white: #fff;
    --container-width: 1200px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e6b325;
    text-decoration: none;
}

/* --- Header --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    border-color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 51, 160, 0.8), rgba(0, 51, 160, 0.8)), url('https://.../hero-bg.jpg'); /* Placeholder BG */
    background-size: cover;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Why Choose Us Section --- */
.features {
    padding: 60px 0;
    background: var(--light-gray);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item img {
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* --- Product Areas & Solutions Section --- */
.product-areas, .solutions {
    padding: 60px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-top: 0;
    font-size: 22px;
}

.card-content p {
    margin-bottom: 20px;
}

.card-content a {
    font-weight: bold;
}

/* --- Latest News Section --- */
.latest-news {
    padding: 60px 0;
    background: var(--light-gray);
}

/* --- Final CTA --- */
.final-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
}

/* --- Footer --- */
.main-footer {
    background: #222;
    color: #ccc;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-grid h4 {
    color: var(--white);
    margin-bottom: 15px;
}

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

.footer-grid li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: #ccc;
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
}

/* --- Page Header & Breadcrumbs --- */
.page-header {
    background-color: var(--light-gray);
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.breadcrumbs {
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.page-header h1 {
    margin: 10px 0 0 0;
}

/* --- Additional Button Styles --- */
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.btn-tertiary {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 28px;
    color: var(--primary-color);
    font-weight: bold;
    background: transparent;
    text-decoration: underline;
}

.btn-small {
    padding: 8px 15px;
    font-size: 14px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    border-radius: 4px;
}

.btn-small:hover {
    background-color: var(--primary-color);
    text-decoration: none;
}

/* --- Product Grid Styles --- */
.product-list {
    padding-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-content h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.product-card-content h4 a {
    color: var(--primary-color);
}

.product-category {
    font-size: 13px;
    color: #777;
    margin: 0 0 10px 0;
}

.product-spec {
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* --- About Page Styles --- */
.about-intro, .contact-intro {
    padding: 60px 0;
}

.about-content, .contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img, .cert-image img, .warehouse-image img {
    width: 100%;
    border-radius: 8px;
}

.company-stats {
    padding: 60px 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

.certifications, .warehouse-info {
    padding: 60px 0;
}

.cert-content, .warehouse-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

/* --- Contact Page Styles --- */
.contact-benefits {
    margin-top: 30px;
}

.benefit-item {
    margin-bottom: 20px;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-methods {
    padding: 60px 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-method {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-form-section {
    padding: 60px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.response-time {
    padding: 60px 0;
    background: var(--light-gray);
}

.response-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.step {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

/* --- Solutions Page Styles --- */
.solutions-list {
    padding: 40px 0 60px 0;
}

.solution-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.solution-card-image img {
    width: 100%;
    border-radius: 8px;
}

.solution-card-content h2 {
    margin-top: 0;
    font-size: 28px;
}

.solution-card-content h2 a {
    color: var(--primary-color);
    text-decoration: none;
}

.solution-card-content p.summary {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.solution-detail-layout {
    padding: 40px 20px;
}

.solution-module {
    margin-bottom: 50px;
}

.solution-module h2 {
    font-size: 28px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.module-icon {
    color: var(--accent-color);
    font-size: 20px;
    margin-right: 15px;
}

.solution-module p, .solution-module ul {
    font-size: 18px;
    line-height: 1.8;
}

.solution-module ul {
    list-style-type: '✓ ';
    padding-left: 30px;
}

.solution-module li {
    margin-bottom: 10px;
}

.diagram-container {
    text-align: center;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

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

.bom-table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.bom-table-container th, .bom-table-container td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.bom-table-container th {
    background-color: var(--primary-color);
    color: var(--white);
}

.bom-table-container tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

.bom-table-container a {
    font-weight: bold;
}

/* --- Category Description Styles --- */
.category-description {
    padding: 40px 0;
    font-size: 18px;
    line-height: 1.7;
}

.selection-guide-cta {
    margin-top: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav li {
        margin: 5px 10px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-content,
    .contact-content,
    .cert-content,
    .warehouse-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .stats-grid,
    .contact-grid,
    .response-steps {
        grid-template-columns: 1fr;
    }
    .solution-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
}