﻿/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html, body, form {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

body {
    background: #ffffff;
    overflow-x: hidden;
}

/* ================= TOP BAR ================= */
.top-bar {
    width: 100%;
    background: #0f2a4d;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    font-size: 13px;
    box-sizing: border-box;
}

.top-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

    .top-left span {
        display: inline-flex;
        align-items: center;
    }

.red-icon {
    color: #e60023;
    margin-right: 8px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .top-right a {
        text-decoration: none;
    }

    .top-right i {
        cursor: pointer;
        transition: 0.3s;
    }

        .top-right i:hover {
            opacity: 0.7;
            transform: scale(1.1);
        }

/* ================= NAVBAR ================= */
.navbar {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 24px;
    padding: 14px 50px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
}

/* ================= LOGO ================= */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.company-name {
    font-weight: 700;
    color: #d62828;
    font-size: 17px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: left;
}

/* ================= NAV WRAPPER ================= */
.navbar nav {
    min-width: 0;
    display: flex;
    justify-content: center;
}

/* ================= NAV LINKS ================= */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    min-width: 0;
    flex-wrap: wrap;
}

    .nav-links > li {
        position: relative;
        flex: 0 0 auto;
    }

    .nav-links a {
        text-decoration: none;
        color: #1f2f4a;
        font-weight: 500;
        position: relative;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 0;
        transition: color 0.3s ease;
        white-space: nowrap;
    }

        .nav-links a:hover {
            color: #d62828;
        }

    .nav-links .active {
        color: #d62828;
    }

    .nav-links > li > a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: #d62828;
        left: 0;
        bottom: -6px;
        transition: width 0.3s ease;
    }

    .nav-links > li > a:hover::after,
    .nav-links > li > a.active::after,
    .nav-links > li.dropdown:hover > a::after {
        width: 100%;
    }

/* ================= DROPDOWN ================= */
.dropdown {
    position: relative;
    padding-bottom: 18px;
    margin-bottom: -18px;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0f0f0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 999;
}

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 14px;
        height: 14px;
        background: #ffffff;
        border-left: 1px solid #f0f0f0;
        border-top: 1px solid #f0f0f0;
    }

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

    .dropdown-menu li a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        color: #24344d;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
        transition: all 0.25s ease;
    }

        .dropdown-menu li a::after {
            display: none;
        }

        .dropdown-menu li a:hover {
            background: #f8fafc;
            color: #d62828;
            padding-left: 26px;
        }

    .dropdown-menu li:not(:last-child) a {
        border-bottom: 1px solid #f7f7f7;
    }

/* ================= SEARCH BOX ================= */
.search-box {
    width: 320px;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #d7d7d7;
}

    .search-box input {
        border: none;
        padding: 10px 14px;
        width: 100%;
        outline: none;
        background: transparent;
        font-size: 13px;
        transition: none;
    }

        .search-box input::placeholder {
            color: #999;
        }

        .search-box input:focus {
            width: 100%;
        }

    .search-box button {
        background: #0f2a4d;
        border: none;
        width: 55px;
        min-width: 55px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }

    .search-box i {
        color: #fff;
        font-size: 14px;
    }

    .search-box button:hover {
        background: #0c1f3a;
    }

/* ================= CLIENT SHOWCASE FIX ================= */
/* The .client-showcase-track is max-content wide (~3640px) and
   must be clipped by its parent or it blows out the whole page */
.client-showcase {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1400px) {
    .company-name {
        font-size: 16px;
    }

    .nav-links {
        gap: 22px;
    }

        .nav-links a {
            font-size: 12px;
        }

    .search-box {
        width: 290px;
    }
}

@media (max-width: 1200px) {
    .top-bar {
        padding-left: 30px;
        padding-right: 30px;
    }

    .navbar {
        grid-template-columns: 1fr;
        row-gap: 16px;
        padding: 14px 30px;
    }

        .logo,
        .navbar nav {
            justify-content: center;
        }

    .company-name {
        font-size: 18px;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 18px 24px;
    }

        .nav-links a {
            font-size: 14px;
        }

    .search-box {
        width: 100%;
        max-width: 420px;
        justify-self: center;
    }
}

@media (max-width: 900px) {
    .top-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top-left {
        justify-content: center;
        gap: 12px 18px;
    }

    .top-right {
        justify-content: center;
    }

    .navbar {
        row-gap: 14px;
    }

    .logo {
        justify-content: center;
        text-align: center;
    }

    .company-name {
        white-space: normal;
    }

    .nav-links {
        gap: 14px 18px;
    }

        .nav-links a {
            font-size: 13px;
        }
}

