/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Global Styles */
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #0056b3;
    transition: all 0.3s ease;
}

a:hover {
    color: #003d7a;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn-home {
    display: inline-block;
    padding: 10px 25px;
    background-color: #d9252a; /* Adjusted red */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background-color: #000000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 37, 42, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2rem;
    color: #1a2b5e; /* Adjusted navy blue */
}

.section-title span {
    color: #d9252a; /* Adjusted red */
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #1a2b5e; /* Adjusted navy blue */
    color: #fff;
    padding: 5px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #fff;
    margin-right: 15px;
    font-size: 0.9rem;
}

.social-icons a {
    color: #fff;
    margin-left: 10px;
    font-size: 0.9rem;
}

.main-header {
    padding: 8px 0; /* Reduced padding */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: auto;
    width: 265px; /* Reduced logo size */
    max-width: 100%;
}

.main-menu {
    margin-left: 10px; /* Further reduced gap */
    flex-grow: 1; /* Let the menu grow to fill space */
    display: flex;
    justify-content: flex-end; /* Align menu to the right */
}

.menu {
    list-style: none;
    display: flex;
}

.menu li {
    position: relative;
}

.menu li a {
    display: block;
    padding: 8px 12px; /* Reduced padding */
    color: #1a2b5e; /* Adjusted navy blue */
    font-weight: 600;
}

.menu li a:hover {
    color: #d9252a; /* Adjusted red */
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    padding: 10px 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.dropdown li a:hover {
    background-color: #f5f5f5;
    color: #d9252a; /* Adjusted red */
}

.mobile-toggle {
    display: none;
    color: #1a2b5e; /* Adjusted navy blue */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgb(106 63 255 / 30%), rgb(0 0 117 / 80%)), url('../images/logistics.jpg');
    background-size: cover;
    background-position: center;
    height: 600px; /* Reduced height */
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero h2 {
    font-size: 2.7rem; /* Smaller heading */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
    padding: 60px 0; /* Reduced padding */
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; /* Reduced gap */
}

.feature-box {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #1a2b5e; /* Adjusted navy blue */
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #d9252a; /* Adjusted red */
}

.feature-icon {
    font-size: 2.5rem; /* Smaller icon */
    color: #d9252a; /* Adjusted red */
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3rem; /* Smaller heading */
    margin-bottom: 12px;
    color: #1a2b5e; /* Adjusted navy blue */
}

/* Services Section */
.services {
    padding: 60px 0; /* Reduced padding */
    background-color: #f5f7fa;
    position: relative;
}

.services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top right, transparent 49%, #fff 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; /* Reduced gap */
}

.service-box {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 180px; /* Reduced height */
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-img:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-content {
    padding: 20px;
}

.service-box h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a2b5e; /* Adjusted navy blue */
}

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: bold;
    color: #d9252a; /* Adjusted red */
}

.read-more:hover {
    color: #b01e23;
}

/* About Section */
.about {
    padding: 60px 0; /* Reduced padding */
    background-color: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reduced gap */
    align-items: center;
}

.about-img {
    height: 350px; /* Reduced height */
    background-image: url('../images/about-us.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.about-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(26, 43, 94, 0.3), rgba(217, 37, 42, 0.3));
}

.about-content h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    color: #1a2b5e; /* Adjusted navy blue */
}

.about-content p {
    margin-bottom: 15px;
}

/* Stats Section */
.stats {
    padding: 60px 0; /* Reduced padding */
    background-image: linear-gradient(rgba(26, 43, 94, 0.9), rgba(26, 43, 94, 0.9)), url('images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.stats:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, #f5f7fa 50%);
}

.stats:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top right, transparent 49%, #f8f8f8 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px; /* Reduced gap */
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-box {
    padding: 15px;
}

.stat-number {
    font-size: 3rem; /* Reduced size */
    font-weight: bold;
    margin-bottom: 8px;
    color: #d9252a; /* Adjusted red */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
}



/* Testimonials Section */
.testimonials {
    padding: 60px 0; /* Reduced padding */
    background-color: #f8f8f8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; /* Reduced gap */
}

.testimonial-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-box:before {
    content: '\201C';
    font-size: 70px; /* Reduced size */
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(26, 43, 94, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 55px; /* Reduced size */
    height: 55px; /* Reduced size */
    border-radius: 50%;
    margin-right: 15px;
    background-size: cover;
    background-position: center;
    border: 3px solid #1a2b5e; /* Adjusted navy blue */
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #1a2b5e; /* Adjusted navy blue */
}

.author-info p {
    font-size: 0.85rem;
    color: #777;
}

/* Contact Section */
.contact {
    padding: 60px 0; /* Reduced padding */
    background-color: #fff;
    position: relative;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Reduced gap */
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a2b5e; /* Adjusted navy blue */
}

.contact-details {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    margin-bottom: 12px;
}

.contact-icon {
    margin-right: 15px;
    color: #d9252a; /* Adjusted red */
    font-size: 1.2rem;
}

.office-hours {
    margin-top: 25px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.office-hours h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a2b5e; /* Adjusted navy blue */
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #d9252a; /* Adjusted red */
    box-shadow: 0 0 5px rgba(217, 37, 42, 0.5);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #1a2b5e; /* Adjusted navy blue */
    color: #fff;
    padding-top: 50px; /* Reduced padding */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px; /* Reduced gap */
    margin-bottom: 25px;
}

.footer-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #d9252a; /* Adjusted red */
}

.footer-box p {
    margin-bottom: 15px;
    color: #ddd;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #ddd;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: #d9252a; /* Adjusted red */
    padding-left: 5px;
}

.footer-social {
    display: flex;
    margin-top: 15px;
}

.footer-social a {
    display: block;
    width: 35px; /* Reduced size */
    height: 35px; /* Reduced size */
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #d9252a; /* Adjusted red */
    transform: translateY(-5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-contact li i {
    margin-right: 10px;
    color: #d9252a; /* Adjusted red */
}

.footer-social-links {
    margin-top: 15px;
    display: block;
}

.footer-social-links a {
    display: block;
    margin-bottom: 8px;
    color: #ddd;
}

.footer-social-links a i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

.footer-social-links a:hover {
    color: #d9252a; /* Adjusted red */
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form input {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.newsletter-form button {
    align-self: flex-start;
}

.copyright {
    text-align: center;
    padding: 15px 0; /* Reduced padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Subpage Styles */
.page-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/src/images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom right, transparent 49%, #fff 50%);
}

.page-title {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.page-content {
    padding: 60px 0;
    background-color: #fff;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #1a2b5e;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #777;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .main-menu {
        order: 3;
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .mobile-toggle {
        display: block;
        order: 2;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .menu.active {
        max-height: 500px;
    }
    
    .menu li a {
        padding: 12px 15px;
        border-bottom: 1px solid #eee;
    }

    .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
    }

    .menu li.active .dropdown {
        max-height: 500px;
    }
    
    .dropdown li a {
        padding-left: 30px;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info, .social-icons {
        margin: 5px 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    .logo {
        width: 140px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .footer-social-links a {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 5px;
    }
}