/* ========================================================
   purecss-combined.css
   Full CSS combining page layout, panoramic, magazine,
   route highlights, and the complete contact form styles.
   ======================================================== */

/* GLOBAL RESET & VARIABLES */
:root {
    --primary-blue: #003366;
    --primary-dark: #002244;
    --highlight-yellow: #ffcc00;
    --hamburger-red: #ff6b6b;
    --muted: #f2f2f2;
    --text: #222;
    --card-shadow: 0 6px 18px rgba(0,0,0,0.12);
    --card-shadow-soft: 0 4px 12px rgba(0,0,0,0.08);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: #ffffff !important;
    margin: 0;
    padding: 0;
    scroll-padding-top: 100px; /* match your header height */
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: var(--text);
    background: #f7f7f7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    min-height: 200vh;
}

/* utility classes used by HTML */
.hidden {
    display: none !important;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-6 {
    margin-top: 24px;
}

/* LINKS FOCUS (accessibility) */
a:focus, button:focus {
    outline: 3px solid rgba(0, 90, 160, 0.12);
    outline-offset: 2px;
}

/* HEADER / NAV */
.header {
    display: flex;
    justify-content: space-between; /* Pushes logo and nav/controls to opposite ends */
    align-items: center; /* Vertically centers everything */
    padding: 12px 16px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 64px;
}

.nav__logo {
    /* Ensures the logo doesn't shrink or grow, giving priority to the nav space */
    flex-shrink: 0;
    font-size: 1.25rem;
    margin: 0;
    /* Optional: Vertical alignment via padding/line-height is less necessary with align-items: center */
}

/* Hide the main menu container on small screens */
@media (max-width: 768px) {
    .nav {
        /* Hide the large navigation menu completely */
        display: none;
    }

        .nav.show-menu {
            /* When activated on mobile, it becomes the dropdown/slide-out menu */
            display: block;
        }

    /* Ensure the logo and controls stay on one line on mobile */
    .header {
        /* No need for flex-wrap: wrap anymore */
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    /* Show the mobile toggle button */
    .nav-controls {
        display: block; /* Ensure it's visible on mobile */
        flex-shrink: 0; /* Keep it from being squished */
    }
}

/* Desktop view (769px and up) */
@media (min-width: 769px) {
    .nav {
        /* On desktop, the nav is the menu itself */
        display: flex;
        justify-content: flex-end;
        flex-grow: 1; /* Allows the nav to take up the remaining space */
    }

    .nav__menu {
        /* Full width and visible */
        display: flex;
        align-items: center;
    }

    .nav-controls {
        /* Hide the mobile toggle button on desktop */
        display: none;
    }

    .nav__list {
        display: flex; /* Makes the desktop links line up horizontally */
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .nav__list li {
            margin-left: 20px;
        }
}

/*.nav__logo {
    white-space: nowrap;*/ /* ✅ prevent logo text from wrapping */
    /*overflow: hidden;*/ /* ✅ no spillover */
    /*text-overflow: ellipsis;*/ /* ✅ clean cutoff if too long */
    /*font-size: 1.25rem;*/ /* ✅ fixed size */
    /*margin: 0;*/ /* ✅ no extra margins causing blank lines */
    /*line-height: 64px;*/ /* ✅ vertically centered with header height */
/*}*/

/*.nav__logo {
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 18px;
    padding-right: 10px;
}*/

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

/*.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
}
*/
/* Nav menu (desktop) */
.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

    .nav__list li {
        display: flex;
        align-items: center;
    }

/* links */
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
    white-space: nowrap;
    font-size: 14px;
}

    .nav__link i {
        margin-right: 6px;
        color: inherit;
    }

    .nav__link:hover,
    .nav__link:focus,
    .nav__link.active {
        background: #f0f0f0;
        color: #004d40;
    }


    .nav__link.active {
        color: #dc3545; /* red highlight */
        font-weight: bold;
        border-bottom: 2px solid #dc3545;
    }

/* search nav inside menu */
.search-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 8px;
}

    .search-nav input {
        padding: 8px 10px;
        border-radius: 6px;
        border: 1px solid #d1d5db;
        width: 200px;
        background: #fff;
    }

.cta-button.small {
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--highlight-yellow);
    color: #000;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* nav controls (mobile icon) */
.nav-controls {
    display: none;
    align-items: center;
    margin-left: 10px;
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

    .nav__toggle .bar {
        height: 3px;
        width: 100%;
        background: var(--hamburger-red);
        border-radius: 3px;
        transition: all .25s ease;
    }

/* MOBILE: show toggle, hide desktop layout, stacked menu */
/* ====== purecss-combined.css — 12/02/2025 ====== */
/* === Mobile slide-in override (placed AFTER existing mobile rules) === */
/* === Responsive sidebar override — 12/02/2025 === */

/* === Responsive sidebar override — 12/02/2025 === */
/* ====== purecss-combined.css — 12/02/2025 ====== */
/* Non-intrusive slide-in sidebar: narrow, light, no full-page cover */
/* === Responsive sidebar — final override 12/02/2025 === */
/*@media (max-width: 900px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;*/ /* fixed width */
        /*max-width: 90%;*/ /* fallback for tiny screens */
        /*padding: 16px;
        background: rgba(255,255,255,0.95);
        box-shadow: -6px 0 12px rgba(0,0,0,0.12);
        transform: translateX(100%);
        transition: transform .25s ease-in-out;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .nav__menu.show-menu {
            transform: translateX(0);
        }*/



   
        /*.nav__menu {
            position: fixed;
            top: 64px;*/ /* ✅ start below the header */
            /*right: 0;
            height: 100vh;
            width: 210px !important;*/ /* 🔹 fixed narrow width */
            /*max-width: 65% !important;*/ /* 🔹 fallback for very small screens */
            /*padding: 16px;
            background: #fff;
            box-shadow: -6px 0 12px rgba(0,0,0,0.12);
            transform: translateX(100%);
            transition: transform .25s ease-in-out;
            z-index: 1100;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }*/

/* FINAL MOBILE SIDEBAR FIX */

        @media (max-width: 900px) {
            .header {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                height: 64px;
                z-index: 1200; /* Always above sidebar */
            }

            .nav__menu {
                position: fixed;
                top: 64px; /* Start below header */
                right: 0;
                height: calc(100vh - 64px); /* Fill remaining space */
                width: 210px !important; /* Compact drawer */
                max-width: 65% !important; /* Fallback for tiny screens */
                padding: 16px;
                background: #fff;
                box-shadow: -6px 0 12px rgba(0,0,0,0.12);
                transform: translateX(100%);
                transition: transform .25s ease-in-out;
                z-index: 1100; /* Always below header */
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

                .nav__menu.show-menu {
                    transform: translateX(0);
                }

            .nav-backdrop {
                position: fixed;
                inset: 0;
                background: rgba(0,0,0,0.3); /* ✅ semi-transparent backdrop */
                pointer-events: auto; /* ✅ allow click to close */
                z-index: 1090;
                display: none;
            }

                .nav-backdrop.show {
                    display: block;
                }

            .nav__list {
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
            }

            .nav__link {
                color: #000;
                padding: 12px 10px;
                border-radius: 6px;
            }

                .nav__link:hover {
                    background: rgba(0,0,0,0.08);
                }

            .search-nav input {
                width: 100%;
            }

            .nav-controls {
                display: flex;
            }

            /* Hamburger → red X */
            .nav__toggle.active .bar:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
                background: #dc3545;
            }

            .nav__toggle.active .bar:nth-child(2) {
                opacity: 0;
            }

            .nav__toggle.active .bar:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
                background: #dc3545;
            }
        }


    /* HERO */
    .hero-header {
        margin-top: 72px; /* allow space for fixed header */
        display: flex;
        justify-content: center;
        padding: 26px 12px;
        background: #fff;
    }

    .hero-logo {
        max-width: 360px;
        width: 100%;
        height: auto;
        display: block;
    }

    /* PANORAMIC IMAGE BLOCK */
    .panoramic-image-block {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
        background-color: transparent !important;
    }

    /* TRUE PANORAMIC RATIO: 3 / 1 */
    .panoramic-image {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 1200px;
        aspect-ratio: 3 / 1;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        box-shadow: none;
    }

    /* TITLE BLOCK */
    .panoramic-title-block {
        width: 100%;
        padding: 3rem 1rem;
        display: flex;
        justify-content: center;
        background-color: #ffffff !important;
        /*margin-bottom: 12px;*/ /* reduce bottom spacing */
        margin-bottom: 0; /* remove bottom margin */
        padding-bottom: 0; /* collapse extra padding */
    }

    /* Ensure all main sections remain white */
    .panoramic-image-block, header, main, footer {
        background-color: #ffffff !important;
    }

    /* Title Inside */
    .title-content {
        max-width: 1200px;
        width: 100%;
        text-align: center;
        color: #222;
    }

    /* Main Title */
    .panoramic-title-block h1 {
        font-size: 2rem;
        margin-bottom: 1.4rem;
        color: #004a7c;
    }

    .highlight {
        color: #8a7a3f;
        font-weight: bold;
    }

    /* Framed separator line */
    .framed-line {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.25rem auto; /* tight spacing, centered */
        max-width: 500px; /* controls total width */
        /*border: none;*/ /* remove any frame/line styling */
        /*background: transparent;*/ /* keep it clean */
    }

        .framed-line::before,
        .framed-line::after {
            content: "";
            flex: 1;
            height: 1px;
            background-color: #999;
            margin: 0 1rem;
        }

    .panoramic-title-block .framed-line {
        margin-bottom: 6px; /* tighten framed line spacing */
    }

    /* Reduce heading margin so the line sits snugly */
    .route-highlights h2,
    .section-heading {
        margin-bottom: 0.25rem; /* pull framed line closer to heading */
    }


    /* MAGAZINE PROMO */
    /* ====== spacing fix for magazine promo heading ====== */
    .magazine-promo {
        text-align: center;
        padding: 48px 14px;
        background: #fff;
        margin-top: -8px; /* pull section closer to panoramic title */
    }

        .magazine-promo h2 {
            font-size: 22px;
            color: var(--primary-blue);
            margin: 0 0 6px;
            margin-top: 0; /* remove default top margin */
            padding-top: 0; /* ensure no extra spacing */
        }

        .magazine-promo p {
            color: #444;
            max-width: 700px;
            margin: 0 auto 18px;
        }

    .cta-button.primary {
        display: inline-block;
        padding: 12px 18px;
        border-radius: 8px;
        background: var(--highlight-yellow);
        color: var(--primary-dark);
        font-weight: 700;
        text-decoration: none;
        transition: background .18s ease;
    }

        .cta-button.primary:hover {
            background: #e0ac00;
        }

    /* Magazine grid */
    /*.magazine-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.mag-card {
    width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow-soft);
    text-align: center;
    text-decoration: none;
    color: var(--primary-blue);
    overflow: hidden;
    transition: transform .18s ease;
}

    .mag-card:hover {
        transform: translateY(-6px);
    }

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

.mag-title {
    display: block;
    padding: 12px 10px;
    font-weight: 700;
}*/


    /* Magazine grid */
    .magazine-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 28px;
    }

    .mag-card {
        /* 🛑 INCREASED WIDTH: Making the card significantly wider for a bigger appearance */
        position: relative; /* 🛑 Essential: Positions the tooltip relative to the card */
        width: 300px;
        border-radius: 10px;
        box-shadow: var(--card-shadow-soft);
        text-align: center;
        text-decoration: none;
        color: var(--primary-blue);
        overflow: hidden;
        transition: transform .18s ease;
        border-radius: 10px; /* **Crucial:** Ensures the card itself has rounded edges */
    }

        .mag-card:hover {
            transform: translateY(-6px);
        }

    .mag-image {
        width: 100%;
        /* HEIGHT INCREASED: Taller to match the new width's larger aspect ratio */
        height: 410px;
        /* 🛑 CRITICAL FIX: Ensures the whole picture fits inside the box without being cut off */
        object-fit: contain;
        /*background-color: #f0f0f0;*/ /* Optional: Adds a light background color if the image is not perfectly sized */
        background-color: transparent;
        display: block;
        border-radius: 10px 10px 0 0;
    }

    .mag-title {
        display: block;
        padding: 12px 10px;
        font-weight: 700;
    }


    .mag-card.north,
    .mag-card.south {
        background-color: transparent; /* removes the blue/orange background */
    }

    /* Optional: distinguish North vs South visually */
    /*.mag-card.north {
    background-color: #e3f2fd;*/ /* light blue */
    /*}

.mag-card.south {
    background-color: #e3f2fd;*/ /* light orange */
    /*}*/

    /* Responsive tweak: stack on mobile */
    @media (max-width: 900px) {
        .magazine-grid {
            flex-direction: column;
            align-items: center;
        }
    }





    /* ROUTE HIGHLIGHTS */
    .route-highlights {
        padding: 48px 18px;
        max-width: var(--max-width);
        margin: 0 auto;
    }

    .section-heading {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        color: #203d54;
        margin-bottom: 24px;
    }

    .highlights-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        margin-bottom: 24px;
    }

    @media (max-width:980px) {
        .highlights-grid {
            grid-template-columns: repeat(2,1fr);
        }
    }

    @media (max-width:640px) {
        .highlights-grid {
            grid-template-columns: 1fr;
        }
    }

    .highlight-card {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--card-shadow-soft);
        transition: transform .18s ease;
    }

        .highlight-card:hover {
            transform: scale(1.02);
        }

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

    .highlight-body {
        padding: 18px;
    }

        .highlight-body h3 {
            margin: 0 0 8px;
            color: var(--primary-blue);
            font-size: 18px;
        }

        .highlight-body p {
            color: #555;
            margin: 0 0 12px;
            line-height: 1.45;
        }

    .highlight-link {
        display: inline-block;
        color: var(--highlight-yellow);
        font-weight: 600;
        text-decoration: none;
    }

        .highlight-link:hover {
            color: var(--primary-blue);
        }

    /* TRIP PLANNING BLOCK */
    .trip-planning {
        width: calc(100% - 2rem); /* ensures total width leaves room on both sides */
        max-width: 1200px;
        margin: 1.5rem auto; /* less vertical spacing */
        padding: 1rem 1.5rem; /* tighter padding: top/bottom smaller */
        background: #fdfdfd;
        border: 1px solid #ddd; /* lighter border */
        border-radius: 8px; /* smaller radius */
        box-shadow: 0 2px 8px rgba(0,0,0,0.12); /* softer shadow */
        text-align: center;
    }

        .trip-planning h3 {
            font-size: 1.6rem; /* slightly smaller heading */
            margin-bottom: 0.75rem; /* less gap below heading */
            color: #2a4d69;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .trip-planning p {
            font-size: 1rem; /* normal text size */
            line-height: 1.4; /* tighter line spacing */
            color: #444;
            margin: 0; /* remove extra spacing */
        }

    /* Mobile adjustments */
    @media (max-width: 600px) {
        .trip-planning {
            width: calc(100% - 2rem); /* leaves 1rem on each side */
            margin: 1rem auto;
            padding: 1rem;
            background: #f7faff;
            box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        }
    }

    .planning-actions {
        display: flex;
        gap: 12px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    /* --- BUTTON STYLES WITH HOVER EFFECTS --- */

    /* 1. Base style for ALL CTA buttons (Primary AND Secondary) */
    .cta-button.small {
        padding: 10px 14px;
        border-radius: 8px;
        font-weight: 700;
        text-decoration: none;
        /* Re-adding transition for smooth hover effects */
        transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        /* Default/Secondary button look (View Maps) */
        background: transparent;
        color: var(--primary-blue);
        border: 1px solid rgba(0,0,0,0.2);
    }

    /* 2. Primary Solid Button (Get Road Conditions) - Light Base */
    .primary-solid {
        background: #ffffff; /* Light color: White */
        color: #333333; /* Dark text color */
        border: 1px solid #cccccc; /* Subtle border */
    }

        /* 3. Primary Solid Button HOVER EFFECT (The one you need restored) */
        .primary-solid:hover {
            background: #f0f0f0; /* Hover: Slightly darker light gray */
            color: #000000; /* Hover: Black text for contrast */
            border-color: #999999; /* Hover: Darker border */
        }

    /* 4. Secondary Button HOVER EFFECT (Subtle change for "View Maps") */
    /* Targets the default button style */
    .cta-button.small:not(.primary-solid):hover {
        background: #f0f0f0; /* Fills button slightly on hover */
        border-color: var(--primary-blue); /* Highlights the border with the primary color */
    }


    /* --- FOOTER STYLES: Corrected Vertical Alignment --- */
    /* --- FOOTER STYLES: Guaranteed Vertical Centering --- */
    .site-footer {
        background: #000000 !important; /* Forced Black Background */
        color: #ffffff !important; /* Forced Yellow Text */
        /* 1. Remove Flex properties that may be interfering */
        display: block;
        align-items: initial;
        justify-content: initial;
        /* 2. Set padding only on the sides */
        padding: 14px 18px;
        /* 3. CRITICAL FIX: Set line-height equal to the desired vertical height (e.g., total footer height is 50px) */
        /* This forces the text to center vertically within the total height provided by padding + line-height */
        /* If 50px is too much, try 40px or 45px */
        line-height: 50px;
        /* 4. Reset padding to 0, since line-height now controls vertical spacing */
        padding-top: 0;
        padding-bottom: 0;
        /* Keep other layout properties */
        text-align: center;
        position: relative;
        bottom: 0;
        width: 100%;
        margin-top: 20px;
        font-size: 14px;
    }
    /* Scroll to top button */
    /*#scrollTopBtn {
    position: fixed;
    right: 16px;
    bottom: 70px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1200;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    cursor: pointer;
}

    #scrollTopBtn.show {
        display: flex;
    }*/




    /*section {
    scroll-margin-top: 100px;*/ /* adjust to header height */
    /*}*/


    /* =========================
   CONTACT SECTION STYLES
   (Complete contact + form + attachments)
   ========================= */

    /* Main container & wrapper */
    .main-content-wrapper {
        width: 100%;
        background: #ffffff;
        padding: 2rem 0;
    }

    .contact-container {
        max-width: 1300px;
        margin: 0 auto;
        padding: 1rem;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .contact-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    /* Columns */
    .contact-column {
        flex: 1;
        min-width: 350px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

        .contact-column.left-column {
            background-color: #fcfdff;
            border-radius: 8px;
            padding: 25px;
            box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
        }

            .contact-column.left-column h1 {
                text-align: center;
                width: 100%;
                margin-bottom: 25px;
            }

        .contact-column h3 {
            font-size: 1.8rem;
            font-weight: 600;
            color: #495057;
            margin-bottom: 25px;
            text-align: center;
            width: 100%;
        }

    /* Logo styling */
    .logo-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 30px;
    }

    .logo-img {
        max-width: 300px;
        height: auto;
        border-radius: 8px;
        object-fit: contain;
    }

    /* Contact info */
    .contact-column p {
        font-size: 1.1rem;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        color: #555;
    }

        .contact-column p i {
            margin-right: 10px;
            font-size: 1.3rem;
            width: 25px;
            text-align: center;
        }

    /* email */
    .email-contact-wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        color: #337ab7;
    }

        .email-contact-wrapper i {
            margin-right: 10px;
            font-size: 1.3rem;
            width: 25px;
            text-align: center;
            color: #6c757d;
        }

    .email-link-disabled {
        color: inherit;
        text-decoration: none;
        cursor: pointer;
        transition: text-decoration 0.3s ease;
    }

        .email-link-disabled:hover {
            color: #555;
            text-decoration: underline;
        }

    /* Map */
    .map-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 */
        height: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        margin-top: 30px;
    }

        .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 8px;
        }

    /* Form basic controls */
    .right-column h3 {
        margin-top: 0;
    }

    #contact-form {
        width: 100%;
    }

        /* labels and inputs */
        #contact-form label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #333;
        }

    .form-control,
    .form-select,
    textarea {
        font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.2px;
        color: #333;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        transition: border-color 0.2s ease-in-out, box-shadow 0.15s ease-in-out;
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

        /* focus */
        .form-control:focus,
        .form-select:focus,
        textarea:focus {
            border-color: #0078D4;
            outline: none;
            box-shadow: 0 4px 16px rgba(0,120,212,0.08);
        }

    /* floating-style overrides (if present) */
    .form-floating > .form-control {
        height: calc(3.5rem + 2px);
        padding: 1rem 0.75rem;
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }

    .form-floating > .form-select {
        height: calc(3.5rem + 2px);
        padding: 1.5rem 0.75rem 0.5rem 0.75rem;
        border-radius: 8px;
    }

    .form-floating > label {
        padding: 1rem 0.75rem;
        color: #6c757d;
        top: 0.2rem;
    }

    /* textarea sizing */
    textarea.form-control {
        min-height: 120px;
        padding: 1rem 0.75rem;
        border-radius: 8px;
    }

    /* validation states */
    .is-valid {
        border-color: #28a745 !important;
        box-shadow: none;
    }

    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: none;
    }

    .invalid-feedback {
        font-size: 0.85rem;
        color: #dc3545;
        margin-top: 6px;
    }

    /* message character counter */
    #char-remaining {
        font-size: 12px;
        color: #666;
        margin-top: 4px;
    }

    /* Attachments block styling */
    .d-flex.align-items-center.gap-2.mb-2 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 0.5rem;
    }

    /* Attachments area */
    #attachLabel {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 6px;
        border: 1px solid #d0d0d0;
        background: #fff;
    }

        #attachLabel:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }

    input[type="file"] {
        display: none;
    }

    /* file table */
    #fileTableContainer {
        display: none;
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #fafafa;
        margin-top: 8px;
    }

    #fileTable {
        width: 100%;
        border-collapse: collapse;
    }

        #fileTable thead th {
            font-size: 0.85rem;
            text-align: left;
            padding: 8px;
            background: #f8f9fa;
            position: sticky;
            top: 0;
            z-index: 2;
        }

        #fileTable tbody td {
            padding: 8px;
            font-size: 0.85rem;
            border-bottom: 1px solid #e9ecef;
        }

    .file-details {
        font-size: 0.9rem;
        color: #333;
    }

    .action-cell {
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: none;
    }

    /* file delete button */
    .red-cross-btn {
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

        .red-cross-btn i {
            color: #dc3545;
            font-size: 1.05rem;
        }

    /* file status messages */
    #fileError {
        color: #dc3545;
        font-size: 0.9rem;
        margin-top: 6px;
    }

    #fileCountDisplay {
        font-weight: 600;
        margin-top: 8px;
        color: #333;
    }

    /* Buttons */
    .btn {
        font-weight: 600;
        padding: 12px 25px;
        border-radius: 6px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border: none;
        cursor: pointer;
    }

        .btn:active {
            transform: translateY(1px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

    .btn-primary {
        background-color: #9BBFE0;
        color: #333;
    }

        .btn-primary:hover {
            background-color: #7DA4C8;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

    .btn-secondary {
        background-color: #D3D3D3;
        color: #555;
    }

        .btn-secondary:hover {
            background-color: #B0B0B0;
        }

    /* Buttons + recaptcha group */
    .buttons-recaptcha-group {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        justify-content: flex-end;
        margin-top: 30px;
    }

        .buttons-recaptcha-group .cf-turnstile {
            flex: 0 0 auto;
        }

    /* Turnstile hidden response input */
    #cf-turnstile-response {
        display: none;
    }

    /* disabled submit */
    #btn-grey:disabled {
        background-color: #ccc;
        color: #666;
        cursor: not-allowed;
        opacity: 0.8;
        border: none;
    }

    /* helper states */
    .form-disabled {
        pointer-events: none;
        opacity: 0.5;
    }

    /* modal (basic) */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

        .modal-overlay.show {
            display: flex;
        }

    .modal-box {
        background: #fff;
        padding: 2rem;
        border-radius: 8px;
        max-width: 400px;
        width: 90%;
        text-align: center;
    }

    /* input 'filled' class for visual */
    input.filled {
        background-color: #e0f0ff;
        transition: background-color 0.3s ease;
    }

    /* file input button hacks for browsers */
    input[type="file"]::-webkit-file-upload-button {
        visibility: hidden;
    }

    input[type="file"]::file-selector-button {
        visibility: hidden;
    }

    /* small table tweaks */
    table.table-sm td {
        padding: 0.5rem;
        border-bottom: 1px solid #dee2e6;
    }

    /* alternating rows (file list) */
    .file-item:nth-child(even) {
        background-color: #f8f9fa;
    }

    .file-item:nth-child(odd) {
        background-color: #ffffff;
    }

    /* responsive contact layout */
    @media (min-width:768px) {
        .contact-column {
            flex: 1;
        }

            .contact-column.left-column {
                max-width: 40%;
            }

            .contact-column.right-column {
                flex-grow: 1;
            }

        .contact-wrapper {
            flex-wrap: nowrap;
            justify-content: space-between;
        }
        /* hide scrollTop on larger screens */
        #scrollTopBtn {
            display: none !important;
        }
    }

    @media (max-width:767.98px) {
        .contact-section-title {
            font-size: 2rem;
            margin-bottom: 30px;
        }

        .contact-wrapper {
            flex-direction: column;
        }

        .contact-column {
            width: 100%;
            min-width: unset;
            padding: 12px 0;
        }

            .contact-column.left-column {
                max-width: 100%;
            }

        .contact-container {
            padding: 20px;
        }

        .buttons-recaptcha-group {
            justify-content: center;
        }

        .logo-img {
            max-width: 100%;
            height: auto;
        }

        .form-control, .form-select, textarea {
            margin-bottom: 1rem;
        }

        .main-content-wrapper {
            padding: 30px 15px;
        }
    }

    /* very small screens */
    @media (max-width:576px) {
        .main-content-wrapper {
            padding: 30px 15px;
        }

        .contact-wrapper {
            flex-direction: column;
            align-items: stretch;
        }

        .contact-column {
            width: 100%;
            padding: 10px 0;
        }
    }

    /* sticky fileTable header */
    #fileTableContainer thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background-color: #f8f9fa;
    }

    /* delete button hover */
    .delete-btn:hover {
        background-color: #dc3545;
        color: #fff;
    }

    /* small accessibility + behavior helpers */
    #char-count {
        font-size: 0.85rem;
        color: #6c757d;
        text-align: right;
        margin-top: 5px;
    }

    /* ensure the framed-line separator can be used above contact section too */
    .framed-line.small-gap {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    /* END OF FILE */




    .form-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

        .form-row.two-fields .form-group {
            flex: 1;
            min-width: 200px;
        }

        .form-row.three-fields .form-group {
            flex: 1;
            min-width: 150px;
        }

        .form-row.three-fields .mi-field {
            max-width: 80px;
            flex: 0 0 80px;
        }

        .form-row.one-field .form-group {
            flex: 1;
        }

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        color: #333;
    }

    .form-control, .form-select, textarea {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }





    /* Center ONLY the Preferred Contact block */
    .form-row.one-field .form-group:has(#modeOfContact) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .form-row.one-field .form-group:has(#modeOfContact) label {
            text-align: center;
        }

    #modeOfContact {
        max-width: 220px; /* keep it compact */
        margin: 0 auto; /* center the select itself */
        padding: 6px 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.95rem;
    }

    .preferred-contact {
        display: flex;
        justify-content: center;
    }

        .preferred-contact .form-group {
            text-align: center;
        }

    #modeOfContact {
        max-width: 220px;
        margin: 0 auto;
    }



    .modal {
        display: none; /* ensure hidden by default */
    }

        .modal.show {
            display: block;
        }





    /*===  menu aside BAR RESPONSIVE  ===*/

    /* === Sidebar below header — 12/02/2025 === */
    @media (max-width:900px) {
        .nav__menu {
            position: fixed;
            top: 57px; /* drop below header height */
            right: 0;
            /*height: calc(100vh - 72px);*/ /* fill remaining height */
            width: 70vw; /* fitted, not full */
            max-width: 320px;
            height: auto;
            background: rgba(255,255,255,0.9); /* light transparent */
            color: #000;
            overflow-y: auto;
            box-shadow: -6px 0 12px rgba(0,0,0,0.12);
            transform: translateX(100%);
            transition: transform .25s ease-in-out;
            z-index: 1100;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 16px;
            opacity: 1;
            visibility: visible;
            max-height: 400px; /* fixed cap, not full screen */
        }

            .nav__menu.show-menu {
                transform: translateX(0);
            }

        .nav__list {
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
        }

        .nav__link {
            color: #000;
            padding: 12px 10px;
            border-radius: 6px;
        }

            .nav__link:hover {
                background: rgba(0,0,0,0.08);
            }

        .nav__toggle.active .bar:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
            background: #dc3545;
        }

        .nav__toggle.active .bar:nth-child(2) {
            opacity: 0;
        }

        .nav__toggle.active .bar:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            background: #dc3545;
        }
    }

    /* ====== scroll-buttons.css — 12/04/2025 ====== */
    /* Base style: MUST be fixed and hidden */
    #scrollTopBtn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        /* CRITICAL: Hides the button initially */
        display: none;
        background-color: #66ccff;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 24px;
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        transition: opacity 0.3s ease;
    }

        /* Visibility style: CRITICAL to override display: none; */
        #scrollTopBtn.show {
            /* CRITICAL: Makes the button appear */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #scrollTopBtn:hover {
            background-color: #3399ff;
        }

        /* Optional: Fix for arrow rotation if necessary */
        #scrollTopBtn .bi-arrow-up {
            transform: none !important;
        }

    /* --- LOOK FOR THIS OR SIMILAR CODE IN YOUR CSS --- */
    @media (min-width: 768px) {
        #scrollTopBtn {
            /* This line would be hiding the button on desktop! */
            display: none !important;
        }
    }

    /* --- Add this to the BOTTOM of your CSS file --- */
    @media (min-width: 768px) {
        #scrollTopBtn.show {
            /* Force visibility on desktop, overriding any general #scrollTopBtn rules */
            display: flex !important;
        }
    }

    /* Targets the specific Bootstrap icon inside your scroll button */
    /*#scrollTopBtn .bi-arrow-up {*/
    /* Ensures no rotation is applied */
    /*transform: none !important;*/
    /* Ensures the icon is displayed correctly in its own space */
    /*display: inline-block;*/
    /* Optional: Center the icon perfectly within the button circle */
    /*vertical-align: middle;
    }*/

    /* Magazine Toggle */

    #magazine-container {
        max-height: none; /* allow full height */
        overflow: visible; /* show all content */
        opacity: 1; /* fully visible */
    }

    /*#magazine-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}
*/
    /*#magazine-container.show {
        max-height: 1000px;*/ /* adjust to fit your content */
    /*opacity: 1;
    }*/





    /* Pulse animation */
    @keyframes pulse {
        0% {
            transform: scale(1);
            box-shadow: 0 0 0 rgba(23,162,184, 0.7);
        }

        50% {
            transform: scale(1.1);
            box-shadow: 0 0 15px rgba(23,162,184, 0.9);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 0 0 rgba(23,162,184, 0.7);
        }
    }

    #scrollTopBtn.pulse {
        animation: pulse 1s ease;
    }



    /*AVOIDING THREE LINES WHEN SHRINKING INTO MOBILE SIZE SCREEN*/
    /* Prevent logo from breaking into multiple lines */
    /* AVOIDING THREE LINES WHEN SHRINKING INTO MOBILE SIZE SCREEN */
    /* Prevent logo from breaking into multiple lines + bold font */
    .nav__logo {
        white-space: nowrap; /* keep text on one line */
        flex-shrink: 0; /* don’t let flexbox shrink it */
        display: flex; /* keep icon/text inline */
        align-items: center; /* vertical centering */
        font-size: 1.1rem; /* adjust size if needed */
        max-width: 100%; /* responsive safety */
        /* 🔹 Added font styling */
        font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
        font-weight: 700; /* bold */
        letter-spacing: 0.5px; /* subtle spacing */
        color: var(--primary-blue);
        text-decoration: none;
    }

    /* Optional: scale down logo text on smaller screens */
    @media (max-width: 600px) {
        .nav__logo {
            font-size: 0.95rem;
        }
    }



    /*stop DISPLAY VALIDATIONS input thead CONTACT form WHEN PAGE LOADS*/

    /* ====== contact.css — Validation Fix — 12/04/2025 ====== */

    /* Hide feedback by default */
    .invalid-feedback {
        display: none;
        color: #dc3545; /* red text */
        font-size: 0.85rem;
        margin-top: 4px;
    }

    /* Show only when input is invalid */
    input:invalid ~ .invalid-feedback,
    textarea:invalid ~ .invalid-feedback,
    select:invalid ~ .invalid-feedback {
        display: block;
    }

    /* Optional: show valid state */
    input.is-valid,
    textarea.is-valid,
    select.is-valid {
        border-color: #28a745; /* green border */
    }

    /* Tooltip Pop-up Box */
    .tooltip-box {
        visibility: hidden; /* Starts hidden */
        opacity: 0; /* Starts transparent */
        background-color: #333;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 6px 10px;
        position: absolute;
        z-index: 1000;
        /* Position the tooltip just above the card */
        bottom: 105%;
        left: 50%;
        transform: translateX(-50%);
        transition: opacity 0.3s, visibility 0.3s;
        font-size: 14px;
        white-space: nowrap;
        pointer-events: none; /* Allows clicks to pass through the tooltip */
    }

        /* Tooltip Arrow */
        .tooltip-box::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

        /* Tooltip Visible State */
        .tooltip-box.show {
            visibility: visible;
            opacity: 1;
        }



