/* GLOBAL RESETS */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
    background: white;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
}

header nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

header nav a.active {
    color: #0078D4;
    font-weight: 600;
}

/* HERO SECTION */
.hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: white;
    text-shadow: 0px 2px 14px rgba(0,0,0,0.55);
}

.hero h1 {
    font-size: 48px;
    max-width: 650px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    max-width: 520px;
}

/* SECTION */
.section {
    padding: 70px 40px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 35px;
}

/* PRODUCTS GRID */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    background: #fafafa;
    transition: 0.25s;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.card h3 {
    font-size: 22px;
    color: #0078D4;
    margin-bottom: 10px;
}

.card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.card a {
    text-decoration: none;
    color: #0078D4;
    font-weight: 600;
}

/* PRIMARY BUTTON */
.button-primary {
    background: #0078D4;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.button-primary:hover {
    background: #006bc5;
}

/* FOOTER */
footer {
    padding: 30px;
    background: #f5f5f5;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

/* CONTACT MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 90px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
}

.modal-content {
    background: #fff;
    margin: auto;
    padding: 30px 35px;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.close {
    float: right;
    font-size: 26px;
    cursor: pointer;
}

/* FORM FIELDS */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

/* MOBILE */
@media(max-width: 820px) {
    header { padding: 14px 20px; }
    .hero { padding: 0 20px; height: 60vh; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .section { padding: 40px 20px; }
}
