/* General Styles */
body {
    font-family: Arial, sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #d0021b; /* Saudiex Red */
}

a {
    color: #d0021b;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Header Styles */
.navbar-custom {
    background-color: #fff;
    padding: 0;
    width: 100%;
    padding-right: 20px;
}

.navbar-light .navbar-nav .nav-link {
    color: #343a40;
    padding: 10px 15px; /* Add equal padding around menu items */
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #dc3545;
}

.navbar-light .navbar-nav .dropdown-menu {
    background-color: #fff;
}

.navbar-light .navbar-nav .dropdown-item {
    color: #343a40;
}

.navbar-light .navbar-nav .dropdown-item:hover {
    background-color: transparent;
    color: #dc3545;
}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
}
@media (max-width: 767px) {
    .navbar-light .navbar-nav .nav-item.dropdown {
        position: static; /* Ensure dropdown is not positioned relatively */
    }

    .navbar-light .navbar-nav .dropdown-menu {
        background-color: #fff;
        padding-left: 15px; /* Add left padding to create a gap */
        margin-top: 0; /* Ensure no margin at the top */
        border: 0;
    }
}



.navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 30px; /* Set the maximum height for the logo */
    height: auto;
    width: auto; /* Maintain aspect ratio */
    padding-left: 15px;
}


/* Hero Section */
.hero {
    background-color: #f8f9fa;
}

.hero-text h1 {
    font-size: 3rem;
    color: #d0021b;
}

.hero-text p {
    font-size: 1.25rem;
    color: #555;
}

.hero-text .btn {
    margin-top: 10rem;
}

/* Services Section */
.services img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.services h3 {
    margin-top: 1rem;
}

/* Quote Request Section */
.quote-request {
    background-color: #f8f9fa;
}

.quote-request h2 {
    color: #d0021b;
}

/* Tracking Section */
.tracking h2 {
    color: #d0021b;
}

/* Contact Info Section */
.contact-info h2 {
    color: #d0021b;
}

/* Footer Styles */
/* Footer Styles */
footer {
    background-color: black;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #d0021b;
}

/* Increase vertical spacing */
footer ul.list-unstyled li {
    margin-bottom: 15px; /* Adjust the value as needed */
}

footer p {
    margin-bottom: 20px; /* Adjust the value as needed */
}

footer h5 {
    margin-bottom: 20px; /* Adjust the value as needed */
}
.hero-section {
    background: url('../images/home/banner1.jpg') no-repeat center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-height: 2000px; /* Adjust based on your image aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Mobile Tweaks */
@media (max-width: 767px) {
    .hero-section {
        background-size: contain;
        background-position: center top;
        min-height: 60vh; /* Adjust based on your needs */
        height: auto;
        padding-top: 15%;
    }
    
    .track-order-box {
        width: 90%;
        max-width: 400px;
        padding: 15px;
        position: absolute;
        bottom: 20%; /* Position from bottom instead of top */
        left: 50%;
        transform: translateX(-50%);
    }
}

.track-order-box {
    background-color: red;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    width: 100%;
    max-width: 500px;
    position: absolute;
    bottom: 25%; /* Positions box 20% from bottom of hero section */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
@media (max-width: 767px) {
    .track-order-box {
    background-color: red;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    width: 80%;
    max-width: 300px;
    position: absolute;
    bottom: 30%; /* Positions box 20% from bottom of hero section */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
}

/* Rest of your existing track-order-box styles */
.track-order-box input {
    border: 2px solid #ddd;
    border-right: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    flex-grow: 1;
}

.track-order-box button {    
    border: 2px solid #ddd;
    border-left: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #d0021b;
    color: white;
}