/* =====================================================
   JA TRANSPORTATION LTD
   GLOBAL WEBSITE STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #171a21;
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =====================================================
   COLOURS
   ===================================================== */

:root {
    --red: #ed1117;
    --red-dark: #c90d12;
    --black: #101114;
    --dark: #17191d;
    --grey: #666666;
    --light-grey: #f5f5f5;
    --white: #ffffff;
}


/* =====================================================
   TOP BAR
   ===================================================== */

.top-bar {
    background: #101114;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    color: var(--red);
    margin-right: 8px;
}


/* =====================================================
   HEADER
   ===================================================== */

header {
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
}

.nav {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo h2 {
    font-size: 30px;
    font-weight: 800;
    color: #242424;
    line-height: 1;
}

.logo span {
    color: var(--red);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

nav ul li a {
    color: #222222;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--red);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    border: 2px solid var(--red);
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #ffffff;
    color: var(--red);
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
    background: #ffffff;
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.tag {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    color: #15171c;
}

.hero h1 span {
    color: var(--red);
}

.hero-desc {
    margin-top: 25px;
    max-width: 620px;
    color: #444444;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}


/* =====================================================
   PAGE HERO
   ===================================================== */

.page-hero {
    background: var(--black);
    padding: 75px 0;
    text-align: center;
    color: #ffffff;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero p {
    color: #dddddd;
    font-size: 17px;
}


/* =====================================================
   GENERAL SECTIONS
   ===================================================== */

section {
    padding: 80px 0;
}

section h2 {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 45px;
    color: #17191d;
}

section h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--red);
    margin: 12px auto 0;
}


/* =====================================================
   SERVICES
   ===================================================== */

.services {
    background: #f7f7f7;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    color: var(--red);
    font-size: 45px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    color: #666666;
}


/* =====================================================
   WHY CHOOSE US
   ===================================================== */

.why {
    background: #101114;
    color: #ffffff;
}

.why h2 {
    color: #ffffff;
}

.why .cards {
    grid-template-columns: repeat(4, 1fr);
}

.why .card {
    background: transparent;
    box-shadow: none;
    color: #ffffff;
}

.why .card h3 {
    color: #ffffff;
}

.why .card i {
    color: var(--red);
}


/* =====================================================
   CONTENT PAGES
   ===================================================== */

.page-content {
    padding: 80px 0;
    background: #ffffff;
}

.page-content h2 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 20px;
}

.page-content h2::after {
    margin: 10px 0 25px;
}

.page-content h3 {
    font-size: 24px;
    margin: 30px 0 10px;
}

.page-content p {
    color: #555555;
    margin-bottom: 18px;
}

.page-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 25px;
}

.page-content li {
    margin-bottom: 8px;
}


/* =====================================================
   PRICING
   ===================================================== */

.pricing {
    background: #f7f7f7;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.price-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-top: 4px solid var(--red);
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price-card .price {
    color: var(--red);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.price-card ul {
    text-align: left;
    margin: 20px 0;
}

.price-card li {
    padding: 7px 0;
}


/* =====================================================
   QUOTE SECTION
   ===================================================== */

.quote {
    background: #f7f7f7;
}

.quote form {
    max-width: 800px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.quote input,
.quote select,
.quote textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
}

.quote textarea {
    min-height: 140px;
    resize: vertical;
}

.quote button {
    width: 100%;
    border: none;
    background: var(--red);
    color: #ffffff;
    padding: 16px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}


/* =====================================================
   FAQ
   ===================================================== */

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 4px solid var(--red);
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 5px;
}

.faq-item h3 {
    color: #17191d;
    font-size: 19px;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666666;
}


/* =====================================================
   GALLERY
   ===================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}


/* =====================================================
   REVIEWS
   ===================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    background: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
}

.stars {
    color: #f5b400;
    margin-bottom: 15px;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-box {
    padding: 30px;
    background: #f7f7f7;
    border-left: 4px solid var(--red);
    margin-bottom: 20px;
}

.contact-box i {
    color: var(--red);
    margin-right: 10px;
}


/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: #101114;
    color: #ffffff;
    padding: 55px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

footer h3 {
    margin-bottom: 15px;
}

footer p {
    color: #cccccc;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #cccccc;
}

footer ul li a:hover {
    color: var(--red);
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 35px;
    padding-top: 20px;
    text-align: center;
    color: #aaaaaa;
    font-size: 14px;
}


/* =====================================================
   WHATSAPP BUTTON
   ===================================================== */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}


/* =====================================================
   BACK TO TOP
   ===================================================== */