/* ================= MOBILE HEADER / NAV FIX ================= */
@media (max-width: 768px) {
    .top-bar {
        padding: 10px 12px;
        gap: 6px;
    }

    .top-left,
    .top-right {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .top-left {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin-bottom: 2px;
    }

        .top-left span {
            font-size: 11px;
            justify-content: center;
            line-height: 1.4;
        }

    .top-right {
        display: flex;
        justify-content: center;
        gap: 14px;
    }

    .navbar {
        grid-template-columns: 1fr;
        row-gap: 12px;
        padding: 14px 12px 16px;
    }

    .logo {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
        margin-bottom: 2px;
    }

        .logo img {
            height: 48px;
        }

    .company-name {
        font-size: 15px;
        line-height: 1.25;
        text-align: left;
        white-space: normal;
        max-width: 190px;
    }

    .navbar nav {
        width: 100%;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
        width: 100%;
    }

        .nav-links > li {
            margin: 0;
            padding: 0;
        }

        .nav-links a {
            font-size: 11px;
            padding: 4px 0;
            gap: 4px;
        }

        .nav-links > li > a::after {
            bottom: -4px;
        }

    .dropdown {
        padding-bottom: 8px;
        margin-bottom: 0;
    }

    .dropdown-menu {
        min-width: 180px;
        top: calc(100% + 8px);
        border-radius: 10px;
    }

        .dropdown-menu li a {
            font-size: 13px;
            padding: 11px 16px;
        }

    .search-box {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 14px;
    }

        .search-box input {
            height: 42px;
            padding: 0 12px;
            font-size: 13px;
        }

        .search-box button {
            width: 50px;
            min-width: 50px;
            height: 42px;
        }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 8px 10px;
    }

    .top-left {
        gap: 8px 10px;
    }

        .top-left span {
            font-size: 10px;
        }

    .red-icon {
        margin-right: 5px;
    }

    .top-right {
        gap: 12px;
    }

    .navbar {
        padding: 12px 10px 14px;
        row-gap: 10px;
    }

    .logo {
        gap: 8px;
    }

        .logo img {
            height: 42px;
        }

    .company-name {
        font-size: 13px;
        max-width: 165px;
    }

    .nav-links {
        gap: 8px 12px;
    }

        .nav-links a {
            font-size: 10px;
        }

    .dropdown-icon {
        font-size: 9px;
    }

    .dropdown-menu {
        min-width: 165px;
    }

        .dropdown-menu li a {
            font-size: 11px;
            padding: 10px 12px;
        }

    .search-box {
        border-radius: 12px;
    }

        .search-box input {
            height: 40px;
            font-size: 12px;
        }

        .search-box button {
            width: 46px;
            min-width: 46px;
            height: 40px;
        }
}

/* ================= FOOTER WRAPPER ================= */
.site-footer-wrapper,
.site-footer-wrapper * {
    box-sizing: border-box;
}

.site-footer-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-cta,
.footer-cta-overlay,
.site-footer,
.footer-container,
.footer-bottom,
.footer-bottom-container {
    height: auto !important;
    min-height: 0 !important;
}

/* ================= FOOTER CTA ================= */
.footer-cta {
    background: url('../../Images/footer-cta.jpg') center center / cover no-repeat;
    position: relative;
    width: 100%;
    margin: 0;
}

.footer-cta-overlay {
    background: rgba(131, 143, 166, 0.92);
    padding: 22px 40px;
}

.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-cta h2 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    max-width: 700px;
    margin: 0;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e60023;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 22px;
    white-space: nowrap;
    transition: 0.3s ease;
}

    .footer-cta-btn:hover {
        background: #c4001e;
    }

/* ================= MAIN FOOTER ================= */
.site-footer {
    background: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 40px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.1fr;
    gap: 40px;
}

/* ================= BRAND ================= */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

    .footer-logo-wrap img {
        width: 56px;
        height: auto;
        display: block;
    }

.footer-company-name {
    font-size: 19px;
    font-weight: 700;
    color: #e60023;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 18px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

    .footer-socials a {
        width: 38px;
        height: 38px;
        border: 1px solid #d6d6d6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #666666;
        font-size: 16px;
        transition: 0.3s ease;
    }

        .footer-socials a:hover {
            background: #e60023;
            border-color: #e60023;
            color: #ffffff;
        }

/* ================= TITLES ================= */
.footer-col h3 {
    font-size: 19px;
    line-height: 1.2;
    color: #12284c;
    font-weight: 700;
    margin: 0 0 8px;
}

.footer-line {
    display: block;
    width: 38px;
    height: 3px;
    background: #e60023;
    margin-bottom: 14px;
}

/* ================= LINKS ================= */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        text-decoration: none;
        color: #666666;
        font-size: 15px;
        line-height: 1.5;
        transition: 0.3s ease;
    }

        .footer-links a:hover {
            color: #e60023;
        }

/* ================= CONTACT ================= */
.footer-contact p {
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 10px;
}

.footer-contact i {
    color: #e60023;
    margin-right: 10px;
    width: 16px;
}

/* ================= BOTTOM BAR ================= */
.footer-bottom {
    background: #12284c;
    width: 100%;
    margin: 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-bottom span {
    color: #e60023;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-cta-overlay {
        padding: 20px;
    }

    .footer-cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta h2 {
        font-size: 21px;
        max-width: none;
    }

    .footer-cta-btn {
        font-size: 14px;
        padding: 11px 18px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 24px 20px 20px;
        gap: 24px;
    }

    .footer-bottom-container {
        padding: 12px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    left: auto !important;
    top: auto !important;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    z-index: 99999 !important;
    text-decoration: none;
    transition: 0.25s ease;
    animation: whatsapp-pulse 2s infinite;
}

    .whatsapp-float:hover {
        transform: translateY(-4px);
    }

    .whatsapp-float i {
        font-size: 28px;
        color: #fff;
    }

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px !important;
        bottom: 16px !important;
        width: 52px;
        height: 52px;
    }

        .whatsapp-float i {
            font-size: 25px;
        }
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 12px !important;
        bottom: 12px !important;
        width: 48px;
        height: 48px;
    }

        .whatsapp-float i {
            font-size: 23px;
        }
}
