html {
    scroll-behavior: smooth;
}

/* Override Bootstrap primary colour to brand blue */
:root {
    --bs-primary: #00b4ff;
    --bs-primary-rgb: 0, 180, 255;
    --bs-btn-bg: #00b4ff;
    --bs-btn-border-color: #00b4ff;
    --bs-btn-hover-bg: #009fd9;
    --bs-btn-hover-border-color: #009fd9;
}

/* Each section fills the full viewport height */
.scroll-section {
    min-height: 100vh;
    scroll-snap-align: start;
}

/* Enable scroll snapping on the body */
body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

/* ── Main Logo ──────────────────────────────────────── */
.main-logo {
    max-width: 60%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ── What We Do ─────────────────────────────────────── */
.wwd-title-bar {
    width: 60px;
    height: 4px;
    background-color: #ff0000;
    border-radius: 2px;
}

.wwd-icon {
    font-size: 2.2rem;
}

.wwd-card {
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .wwd-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
    }

/* ── Contact Widget ─────────────────────────────────── */
.contact-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
}

.contact-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #00638c;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.contact-chevron {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}

.contact-widget.collapsed .contact-chevron {
    transform: rotate(180deg);
}

.contact-widget-body {
    padding: 14px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 400px;
    opacity: 1;
    overflow: hidden;
}

.contact-widget.collapsed .contact-widget-body {
    max-height: 0;
    opacity: 0;
    padding: 0 14px;
}

/* ── Contact Widget Send Button ─────────────────────── */
#contact-form .btn-primary {
    background-color: #00638c;
    border-color: #00638c;
}

    #contact-form .btn-primary:hover,
    #contact-form .btn-primary:focus,
    #contact-form .btn-primary:active {
        background-color: #cc0000;
        border-color: #cc0000;
    }

/* ── Home Navigation Menu ───────────────────────────── */
.home-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.home-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

    .home-nav-link:hover {
        color: #ffffff;
        border-bottom-color: #ffffff;
        opacity: 0.8;
    }

.home-nav-divider {
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    user-select: none;
}

.intro-text {
    font-size: 2rem;
    font-weight:500;
}

/* ── Contact Section Send Button ────────────────────── */
#contactForm .btn {
    background-color: #00638c;
    border-color: #00638c;
    color: #fff;
}

    #contactForm .btn:hover,
    #contactForm .btn:focus,
    #contactForm .btn:active {
        background-color: #cc0000;
        border-color: #cc0000;
        color: #fff;
    }

/* ── Smooth hide/show transition for contact widget ─── */
.contact-widget {
    transition: opacity 0.3s ease;
}