/* =========================================================
   DON'T PANIC SAFETY TRAINING
   ========================================================= */


/* ---------- RESET ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #071b46;
    color: #f7fbff;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}


/* ---------- BRAND COLORS ---------- */

:root {
    --navy-dark: #031336;
    --navy: #071b46;
    --navy-light: #0b2b68;

    --blue: #2878f0;
    --cyan: #28e7ef;

    --green: #71ff2c;
    --green-dark: #42d923;

    --pink: #ff31ba;
    --pink-light: #ff6bd0;

    --white: #f7fbff;
    --muted: #b9c9e8;

    --border: rgba(68, 136, 255, 0.25);

    --max-width: 1180px;
}


/* ---------- GLOBAL ---------- */

.container {
    width: min(90%, var(--max-width));
    margin-inline: auto;
}

.narrow-container {
    max-width: 1000px;
}

.section {
    padding: 110px 0;
}

.centered {
    text-align: center;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--green);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 24px;

    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 55px;

    color: var(--muted);
    font-size: 1.08rem;
}


/* ---------- NAVIGATION ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(3, 19, 54, 0.94);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(15px);
}

.navbar {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav-brand {
    display: flex;
    gap: 6px;

    text-decoration: none;

    font-size: 1.1rem;
    font-style: italic;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.brand-dont {
    color: var(--green);
}

.brand-panic {
    color: var(--pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links > a:not(.button) {
    position: relative;

    text-decoration: none;

    color: var(--white);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-links > a:not(.button)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width 180ms ease;
}

.nav-links > a:not(.button):hover::after {
    width: 100%;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    border: 2px solid transparent;
    border-radius: 5px;

    text-decoration: none;

    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: var(--navy-dark);

    background: var(--green);

    box-shadow: 0 0 25px rgba(113, 255, 44, 0.20);
}

.button-primary:hover {
    box-shadow: 0 0 32px rgba(113, 255, 44, 0.40);
}

.button-secondary {
    color: var(--white);

    border-color: var(--blue);
    background: rgba(40, 120, 240, 0.08);
}

.button-secondary:hover {
    background: rgba(40, 120, 240, 0.20);
}

.button-small {
    padding: 11px 18px;
}

.nav-book {
    color: var(--navy-dark);
    background: var(--green);
}


/* ---------- MOBILE MENU BUTTON ---------- */

.mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 3px;
    margin: 5px 0;

    border-radius: 5px;

    background: var(--green);
}


/* ---------- HERO ---------- */

