:root {
    --brand-deep: #005ce6;
    --brand-sky: #99ffff;
    --ink: #002a6e;
    --ink-soft: #1e3a8a;
    --paper: #ffffff;
    --mist: #f2f7fb;
    --sand: #e6eef8;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: Georgia, serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.brand {
    font-family: Copperplate, "Copperplate Gothic Light", Georgia, serif;
    letter-spacing: 0.5px;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--brand-deep), #007bff);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 0.75rem;
}
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--brand-sky);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}
.logo-box:before,
.logo-box:after {
    content: "";
    position: absolute;
}
.logo-box:before {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 22px solid var(--brand-deep);
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
}
.logo-box:after {
    width: 26px;
    height: 3px;
    background: var(--brand-deep);
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);
    border-radius: 2px;
}

.brand {
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
}
nav a:hover {
    opacity: 0.8;
}

/* Mobile menu button (hidden on desktop) */
.menu-toggle {
    display: none;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: #fff;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.hero {
    position: relative;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    height: 350px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.hero h1,
.hero p {
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("https://zephyr-bsm.pages.dev/oceanhero.jpg") center/cover
        no-repeat;
    filter: brightness(0.7) contrast(1.1);
    opacity: 0.4;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(153, 255, 255, 0.1);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 0.75rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}
.hero p.lede {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 92, 230, 0.4);
    transition: all 0.3s ease;
}
.btn-blue {
    background: linear-gradient(135deg, var(--brand-deep), #007bff);
    color: #fff;
    border: 2px solid var(--brand-deep);
}
.btn-blue:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(0, 92, 230, 0.6);
    background: linear-gradient(135deg, #007bff, var(--brand-deep));
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

section {
    padding: 3.5rem 0;
    color: var(--ink);
}
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.about-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
}
.about-split img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-box {
    background: linear-gradient(135deg, var(--brand-sky), #cce6ff);
    color: var(--brand-deep);
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    font-style: italic;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(0, 92, 230, 0.15);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.card {
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: 18px;
    padding: 1.25rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    color: var(--ink);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.section-alt {
    background: var(--mist);
}

footer {
    color: #fff;
    background: var(--brand-deep);
    text-align: center;
    padding: 3rem 1rem;
}

/* =============================== */
/* Mobile-friendly enhancements    */
/* =============================== */
@media (max-width: 960px) {
    .nav {
        flex-wrap: wrap;
    }
    .menu-toggle {
        display: inline-block;
    }
    nav {
        width: 100%;
    }
    nav ul {
        display: none; /* collapsed by default */
        flex-direction: column;
        gap: 0;
        background: linear-gradient(90deg, var(--brand-deep), #007bff);
        margin-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 10px;
        overflow: hidden;
    }
    nav ul li a {
        display: block;
        padding: 0.9rem 1rem;
    }
    header[data-menu-open="true"] nav ul {
        display: flex;
    }

    .hero {
        height: auto;
        padding: 3rem 0 2.25rem;
    }
    .hero-inner {
        align-items: center;
        text-align: center;
    }
    .cta-row {
        width: 100%;
    }
    .cta-row .btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .split {
        grid-template-columns: 1fr;
    }
    .quote-box {
        margin-top: 2rem;
    }
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 960px) {
    .split {
        grid-template-columns: 1fr;
    }
    .about-split {
        grid-template-columns: 1fr;
    }
    .about-split img {
        order: 2;
    }
    .about-split div {
        order: 1;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    section.container .card-grid[style] {
        grid-template-columns: 1fr !important;
    }
}
