/* ===== Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Body & Footer Flex Layout ===== */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
}

.main-content {
    flex: 1; /* push footer to bottom */
}

.footer {
    background-color: #FF5500;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ===== Top Header ===== */
.top-header {
    background-color: #003366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    flex-wrap: wrap;
}

.logo img {
    height: auto;
    width: auto;
    border-radius: 35px;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.contact-info p {
    font-size: 1.3rem;
    margin: 3px 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===== Navigation Bar ===== */
.navbar {
    background-color: black;
    text-align: left;
    padding-left: 40px;
}

.navbar ul {
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
    margin: 0;
}

.navbar li {
    margin-right: 15px;
    position: relative;
}

.navbar li::after {
    content: "|";
    margin-left: 15px;
    color: white;
}

.navbar li:last-child::after {
    content: "";
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.navbar a.active,
.navbar a:hover {
    color: #00ccff;
}

/* ===== Hero Image ===== */
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Amika:wght@600&display=swap');

/* ===== Logistics Solutions ===== */
.logistics-solutions {
    background-color: rgb(233, 231, 231);
    padding: 60px 50px;
    text-align: center;
}

.logistics-solutions h2 {
    font-family: 'Amika', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: black;
    margin-bottom: 10px;
}

.logistics-solutions h2 .highlight {
    color: #FF5500;
}

.logistics-solutions .subheader {
    font-family: 'Amika', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: black;
    margin-bottom: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

/* ===== Carousel ===== */
.carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 40px 0;
    background: rgb(233, 231, 231);
}

.solutions-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease; 
}

.solution-item {
    flex: 0 0 23.5%;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 15px;
    padding: 18px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-item img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.solution-item h3 {
    font-size: 19px;
    margin: 6px 0;
    text-align: center;
}

.solution-item p {
    font-size: 16px;
    color: #555;
    text-align: left;
    line-height: 1.4;
}

.solution-item:hover {
    transform: scale(1.05);
    border-color: #FF5500;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

@keyframes scrollLoop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel:hover .solutions-track {
    animation-play-state: paused;
}

/* ===== Image Section ===== */
.image-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-section img {
    width: 100%;
    height: auto;
    max-width: 1901px;
    display: block;
}

/* ===== Client Testimonials ===== */
#clients-track .solution-item {
    flex: 0 0 23%;
    background-color: rgb(233, 231, 231);
    border: none;
    border-radius: 15px;
    padding: 20px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#clients-track .solution-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

#clients-track .solution-item .company-title {
    font-family: 'Amika', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
}

#clients-track .solution-item p {
    font-family: 'Amika', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    margin: 4px 0;
    text-align: center;
}

#clients-track .solution-item:hover {
    transform: scale(1.05);
}

/* ===== Logistics Bottom Header ===== */
.logistics-bottom-header {
    margin-top: 50px;
}

.logistics-bottom-header h2 {
    font-family: 'Amika', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: black;
    margin-bottom: 10px;
}

.logistics-bottom-header h2 .highlight {
    color: #FF5500;
}

.logistics-bottom-header .subheader {
    font-family: 'Amika', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: black;
    margin-bottom: 0;
}

/* ===== About Section ===== */
.about-section {
    background-color: rgb(233, 231, 231);
    color: black;
    text-align: center;
    padding: 100px 30px;
}

.about-section h1 {
    font-family: 'Amika', sans-serif;
    font-size: 46px;
    font-weight: 600;
    color: black;
    margin-bottom: 15px;
}

.about-section .divider {
    width: 80px;
    height: 4px;
    background-color: #FF5500;
    margin: 0 auto 28px auto;
    border-radius: 2px;
}

.about-section p {
    font-family: 'Amika', sans-serif;
    font-size: 30px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.highlight {
    color: #FF5500;
}

/* ===== Services Section ===== */
.services-section {
    background-color: rgb(233, 231, 231);
    padding: 70px 24px;
    text-align: center;
}

.services-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-section h2 {
    font-family: 'Amika', sans-serif;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.services-divider {
    width: 64px;
    height: 4px;
    background-color: #FF5500;
    margin: 12px auto 28px;
    border-radius: 2px;
}

.services-intro {
    font-family: 'Amika', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #111;
    max-width: 900px;
    margin: 0 auto 36px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
    padding: 0 10px;
}

.service-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 8px;
    transition: background-color 0.18s ease, transform 0.18s ease;
    border-radius: 8px;
}

.service-item:hover {
    background-color: rgba(255,85,0,0.06);
    transform: translateY(-4px);
}

.service-icon {
    min-width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.service-title {
    font-family: 'Amika', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.service-desc {
    font-family: 'Amika', sans-serif;
    font-size: 15px;
    color: #333;
    margin-top: 4px;
    line-height: 1.4;
}

.service-icon svg {
    width: 60%;
    height: 60%;
}

.header-icon {
    width: 1em;
    height: 1em;
    margin-right: 0.25em;
}

/* ===== Contact Section ===== */
.contact-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 38px;
    color: #333;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 18px;
    color: #555;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background-color: #fafafa;
    border: 2px solid #eee;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #FF5500;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-card p {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
}

.contact-card a {
    color: #FF5500;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-phone {
    text-align: center;
    margin-top: 40px;
}

.contact-phone a {
    font-size: 22px;
    font-weight: bold;
    color: #003366;
    text-decoration: none;
}

.contact-phone a:hover {
    color: #FF5500;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-icon {
        min-width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .services-intro {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    .logo img {
        height: 60px;
        width: auto;
    }
    .contact-info p,
    .contact-info a {
        font-size: 1rem;
    }
    .navbar ul {
        flex-direction: row;
        gap: 10px;
        text-align: center;
    }
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .solution-item {
        flex: 0 0 48%;
    }
    .about-section {
        padding: 60px 20px;
    }
    .about-section h1 {
        font-size: 32px;
    }
    .about-section p {
        font-size: 18px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        font-size: 0.85rem;
        padding: 15px 10px;
    }
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    /* ===== Mobile footer fix ===== */
    html, body {
        height: 100%;
    }

    body {
        display: flex;
        flex-direction: column;
    }

    .main-content {
        flex: 1 0 auto; /* fill remaining space */
    }

    .footer {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }
    .contact-info p,
    .contact-info a {
        font-size: 0.9rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .solution-item {
        flex: 0 0 100%;
    }
    .about-section h1 {
        font-size: 26px;
    }
    .about-section p {
        font-size: 16px;
    }
    .about-section,
    .services-section,
    .contact-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
