/* ==========================================================
   Experion Sector 88A landing page
   Colours taken from the Experion logo:
   blue #14598f, green #a0c838, tagline grey.
   Loads AFTER Bootstrap 5.
   ========================================================== */

:root {
    --blue:    #14598f;   /* logo blue: buttons, borders, links */
    --navy:    #0b3b60;   /* darker blue: headings, form box, footer */
    --green:   #a0c838;   /* logo green: accents, about box, location band */
    --green-d: #88ad25;   /* green hover */
    --nav-bg:  #ffffff;   /* white navbar so the logo shows clearly */
    --ink:     #0b3b60;   /* headings */
    --body:    #5b6670;   /* paragraph text */
}

html { scroll-behavior: smooth; }
section, div[id] { scroll-margin-top: 70px; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: var(--body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    color: var(--ink);
}

p { margin-bottom: 12px; }

/* ---- Bootstrap "primary" = logo green in this design ---- */
.bg-primary     { background-color: #ebf7ca !important; }
.text-primary   { color: var(--green) !important; }
.border-primary { border-color: var(--green) !important; }

/* ---------- Navbar (white, logo on the left) ---------- */
.navbar.bg-dark { background-color: var(--nav-bg) !important; }
.navbar-brand .logo { height: 46px; width: auto; display: block; }
.navbar .nav-link {
    position: relative;
    color: var(--navy);
    font-size: 14px;
    font-weight: 500;
    padding: 20px 14px;
}
.navbar .nav-link:hover { color: var(--blue); }
.navbar .nav-link.active { color: var(--blue); }
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 0;
    height: 3px;
    background: var(--green);
}
.navbar-toggler { border-color: rgba(11,59,96,.4); }
.navbar-toggler-icon { filter: invert(1); }   /* dark icon on white bar */

/* ---------- Hero ---------- */
.bg-hero {
    margin-bottom: 90px;
    background:
        linear-gradient(rgba(11,59,96,.55), rgba(11,59,96,.55)),
        url('../img/experion-sector-88a-banner.webp') center / cover no-repeat,
        #0b3b60 !important;
}
.banner-text h1 {
    font-size: 30px;
    letter-spacing: .3px;
    line-height: 1.2;
    padding-bottom: 6px;
    border-bottom: 3px solid var(--green) !important;
    color: #fff !important;
}
.banner-text p { font-size: 18px; margin-bottom: 14px; }
.banner-text p span { color: var(--green); }

/* ---------- Enquiry form (hero + modal) ---------- */
.contact_form {
    background: rgba(11, 59, 96, .9);
    padding: 22px 26px 26px;
    border-radius: 4px;
    border-top: 4px solid var(--green);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    margin-bottom: -20px;
}
.contact_form h2 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #fff !important;
}

.col-twelve { width: 100%; }
.single-form { margin-bottom: 14px; }

.form-control {
    height: 44px;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    background: #fff;
    border: 1px solid var(--green);
    border-radius: 3px;
}
.form-control::placeholder { color: #a8a8a8; }
.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 .2rem rgba(160, 200, 56, .35);
}

.first-btn {
    display: block;
    width: 100%;
    height: 42px;
    background: var(--green);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s;
}
.first-btn:hover { background: var(--green-d); }

.errormessage { color: #ffb4b4; font-size: 13px; margin-bottom: 8px; }

/* Modal */
.modal-content.contact-form {
    background: rgba(11, 59, 96, .97);
    border: 0;
    border-radius: 4px;
}
.modal-header { border-bottom: 1px solid rgba(255,255,255,.15); }
.modal-header .form-title { font-size: 22px; margin: 0; color: #fff !important; }
.modal-header .close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- About (green box) ---------- */
.about-start { color: #14301a; }
.about-start p { text-align: justify; font-size: 17.5px; line-height: 1.65; color: #1b2e12; }
.about-start h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 18px 0 12px;
    color: var(--navy);
}

/* "Enquiry Now" pill buttons */
.brochure {
    background: var(--blue);
    padding: 9px 30px;
    margin-top: 6px;
    border: 0;
}
.brochure a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.brochure:hover { background: var(--navy); }

/* ---------- Overview / FAQ text ---------- */
#overview h3, #faq h3 {
    font-size: 32px;
    margin: 20px 0 6px;
}
#overview h3:first-child { margin-top: 30px; }
#faq h4 { font-size: 24px; margin: 10px 0 4px; }
#overview p, #faq p { text-align: justify; font-size: 18px; margin-bottom: 8px; }
#overview ul { padding-left: 18px; margin-bottom: 12px; font-size: 20px; }
#overview li { margin-bottom: 3px; }
#overview li::marker { color: var(--green); }
#overview strong, #faq strong { color: var(--navy); }

/* ---------- Gallery ---------- */
#gallery h3.display-5 { font-size: 36px; color: var(--ink); }
#gallery hr { width: 60px !important; height: 3px; border: 0; background: var(--green); opacity: 1; }

#gallery .row { padding-bottom: 22px; }
.team-item { position: relative; }
.team-item img { display: block; }
.team-text {
    position: absolute;
    left: 24px; right: 24px;
    bottom: -18px;
    padding: 6px 8px 4px;
    background: rgba(11, 59, 96, .93);
    border-bottom: 3px solid var(--green);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.team-text h4 { font-size: 17px; color: #fff !important; }

/* ---------- Location (green band) ---------- */
.bg-quote h2 { color: var(--navy); font-size: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 16px 0 6px; }
.site-footer p { font-size: 12px; margin-bottom: 8px; color: #dbe6ee; }
.site-footer a { color: var(--green); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 46px; height: 46px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    z-index: 99;
}
.back-to-top:hover { background: var(--navy); }
.back-to-top i::before { content: "\2191"; font-style: normal; font-weight: 700; color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
    .navbar .nav-link { padding: 10px 0; }
    .navbar .nav-link.active::after { left: 0; right: auto; width: 40px; }
    .navbar-nav { border-right: 0 !important; }
    .bg-hero { margin-bottom: 40px; }
    .contact_form { margin-bottom: 0; }
}