/* CHANDANA GROUPS - COMMON STYLE Header + Navigation + Footer */
/* ROOT VARIABLES */
:root {
    --dark-blue: #071d49;
    --navy-blue: #102c55;
    --blue: #176dcc;
    --light-blue: #eaf4ff;
    --orange: #f97316;
    --text-dark: #102c55;
    --text-light: #596b82;
    --white: #ffffff;
    --border: #dce5ef;
}

/* GLOBAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* COMMON CONTAINER */
.container {
    width: 100%;
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

/* HEADER */
header {
    border-bottom: 3px solid var(--blue);
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 82px;
    background: #ffffff;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.06);
}

/* NAVBAR */
.site-header .navbar {
    width: 100%;
    height: 82px;
    padding: 0;
}

.header-container {
    width: 100%;
    max-width: 1390px;
    height: 82px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO + COMPANY NAME */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--text-dark);
    text-decoration: none;
}

.header-brand:hover {
    color: var(--text-dark);
}

/* LOGO */
.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

/* COMPANY NAME */
.header-company-name {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* CHANDANA */
.company-blue {
    color: #176dcc;
}

/* GROUPS */
.company-dark {
    color: #17233b;
}

/* NAVIGATION */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    min-height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #102c55;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-links>li>a:hover {
    color: #176dcc;
}

/* ACTIVE CONTACT BUTTON */
.btn-contact-nav {
    min-width: 125px !important;
    height: 48px !important;
    margin-left: 8px;
    padding: 0 22px !important;
    border-radius: 6px;
    background: #176dcc;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow:
        0 5px 15px rgba(23, 109, 204, 0.18);
}

.btn-contact-nav:hover {
    background: #125ba9;
    color: #ffffff !important;
}

/* ACTIVE PAGE */
.nav-links>li>a.active:not(.btn-contact-nav) {
    color: #176dcc;
}

.nav-links>li>a.active:not(.btn-contact-nav)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 3px;
    background: #176dcc;
}

/* DROPDOWN */
.nav-links .dropdown>a {
    gap: 7px;
}

.nav-links .dropdown>a i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    min-width: 245px;
    padding: 10px 0;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e5ebf2;
    border-radius: 7px;
    box-shadow:
        0 10px 30px rgba(16, 44, 85, 0.12);
    display: none;
    z-index: 2000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #102c55;
    font-size: 14px;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f2f7fd;
    color: #176dcc;
}

/* Desktop dropdown */
@media (min-width: 993px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:hover>a i {
        transform: rotate(180deg);
    }
}

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #d7e0eb;
    border-radius: 6px;
    background: #ffffff;
    color: #102c55;
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
.site-footer {
    width: 100%;
    margin: 0;
    padding: 48px 0 0;
    background: #071d49;
    color: #ffffff;
}

/* FOOTER CONTAINER */
.footer-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns:
        1.45fr 0.75fr 1.1fr 1fr;
    gap: 55px;
    align-items: start;
}

/* FOOTER ABOUT */
.footer-about h6,
.site-footer h6 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.footer-about p {
    margin: 0;
    max-width: 390px;
    color: #d5e1f2;
    font-size: 13px;
    line-height: 1.75;
}

/* FOOTER LINKS */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0 0 10px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #d5e1f2;
    font-size: 13px;
    text-decoration: none;
    transition:
        color 0.2s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

/* FOOTER CONTACT */
.site-footer>.footer-container>div>p {
    margin: 0 0 12px;
    color: #d5e1f2;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer p i {
    width: 18px;
    margin-right: 7px;
    color: var(--orange);
    font-size: 13px;
}

.site-footer p a {
    color: #d5e1f2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer p a:hover {
    color: var(--orange);
}

/* FOOTER BOTTOM */
.footer-bottom {
    width: 100%;
    max-width: 1290px;
    margin: 42px auto 0;
    padding: 18px 25px;
    border-top:
        1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom>div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-bottom a {
    color: #d5e1f2;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom span {
    color: #7184a2;
    font-size: 12px;
}

.footer-bottom small {
    margin: 0;
    color: #d5e1f2;
    font-size: 12px;
    white-space: nowrap;
}

/* FOOTER - REMOVE ANY OLD FOOTER LOGO */
.site-footer img {
    max-width: 100%;
}

/* CONTACT PAGE COMMON */
.contact-page {
    background: #ffffff;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1100px) {
    .header-container {
        padding: 0 30px;
    }

    .header-company-name {
        font-size: 20px;
    }

    .header-logo {
        width: 46px;
        height: 46px;
    }

    .nav-links>li>a {
        padding: 0 10px;
        font-size: 14px;
    }

    .btn-contact-nav {
        min-width: 110px !important;
        padding: 0 15px !important;
    }

    .footer-container {
        grid-template-columns:
            1.4fr 0.8fr 1fr 1fr;
        gap: 30px;
    }
}

/* RESPONSIVE - MOBILE / TABLET NAVIGATION */
@media (max-width: 992px) {
    .site-header {
        height: 70px;
    }

    .site-header .navbar {
        height: 70px;
    }

    .header-container {
        height: 70px;
        padding: 0 22px;
    }

    .header-logo {
        width: 43px;
        height: 43px;
    }

    .header-company-name {
        font-size: 19px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 12px 22px 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #ffffff;
        border-top: 1px solid #e8edf3;
        box-shadow:
            0 12px 25px rgba(16, 44, 85, 0.10);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links>li {
        width: 100%;
    }

    .nav-links>li>a {
        width: 100%;
        height: 44px;
        justify-content: flex-start;
        padding: 0 12px;
        border-radius: 5px;
    }

    .nav-links>li>a:hover {
        background: #f4f8fd;
    }

    .nav-links>li>a.active:not(.btn-contact-nav)::after {
        display: none;
    }

    .btn-contact-nav {
        width: fit-content !important;
        min-width: 120px !important;
        margin: 6px 0 0;
        padding: 0 20px !important;
        justify-content: center !important;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 4px 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #f7faff;
    }

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

    .dropdown-menu a {
        padding: 9px 25px;
        font-size: 13px;
    }

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

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 600px) {
    .header-container {
        padding: 0 16px;
    }

    .header-logo {
        width: 40px;
        height: 40px;
    }

    .header-brand {
        gap: 8px;
    }

    .header-company-name {
        font-size: 17px;
        letter-spacing: -0.4px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .nav-links {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* FOOTER */
    .site-footer {
        padding-top: 38px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }

    .footer-about p {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 32px;
        padding: 16px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom>div {
        justify-content: center;
    }

    .footer-bottom small {
        white-space: normal;
    }
}

/* VERY SMALL MOBILE */
@media (max-width: 400px) {
    .header-company-name {
        font-size: 15px;
    }

    .header-logo {
        width: 37px;
        height: 37px;
    }

    .footer-bottom a,
    .footer-bottom span,
    .footer-bottom small {
        font-size: 11px;
    }
}