/* ======================================================
   GLOBAL
====================================================== */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6fb;
    /* outer page grey */
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
}

/* ======================================================
   HEADER & NAV
====================================================== */

/* Header base */
.hbs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

/* push page below header */
body {
    padding-top: 120px;
}

.hbs-nav {
    position: relative;
    display: flex;
    align-items: center;
   justify-content: space-between;
}

/* Floating logo */
.logo-wrap {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-wrap img {
    height: 140px;
    margin-top: 30px;
    /* visual overlap only */
}

/* ======================================================
   NAVIGATION
====================================================== */

.main-nav {
    position: relative;
}

/* Main navigation links */

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

.nav-links > a {
    color: #1f2937;
    font-weight: 600;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-links > a:hover {
    color: #cfa23a;
}


/* Active page */

.nav-links > a.active {
    color: #cfa23a;
    border-bottom: 3px solid #cfa23a;
    padding-bottom: 6px;
}


/* ======================================================
   SERVICES DROPDOWN
====================================================== */

.nav-dropdown {
    position: relative;
}


/* Services button */

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;

    background: none;
    border: none;

    padding: 0;

    color: #1f2937;
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s ease;
}

.nav-dropdown-toggle:hover {
    color: #cfa23a;
}


/* Active Services */

.nav-dropdown.active-parent
.nav-dropdown-toggle {
    color: #cfa23a;
}


/* Arrow */

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}


/* ======================================================
   DROPDOWN MENU
====================================================== */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 18px);
    left: 50%;

    transform: translateX(-50%);

    width: 310px;

    background: #ffffff;

    border-radius: 12px;

    padding: 10px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.18);

    border: 1px solid #e5e7eb;

    display: none;

    z-index: 5000;
}


/* Show dropdown */

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}


/* Dropdown links */

.nav-dropdown-menu a {
    display: block;

    padding: 13px 15px;

    margin: 0 !important;

    border-radius: 8px;

    color: #1f2937;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: #cfa23a;
}


/* Dropdown title */

.nav-dropdown-menu a span {
    display: block;

    font-weight: 600;
}


/* Dropdown description */

.nav-dropdown-menu a small {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    line-height: 1.4;

    color: #6b7280;
}


/* Active service */

.nav-dropdown-menu a.active {
    background: #f8fafc;
    color: #cfa23a;
}

.nav-dropdown.active-parent .nav-dropdown-toggle {
    color: #cfa23a;
    border-bottom: 3px solid #cfa23a;
    padding-bottom: 6px;
}


/* ======================================================
   GET DIAGNOSED BUTTON
====================================================== */

.nav-links .nav-cta {
    margin-left: 5px;

    color: #000;

    border-bottom: none;

    padding: 12px 25px;
}

.nav-links .nav-cta:hover {
    color: #000;
}


/* ======================================================
   HAMBURGER
====================================================== */

.nav-toggle {
    display: none;

    background: none;

    border: none;

    font-size: 28px;

    color: #0f172a;

    cursor: pointer;

    padding: 5px;
}


/* ======================================================
   TABLET / MOBILE
====================================================== */

@media (max-width: 1100px) {

    .nav-toggle {
        display: block;
    }


    /* Mobile navigation panel */

    .nav-links {
        display: none;

        position: fixed;

        top: 120px;
        left: 5vw;

        width: 90vw;

        max-height: calc(100vh - 140px);

        overflow-y: auto;

        background: #ffffff;

        padding: 20px;

        border-radius: 12px;

        box-shadow:
            0 25px 50px rgba(0, 0, 0, 0.25);

        z-index: 2000;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;
    }


    /* JavaScript opens this */

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


    /* Mobile normal links */

    .nav-links > a {
        display: block;

        width: 100%;

        padding: 12px 10px;

        margin: 0;

        border-bottom: 1px solid #f1f1f1;
    }


    .nav-links > a.active {
        border-bottom:
            1px solid #cfa23a;
    }


    /* ==================================================
       MOBILE SERVICES
    ================================================== */

    .nav-dropdown {
        width: 100%;
    }


    .nav-dropdown-toggle {
        width: 100%;

        justify-content: space-between;

        padding: 12px 10px;

        border-bottom: 1px solid #f1f1f1;
    }


    /* Mobile dropdown becomes part of menu */

    .nav-dropdown-menu {
        position: static;

        transform: none;

        width: 100%;

        margin: 5px 0 8px;

        padding: 5px;

        box-shadow: none;

        border: none;

        border-radius: 8px;

        background: #f8fafc;
    }


    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }


    .nav-dropdown-menu a {
        padding: 12px;

        border-bottom: 1px solid #e5e7eb;
    }


    .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }


    /* CTA */

    .nav-links .nav-cta {
        margin-top: 12px;

        text-align: center;

        padding: 12px 20px;
    }

}