.hero {
    position: relative;
    overflow: hidden;

    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    padding: 80px 0;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(36, 112, 240, 0.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 75%,
            rgba(255, 49, 186, 0.08),
            transparent 30%
        ),
        var(--navy-dark);
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(rgba(40, 120, 240, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 120, 240, 0.04) 1px, transparent 1px);

    background-size: 50px 50px;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero h1 {
    max-width: 700px;

    margin: 0;

    font-size: clamp(3.5rem, 7vw, 6.7rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;

    margin-top: 12px;

    color: var(--green);
}

.hero-description {
    max-width: 620px;

    margin: 30px 0;

    color: var(--muted);

    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-bottom: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

    color: var(--cyan);

    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-logo-wrap {
    position: relative;
}

.hero-logo-wrap::before {
    content: "";

    position: absolute;
    inset: 10%;

    background: var(--blue);

    filter: blur(80px);
    opacity: 0.22;
}

.hero-logo {
    position: relative;

    width: min(100%, 600px);
    margin-inline: auto;

    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}


/* ---------- INTRO ---------- */

.intro-section {
    padding: 110px 0;

    background: var(--navy);
}

.confidence-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 25px;

    margin-top: 55px;
}

.flow-item {
    min-height: 220px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);
}

.flow-number {
    color: var(--pink);

    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.flow-item h3 {
    margin: 12px 0 8px;

    color: var(--green);

    font-size: 1.7rem;
}

.flow-item p {
    margin: 0;

    color: var(--muted);
}

.flow-arrow {
    color: var(--pink);

    font-size: 2rem;
}


/* ---------- ABOUT ---------- */

.dark-section {
    background: var(--navy-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
}

.about-grid > div > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

.mission-card {
    position: relative;
    overflow: hidden;

    padding: 45px;

    border: 1px solid rgba(255, 49, 186, 0.35);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 49, 186, 0.08),
            rgba(40, 120, 240, 0.08)
        );
}

.mission-mark {
    display: block;

    margin-bottom: 20px;

    color: var(--pink);

    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.mission-quote {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.4;
}

.neon-line {
    width: 75px;
    height: 4px;

    margin: 30px 0;

    background: var(--green);

    box-shadow: 0 0 12px rgba(113, 255, 44, 0.55);
}

.mission-card strong,
.mission-card > span:last-child {
    display: block;
}

.mission-card strong {
    color: var(--green);
}

.mission-card > span:last-child {
    color: var(--pink);
}


/* ---------- SERVICES ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 38px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        );

    transition:
        transform 180ms ease,
        border-color 180ms ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: var(--green);
}

.service-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border: 2px solid var(--pink);
    border-radius: 50%;

    color: var(--white);
    background: var(--navy-dark);

    font-size: 1.6rem;
    font-weight: 900;

    box-shadow: 0 0 20px rgba(255, 49, 186, 0.15);
}

.service-card h3 {
    margin: 0 0 12px;

    color: var(--green);

    font-size: 1.55rem;
}

.service-card p {
    margin: 0;

    color: var(--muted);
}

.audience-block {
    margin-top: 80px;

    text-align: center;
}

.audience-block h3 {
    margin-bottom: 25px;

    font-size: 1.8rem;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.audience-tags span {
    padding: 9px 15px;

    border: 1px solid rgba(40, 231, 239, 0.35);
    border-radius: 100px;

    color: var(--cyan);
    background: rgba(40, 231, 239, 0.04);

    font-size: 0.82rem;
    font-weight: 800;
}


/* ---------- CREW ---------- */

.crew-section {
    background: var(--navy-dark);
}

.crew-member {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 70px;

    margin-top: 90px;
}

.crew-member-reverse .crew-photo-wrap {
    order: 2;
}

.crew-member-reverse .crew-content {
    order: 1;
}

.crew-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    justify-self: center;
}

.crew-photo-wrap::before {
    content: "";

    position: absolute;
    inset: 15px -15px -15px 15px;

    border: 3px solid var(--pink);
    border-radius: 18px;
}

.crew-photo {
    position: relative;

    width: 100%;
    aspect-ratio: 3 / 4;

    border-radius: 18px;

    object-fit: cover;
    object-position: center;
}

.crew-content h3 {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.crew-label {
    margin: 0 0 10px;

    color: var(--green);

    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.crew-role {
    margin: 13px 0 25px;

    color: var(--pink);

    font-weight: 800;
}

.crew-content > p:not(.crew-label):not(.crew-role),
.crew-extra p {
    color: var(--muted);
}

.crew-extra {
    display: none;
}

.crew-extra.open {
    display: block;
}

.bio-toggle {
    margin-top: 10px;
    padding: 0 0 6px;

    border: 0;
    border-bottom: 2px solid var(--green);

    color: var(--green);
    background: transparent;

    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;
}


/* ---------- CTA ---------- */

.cta-section {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(40, 120, 240, 0.22),
            transparent 55%
        ),
        var(--navy);
}

.cta-content {
    max-width: 850px;
}

.cta-section h2 {
    margin: 10px auto 20px;

    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.05;
}

.cta-section p:not(.eyebrow) {
    margin-bottom: 30px;

    color: var(--muted);

    font-size: 1.1rem;
}


/* ---------- CONTACT ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 80px;
}

.contact-grid > div:first-child > p:not(.eyebrow) {
    color: var(--muted);
}

.contact-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 14px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 23px 25px;

    border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-row > span {
    color: var(--muted);
}

.contact-row a,
.contact-row strong {
    color: var(--green);

    text-align: right;
}


/* ---------- FOOTER ---------- */

.site-footer {
    padding: 55px 0;

    border-top: 1px solid var(--border);

    background: var(--navy-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 40px;
}

.footer-content strong {
    color: var(--green);
}

.footer-content p {
    margin: 4px 0 0;

    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);

    text-decoration: none;

    font-size: 0.85rem;
}

.copyright {
    font-size: 0.78rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 80px 0;
    }

    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 20px 5% 28px;

        border-bottom: 1px solid var(--border);

        background: var(--navy-dark);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a:not(.button) {
        padding: 14px 0;
    }

    .nav-book {
        margin-top: 12px;
    }

    .hero {
        min-height: auto;

        padding: 80px 0;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-points {
        justify-content: center;
    }

    .hero-logo {
        max-width: 500px;
    }

    .confidence-flow {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);

        text-align: center;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .crew-member {
        grid-template-columns: 1fr;
        gap: 45px;

        max-width: 700px;
        margin: 80px auto 0;
    }

    .crew-member-reverse .crew-photo-wrap,
    .crew-member-reverse .crew-content {
        order: initial;
    }

    .crew-photo {
        max-height: 650px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

}


@media (max-width: 550px) {

    .hero h1 {
        font-size: clamp(3rem, 16vw, 4.5rem);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-points {
        flex-direction: column;
        gap: 8px;
    }

    .mission-card,
    .service-card {
        padding: 28px;
    }

    .contact-row {
        flex-direction: column;
        gap: 4px;
    }

    .contact-row a,
    .contact-row strong {
        text-align: left;
    }

}