/********** Template CSS **********/
:root {
    --primary: #86b916;
    --secondary: #FE8800;
    --light: #F5F5F5;
    --dark: #14141F;

    /* Nav heights */
    --nav-h: 78px;
    --nav-h-m: 70px;

    /* Fluid type scale */
    --fs-xs:   clamp(0.75rem, 1.5vw, 0.875rem);
    --fs-sm:   clamp(0.875rem, 1.8vw, 1rem);
    --fs-base: clamp(1rem, 2vw, 1.125rem);
    --fs-lg:   clamp(1.125rem, 2.5vw, 1.375rem);
    --fs-xl:   clamp(1.375rem, 3vw, 1.75rem);
    --fs-2xl:  clamp(1.75rem, 4vw, 2.3rem);
    --fs-3xl:  clamp(2rem, 5vw, 2.8rem);
    --fs-hero: clamp(1.5rem, 4vw, 2.8rem);

    /* Spacing scale */
    --sp-xs: clamp(0.5rem, 1vw, 0.75rem);
    --sp-sm: clamp(1rem, 2vw, 1.5rem);
    --sp-md: clamp(2rem, 4vw, 3rem);
    --sp-lg: clamp(3rem, 6vw, 5rem);
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

html {
    scroll-behavior: smooth;
}

/* ✅ Push page content below fixed navbar */
body {
    padding-top: var(--nav-h);
}

/* ✅ Prevent section heading hidden under navbar */
section[id],
header[id] {
    scroll-margin-top: 95px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/* ==========================================================
   ✅ NAVBAR (Logo bigger + active underline + always white)
   ========================================================== */
.navbar {
    background: #fff !important;
    z-index: 1050;
}

/* ✅ Logo bigger + no shrinking */
.brand-logo {
    height: 90px;
    /* ✅ bigger */
    width: auto;
    max-width: 320px;
    /* ✅ allow wide logo */
    object-fit: contain;
    transition: .25s;
}

/* Nav link style */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 22px;
    padding: 16px 0;
    color: var(--dark) !important;
    font-size: 17px;
    font-weight: 700;
    outline: none;
    transition: .25s;
}

/* Active + hover color */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Underline effect */
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -2px;
        left: 50%;
        background: var(--primary);
        transition: .25s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    body {
        padding-top: var(--nav-h-m);
    }

    section[id],
    header[id] {
        scroll-margin-top: 90px;
    }

    .brand-logo {
        height: 48px;
        max-width: 260px;
    }

    .navbar-light .navbar-collapse {
        margin-top: 12px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }
}

/* ==========================================================
   ✅ HERO IMAGE SLIDER (Full height under navbar)
   ========================================================== */
.hero-slider {
    margin-bottom: 30px;
    height: calc(80vh - var(--nav-h));
    min-height: 520px;
}

/* Force carousel to inherit height */
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    height: 100%;
}

.hero-slider .carousel-item {
    position: relative;
    overflow: hidden;
}

/* Cover-fit image */
.hero-slider .hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Remove overlay/caption */
.hero-slider .carousel-item::before {
    display: none !important;
}

.hero-slider .carousel-caption {
    display: none !important;
}

/* Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: .85;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    opacity: 1;
}

/* Indicators */
.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Mobile hero sizing */
@media (max-width: 767.98px) {
    .hero-slider {
        height: 72vh;
        min-height: 420px;
    }
}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/*** Destination (Markets) ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}

/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

/* =========================
   CONTACT SECTION (MATCH SCREENSHOT)
   ========================= */

#contact .contact-title {
    font-size: 42px;
    font-weight: 800;
    color: #0b1b2a;
    margin-top: 10px;
}

.contact-col-title {
    font-size: 22px;
    font-weight: 800;
    color: #0b1b2a;
    margin-bottom: 8px;
}

.contact-subtext {
    color: #6b7785;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* LEFT INFO ITEMS */
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 18px 0;
}

.contact-icon-box {
    width: 58px;
    height: 58px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
}

.contact-icon-box i {
    color: #fff;
    font-size: 20px;
}

.contact-info-label {
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info-value {
    color: #6b7785;
    font-size: 14px;
    line-height: 1.45;
}

.contact-info-value a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* MAP CARD */
.contact-card {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
}

.contact-map-wrap {
    width: 100%;
    height: 420px;
    /* screenshot-like */
    background: #f2f2f2;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FORM */
.contact-form-head {
    margin-bottom: 12px;
}

.contact-form .contact-input {
    border: 1px solid #dfe6ee;
    border-radius: 2px;
    padding: 14px 14px;
    font-size: 14px;
    box-shadow: none !important;
}

.contact-form .contact-input:focus {
    border-color: rgba(134, 185, 22, .6);
    outline: 0;
}

.contact-help {
    display: block;
    font-size: 12px;
    color: #6b7785;
    margin-top: 6px;
}

/* GREEN BUTTON LIKE SCREENSHOT */
.contact-submit-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 800;
    padding: 16px 18px;
    border-radius: 2px;
    transition: .2s;
}

.contact-submit-btn:hover {
    filter: brightness(0.95);
    color: #fff;
}

.contact-privacy {
    font-size: 12px;
    color: #6b7785;
    margin: 10px 0 0;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    #contact .contact-title {
        font-size: 34px;
    }

    .contact-map-wrap {
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    #contact .contact-title {
        font-size: 28px;
    }

    .contact-map-wrap {
        height: 300px;
    }
}

/* ==========================================================
   INNER PAGE HERO BANNER
   ========================================================== */
.page-hero-banner {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 0;
}

.page-hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,20,30,0.65) 0%, rgba(134,185,22,0.45) 100%);
    display: flex;
    align-items: center;
}

.page-hero-overlay .container {
    padding-top: 20px;
}

