/* --- Core Reset & Design Variables --- */
:root {
    --primary-color: #0052cc;
    --dark-color: #172b4d;
    --light-bg: #f4f5f7;
    --text-color: #42526e;
    --white: #ffffff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 2rem;
    transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #091e42 0%, #172b4d 100%);
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p {
    font-size: 1.2rem;
    color: #b3bac5;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0065ff;
}

/* --- Section Headings --- */
.section-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
}

/* --- Products Grid --- */
.products-section {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(9, 30, 66, 0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* --- About Company Section --- */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 6px;
    text-align: center;
}

.stat-box strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-box span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-color);
    color: #b3bac5;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #243b62;
    font-size: 0.95rem;
}

.footer-meta {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #7a869a;
}

/* --- Responsive Layout adjustments --- */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav a {
        margin: 0 1rem;
    }
}
