body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5; /* Light grey background for better contrast */
    color: #333; /* Dark text for readability */
}

header {
    background-color: #fff; /* White background for the header */
    color: #ff8c00; /* Orange text color */
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for header */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.company-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    max-height: 80px;
    margin-right: 20px;
}

.company-name {
    background-color: #fff; /* White background */
    padding: 0.5rem 0;
}

.company-name h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 300;
    color: #ff8c00; /* Orange color for the company name */
}

nav {
    background-color: #ff8c00; /* Orange background for the navigation */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff; /* White text color */
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #ff7043; /* Lighter orange for hover effect */
    color: #fff; /* White color for text on hover */
    border-radius: 5px; /* Rounded corners for the hover effect */
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.slide img {
    width: 100%;
    vertical-align: middle;
}

.slide::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.5) 0%, rgba(255, 140, 0, 0.5) 100%); /* Gradient with orange shades */
    opacity: 0.5;
}

.footer {
    background-color: #1e90ff; /* Blue for the footer */
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for footer */
}

.footer p {
    margin: 0;
    font-size: 1rem;
}

main {
    padding: 2rem;
    text-align: center;
}

main h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff8c00; /* Dominant orange for headings */
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid #ff8c00; /* Orange border for the form */
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #ff8c00; /* Orange for form labels */
}

form input, form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

form input[type="submit"] {
    background-color: #ff8c00; /* Orange for submit button */
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

form input[type="submit"]:hover {
    background-color: #ff7043; /* Lighter orange for hover effect */
}

@media (max-width: 768px) {
    .company-header {
        flex-direction: column;
    }

    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        font-size: 1rem;
    }
}
.footer {
    background-color: #1e90ff; /* Blue for the footer */
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for footer */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-info {
    text-align: left;
    max-width: 400px;
}

.footer-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-info {
        text-align: center;
        max-width: 100%;
    }
}
/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 20px; /* Add spacing between menu items */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff; /* White background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow */
    border-radius: 4px; /* Rounded corners */
    z-index: 1;
    min-width: 160px; /* Adjust width as needed */
    padding: 8px 0; /* Padding inside the dropdown */
    overflow: hidden; /* Hide overflow content */
    transition: all 0.3s ease; /* Smooth transition */
    font-family: Arial, sans-serif; /* Set font family */
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease; /* Smooth background transition */
    font-size: 14px; /* Font size */
}

.dropdown-content a:hover {
    background-color: #1e90ff; /* #f1f1f1; Light gray background on hover */
    color: #ff8c00; /* Darker text color on hover */
}

.dropdown:hover .dropdown-content {
    display: block; /* Show dropdown on hover */
}



/*
Add the following information on the footer:
Registered Address:
Building : SUCCESS HOUSE
Street/Road : MOI AVENUE City/Town : NA
County : Mombasa District : Mombasa North District
P. O. Box : 83714 Postal Code : 80100
info@telefastlogistics.com,

Let about.html, contact.html, location.html and services.html header and footer appear like the index.html
*/