/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #f9f9fb; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Container ===== */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; /* smaller padding for more space */
}

/* ===== Header ===== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #2e3192;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.header-container { display: flex; align-items: center; width: 100%; }
.logo-image { height: 80px; width: auto; }

/* ===== Navigation ===== */
.nav {
    display: flex;
    gap: 1.5rem; /* reduced gap */
    margin-left: auto;
    font-size: 1.2rem; /* reduced size */
}
.nav a {
    color: #2e3192;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, transform 0.2s;
}
.nav a:hover { transform: translateY(-2px); }

/* ===== Hamburger Button ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span { 
    display: block; 
    height: 3px; 
    width: 100%; 
    background: #2e3192; 
    border-radius: 2px; 
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #102347, #2e3192, #4671d6);
    color: #fff;
    padding: 5rem 1rem; /* reduced padding */
    text-align: center;
}
.hero-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.hero-section .btn-primary {
    padding: 0.9rem 2rem;
    background-color: #fff;
    color: #2e3192;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.hero-section .btn-primary:hover { transform: translateY(-2px); }

/* ===== Buttons ===== */
.btn-primary { 
    background: #fff; 
    color: #2e3192; 
    padding: 0.65rem 1.5rem; 
    font-weight: 600; 
    border-radius: 8px; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary { 
    display: inline-block; 
    padding: 0.5rem 1rem; 
    background: #2e3192; 
    color: #fff; 
    border-radius: 6px; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.btn-secondary:hover { 
    background: #ffdd00; 
    color: #2e3192; 
    transform: translateY(-2px); 
}

/* ===== Sections ===== */
.about-section, .featured-section { padding: 4rem 0; text-align: center; }
.section-title { font-size: 2rem; margin-bottom: 1.5rem; color: #2e3192; font-weight: 700; }
.section-text { max-width: 700px; margin: 0 auto; font-size: 1rem; line-height: 1.6; color: #555; }

/* ===== Features Bar ===== */
.features-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; 
    background-color: #f5f6fa;
    padding: 1.5rem 1rem;
    font-weight: 700;
    color: #2e3192;
    text-align: center;
    font-size: 1.15rem;
}
.feature-item { display: flex; align-items: center; gap: 1rem; }

/* ===== Product Grid ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; }
.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 22px rgba(0,0,0,0.15); }
.product-image { width: 100%; object-fit: contain; border-radius: 8px; margin-bottom: 0.8rem; background-color: #fff; }
.product-name { margin-bottom: 0.5rem; color: #2e3192; font-weight: 600; }
.product-desc { margin-bottom: 0.5rem; color: #555; font-size: 0.9rem; }
.product-price { font-weight: 700; margin-bottom: 1rem; }

/* ===== Footer ===== */
.site-footer { 
    background: #2e3192; 
    color: #fff; 
    padding: 2rem 1rem; 
    text-align: center; 
    font-size: 0.9rem; 
    margin-top: auto; 
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .nav.show { display: flex; }
    .nav a { padding: 0.5rem 0; }
    .nav-toggle { display: flex; margin-left: auto; }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn-primary, .btn-secondary { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

    .features-bar { flex-direction: column; gap: 1.2rem; font-size: 1rem; padding: 1rem; }
}

/* ===== Footer sticky fix ===== */
html { height: 100%; }
main { flex: 1; }
