/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #0f1720;
    color: #ffffff;
    line-height: 1.6;
    font-size: 18px;
}

/* Masthead */
.masthead {
    position: relative;
    text-align: center;

    /* No direct background on masthead (prevents bleed into nav area) */
    background: none;

    /* Tighten the masthead height to logo-only */
    padding-top: 16px;
    padding-bottom: 12px;

    border-bottom: none;
}

/* Logo-only background layer (tiles behind the logo area only) */
.masthead::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;

    /* controls how “tall” the header image area is */
    height: 235px;

    background-image: url("tiling-header-image.png");
    background-repeat: repeat;
    background-position: center top;

    z-index: 0;
}

/* Ensure masthead contents sit above the background layer */
.masthead > * {
    position: relative;
    z-index: 1;
}

.site-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 0;
   filter: 
    drop-shadow(0 0 15px rgba(0,0,0,0.9))
    drop-shadow(0 0 35px rgba(0,0,0,0.8))
    drop-shadow(0 4px 12px rgba(0,0,0,0.9));

}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;

    /* Force nav to be its own solid bar (no masthead bleed) */
    background-color: #0f1720;

    height: 64px;
    border-top: none
    border-bottom: none
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.25s ease;
}

.main-nav a:hover {
    opacity: 0.7;
}

.nav-cta {
    padding: 8px 18px;
    border: 2px solid #2e6fd8;
    border-radius: 6px;
}

/* Hero layout (two-column, right side reserved for future image) */
.hero {
    padding: 90px 20px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    min-width: 320px;
    text-align: left;
}

.hero-visual {
    flex: 1;
    min-height: 360px;
    border-radius: 14px;
    background: radial-gradient(circle at center, rgba(46,111,216,0.14), rgba(15,23,32,0.0) 65%);
    border: 1px solid rgba(255,255,255,0.08);

    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Hero typography */
.hero h1 {
    font-size: 2.35rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 620px;
    margin-bottom: 18px;
}

.hero-services p {
    margin: 10px 0;
}

.hero-services strong {
    font-weight: 700;
}

.hero-sub {
    margin-top: 18px;
    margin-bottom: 28px;
    opacity: 0.85;
    max-width: 680px;
}

/* CTA button */
.hero-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #2e6fd8;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-button:hover {
    background-color: #1f4fa3;
    transform: translateY(-2px);
}

/* Basic mobile handling */
@media (max-width: 900px) {
    body {
    font-size: 18px;
}

    .hero {
        flex-direction: column;
        padding: 70px 20px;
    }
    .hero-visual {
        min-height: 240px;
        width: 100%;
    }
}

/* Footer */
.site-footer {
    margin-top: 70px;
    padding: 26px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background-color: #0f1720;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    margin-right: 16px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-note {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
}