#topBtn {
    position: fixed;
    bottom: 95px;
    right: 27px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    cursor: pointer;
    display: none;
    z-index: 998;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 900px) {

    .nav {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 0;
    }

    nav ul.active {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }

    .cards,
    .why .cards,
    .pricing-grid,
    .gallery-grid,
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .logo h2 {
        font-size: 22px;
    }

    .nav > .btn {
        display: none;
    }

    section {
        padding: 55px 0;
    }

    .hero {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cards,
    .why .cards,
    .pricing-grid,
    .gallery-grid,
    .reviews-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 36px;
    }

}

/* =========================================================
   JA TRANSPORTATION LTD - QUOTE FORM
   Use on Home, Contact and all other pages
   ========================================================= */

.quote {
    background: #f7f7f7;
    padding: 80px 20px;
}

.quote .container {
    max-width: 1100px;
    margin: 0 auto;
}

.quote h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 50px;
    position: relative;
}

.quote h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #ed1c24;
    margin: 15px auto 0;
}

.quote-form,
#quoteForm {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.quote-form p,
#quoteForm p {
    margin-bottom: 25px;
    color: #555;
    font-size: 16px;
}

/* Form rows */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Labels */

.quote-form label,
#quoteForm label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

/* Inputs */

.quote-form input,
.quote-form select,
.quote-form textarea,
#quoteForm input,
#quoteForm select,
#quoteForm textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

/* Focus */

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
#quoteForm input:focus,
#quoteForm select:focus,
#quoteForm textarea:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.08);
}

/* Textarea */

.quote-form textarea,
#quoteForm textarea {
    min-height: 130px;
    resize: vertical;
}

/* Full width fields */

.form-group {
    margin-bottom: 20px;
}

/* WhatsApp button */

.quote-form button,
#quoteForm button {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 16px 25px;
    background: #ed1c24;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.quote-form button:hover,
#quoteForm button:hover {
    background: #c9141b;
    transform: translateY(-1px);
}

/* WhatsApp icon */

.quote-form button i,
#quoteForm button i {
    margin-right: 8px;
}

/* Mobile */

@media (max-width: 700px) {

    .quote {
        padding: 55px 15px;
    }

    .quote h2 {
        font-size: 30px;
    }

    .quote-form,
    #quoteForm {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 18px;
    }

}

/* =================================
   MOBILE MENU
================================= */

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #222;
    padding: 10px;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    header .nav {
        position: relative;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 9999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 10px 0;
        list-style: none;
    }

    nav ul li {
        width: 100%;
        margin: 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px 25px;
        text-decoration: none;
    }

    header .btn {
        display: none;
    }

}

/* =========================================
   MOBILE HEADER / HAMBURGER MENU
========================================= */

.menu-toggle {
    display: none !important;
    border: none;
    background: transparent;
    color: #222222;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .site-header {
        width: 100%;
        background: #ffffff;
        position: relative;
        z-index: 9999;
    }

    .site-header .nav {
        min-height: 78px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 0 17px;
    }

    /* LOGO */

    .site-header .logo {
        display: block;
        text-decoration: none;
        margin: 0;
    }

    .site-header .logo h2 {
        font-size: 21px;
        margin: 0;
        white-space: nowrap;
    }

    /* HAMBURGER */

    .site-header .menu-toggle {
        display: block !important;
        width: 45px;
        height: 45px;
        padding: 0;
        margin-left: auto;
        margin-right: 5px;

        background: #ffffff;
        color: #222222;

        border: none;
        cursor: pointer;

        font-size: 25px;

        position: relative;
        z-index: 10001;
    }

    .site-header .menu-toggle i {
        display: block;
    }

    /* HIDE DESKTOP QUOTE BUTTON */

    .site-header .header-quote {
        display: none !important;
    }

    /* NAVIGATION */

    .site-header .main-nav {
        display: none !important;

        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;

        background: #ffffff;

        box-shadow: 0 5px 15px rgba(0,0,0,0.15);

        z-index: 10000;
    }

    /* WHEN MENU IS OPEN */

    .site-header .main-nav.active {
        display: block !important;
    }

    .site-header .main-nav ul {
        display: flex;
        flex-direction: column;

        width: 100%;

        margin: 0;
        padding: 10px 0;

        list-style: none;
    }

    .site-header .main-nav ul li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-header .main-nav ul li a {
        display: block;

        width: 100%;

        padding: 15px 20px;

        color: #222222;

        text-decoration: none;

        font-size: 16px;
        font-weight: 600;
    }

    .site-header .main-nav ul li a:hover {
        color: #e30613;
        background: #f8f8f8;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .site-header .logo h2 {
        font-size: 18px;
    }

    .site-header .menu-toggle {
        font-size: 23px;
        width: 40px;
    }

}

/* =========================
   GALLERY
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile */
@media (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item {
        height: 240px;
    }

}