/* =========================================================
   FONT AWESOME
========================================================= */

.fa-solid,
.fa-regular,
.fa-brands {
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-solid {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

.service-card {
    scroll-margin-top: 125px;
}


/* =========================================================
   GOOGLE FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Signika:wght@500;600;700&family=Open+Sans:wght@400;500;600&display=swap');


/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ff5e00;
    --primary-blue: #36454f;
    --primary-dark: #0f172a;
    --top-bar-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: var(--primary-dark);
    overflow-x: hidden;
    line-height: 1.5;
  
}


/* =========================================================
   HEADER
========================================================= */

body {
    padding-top: 105px;
}

.top-bar {
     min-height: 30px;
}

.main-nav {
    height: 70px;
}

.header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-bottom:0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--top-bar-bg);
    min-height: 50px;
    overflow: hidden;
    font-size: 13px;
    color: #1a1a1a;
    border-top: 3px solid #2e3037;
}


/* =========================================================
   TOP LEFT BADGE
========================================================= */

.top-left-badge {
    background-color: var(--primary-orange);
    color: #ffffff;
    height: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 35px 0 25px;
    font-weight: 600;
    clip-path: polygon(
        0 0,
        100% 0,
        85% 100%,
        0 100%
    );
    white-space: nowrap;
    transition: all 0.3s ease;
}

.top-left-badge i {
    margin-right: 8px;
    font-size: 13px;
}


/* =========================================================
   TOP RIGHT INFORMATION
========================================================= */

.top-right-info {
    display: flex;
    height: 100%;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-left: 1px solid var(--border-color);
    color: #1e293b;
    font-weight: 500;
    white-space: nowrap;
}

.info-item i {
    color: var(--primary-orange);
    margin-right: 8px;
    font-size: 14px;
}

.info-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    color: var(--primary-blue);
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    padding-left: 30px;
    background-color: #ffffff;
    position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}


/* =========================================================
   MAIN NAV LINKS
   IMPORTANT:
   Only direct children get the underline.
   Dropdown links are NOT affected.
========================================================= */

.nav-links > li > a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
}


/* Main navigation hover */
.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary-blue);
}


/* =========================================================
   MAIN NAVIGATION UNDERLINE
   ONLY MAIN NAV LINKS
========================================================= */

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}


/* Show underline only for main nav */

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}


/* =========================================================
   SERVICES DROPDOWN
========================================================= */

.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 10px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   SERVICES DROPDOWN CONTAINER
========================================================= */

.services-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 960px;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.15);
    padding-top: 20px;
    margin-top: 0;
    opacity: 0;
    z-index: 200;
    transition:
        opacity 0.25s ease 0.1s,
        transform 0.25s ease 0.1s,
        visibility 0.25s ease 0.1s;
}


/* =========================================================
   SERVICES DROPDOWN GRID
========================================================= */

.services-dropdown-grid {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.15);
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}


/* =========================================================
   SHOW DROPDOWN ON HOVER
========================================================= */

.nav-item-dropdown:hover .services-dropdown {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* =========================================================
   SERVICE DROPDOWN ITEMS
========================================================= */

.service-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background-color: var(--top-bar-bg);
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 15px;
    position: relative;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   IMPORTANT:
   COMPLETELY REMOVE NAV UNDERLINE FROM DROPDOWN ITEMS
========================================================= */

.service-drop-item::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}


/* Dropdown item hover */
.service-drop-item:hover {
    background-color: #eef2f6;
    transform: translateY(-2px);
}

/* Prevent underline even when dropdown item is active */
.service-drop-item:hover::after,
.service-drop-item.active::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
}


/* =========================================================
   SERVICE DROP ICON
========================================================= */

.service-drop-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--primary-blue);
    color: #ffffff;
    font-size: 15px;
}


/* =========================================================
   TABLET - HIDE DESKTOP DROPDOWN
========================================================= */

@media (max-width: 992px) {
    .services-dropdown {
        display: none !important;
    }
}


/* =========================================================
   RIGHT NAVIGATION
========================================================= */

.nav-right-container {
    display: flex;
    align-items: center;
    height: 100%;
}


/* =========================================================
   PHONE / QUOTE SECTION
========================================================= */

