/* =========================================
   BASE & COLOR SCHEME
   ========================================= */
:root {
    --primary:   #1f425d;
    --secondary: #DBF6FF;
    --text-main: #2AB0DD;
    --text-secondary: #000000;
    --gray-bg:   #f5f5f5;
    --gray-border: #dcdcdc;
    --bg: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.site {
    margin: 0;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    color: var(--text-secondary);
    background: var(--bg);
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 32px;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* =========================================
   HEADER — Two-row layout
   Top bar: white (logo + socials + phone)
   Nav bar: dark navy (navigation)
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ── Top bar (white) ── */
.header-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.header-top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 32px;
}

.site-logo img {
    max-height: 70px;
    display: block;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Social icon squares (teal) */
.header-socials {
    display: flex;
    gap: 6px;
    align-items: center;
}

.header-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2AB0DD;
    color: #ffffff;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.header-socials a:hover {
    background-color: #1f425d;
}

/* Phone pill button (teal) */
.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background-color: #2AB0DD;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 25px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.header-phone-btn:hover {
    background-color: #1f425d;
    color: #ffffff;
}

/* ── Nav bar (dark navy) ── */
.header-nav-bar {
    background: #1f425d;
    position: relative;
}

.header-nav-bar__inner {
    display: flex;
    align-items: center;
    padding: 0 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile logo: hidden on desktop */
.site-logo--mobile {
    display: none;
}

/* Hamburger: hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav {
    width: 100%;
}

.main-nav__menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav__menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

/* Active & Hover */
.main-nav__menu > li:hover > a,
.main-nav__menu > li.active > a {
    background-color: rgba(255,255,255,0.12);
    color: #ffffff;
}

.nav-chevron {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.has-dropdown.is-open > a .nav-chevron {
    transform: rotate(180deg);
}

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

.has-dropdown {
    position: relative;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 200;
}

/* Triangle pointer */
.dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 9px 22px;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
}

.dropdown li a:hover {
    background-color: #1f425d;
    color: #ffffff;
}

/* Mobile toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #2f2f2f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

.scroll-to-top:hover {
    background-color: #29C3D4;
    transform: translateY(-3px);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: #1f425d;
    color: #ffffff;
    padding-top: 50px;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.footer-top {
    padding-bottom: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Column headings */
.footer-top__headings {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Description text */
.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
    padding-right: 20px;
}

/* Inline social icons */
.footer-socials-inline {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 3px;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer-social-icon:hover {
    background-color: rgba(255,255,255,0.18);
    color: #ffffff;
}

/* Navigation links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    border-bottom: 1px dashed rgba(255,255,255,0.25);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.footer-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
}

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

/* Contact info column */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

.footer-contact-info li i {
    margin-top: 2px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
}

.footer-contact-info li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-contact-info li a:hover {
    color: #2b86b7;
}

/* Business hours */
.footer-hours {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Footer bottom bar */
.footer-bottom {
    background-color: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
    font-size: 13px;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.footer-bottom a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #84b30d;
}

/* =========================================
   WHY CHOOSE US SECTION (used on some pages)
   ========================================= */
.why-choose-section {
    background-color: #E4F6FF;
    padding: 60px 0;
    font-family: 'Inter', Arial, sans-serif;
}

.why-title {
    color: #000000;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: #ffffff;
    padding: 35px 20px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.why-card-header {
    border-top: 2px solid #3DBFEA;
    border-bottom: 2px solid #3DBFEA;
    padding: 12px 0;
    margin-bottom: 20px;
}

.why-card-title {
    color: #3DBFEA;
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    text-transform: capitalize;
    text-align: center;
}

.why-card-body p {
    color: #000000;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   SERVICES HEADER
   ========================================= */
.services-header-wrapper {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Inter', Arial, sans-serif;
    width: 100%;
}

.services-main-title {
    color: #000000;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.services-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 15px;
}

.header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.header-star {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.services-subtitle-text {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    white-space: nowrap;
}

/* =========================================
   UTILITIES
   ========================================= */
.text-center   { text-align: center; }
.text-primary  { color: var(--primary) !important; }
.text-white    { color: #ffffff !important; text-decoration: none; }
.text-white:hover { color: #e2e2e2 !important; }

/* =========================================
   RESPONSIVE — TABLET  (≤ 991px)
   ========================================= */
@media (max-width: 991px) {

    /* Hide the white top bar entirely on mobile */
    .header-top-bar {
        display: none;
    }

    /* Nav bar becomes the only header row */
    .header-nav-bar__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
    }

    /* Show mobile logo */
    .site-logo--mobile {
        display: block;
    }

    .site-logo--mobile img {
        max-height: 55px;
    }

    /* Show hamburger */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hamburger → X animation */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Nav hidden by default, expands below */
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1f425d;
        z-index: 999;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav__menu {
        flex-direction: column;
    }

    .main-nav__menu > li > a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 14px;
    }

    /* Mobile dropdown */
    .dropdown {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        padding: 0;
        display: none;
    }

    .has-dropdown:hover .dropdown {
        /* disable hover on mobile */
        display: none;
    }

    .has-dropdown.is-open .dropdown {
        display: block;
    }

    .dropdown::before {
        display: none;
    }

    .dropdown li a {
        color: rgba(255,255,255,0.85);
        padding: 11px 35px;
        font-size: 14px;
    }

    .dropdown li a:hover {
        background-color: rgba(255,255,255,0.08);
        color: #ffffff;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom__inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Why Choose */
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* =========================================
   RESPONSIVE — MOBILE  (≤ 576px)
   ========================================= */
@media (max-width: 576px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col-contact {
        grid-column: auto;
    }

    .footer-desc {
        padding-right: 0;
    }

    .footer-socials-inline {
        justify-content: flex-start;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 25px 20px;
    }

    .services-subtitle-row {
        max-width: 100%;
        padding: 0 20px;
        gap: 10px;
    }

    .services-subtitle-text {
        font-size: 14px;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .why-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .services-main-title {
        font-size: 30px;
    }
}