.page-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* BREADCRUMB */
.page-breadcrumb {
    background: transparent;
    padding: 0;
}

.page-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.page-breadcrumb .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

@media (max-width: 767.98px) {
    .page-hero-banner {
        height: 220px;
    }
    .page-hero-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 575.98px) {
    .page-hero-banner {
        height: 180px;
    }
    .page-hero-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================
   GLOBAL RESPONSIVE & W3C ACCESSIBILITY IMPROVEMENTS
   ========================================================== */

/* Base font scaling */
body {
    font-size: var(--fs-base);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* Focus visible — W3C WCAG 2.1 AA */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip to main content link — W3C accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    font-weight: 700;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Visually hidden utility (W3C/WCAG) */
.visually-hidden,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Fluid images */
img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================
   SECTION PADDING — fluid on all screens
   ========================================================== */
.container-fluid.py-5 {
    padding-top: var(--sp-md) !important;
    padding-bottom: var(--sp-md) !important;
}

/* ==========================================================
   TYPOGRAPHY — fluid headings
   ========================================================== */
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }

/* ==========================================================
   NAVBAR — responsive fixes
   ========================================================== */
@media (max-width: 1199.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 14px;
        font-size: 15px;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: var(--nav-h-m);
    }
    section[id],
    header[id] {
        scroll-margin-top: 90px;
    }
    .brand-logo {
        height: 48px;
        max-width: 220px;
    }
    .navbar-light .navbar-collapse {
        margin-top: 12px;
        border-top: 1px solid #DDDDDD;
        padding-bottom: 8px;
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .navbar-light .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        height: 40px;
        max-width: 180px;
    }
}

/* ==========================================================
   HERO SLIDER — responsive
   ========================================================== */
@media (max-width: 991.98px) {
    .hero-slider {
        height: 60vh;
        min-height: 380px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider {
        height: 52vw;
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 55vw;
        min-height: 220px;
    }
}

/* ==========================================================
   ABOUT SECTION — responsive
   ========================================================== */
@media (max-width: 991.98px) {
    #about .position-relative {
        min-height: 300px !important;
    }
    #about .col-lg-6 img.position-absolute {
        position: relative !important;
        width: 100% !important;
        height: 260px !important;
        object-fit: cover;
        border-radius: 4px;
    }
    #about h2 {
        font-size: 1.9rem !important;
    }
}

@media (max-width: 575.98px) {
    #about h2 {
        font-size: 1.5rem !important;
    }
    #about .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================
   SERVICE CARDS — responsive grid
   ========================================================== */
.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item .p-4 {
    flex: 1;
}

@media (max-width: 575.98px) {
    .service-item .p-4 {
        padding: 1rem !important;
    }
    .service-item i.fa-3x {
        font-size: 2rem !important;
    }
}

/* ==========================================================
   FAQ SECTION — responsive
   ========================================================== */
@media (max-width: 991.98px) {
    #faq .col-lg-6:last-child {
        min-height: 300px !important;
    }
    #faq .col-lg-6 img.position-absolute {
        position: relative !important;
        width: 100% !important;
        height: 250px !important;
        object-fit: cover;
        border-radius: 4px;
    }
}

/* ==========================================================
   MARKETS SECTION — responsive
   ========================================================== */
.destination img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .destination .col-lg-7,
    .destination .col-lg-5 {
        min-height: 220px;
    }
}

/* ==========================================================
   CONTACT SECTION — responsive
   ========================================================== */
@media (max-width: 991.98px) {
    .contact-map-wrap {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    #contact .row.g-4 > .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    .contact-map-wrap {
        height: 260px;
    }
}

@media (max-width: 575.98px) {
    .contact-map-wrap {
        height: 220px;
    }
    .contact-input {
        font-size: 16px !important; /* Prevent iOS zoom on focus */
    }
}

/* ==========================================================
   FORM — W3C / Accessibility
   ========================================================== */
.form-label {
    font-weight: 600;
    font-size: var(--fs-sm);
    margin-bottom: 4px;
    color: #333;
}

.contact-input:focus,
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(134,185,22,0.25) !important;
    border-color: var(--primary) !important;
}

/* Error state */
.contact-input:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

/* ==========================================================
   PARTNERS — responsive
   ========================================================== */
@media (max-width: 575.98px) {
    #partners .col-lg-4 img {
        width: 90px !important;
        height: 90px !important;
    }
}

/* ==========================================================
   PAGE HERO BANNER — responsive (inner pages)
   ========================================================== */
@media (max-width: 1199.98px) {
    .page-hero-banner {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .page-hero-banner {
        height: 240px;
    }
    .page-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero-banner {
        height: 200px;
    }
    .page-hero-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .page-hero-banner {
        height: 160px;
    }
    .page-hero-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
}

/* ==========================================================
   FOOTER — responsive
   ========================================================== */
.footer .btn.btn-link {
    font-size: var(--fs-sm);
}

@media (max-width: 767.98px) {
    .footer .row.g-5 > div {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer .row.g-5 > div:last-child {
        border-bottom: none;
    }
}

/* ==========================================================
   BACK TO TOP — responsive positioning
   ========================================================== */
@media (max-width: 575.98px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================
   CTA SECTION — responsive
   ========================================================== */
section[style*="var(--primary)"] h2 {
    font-size: var(--fs-2xl);
}

@media (max-width: 575.98px) {
    section[style*="var(--primary)"] .btn {
        width: 100%;
    }
}

/* ==========================================================
   PRINT STYLES
   ========================================================== */
@media print {
    .navbar, .back-to-top, #spinner, .hero-slider, .page-hero-banner { display: none !important; }
    body { padding-top: 0 !important; font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
    .footer { background: #fff !important; color: #000 !important; }
}