* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

/* REQUIRED FOR STICKY FOOTER */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f7f7f7;
    color: #1a1a1a;
    line-height: 1.6;
}

/* MAIN MUST EXIST IN EJS */
main {
    flex: 1;
}

/* Header */
header {
    background: #0f172a;
    color: white;
    padding: 20px 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Hero */
.hero {
    padding: 100px 40px;
    text-align: center;
    background: white;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 25px;
}

.btn {
    display: inline-block;
    background: #0f172a;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
}

/* Sections */
.section {
    padding: 60px 40px;
    max-width: 1000px;
    margin: auto;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Subtitle */
.subtitle {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 30px;
    color: #555;
}

/* CONTACT FORM (single clean version, no duplicates) */
form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 14px;

    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

input,
textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

button {
    padding: 14px;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: #1e293b;
}

/* Status message */
#status {
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #0f172a;
}