/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: #333;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    background-color: #ff6f61;
    border-radius: 5px;
    padding: 5px 10px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
}

.hero h1 {
    font-size: 3em;
}

.hero p {
    font-size: 1.5em;
}

/* About Section */
#about {
    text-align: center;
    padding: 50px;
    background-color: #f4f4f4;
}

/* Services Section */
section {
    padding: 40px;
    text-align: center;
}

section h2 {
    font-size: 2em;
    color: #333;
}

/* Contact Section */
#contact form {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    text-align: left;
}

#contact label {
    margin-top: 10px;
    font-weight: bold;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Body background (applies to the entire page) */
body {
    background-image: url('images/courier\ background\ 3.jpg'); /* Replace 'your-image-name.jpg' with your image file name */
    background-size: cover; /* Ensures the image covers the full screen */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents repeating the image */
}

/* Hero section background */
.hero {
    background-image: url('images/courier\ background\ 3.jpg'); /* Replace with your image name */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 40vh; /* Make the hero section take the full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 206, 8); /* Ensure text is visible */  
}
/* Logo Styling */
.logo {
    position: absolute; /* Ensures the logo stays in a specific position */
    top: 80px; /* Adjust the distance from the top */
    left: 30px; /* Adjust the distance from the left */
    z-index: 1000; /* Ensures the logo stays on top of other elements */
}

.logo img {
    max-width: 120px; /* Adjust the logo size */
    height: auto; /* Maintains the aspect ratio */
}
/* Add a background for the about page */
.about-page {
    background-image: url('images/trucks.jpg'); /* Replace with your image path */
    background-size: cover; /* Make the image cover the entire page */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    height: 100vh; /* Ensure it takes up the full viewport height */
    color: white; /* Set text color to contrast with the background */
    padding: 20px;
}
.about-page {
    background-image: url('images/trucks.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgb(0, 0, 0);
}

.about-page main {
    padding: 20px;
    background: rgba(250, 249, 241, 0.999); /* Semi-transparent background for better readability */
    border-radius: 10px;
    max-width: 700px;
    margin: 20px auto;
}

.about-page h1, 
.about-page h2 {
    text-align: center;
}

.about-page p {
    line-height: 1.6;
    margin-bottom: 20px;
}
/* Hero Section for Contact Page */
.contact-hero {
    background: url('images/warehouse.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Contact Details Section */
.contact-details {
    padding: 40px 20px;
    text-align: center;
}

.contact-details h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

.info-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.info-item p {
    margin: 0;
    font-size: 1rem;
}

.info-item a {
    color: #007bff;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}
/* Hero Section */
.home-hero {
    background: url('images/courier\ background\ 3.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.home-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.home-hero p {
    font-size: 1.5rem;
}

/* Logo Section */
.logo-section {
    position: absolute;
    top: 20px; /* Distance from the top */
    left: 20px; /* Distance from the left */
}

.logo-section img {
    max-width: 150px; /* Adjust size as needed */
    height: auto;
}


/* Services Section */
.services {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.services h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
}

.service-item h3 {
    color: #d32f2f;
    margin-bottom: 10px;
}

.service-item p {
    margin: 0;
}

/* Partnership Section */
.partnership {
    padding: 40px 20px;
    text-align: center;
    background: #f4f4f4;
}

.partnership h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.partnership p {
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 40px;
}
h1 {
    font-size: 4rem; /* Adjust this value to make the text larger or smaller */
    color: #32343e;  /* You can also change the color if you like */
    text-align: center; /* Keeps the text centered, or adjust this as per your design */
}
.logo h1 {
    font-size: 4rem; /* Adjust this to your desired size */
    color: #d32f2f;
    text-align: left; /* Align to the left if you want it at the top left corner */
}
a:hover, button:hover {
    color: #fff; /* Changes text color */
    background-color: #d32f2f; /* Changes background color */
    transform: scale(1.1); /* Slightly enlarge the element */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}
.slider {
    position: relative;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slide 12s infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}
#backToTop {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
}

#backToTop:hover {
    background-color: #c2185b;
}
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Ensure there's no split background for the Contact Us page */
body {
    background: url('') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Additional custom styling for the contact section */
.contact-section {
    background-color: rgba(255, 255, 255, 0.7); /* Optional: If you want a semi-transparent overlay for readability */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style for contact form inputs and buttons */
input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

/* Style for the submit button */
button[type="submit"] {
    background-color: #d32f2f;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #b71c1c;
}
/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 16px; /* Reduced font size */
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
    background-color: #b71c1c;
}

/* Contact Us Button (Submit Button) */
button[type="submit"] {
    background-color: #d32f2f;
    color: #fff;
    cursor: pointer;
    font-size: 14px; /* Reduced font size */
    padding: 8px 15px; /* Adjust padding */
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
}

button[type="submit"]:hover {
    background-color: #b71c1c;
}
/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 8px 12px; /* Reduced padding for smaller button */
    font-size: 14px; /* Reduced font size */
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
}

#backToTop:hover {
    background-color: #b71c1c;
}
/* Contact Us Submit Button */
button[type="submit"] {
    background-color: #d32f2f;
    color: #fff;
    cursor: pointer;
    font-size: 14px; /* Reduced font size */
    padding: 8px 15px; /* Adjusted padding for smaller size */
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: none;
}

button[type="submit"]:hover {
    background-color: #b71c1c;
}
/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

/* Slideshow Images */
.slides {
    display: none;
    position: absolute;
    width: 100%;
    animation: slideIn 1.5s ease-in-out forwards; /* Slide-in animation */
}

/* Active Slide */
.active {
    display: block;
}

/* Navigation Dots */
.dot-container {
    text-align: center;
    position: relative;
    bottom: 20px;
    width: 100%;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 5px;
    display: inline-block;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Slide Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%); /* Start off-screen (left) */
    }
    to {
        transform: translateX(0); /* Slide into view */
    }
}
/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

