/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
header {
    background: #0a1f44;
    color: white;
    padding: 15px 40px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-text span {
    font-size: 28px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}
.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    color: white;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #ffcc00;
}

/* HERO */
.hero {
    position: relative;
    height: 80vh;
    background: url("../img/Blog-1-1024x576.jpg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent overlay */
    z-index: 1;
}
.hero > div {
    position: relative;
    z-index: 2; /* make content above the overlay */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px; /* space between logo and text */
    text-align: left;
}

.hero-logo {
    width: 250px; /* adjust size of logo */
    height: auto;
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 20px;
}
.btn {
    background: #ffcc00;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo {
        margin-bottom: 20px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }
}

/* SECTION STYLING */
.section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

/* GRID LAYOUT */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    align-items: stretch; /* ensures all cards same height */
}

/* CARD STYLING */
.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

/* HOVER EFFECT */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #007bff;
}

/* IMAGES */
.card img {
    width: 100%;       /* uniform width */
    height: 100%;      /* uniform height */
    object-fit: cover;  /* crop without stretching */
    border-radius: 12px;
    margin: 0 auto 15px auto; /* center horizontally */
}

/* ICONS */
.card i {
    font-size: 2rem;
    color: #007bff;
    margin: 0 auto 15px auto;
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.2);
}

/* CARD TITLES */
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #007bff;
}

/* CARD TEXT */
.card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* SMALL ARROW ON HOVER */
.card::after {
    content: "➤";
    position: absolute;
    right: 15px;
    bottom: 15px;
    font-size: 1.2rem;
    color: #007bff;
    opacity: 0;
    transition: all 0.3s ease;
}

.card:hover::after {
    opacity: 1;
    transform: translateX(5px);
}


/* FOOTER STYLING */
.footer {
    background-color: #1b1b1b;
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 40px 20px 20px 20px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #007bff;
}

/* Top Section */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    width: 150px;
}

/* Navigation Center */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav li a {
    font-weight: 500;
}

/* Contact Info Right */
.footer-contact p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 8px;
    color: #007bff;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    padding-top: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-social a {
    margin-left: 15px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav ul {
        justify-content: center;
    }

    .footer-contact p {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social a {
        margin-left: 10px;
    }
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: #0a1f44;
        position: absolute;
        top: 80px;
        right: 0;
        width: 200px;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 25px;
    }
}
/* BEST LOGISTICS SECTION */
.best-logistics {
    background: #f9f9f9;
    padding: 70px 40px;
    text-align: center;
}

.best-logistics h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.best-logistics p {
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.best-list {
    list-style: none;
    margin-top: 20px;
}

.best-list li {
    font-size: 18px;
    margin: 10px 0;
}

/* WHY CHOOSE SECTION */
.why-choose {
    padding: 70px 40px;
    text-align: center;
}

.why-choose h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.why-choose p {
    max-width: 800px;
    margin: 0 auto;
}

/* BLACK SERVICES BOXES */
.services-highlight {
    background: #e6e5e5;
    padding: 70px 40px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-box {
    background: black;
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.highlight-box:hover {
    background: #ffcc00;
    color: black;
}

.highlight-box i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* Responsive */
@media(max-width: 900px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* ABOUT US */
/* HERO SECTION FOR ABOUT PAGE */
.about-hero {
    position: relative;
    height: 50vh;
    background: url("../img/Bakkie-1.jpeg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* SECTIONS */
.section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.section p, .section ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.columns {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.column h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.column ul {
    list-style: disc;
    padding-left: 20px;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Page*/
.services-intro {
    padding: 60px 40px;
}

.services-intro-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-image {
    flex: 1;
}

.services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.services-text {
    flex: 1;
}

.services-text h2 {
    margin-bottom: 25px;
    font-size: 28px;
}

.services-text ul {
    list-style: none;
    padding: 0;
}

.services-text ul li {
    margin-bottom: 15px;
    font-size: 16px;
}
.services-text ul li i {
    color: #402de9;   /* change to your brand color */
    margin-right: 10px;
}
@media (max-width: 768px) {

    .services-intro-container {
        flex-direction: column;
        text-align: center;
    }

    .services-image img {
        height: 300px;
    }

}
/* CONTACT PAGE */
.contact-section {
    padding: 80px 40px;
    display: flex;
    justify-content: center;
}

.contact-info-full {
    max-width: 700px;
}

.contact-info-full h2 {
    margin-bottom: 40px;
    text-align: center;
}

.info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-box i {
    font-size: 22px;
    color: #ff6600;
}

.contact-cta {
    margin-top: 40px;
    text-align: center;
}

.quote-btn {
    background: #ff6600;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.quote-btn:hover {
    background: #e65c00;
}

/*ReqQuote*/
.quote-hero {
    background: url("img/Logo-1-300x300.png") center/contain no-repeat;
    background-color: #111;
    height: 60vh;
    position: relative;
}
.quote-section {
    padding: 80px 40px;
    display: flex;
    justify-content: center;
}

.quote-container {
    max-width: 700px;
    width: 100%;
}

.quote-container h2 {
    text-align: center;
    margin-bottom: 40px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.quote-form button {
    background: #ff6600;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.quote-form button:hover {
    background: #e65c00;
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
}


/* Mobile Responsive*/
.menu-toggle {
display:none;
}

@media(max-width:768px){

.menu-toggle{
display:block;
font-size:28px;
color:white;
}

.nav-links{
display:none;
flex-direction:column;
}

.nav-links.active{
display:flex;
}

}

/* Request Quote success message */
.success-message {
    background: #28a745;
    color: white;
    padding: 12px 20px;
    margin-top: 20px;
    border-radius: 6px;
    display: none;
}