/* ======================================================
   BUTTONS
====================================================== */

.btn-gold {
    background: #cfa23a;
    color: #000;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
}

.btn-gold:hover {
    background: #b8922f;
    color: #000;
}

.btn-outline-gold {
    border: 2px solid #cfa23a;
    color: #cfa23a;
    background: transparent;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-outline-gold:hover {
    background: #cfa23a;
    color: #000;
}

/* ======================================================
   HERO
====================================================== */

.hero {
    background: linear-gradient(120deg, #ffffff, #f1f4f9);
    padding: 160px 0 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #0f172a;
}

.hero p {
    max-width: 800px;
    margin: auto;
    color: #4b5563;
    font-size: 1.2rem;
}

/* ======================================================
   SECTIONS
====================================================== */

.section {
    padding: 90px 0;
    background: #ffffff;
}

/* Soft alternating section rhythm */
.section:nth-of-type(even):not(.section-dark) {
    background: #f8fafc;
}

.section:nth-of-type(odd):not(.section-dark) {
    background: #ffffff;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #0f172a;
    position: relative;
    padding: 18px;
}

.section h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #cfa23a;
    display: block;
    margin: 18px auto 0;
    border-radius: 4px;
}

/* Dark authority bands */
.section-dark {
    background: #0f172a;
}

.section-dark h2,
.section-dark p {
    color: #ffffff;
}

/* ======================================================
   CARDS
====================================================== */

.hbs-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    height: 100%;
    transition: 0.3s;
}

.section-dark .hbs-card {
    background: #111827;
    border-color: #1f2937;
    color: #ffffff;
}

/* Headings inside cards */
.hbs-card h5 {
    color: #cfa23a;
    margin-bottom: 12px;
}

/* Hover lift */
.hbs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* ======================================================
   HBS FOOTER
====================================================== */

.hbs-footer {
    background: #0b1220;
    color: #9ca3af;
    padding: 75px 0 25px;
}


/* ======================================================
   FOOTER LOGO
====================================================== */

.footer-logo {
    height: 85px;
    width: auto;

    background: #ffffff;

    padding: 8px 14px;

    border-radius: 8px;

    display: inline-block;

    margin-bottom: 22px;
}


.footer-description {
    max-width: 420px;

    color: #9ca3af;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* ======================================================
   FOOTER HEADINGS
====================================================== */

.footer-title {
    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    margin-bottom: 22px;
}


/* ======================================================
   FOOTER LINKS
====================================================== */

.footer-links {
    list-style: none;

    padding: 0;

    margin: 0;
}


.footer-links li {
    margin-bottom: 11px;
}


.footer-links a {
    color: #9ca3af;

    font-size: 14px;

    transition: all 0.25s ease;
}


.footer-links a:hover {
    color: #cfa23a;

    padding-left: 4px;
}


/* ======================================================
   FOOTER SOCIAL
====================================================== */

.footer-social {
    display: flex;

    align-items: center;

    gap: 10px;
}


.footer-social a {
    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #374151;

    border-radius: 50%;

    color: #d1d5db;

    font-size: 16px;

    transition: all 0.25s ease;
}


.footer-social a:hover {
    background: #cfa23a;

    border-color: #cfa23a;

    color: #000;

    transform: translateY(-3px);
}


/* ======================================================
   FOOTER CONTACT
====================================================== */

.footer-contact {
    margin-top: 25px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-contact a {
    color: #9ca3af;

    font-size: 14px;

    transition: 0.25s ease;
}


.footer-contact a:hover {
    color: #cfa23a;
}


.footer-contact i {
    color: #cfa23a;

    margin-right: 8px;
}


/* ======================================================
   FOOTER DIVIDER
====================================================== */

.footer-divider {
    border-color: #1f2937;

    margin: 50px 0 25px;

    opacity: 1;
}


/* ======================================================
   FOOTER BOTTOM
====================================================== */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 13px;
}


.footer-copyright {
    color: #6b7280;
}


.footer-bottom-links {
    display: flex;

    gap: 20px;
}


.footer-bottom-links a {
    color: #6b7280;

    transition: 0.25s ease;
}


.footer-bottom-links a:hover {
    color: #cfa23a;
}


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

@media (max-width: 767px) {

    .hbs-footer {
        padding: 55px 0 25px;
    }


    .footer-logo {
        height: 75px;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }


    .footer-bottom-links {
        justify-content: center;

        flex-wrap: wrap;
    }

}

/* ======================================================
   DIGITAL SOLUTIONS
====================================================== */

.digital-icon {
    color: #cfa23a;
    font-size: 42px;
    margin-bottom: 15px;
}

.digital-solutions-list {
    padding-left: 20px;
}

.digital-solutions-list li {
    margin-bottom: 8px;
}