:root {
    --primary-color: #002244;
    /* Dark blue, inspired by the logo/branding */
    --secondary-color: #F8B400;
    /* Yellow/Orange, inspired by accents */
    --text-light: #f8f9fa;
    --text-dark: #343a40;
    --light-grey: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Pilihan font yang lebih modern */
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
    /* Smooth scrolling for navigation links */
}


/* Global Section Styling */

section {
    padding: 80px 0;
    overflow: hidden;
    /* Clear floats */
}

section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.bg-light-custom {
    background-color: var(--light-grey);
}


/* Navbar */

.navbar-custom {
    background-color: var(--primary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1030;
    /* Ensure navbar stays on top */
}

.navbar-custom .navbar-brand {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.navbar-custom .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin-left: 15px;
    transition: color 0.3s ease-in-out;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--secondary-color);
}

.navbar-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */

.hero-section {
    background: linear-gradient(rgba(0, 34, 68, 0.7), rgba(0, 34, 68, 0.7)), url('../img/bg.jpg') no-repeat center center/cover;
    /* Ganti dengan URL gambar hero Anda */
    color: var(--text-light);
    padding: 180px 0 120px;
    /* Adjusted padding for fixed navbar */
    text-align: center;
    min-height: 70vh;
    /* Minimum height for better appearance */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


/* About Us */

.about-us .card {
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
    border-radius: 12px;
}

.about-us .card:hover {
    transform: translateY(-10px);
}

.about-us .card-title {
    font-size: 1.8rem;
    font-weight: 600;
}

.about-us .card-body {
    padding: 30px;
}


/* Why Choose Us */

.why-choose-us .feature-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.why-choose-us .col-md-3:hover .feature-icon {
    transform: scale(1.1);
}

.why-choose-us h4 {
    font-weight: 600;
    margin-top: 15px;
    font-size: 1.5rem;
}

.why-choose-us p {
    font-size: 1.1rem;
}

.why-choose-us .p-4 {
    transition: box-shadow 0.3s ease;
}

.why-choose-us .p-4:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}


/* Our Solutions */

.solution-card {
    border: 1px solid #e0e0e0;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.solution-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.solution-card .icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.solution-card p {
    font-size: 1.1rem;
}


/* Transportation Gallery */

.transportation-gallery img {
    width: 100%;
    height: 250px;
    /* Fixed height for consistent gallery layout */
    object-fit: cover;
    /* Crop images to fit */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transportation-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}


/* Clients */

.client-logo {
    max-height: 120px;
    width: auto;
    margin: 30px auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* Contact Us */

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.5rem;
    vertical-align: middle;
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#map {
    height: 450px;
    width: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    /* Ensure iframe respects border-radius */
}

#map iframe {
    width: 100%;
    height: 100%;
}


/* Footer */

.footer-custom {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer-custom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    text-decoration: underline;
    color: var(--text-light);
}


/* Responsive Adjustments */

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    section h2 {
        font-size: 2.2rem;
    }
    .transportation-gallery img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .navbar-custom .navbar-brand {
        font-size: 1.3rem;
    }
    .hero-section {
        padding: 150px 0 80px;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    section {
        padding: 60px 0;
    }
    section h2 {
        font-size: 2rem;
    }
    .why-choose-us .feature-icon {
        font-size: 3rem;
    }
    .solution-card {
        padding: 25px;
    }
    .solution-card h3 {
        font-size: 1.7rem;
    }
    .solution-card .icon {
        font-size: 3rem;
    }
    .transportation-gallery img {
        height: 180px;
    }
    .client-logo {
        max-height: 80px;
    }
    #map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .navbar-custom .navbar-brand {
        font-size: 1.1rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 0.9rem;
    }
    .hero-section .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .about-us .card-title {
        font-size: 1.5rem;
    }
    .transportation-gallery img {
        height: 150px;
    }
    .contact-info p {
        font-size: 1rem;
    }
    .contact-info i {
        font-size: 1.3rem;
    }
}