﻿/*==================================
    GLOBAL SITE STYLES
==================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand: #198754;
    --brand-dark: #198754;
    --text: #000;
    --muted: #000;
    --line: #fff;
    --soft-bg: #fff;
}

* {
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    padding-top: 67px;
    overflow-x: hidden;
    background: #fff;

}

img {
    max-width: 100%;
    display: block;
}

.page-section {
    padding: 28px 0;
}

/* Shared banner font size only. */
.banner-heading {
    font-size: 34px;
}

.section-title,
.page-section .section-title {
    margin-bottom: 30px;
}

.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    z-index: 9999;
}

.custom-navbar .container,
.custom-navbar .container-fluid {
    width: 100%;
    max-width: 1750px;
    padding-left: 40px;
    padding-right: 40px;
}

.navbar-brand {
    flex-shrink: 0;
}

.navbar-brand img {
    height: 52px;
}

@media (min-width: 1400px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: auto;
    flex-wrap: nowrap;
}

.nav-item {
    white-space: nowrap;
}

.nav-link {
    position: relative;
    color: #000 !important;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    padding: 8px 0 0 !important;
    transition: .3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: .3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Keep the active underline visible for the Technology dropdown as well. */
.nav-link.dropdown-toggle.active::after {
    display: block !important;
}

.proposal-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 14px 30px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: .3s;
}

.proposal-btn:hover {
    background: #198754;
    color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    width: 620px;
    min-width: 620px;
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 20px;
    margin-top: 2px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: block;
    transition: .25s ease;
    z-index: 9999;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #fff;
}

.dropdown-menu .row {
    --bs-gutter-x: 2rem;
}

.dropdown-menu .col-lg-6 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    transition: .3s;
    white-space: nowrap;
}

.dropdown-item i {
    width: 28px;
    font-size: 18px;
    color: var(--brand);
    margin-right: 10px;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: var(--soft-bg);
    color: var(--brand);
    transform: translateX(5px);
}

@media (min-width: 1400px) {
    .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        animation: dropdownFade .25s ease;
    }
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translate(-50%, 12px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.technology-menu {
    left: 50% !important;
    width: 680px;
    min-width: 680px;
    transform: translateX(-50%) !important;
    border: 1px solid #e4eee6;
    border-radius: 16px;
    background: #fff;
}

.technology-menu-header {
    display: block;
    margin: 0 10px 18px;
    padding: 4px 4px 16px;
    border-bottom: 1px solid #e8f0ea;
}

.technology-menu-header span {
    display: block;
    margin-bottom: 5px;
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.technology-menu-header p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.technology-menu .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.technology-menu .dropdown-item>i {
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0 12px 0 0;
    place-items: center;
    border-radius: 9px;
    color: var(--brand-dark);
    background: #eaf7ed;
    font-size: 16px;
}

.technology-menu .dropdown-item:hover {
    border-color: #cce7d3;
    color: var(--brand-dark);
    background: var(--soft-bg);
    transform: translateX(3px);
}

.technology-menu .dropdown-item.active {
    border-color: #cce7d3;
    color: var(--brand-dark);
    background: var(--soft-bg);
}

.technology-menu .dropdown-item:hover>i {
    color: #fff;
    background: var(--brand-dark);
}

.technology-menu .dropdown-item.active>i {
    color: #fff;
    background: var(--brand-dark);
}

.footer-section {
    position: relative;
    background: #0f1720;
    color: #cfd8dc;
    padding: 54px 0 0;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(25, 135, 84, .05);
    top: -220px;
    left: -180px;
}

.footer-section::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .02);
    bottom: -150px;
    right: -150px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 25px;
}

.footer-about {
    position: relative;
    z-index: 2;
}

.footer-about p {
    color: #ffffff;
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transition: .35s;
}

.footer-social a:hover {
    background: var(--brand);
    transform: translateY(-5px);
}

.footer-section h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
}

.footer-section h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 45px;
    height: 3px;
    border-radius: 30px;
    background: var(--brand);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #ffffff;
    transition: .3s;
    display: inline-block;
    font-size: 16px;
}

.footer-links a:hover {
    color: var(--brand);
    transform: translateX(8px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.footer-contact i {
    color: var(--brand);
    font-size: 20px;
    margin-top: 3px;
    min-width: 22px;
}

.footer-contact span,
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    line-height: 1.8;
    transition: .3s;
}

.footer-contact a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    /* margin-top: 70px; */
    padding: 30px 0;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #aab5bb;
    font-size: 14px;
    text-decoration: none;
}

.footer-bottom span {
    margin: 0 0px;
    color: #000;
}

.footer-bottom a:hover {
    color: var(--brand);
}

