
/* ========================================
   TRANSIT ROBAI MONIR
   Main stylesheet
   ======================================== */


/* 1. COLORS AND GLOBAL SETTINGS */

:root {
    --navy: #10243D;
    --navy-light: #193653;
    --orange: #F28C28;
    --orange-dark: #DE7817;

    --white: #FFFFFF;
    --background: #F7F9FC;
    --text: #243449;
    --text-light: #68778B;
    --border: #E5EAF0;

    --container-width: 1120px;
    --header-height: 82px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(
        var(--container-width),
        calc(100% - 48px)
    );
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}


/* 2. BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 50px;
    padding: 12px 24px;

    background: var(--orange);
    color: var(--navy);

    border: 2px solid var(--orange);
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    text-align: center;

    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.btn:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-small {
    min-height: 43px;
    padding: 9px 17px;
    font-size: 13px;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn-light {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    background: #EDF2F7;
    border-color: #EDF2F7;
}


/* 3. HEADER AND NAVIGATION */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: var(--header-height);
    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    height: 100%;
    position: relative;
}


/* Brand */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    display: grid;
    place-items: center;

    width: 43px;
    height: 43px;

    background: var(--navy);
    color: var(--orange);

    border-radius: 7px;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-name {
    display: flex;
    flex-direction: column;
    color: var(--navy);

    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 1.4px;
}

.logo-name strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
}


/* Navigation links */

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    position: relative;

    color: var(--text);
    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--orange);
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--orange-dark);
}

.main-nav a:hover::after {
    width: 100%;
}


/* Header buttons */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-toggle {
    display: grid;
    place-items: center;

    min-width: 38px;
    height: 38px;
    padding: 0 8px;

    background: transparent;
    color: var(--navy);

    border: 1px solid var(--border);
    border-radius: 5px;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
    transition: all 0.2s ease;
}

.language-toggle:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}


/* Mobile menu button */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: 5px;

    cursor: pointer;
}

.menu-toggle span {
    width: 19px;
    height: 2px;

    background: var(--navy);
    border-radius: 2px;

    transition: transform 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* 4. HERO SECTION */

.hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 650px;
    overflow: hidden;

    background-color: var(--navy);

    /*
       Example cargo-port photograph.
       The website can still display its
       dark background if the image fails.
    */
    background-image: url(
        "https://images.unsplash.com/photo-1494412519320-aa613dfb7738?auto=format&fit=crop&w=2000&q=85"
    );

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 27, 47, 0.96) 0%,
        rgba(16, 36, 61, 0.86) 48%,
        rgba(16, 36, 61, 0.42) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;

    padding-top: 90px;
    padding-bottom: 90px;

    color: var(--white);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 17px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 22px;

    color: var(--white);

    font-size: clamp(38px, 5.5vw, 66px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.7px;
}

.hero-description {
    max-width: 610px;
    margin-bottom: 34px;

    color: #E2EAF3;

    font-size: 17px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* 5. SECTION HEADINGS */

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.coverage-content h2 {
    margin-bottom: 18px;

    color: var(--navy);

    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 15px;
}


/* 6. SERVICES */

.services-section {
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    padding: 30px 23px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: rgba(242, 140, 40, 0.5);

    box-shadow: 0 15px 35px rgba(16, 36, 61, 0.08);
}

.service-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;
    margin-bottom: 22px;

    background: #FFF1E2;
    color: var(--orange-dark);

    border-radius: 8px;
}

.service-icon svg {
    width: 29px;
    height: 29px;
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 17px;
    font-weight: 800;
    line-height: 1.45;
}

.service-card p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.9;
}


/* 7. ABOUT SECTION */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.about-visual {
    position: relative;
    min-width: 0;
    padding: 0 28px 28px 0;
}

.about-image-placeholder {
    position: relative;
    display: flex;
    align-items: flex-end;

    min-height: 410px;
    overflow: hidden;

    padding: 30px;

    background-color: var(--navy);

    background-image:
        linear-gradient(
            0deg,
            rgba(10, 27, 47, 0.82),
            rgba(10, 27, 47, 0.08)
        ),
        url(
            "https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1000&q=85"
        );

    background-size: cover;
    background-position: center;

    border-radius: 8px;
}

.about-image-placeholder span {
    position: relative;
    color: var(--white);

    font-size: 24px;
    font-weight: 800;
}

.about-badge {
    position: absolute;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    min-height: 120px;
    padding: 16px;

    background: var(--orange);
    color: var(--navy);

    border: 6px solid var(--white);
    border-radius: 8px;

    text-align: center;
}

.about-badge strong {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
}

.about-badge span {
    font-size: 11px;
    font-weight: 700;
}

.about-content .eyebrow {
    margin-bottom: 15px;
}

.about-content h2 {
    max-width: 540px;
}

.about-content p {
    margin-bottom: 18px;

    color: var(--text-light);
    font-size: 14px;
    line-height: 1.95;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 10px;

    color: var(--orange-dark);
    font-size: 14px;
    font-weight: 800;

    transition: gap 0.2s ease;
}

.text-link:hover {
    gap: 15px;
}


/* 8. COVERAGE SECTION */

.coverage-section {
    position: relative;
    overflow: hidden;

    padding: 85px 0;

    background: var(--navy);
    color: var(--white);
}

