/* ─────  Brand palette  ───── */
:root {
    --dragon-red: #d93025;
    --dragon-dark: #000;
}

/* ─────  Buttons  ───── */
.btn-dragon {
    background: var(--dragon-red);
    border-color: var(--dragon-red);
    color: #fff;
}

.btn-dragon:hover {
    background: #b3261e;
    border-color: #b3261e;
}

/* ─────  Hero  ───── */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 600;
}

.mascot-wrapper {
    max-width: 500px;
    width: 100%;
}

@media (min-width: 992px) {
    .mascot-wrapper {
        position: static;
    }
}

/* ─────  Ship-box  ───── */
.ship-box {
    background: var(--dragon-red);
    border-radius: 12px;
    padding: 2rem 1rem;
    color: #fff;
    margin-top: 3rem;
}

.ship-box .form-control::placeholder {
    color: #9b9b9b;
}

.mode-pill .nav-link {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    margin: 0 0.25rem;
    padding: 0.35rem 1.2rem;
}

.mode-pill .nav-link.active {
    background: #fff;
    color: var(--dragon-red);
}

/* ─────  Red information blocks  ───── */
.who-we-are {
    background: var(--dragon-red);
    color: #fff;
    font-size: 1.2rem;
}

/* ─────  Service cards  ───── */
.service-card {
    border: 2px solid var(--dragon-red);
    border-radius: 12px;
    padding: 2rem 1.2rem;
    height: 100%;
}

.service-card i {
    font-size: 3rem;
    color: var(--dragon-red);
}

.service-card h6 {
    font-weight: 700;
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
}

/* ─────  Layered diagonal divider  (white ▸ black ▸ red)  ───── */
.diagonal-divider {
    /* --- defaults you can override inline --- */
    --angle: -2deg;
    /* slope amount                     */
    --height: 100px;
    /* overall band height              */
    --offset: 20px;
    /* vertical gap between black & red */
    --fill: #d93025;
    /* red layer colour                 */

    position: relative;
    width: 100%;
    height: var(--height);
    overflow: hidden;
    margin-top: 5rem;
}

/* black wedge (on top of the red) */
.diagonal-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    transform: skewY(var(--angle));
    transform-origin: bottom left;
}

/* coloured wedge underneath (pulled down to reveal black) */
.diagonal-divider::after {
    content: "";
    position: absolute;
    inset: 0;
    top: var(--offset);
    background: var(--fill);
    transform: skewY(var(--angle));
    transform-origin: top right;
    z-index: -1;
    /* sit behind the black wedge */
}

/* ─────  CTA box  ───── */
.cta-box {
    background: radial-gradient(400% 140% at 0 0, #ff5a4e 0%, #d93025 60%)
        no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ─────  Form & footer accents  ───── */
.contact-input {
    border: 2px solid var(--dragon-red);
    border-radius: 0.5rem;
}

.contact-title {
    color: var(--dragon-red);
}

.footer-head {
    color: var(--dragon-red);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--dragon-red);
}

/* check icons in bullet lists */
.check-icon {
    font-size: 1.3rem;
    color: #fff;
    margin: 0.2rem 0.8rem 0 0;
}

/* ─────  WhatsApp bubble  ───── */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    padding: 15px;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ─────  Mobile tweaks (≤ 575 px)  ───── */
@media (max-width: 575.98px) {
    /* spacing */
    .py-5 {
        padding-block: 2.5rem !important;
    }

    .my-5 {
        margin-block: 2rem !important;
    }

    .ship-box {
        margin-top: 2rem;
        padding: 1.25rem 0.75rem;
    }

    /* typography & images */
    .hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.25rem;
    }

    .mascot-wrapper {
        max-width: 260px;
        margin: auto;
    }

    .who-help img,
    .who-we-are img {
        max-width: 200px;
    }

    .service-card i {
        font-size: 2.25rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .cta-box .fs-5 {
        font-size: 1rem !important;
    }

    /* slim divider */
    .diagonal-divider {
        --height: 60px;
        --black-h: 30px;
    }

    /* footer centre-align */
    footer .col-lg-4 {
        text-align: center;
    }

    footer .col-lg-4 img {
        margin-inline: auto;
    }

    footer .footer-head {
        margin-top: 1.5rem;
    }

    /* raise WhatsApp bubble on iOS nav bar */
    .whatsapp-float {
        bottom: 70px;
        right: 15px;
        padding: 12px;
        font-size: 24px;
    }

    .quote-card .text-primary {
        color: #d31c5b !important;
    }
}