@media (max-width: 1199px) {
    .custom-navbar {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-nav {
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .custom-navbar {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(8px);
    }

    .navbar-collapse {
        margin-top: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 16px 18px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0 0 10px;
    }

    .nav-link {
        padding: 6px 0 !important;
        font-size: 14px;
    }

    .proposal-btn {
        width: fit-content;
        padding: 12px 24px;
    }

    .dropdown-menu {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .custom-navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        height: 42px;
    }

    .navbar-collapse {
        padding: 14px;
    }

    .proposal-btn {
        width: 100%;
    }

    .footer-section {
        padding-top: 60px;
    }

    .footer-logo {
        height: 60px;
    }

    .footer-section h4 {
        margin-top: 10px;
        font-size: 20px;
    }

    .footer-about {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-contact li {
        gap: 12px;
    }

    .footer-bottom {
        margin-top: 50px;
        padding: 25px 0;
    }
}

@media (max-width: 575px) {
    body {
        padding-top: 70px;
    }

    .custom-navbar .container {
        width: 100vw;
        max-width: none;
        padding-right: 16px;
        padding-left: 16px;
    }

    .navbar-brand {
        max-width: calc(100% - 56px);
    }

    .navbar-brand img {
        height: 42px;
    }

    .navbar-toggler {
        display: block !important;
        flex-shrink: 0;
        margin-left: auto;
    }

    .proposal-btn {
        width: 100%;
    }
}

@media (max-width: 1399px) {
    body {
        padding-top: 74px;
    }

    .custom-navbar {
        padding: 10px 0;
    }

    .custom-navbar .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .navbar-collapse {
        margin-top: 18px;
        background: #fff;
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #efefef;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0 !important;
        white-space: normal;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-top: 8px;
        padding: 10px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        border: 1px solid var(--line);
        border-radius: 10px;
        box-shadow: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu .row {
        --bs-gutter-x: 0;
        row-gap: 10px;
    }

    .dropdown-menu .col-lg-6 {
        width: 100%;
    }

    .dropdown-item {
        white-space: normal;
        padding: 12px;
        transform: none !important;
    }

    .proposal-btn {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }

    .technology-menu {
        min-width: 100% !important;
        border-radius: 12px;
    }

    .technology-menu-header {
        margin: 0 2px 10px;
    }
}

@media (max-width: 1399px) {
    .navbar-toggler {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border-radius: 10px;
    }

    .navbar-toggler:focus-visible {
        outline: 3px solid rgba(25, 135, 84, .35);
        outline-offset: 2px;
    }

    .custom-navbar .navbar-collapse {
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .navbar-expand-xl .navbar-toggler {
        display: block;
    }

    .navbar-expand-xl .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
    }

    .navbar-expand-xl .navbar-collapse.show,
    .navbar-expand-xl .navbar-collapse.collapsing {
        display: block !important;
    }

    body {
        padding-top: 74px;
    }

    .custom-navbar .container-fluid {
        padding-right: 28px;
        padding-left: 28px;
    }

    .navbar-brand img {
        height: 52px;
    }

    .navbar-nav {
        gap: 22px;
    }

    .nav-link {
        font-size: 14px;
    }

    .proposal-btn {
        padding: 12px 22px;
    }
}

@media (max-width: 991px) {
    .footer-section {
        padding-top: 70px;
    }

    .footer-about {
        margin-bottom: 20px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        margin-top: 15px;
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding-top: 50px;
    }

    .footer-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-logo {
        height: 55px;
    }

    .footer-about p {
        font-size: 14px;
    }

    .footer-section h4 {
        font-size: 18px;
    }

    .footer-links a,
    .footer-contact span,
    .footer-contact a {
        font-size: 14px;
    }

    .footer-social a {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 375px) {
    .footer-section h4 {
        font-size: 17px;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-about p {
        font-size: 14px;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
    }
}

/* ==================================
   FOOTER REFINEMENTS
================================== */
.footer-section {
    padding-top: 25px;
    background: linear-gradient(135deg, #0b1611 0%, #10251a 100%);
}

.footer-section .container {
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 64px;
    margin-bottom: 20px;
}

.footer-about p {
    max-width: 390px;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.8;
}

.footer-social {
    gap: 10px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
}

.footer-social a:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 18px rgba(25, 135, 84, .25);
    transform: translateY(-3px);
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 18px;
    letter-spacing: .01em;
}

.footer-section h4::after {
    bottom: -9px;
    width: 36px;
    height: 2px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact span,
.footer-contact a {
    color: #ffffff;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact li {
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    font-size: 18px;
}

.footer-bottom {
    margin-top: 10px;
    padding: 20px 0;
    border-top-color: rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .12);
}

.footer-bottom p,
.footer-bottom a {
    color: #ffffff;
}

.footer-bottom span {
    color: rgba(255, 255, 255, .35);
}

.footer-bottom .footer-powered-label {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-bottom img {
    display: inline-block;
    width: auto;
    height: 25px;
    vertical-align: middle;
}

.footer-section a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .footer-section {
        padding-top: 52px;
    }

    .footer-about p {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-bottom {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {

    .footer-section h4,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-section h4::after {
        right: 0;
        margin: auto;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 575px) {
    .footer-section {
        padding-top: 44px;
    }

    .footer-logo {
        height: 56px;
    }

    .footer-bottom {
        padding: 18px 0;
    }
}

/* Keep long-form copy readable without stretched word spacing. */
body p {
    text-align: left;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

body :is(.text-center, .section-title, .gallery-heading, .testimonial-section-heading) p {
    text-align: center !important;
}

.footer-section p {
    text-align: inherit;
    hyphens: manual;
    text-align: justify;
}

/* Compact mobile header overrides placed last to win against tablet rules. */
@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .custom-navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        height: 42px;
    }
}