html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    margin: 0;
    padding-top: 80px;

    font-family: 'Roboto', sans-serif;

    background:
        linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
        url('cargo-bg.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* ===== FINAL NAVBAR (MATCH CURRENT DESIGN) ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    padding: 18px 0;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);

    z-index: 9999;
}
.nav a {
    text-decoration: none;
    color: #1f4e79;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
}

.nav a:hover {
    color: #c89b3c;
}

.nav-logo {
    height: 40px;
    margin-right: 40px;
}

/* DROPDOWN */
.dropdown { position: relative; }

.dropdown-content {
    position: absolute;
    top: 26px;
    left: 0;

    background: rgba(255,255,255,0.98);
    border-radius: 12px;
    min-width: 190px;
    padding: 6px 0;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SUB MENU */
.sub-dropdown { position: relative; }

.sub-dropdown-content {
    position: absolute;
    top: 0;
    left: 100%;

    background: white;
    border-radius: 12px;
    min-width: 180px;
    padding: 6px 0;

    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: 0.3s;
}

.sub-dropdown:hover .sub-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-content a,
.sub-dropdown-content a {
    display: block;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1f4e79;
}



/* ===== MODAL BOX ===== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.6);

    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}
.modal-content {
    background: rgba(255,255,255,0.95);
    padding: 25px;

    width: 90%;
    max-width: 420px;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);

    transform: scale(0.9);
    transition: transform 0.3s ease;
}

/* ANIMATION WHEN OPEN */
.modal.show .modal-content {
    transform: scale(1);
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.modal-content textarea {
    resize: none;
}

.submit-btn {
    background: #1f4e79;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #c89b3c;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}

.hamburger {
    display: none;
    position: fixed;
    top: 1px;
    left: 20px;   /* Ã°Å¸â€˜Ë† slightly right from edge */
    font-size: 26px;
    cursor: pointer;
    z-index: 10001;
    color: #1f4e79;
}

/* Contact info alignment */
.info-box {
    line-height: 1.6;
}

.info-title {
    font-weight: 700;
}

.info-value {
    margin-left: 25px;
    margin-top: 6px;

    line-height: 1.6;

    word-break: break-word;
    overflow-wrap: break-word;
}

/* Desktop contact alignment */
.phone-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.phone-number {
    text-decoration: none;
    color: inherit;
}

.wa-icon {
    text-decoration: none;
    font-size: 18px;
}

/* Feature line - desktop clean 2 column */
.feature-line {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Each item */
.feature-line span {
    display: block;
}

/* Phone input layout */
.phone-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#isdCode {

    width: 80px !important;
    min-width: 80px;

    text-align: center;

    background: #f5f5f5;

    font-weight: 600;
    color: #1f4e79;

    border: 1px solid #ccc;
    border-radius: 8px;

    cursor: not-allowed;
}

#phone {
    flex: 1;
}

/* Hide mobile brand bar on desktop */
.mobile-brand-bar {
    display: none;
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {

    /* Moving brand bar */
    .mobile-brand-bar {

        display: flex;

        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 30px;

        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(6px);

        overflow: hidden;

        z-index: 10000;

        align-items: center;
    }

    .mobile-brand-text {

        white-space: nowrap;

        font-size: 13px;
        font-weight: 700;

        color: #c89b3c;

        text-shadow:
            0 0 4px rgba(200,155,60,0.5),
            0 0 8px rgba(200,155,60,0.3);

        padding-left: 100%;

        animation: brandScroll 12s linear infinite;
    }

    @keyframes brandScroll {

        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-140%);
        }
    }

    body {
        padding-top: 30px;
    }

    /* Hamburger */
    .hamburger {
        display: block;
    }

    /* Mobile navbar */
    .nav {

        width: auto;
        min-width: 160px;

        display: none;

        position: absolute;

        top: 60px;
        left: 20px;

        background: white;

        padding: 8px 12px;

        border-radius: 10px;

        box-shadow: 0 10px 25px rgba(0,0,0,0.2);

        flex-direction: column;
        align-items: flex-start;

        gap: 10px;

        z-index: 10000;
    }

    .nav.active {
        display: flex !important;
        position: fixed;
        z-index: 99999;
    }

    .nav a {

        text-decoration: none;
        color: #1f4e79;

        font-size: 18px;
        font-weight: 700;

        letter-spacing: 0.5px;

        font-family: 'Roboto', sans-serif;

        transition: 0.3s;
    }

    /* Main menu font */
    .nav > a,
    .nav > .dropdown > a {
        font-size: 12px !important;
    }

    /* Arrow */
    .nav a .arrow {
        font-size: 7px !important;
        margin-left: 3px;
        position: relative;
        top: -1px;
    }

    /* Dropdown */
    .dropdown-content {

        display: none;

        margin-left: 4px;

        width: auto !important;
        min-width: unset !important;

        background: #ffffff;

        border-radius: 10px;

        padding: 6px 0;

        position: static !important;

        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Sub dropdown */
    .sub-dropdown-content {

        display: none;

        margin-left: 4px;

        width: auto !important;
        min-width: unset !important;

        background: #f9f9f9;

        border-radius: 10px;

        padding: 6px 0;

        position: static !important;

        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .sub-dropdown.active .sub-dropdown-content {
        display: block;
    }

    .dropdown-content a,
    .sub-dropdown-content a,
    .sub-dropdown > a {

        font-size: 12px !important;

        padding: 6px 12px;

        font-weight: 600;

        display: block;

        white-space: normal;
    }

    /* Mobile page logo */
    .page-logo {
        text-align: center;
        margin-top: 100px;
    }

    .page-logo img {
        width: 220px;
        max-width: 100%;
    }

    /* Hero text */
    .brand-title {
        white-space: nowrap;
        font-size: 22.5px !important;
        line-height: 1.2;
    }

    .hero-logo img {
        max-width: 100%;
    }

    .brand-tagline {
        font-size: 14px !important;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Card lists */
    .section .card ul {
        padding-left: 0;
        margin-left: 0;
        list-style: none;
    }

    .section .card li {

        display: flex;

        align-items: flex-start;

        gap: 8px;

        margin-bottom: 10px;

        line-height: 1.6;
    }

    .section .card li::before {

        content: "•";

        font-size: 18px;

        line-height: 1;

        margin-top: 4px;

        flex-shrink: 0;
    }
    .cta-main,
        .mobile-break {
        font-size: 13.5px !important;
    }

}

@media (min-width: 769px) {

    .nav a .arrow {

        display: inline-block;

        font-size: 14px !important;

        transform: scale(0.6);

        margin-left: 2px;

        position: relative;
        top: -2px;
    }

}
