* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #01296E;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    height: 70px;
    background: #002454;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 180px;
    height: auto;
    display: block;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.75;
}

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

.finance-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.finance-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.finance-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 36, 84, 0.05),
        rgba(0, 36, 84, 0.50)
    );
}

.finance-hero-content {
    position: absolute;
    left: 7%;
    bottom: 35px;
    z-index: 2;
}

.finance-hero-content h1 {
    margin: 0;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

/* =========================================================
   CONTENT
   ========================================================= */

.finance-content-section {
    width: 100%;
    background: #01296E;
    padding: 25px 0 70px;
}

.finance-content {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
}

.finance-content p {
    margin: 0 0 26px;
    color: white;
    font-size: 15px;
    line-height: 1.65;
}

/* =========================================================
   PARAGRAPH SCROLL TRANSITION
   ========================================================= */

.scroll-bottom {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.scroll-bottom.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.15s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }
.delay-5 { transition-delay: 0.45s; }

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

.footer {
    width: 100%;
    background: linear-gradient(
        to bottom,
        #0a397d,
        #7bb5e6
    );
    padding: 45px 0 35px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer-logo-img {
    width: 170px;
    height: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h4 {
    margin: 0 0 10px;
    color: white;
    font-size: 12px;
}

.footer-column a {
    color: white;
    text-decoration: none;
    font-size: 11px;
}

.footer-column a:hover {
    opacity: 0.75;
}

.footer-socials a {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: white;
    color: #01296E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* =========================================================
   WHATSAPP
   ========================================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 9999;
    transition: transform .2s ease;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

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

@media (max-width: 650px) {

    .navbar {
        height: 55px;
    }

    .container {
        width: 90%;
    }

    .brand-logo {
        width: 105px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        font-size: 8px;
    }

    .finance-hero {
        height: 180px;
    }

    .finance-hero-content {
        left: 7%;
        bottom: 22px;
    }

    .finance-hero-content h1 {
        font-size: 25px;
        line-height: 1.25;
    }

    .finance-content-section {
        padding: 18px 0 50px;
    }

    .finance-content {
        width: 90%;
    }

    .finance-content p {
        font-size: 11px;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .footer {
        padding: 30px 0 25px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
        gap: 10px;
    }

    .footer-logo-img {
        width: 90px;
    }

    .footer-column h4 {
        font-size: 7px;
    }

    .footer-column a {
        font-size: 6px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-bottom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ===== StandardWise Shared Navbar/Footer ===== */

.navbar {
    background: linear-gradient(90deg, #18529e 0%, #062b68 50%, #031b47 100%) !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    height: auto !important;
}

.navbar .container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-link img,
.brand-logo {
    height: 45px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

.navbar nav,
.nav-links {
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500;
}

.navbar nav a,
.nav-links a {
    color: #ffffff !important;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.navbar nav a:hover,
.nav-links a:hover {
    color: #6495ed !important;
}

/* Exact home-page footer styling */
.footer {
    background: linear-gradient(90deg, #18529e 0%, #062b68 50%, #031b47 100%) !important;
    padding: 35px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-container {
    display: flex !important;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo-img {
    height: 30px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

.footer-column h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 11px !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 4px;
}

.footer-column ul li a {
    color: #a0b3ce !important;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 11px !important;
}

.footer-column ul li a:hover {
    color: #ffffff !important;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: #ffffff !important;
    font-size: 15px !important;
    text-decoration: none;
}

.social-icons a:hover {
    color: #6495ed !important;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0 !important;
    }

    .navbar .container,
    .footer .container {
        width: 85%;
    }

    .brand-logo,
    .logo-link img {
        height: 45px !important;
    }

    .nav-links,
    .navbar nav {
        font-size: 14px !important;
        text-align: center;
    }

    .nav-links a,
    .navbar nav a {
        margin: 0 5px;
    }

    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
/* =========================
   NAVBAR DROPDOWN
   ========================= */

.nav-links {
    display: flex !important;
    align-items: center !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.nav-links > a,
.nav-links > a:visited,
.nav-links > a:hover,
.nav-links > a:active {
    color: #ffffff !important;
    text-decoration: none !important;
    margin: 0 10px !important;
}

.nav-separator {
    color: #ffffff !important;
    margin: 0 2px !important;
}


/* SERVICES */

.services-dropdown-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.services-trigger,
.services-trigger:visited,
.services-trigger:hover,
.services-trigger:active {
    color: #ffffff !important;
    text-decoration: none !important;
    margin: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.services-arrow {
    color: #ffffff !important;
    font-size: 10px !important;
    margin-left: 4px !important;
}


/* DROPDOWN BOX */

.services-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 280px !important;

    background: #ffffff !important;
    border: 1px solid #dddddd !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;

    padding: 6px 0 !important;

    display: none !important;
    flex-direction: column !important;

    z-index: 99999 !important;
}


/* HOVER BRIDGE */

.services-dropdown-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}


/* DROPDOWN LINKS */

.nav-links .services-dropdown a,
.nav-links .services-dropdown a:visited {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    padding: 13px 18px !important;
    margin: 0 !important;

    color: #26364a !important;
    background: #ffffff !important;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;

    line-height: 1.4 !important;
    text-decoration: none !important;
}

.nav-links .services-dropdown a:hover {
    color: #002454 !important;
    background: #f2f5f9 !important;
}


/* SHOW DROPDOWN */

.services-dropdown-wrapper:hover .services-dropdown,
.services-dropdown-wrapper:focus-within .services-dropdown {
    display: flex !important;
}
    .social-icons {
        justify-content: center;
    }
}
/* =========================
   SERVICES DROPDOWN
   ========================= */

.services-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}


/* Services link */

.services-trigger,
.services-trigger:visited,
.services-trigger:hover,
.services-trigger:active {
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}


/* Arrow */

.services-arrow {
    color: #ffffff;
    font-size: 10px;
    margin-left: 4px;
}


/* Dropdown */

.services-dropdown {
    position: absolute !important;

    top: calc(100% + 10px) !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    width: 280px !important;

    background: #ffffff !important;

    border: 1px solid #dddddd;

    box-shadow: 0 6px 18px rgba(0,0,0,.18);

    padding: 6px 0;

    display: none !important;

    flex-direction: column;

    z-index: 99999;
}


/* Keep menu open while moving mouse down */

.services-dropdown-wrapper::after {
    content: "";

    position: absolute;

    left: -10px;
    right: -10px;

    top: 100%;

    height: 12px;
}


/* Dropdown links */

.services-dropdown a,
.services-dropdown a:visited {
    display: block !important;

    width: 100% !important;

    padding: 13px 18px !important;

    margin: 0 !important;

    color: #26364a !important;

    background: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 15px !important;

    font-weight: 500 !important;

    line-height: 1.4 !important;

    text-decoration: none !important;

    white-space: normal !important;
}


/* Hover */

.services-dropdown a:hover {
    color: #002454 !important;

    background: #f2f5f9 !important;
}


/* Show */

.services-dropdown-wrapper:hover .services-dropdown,
.services-dropdown-wrapper:focus-within .services-dropdown {
    display: flex !important;
}