/* Slides */
.slides {
    display: none;
    position: absolute;
    width: 100%;
    animation: slideIn 1s ease-in-out forwards;
}

/* Active Slide */
.slides.active {
    display: block;
}

/* Navigation Dots */
.dot-container {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}

/* Slide Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%); /* Slide in from left */
    }
    to {
        transform: translateX(0); /* End position */
    }
}
/* About Section */
.about-section {
    background: url('images/trucks.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff; /* Ensure text contrast on the background */
    position: relative;
    z-index: 1;
}

/* Add a dark overlay for readability */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    z-index: -1;
}

.about-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ff6f61;
}

.about-section .intro-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.9); /* Slight transparency for the card background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(33% - 40px); /* Flexible layout for 3 cards in a row */
    min-width: 280px;
    max-width: 350px;
    color: #333;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6f61;
}

.about-card p,
.about-card ul {
    color: #555;
}

/* About Image */
.about-image {
    margin-top: 40px;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .about-card {
        flex: 1 1 100%;
    }
}
/* Change color for "Empire Courier" */
.empire-courier {
    color: #fffffc; /* Gold Yellow */
    font-weight: bold; /* Optional: To make it stand out */
}
/* Instead of fixed widths */
.container {
    width: 100%; /* Full width for small screens */
    max-width: 1200px; /* Limit width for larger screens */
    margin: 0 auto; /* Center content */
}

/* Images */
img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}
/* For tablets and larger screens */
@media (min-width: 768px) {
    .container {
        padding: 20px;
    }
}

/* For desktops */
@media (min-width: 1024px) {
    .container {
        padding: 40px;
    }
}

/* For small screens */
@media (max-width: 767px) {
    nav ul {
        display: block;
    }
    nav ul li {
        margin-bottom: 10px;
    }
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .section {
    flex-direction: column;
  }
}
/* Default for desktop */
body {
  margin: 20px;
  font-size: 18px;
}

/* Adjust for tablets and phones */
@media (max-width: 768px) {
  body {
    margin: 10px;
    font-size: 16px;
  }
  .hero {
    text-align: center;
  }
  nav ul {
    display: block;
  }
}
/* Default logo size for larger screens */
.logo-section img {
    width: auto; /* Or the current size */
    max-width: 100%;
    height: auto;
}

/* Adjust logo size for smaller screens */
@media (max-width: 768px) {
    .logo-section img {
        width: 150px; /* Adjust the size as needed */
        height: auto;
    }
}
/* General styling for the logo */
.logo-section img {
    max-width: 100%; /* Prevents the logo from exceeding the container size */
    height: auto;    /* Maintains the aspect ratio */
    display: block;  /* Centers the logo in the container */
    margin: 0 auto;  /* Optional: Center horizontally */
}

/* For smaller screens (mobile devices) */
@media (max-width: 768px) {
    .logo-section img {
        max-width: 150px; /* Set a specific maximum width for smaller screens */
        height: auto;     /* Ensure aspect ratio is maintained */
    }
}
#tracking {
    padding: 20px;
    background-color: #f1f1f1;
    margin: 20px 0;
    border-radius: 8px;
}

#tracking input, #tracking button {
    padding: 10px;
    margin: 5px;
    font-size: 16px;
}

#tracking-result {
    margin-top: 10px;
    font-size: 18px;
}
/* Modal Styling */
.modal {
    display: flex; /* Make it centered */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    margin: auto;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow-y: auto;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
.about-container {
    max-width: 800px;
    margin: 0 auto; /* Centers the container */
    padding: 20px;
    text-align: center; /* Centers text content */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

@media (max-width: 600px) {
    .about-container {
        padding: 15px; /* Adjust padding for smaller screens */
    }
}
.tracking-container {
    text-align: center; /* Center the button */
    margin-top: 20px; /* Add spacing above the button */
}

.tracking-button {
    background: linear-gradient(to right, #4caf50, #8bc34a); /* Stylish gradient */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px; /* Rounded edges */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.tracking-button:hover {
    background: linear-gradient(to right, #8bc34a, #4caf50); /* Reverse gradient on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}
