/* Base & Color Scheme */
:root {
    --primary: #0D8EDA;
    --secondary: #DEF3FF;
    --text-main: #059EFF;
    --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: 10 32px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--gray-bg);
    border-bottom: 1px solid var(--gray-border);
    padding: 10px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
}

.top-bar__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
}

.phone-icon {
    width: 24px;
    height: 24px;
    color: #07669C;
}

.phone-label {
    color: #07669C;
}

.phone-number {
    color: var(--text-secondary);
}

/* --- Social Styles --- */
.top-bar__socials {
    display: flex;
    align-items: center;
}

.social-label {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 12px;
}

.top-bar__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    padding: 0 12px;
    height: 20px;
    border-left: 1px solid var(--gray-border);
    transition: color 0.3s ease, transform 0.2s ease;
}

.top-bar__socials a:last-child {
    border-right: 1px solid var(--gray-border);
}

.top-bar__socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.top-bar__socials svg {
    width: 18px;
    height: 18px;
}

/* --- Main Header & Navigation --- */
.site-header {
    display: contents;
}

.main-header {
    background: #09669c;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.site-logo {
    display: block;
    padding: 15px 0;
}

.site-logo img {
    height: 60px;
}

.main-nav__menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
}

.main-nav__menu>li>a {
    display: flex;
    align-items: center;
    padding: 30px 20px;
    color: #ffffff;
}

.arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 3px;
}

.main-nav__menu>li:hover>a,
.main-nav__menu>li.active>a {
    background-color: #0a8eda;
    color: #ffffff;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.has-dropdown:hover .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--gray-border);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* =========================================
   FOOTER STYLES
   ========================================= */

/* --- Top CTA Bar --- */
.footer-cta {
    background-color: #0c0c0c;
    color: #ffffff;
    font-size: 20px;
}

.footer-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    /* aligns with container */
    padding-right: 0;
    /* lets the blue button touch the edge */
}

.footer-cta__text .text-primary {
    color: var(--primary);
    font-weight: 700;
}

/* The Blue Slanted Button */
.footer-cta__button-wrapper {
    background-color: #078ad6 !important;
    padding: 20px 40px 20px 60px;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.footer-cta__button {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    display: block;
}

/* --- Main Footer (Blue Area) --- */
.site-footer {
    background-color: #0587d2;
    color: #ffffff;
    padding-top: 60px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Contact List */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact-list svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* Social Boxes */
.footer-social-boxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-box {
    display: inline-flex;
    width: max-content;
    min-width: 150px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.social-box:hover {
    transform: translateX(5px);
}

.social-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.social-box .icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.social-box .text {
    background-color: #111111;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-grow: 1;
}

/* Specific Social Colors */
.fb-box .icon {
    background-color: #3b5998;
}

.ig-box .icon {
    background-color: #e4405f;
}

.yt-box .icon {
    background-color: #cd201f;
}

/* Links Column */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Facebook Widget Placeholder */
.fb-widget-container {
    background: #ffffff;
    padding: 5px;
    border-radius: 3px;
    min-height: 150px;
}

/* --- Skyline graphic & Bottom Bar --- */
.footer-skyline {
    width: 100%;
    height: 80px;
    /* Adjust based on your actual image height */
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: contain;
    /* Important: Put a skyline.png in your public/img folder */
}

.footer-bottom {
    background-color: #000000;
    color: #a0a0a0;
    padding: 20px 0;
    font-size: 13px;
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-primary {
    color: var(--primary) !important;
}

/* --- Scroll To Top Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: #000000;
    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: #0482d6;
    /* Slightly darker blue */
    transform: translateY(-3px);
     color: #ffffff;
}

/* --- Responsive Layout (Mobile & Tablet) --- */
@media (max-width: 991px) {

    /* Header Responsive (Kept from before) */
    .top-bar__inner {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 15px 10px;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: #4a4a4a;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
    }

    .top-bar__phone {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        font-size: 20px;
    }

    .top-bar__socials {
        grid-column: 2;
        grid-row: 2;
        justify-content: center;
        border-top: 1px solid var(--gray-border);
        padding-top: 10px;
    }

    .top-bar__socials a {
        border-left: none;
    }

    .top-bar__socials a:last-child {
        border-right: none;
    }

    .main-header__inner {
        flex-direction: column;
    }

    .site-logo {
        padding: 20px 0;
        text-align: center;
    }

    .site-logo img {
        margin: 0 auto;
    }

    .main-nav {
        width: 100%;
        display: none;
        border-top: 1px solid var(--gray-border);
    }

    .main-nav.nav-open {
        display: block;
    }

    .main-nav__menu {
        flex-direction: column;
    }

    .main-nav__menu>li>a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--gray-border);
    }

    .dropdown {
        position: static;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        display: none;
        background: var(--gray-bg);
    }

    .has-dropdown:hover .dropdown {
        display: block;
    }

    .dropdown li a {
        padding-left: 40px;
    }

    /* Footer Responsive */
    .footer-cta__inner {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }

    .footer-cta__text {
        padding: 20px 15px;
    }

    .footer-cta__button-wrapper {
        width: 100%;
        clip-path: none;
        padding: 20px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-social-boxes {
        align-items: center;
    }

    .footer-bottom__inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}