.coverage-section::before,
.coverage-section::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;

    pointer-events: none;
}

.coverage-section::before {
    top: -180px;
    right: -80px;
}

.coverage-section::after {
    bottom: -220px;
    left: -100px;
}

.coverage-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.coverage-content .eyebrow {
    margin-bottom: 13px;
}

.coverage-content h2 {
    margin-bottom: 17px;
    color: var(--white);
}

.coverage-content p {
    max-width: 670px;
    margin: 0 auto 28px;

    color: #D4E0EC;
    font-size: 15px;
    line-height: 1.9;
}


/* 9. CONTACT SECTION */

.contact-section {
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contact-card {
    padding: 28px 17px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 36, 61, 0.06);
}

.contact-icon {
    display: grid;
    place-items: center;

    width: 50px;
    height: 50px;
    margin: 0 auto 16px;

    background: #FFF1E2;
    color: var(--orange-dark);

    border-radius: 50%;

    font-size: 21px;
    font-weight: 800;
}

.contact-card h3 {
    margin-bottom: 8px;

    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
}

.contact-card p {
    color: var(--text-light);
    font-size: 12px;
    overflow-wrap: anywhere;
}


/* 10. FOOTER */

.site-footer {
    padding: 35px 0;

    background: #0B1A2C;
    color: #D1DCE8;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-brand {
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-content p {
    font-size: 12px;
}

.copyright {
    color: #AEBBCC;
}


/* 11. TABLET RESPONSIVE DESIGN */

@media (max-width: 1050px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .logo-name {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .logo-name strong {
        font-size: 11px;
    }

    .header-actions {
        gap: 8px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* 12. MOBILE NAVIGATION */

@media (max-width: 780px) {

    :root {
        --header-height: 72px;
    }

    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 72px 0;
    }

    .nav-container {
        gap: 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo-mark {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .logo-name,
    .logo-name strong {
        font-size: 10px;
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: -18px;
        right: -18px;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px 18px 18px;

        background: var(--white);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);

        box-shadow: 0 12px 20px rgba(16, 36, 61, 0.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 8px;
        font-size: 14px;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a:hover {
        background: var(--background);
    }

    .header-actions {
        margin-left: auto;
        gap: 8px;
    }

    .header-actions > .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */

    .hero {
        min-height: 570px;
        background-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(10, 27, 47, 0.96) 0%,
            rgba(16, 36, 61, 0.84) 75%,
            rgba(16, 36, 61, 0.65) 100%
        );
    }

    .hero-content {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 52px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 340px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Section headings */

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .about-content h2,
    .coverage-content h2 {
        font-size: 31px;
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .about-visual {
        max-width: 570px;
    }

    .about-image-placeholder {
        min-height: 340px;
    }

    .about-badge {
        min-width: 130px;
        min-height: 105px;
    }

    .about-badge strong {
        font-size: 30px;
    }

    .coverage-section {
        padding: 70px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* 13. SMALL PHONES */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 30px);
    }

    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px 22px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 14px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .about-image-placeholder {
        min-height: 285px;
        padding: 20px;
    }

    .about-image-placeholder span {
        font-size: 20px;
    }

    .about-visual {
        padding-right: 15px;
        padding-bottom: 22px;
    }

    .about-badge {
        min-width: 115px;
        min-height: 92px;
        border-width: 4px;
    }

    .about-badge strong {
        font-size: 27px;
    }

    .contact-card {
        padding: 24px 16px;
    }

    .footer-content {
        gap: 10px;
    }
}


/* 14. REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}





/* ========================================
   CONTACT LINKS
   ======================================== */

.contact-card .contact-link {
    display: inline-block;
    max-width: 100%;

    color: var(--text-light);
    font-size: 12px;
    line-height: 1.8;

    overflow-wrap: anywhere;
    text-decoration: none;

    transition: color 0.2s ease;
}

.contact-card .contact-link:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.contact-card .contact-link:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
    border-radius: 2px;
}










/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 19px;

    background: #25D366;
    color: #FFFFFF;

    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.floating-whatsapp:hover {
    background: #1EBE5D;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        min-height: 48px;
        padding: 0 15px;
    }
}






/* ========================================
   CLIENT REFERENCES
   ======================================== */

.references-section {
    background: #F7F9FC;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.reference-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 96px;
    padding: 20px 15px;

    background: #FFFFFF;
    color: var(--navy);

    border: 1px solid var(--border);
    border-top: 3px solid var(--orange);
    border-radius: 7px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: 0.2px;
    text-align: center;

    overflow-wrap: anywhere;
    word-break: normal;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.reference-card:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 140, 40, 0.55);

    box-shadow: 0 10px 25px rgba(16, 36, 61, 0.07);
}


/* Tablet */

@media (max-width: 1050px) {
    .references-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Mobile */

@media (max-width: 780px) {
    .references-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .reference-card {
        min-height: 88px;
        padding: 16px 10px;
        font-size: 11px;
    }
}


/* Small phones */

@media (max-width: 380px) {
    .references-grid {
        grid-template-columns: 1fr;
    }
}







/* Services: three columns for the expanded service list */

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-symbol {
    font-size: 27px;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}




/* ========================================
   OFFICIAL COMPANY LOGO
   ======================================== */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

@media (max-width: 780px) {
    .site-logo {
        width: 64px;
        height: 64px;
    }
}
