/* RESET & GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.logo-main {
    display: block;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo-sub {
    display: block;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    color: #e5e7eb;
    text-transform: uppercase;
}

header {
    background: #0f172a;
    padding: 20px 0;
}

nav a {
    color: #ffffff;
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    nav {
        text-align: center;
    }

    nav a {
        display: inline-block;
        margin: 10px;
    }
}



/* MOBILE */
@media (max-width: 600px) {
    .logo-image {
        max-width: 180px;  /* smaller logo on mobile */
        margin-bottom: 0px;
    }

    nav a {
        margin: 8px;
    }
}

/* HERO SECTION */
.hero {
    position: relative;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    background: #0f172a
}

/* Desktop hero background */


.hero-bg {
    background-image: linear-gradient(
        rgba(15,23,42,0.35),   /* optional gradient to make text readable */
        rgba(15,23,42,0.35)
    ), url("hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 45%;   /* ensures the top of the image is flush with nav */
    min-height: 520px;          /* or whatever height you want */
    
    display: flex;              /* for centering text vertically */
    flex-direction: column;
    justify-content: center;    /* vertical center of text */
    align-items: center;        /* horizontal center of text */
    
    text-align: center;
    margin: 0;                  /* remove any outer spacing */
    padding-top: 70px;                 /* remove padding */
}


.hero-bg h2 {
    font-size: 38px;
    margin-bottom: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bg p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 800px;
}

header {
    margin-bottom: 0;
}

@media (min-width: 769px)  {
    .hero {
        margin-top: -70px;
    }
}

/* Mobile hero image */
.hero-img {
    display: none;
}

/* MOBILE HERO OVERRIDES */
@media (max-width: 768px) {
    .hero-bg {
        display: none;
    }

    .hero-img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        margin-bottom: 0px;
    }

    .hero h2, .hero p {
        font-size: 20px;
        max-width: 90%;
        margin: 0 auto 15px auto;
        color: #0f172a;
        text-align: center;
    }

    .hero {
        padding: 20px 10px;
        overflow-x: hidden;
    }
}

/* SECTIONS */
section {
    padding: 60px 0;
}

section h2 {
    margin-bottom: 25px;
    color: #0f172a;
}

.service {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #0f172a;
}

/* ALT SECTION */
.alt {
    background: #0f172a;
    color: #ffffff;
}

.alt h2 {
    color: #ffffff;
}

.alt p {
    color: #e5e7eb;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* CONTACT FORM */
.contact-form {
    margin-top: 30px;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: #1e293b;
}

.hero h2 {
    color: #ffffff !important;
}

/* FINAL HEADER LAYOUT — LEFT ALIGNED */
header {
    background: #0f172a;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    Marin-bottom: 0;
    position: relative;
    z-index: 10;
}

.logo {
    max-width: 1200px;
    margin: 0;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    max-width: 220px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

nav {
    text-align: left;
}

nav a {
    margin-right: 18px;
}

.hero {
    position: relative;
    margin-top: 0;
    padding-top: 0;
}