.nav-action {
    display: flex;
    align-items: center;
    background-color: var(--primary-blue);
    height: 100%;
    padding: 0 30px 0 40px;
    gap: 20px;
    clip-path: polygon(
        8px 0,
        100% 0,
        100% 100%,
        0 100%
    );
}


/* =========================================================
   PHONE NUMBER
========================================================= */

.phone-number {
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}


/* =========================================================
   QUOTE BUTTON
========================================================= */

.quote-btn {
    background-color: #ffffff;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quote-btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    z-index: 1001;
}


/* =========================================================
   MOBILE DRAWER OVERLAY
========================================================= */

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   MOBILE DRAWER
========================================================= */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 10000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(
        0.4,
        0,
        0.2,
        1
    );

    padding: 25px 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-drawer.active {
    right: 0;
}

/* =========================================================
   DRAWER HEADER
========================================================= */

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}


/* =========================================================
   DRAWER LOGO
========================================================= */

.drawer-logo-text {
    font-size: 20px;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 10001;
    transition: color 0.2s;
}

.close-drawer-btn:hover {
    color: var(--primary-orange);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background-color: #f1f5f9;
    color: var(--primary-blue);
}


/* =========================================================
   MOBILE SERVICES SUBMENU
========================================================= */

.mobile-nav-links .has-submenu {
    display: flex;
    flex-direction: column;
}

.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-submenu-toggle .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.mobile-submenu-toggle.active .fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-services-submenu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 12px;
    transition: max-height 0.3s ease;
}

.mobile-services-submenu a {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
}


/* =========================================================
   MOBILE CONTACT INFORMATION
========================================================= */

.mobile-contact-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.mobile-info-item i {
    color: var(--primary-orange);
    width: 18px;
    text-align: center;
}


/* =========================================================
   MOBILE QUOTE BUTTON
========================================================= */

.mobile-quote-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(
        27,
        107,
        255,
        0.3
    );
    transition: background-color 0.2s;
}

.mobile-quote-btn:hover {
    background-color: #0052e0;
}


/* =========================================================
   RESPONSIVE NAVBAR
========================================================= */


/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {
    .nav-links {
        gap: 20px;
    }

    .nav-action {
        padding: 0 20px 0 30px;
        gap: 15px;
    }

    .phone-number {
        font-size: 15px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {
    .top-bar {
        font-size: 12px;
    }

    .top-left-badge {
        padding: 0 20px 0 15px;
        clip-path: polygon(
            0 0,
            100% 0,
            88% 100%,
            0 100%
        );
    }

    .info-item {
        padding: 0 12px;
    }

    .main-nav {
        padding-left: 20px;
        height: 65px;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-action {
        padding: 0 20px 0 25px;
        clip-path: polygon(
            12px 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        height: auto;
    }

    .top-left-badge {
        width: 100%;
        justify-content: center;
        clip-path: none;
        padding: 8px 15px;
        min-height: auto;
    }

    .top-right-info {
        width: 100%;
        justify-content: center;
        padding: 6px 0;
        background-color: #e2e8f0;
        overflow-x: auto;
    }

    .info-item {
        border-left: none;
        padding: 0 10px;
        font-size: 11px;
    }

    .info-item:not(:last-child) {
        border-right: 1px solid #cbd5e1;
    }

    .nav-action .phone-number {
        display: none;
    }

    .quote-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
    .top-right-info .info-item:nth-child(1),
    .top-right-info .info-item:nth-child(2) {
        display: none;
    }

    .top-right-info .info-item:nth-child(3) {
        border-right: none;
    }

    .logo-text {
        font-size: 22px;
    }

    .nav-action {
        padding: 0 12px 0 18px;
    }
}


/* =========================================================
   ACTIVE SERVICES DROPDOWN
   Useful if JavaScript adds .active
========================================================= */

.nav-item-dropdown.active .services-dropdown {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.drawer-logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.site-logo-img {
    display: block;
    height: 55px;
    max-height: 80%;
    width: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .site-logo-img {
        height: 46px;
    }
}

.services-dropdown .service-drop-item::after {
    display: none !important;
    content: none !important;
}

.services-dropdown .service-drop-item:hover::after,
.services-dropdown .service-drop-item.active::after {
    display: none !important;
    width: 0 !important;
}

.drawer-logo {
    width: 190px;
    height: 105px;
    display: block;
}

@media (max-width: 768px) {
    .drawer-logo {
        width: 180px;
        height: 75px;
    }
}