css
/* =========================================================
   ROYSON LOGISTICS LLC
   Main Website Styles
   ========================================================= */


/* =========================
   1. RESET & BASE
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f7fa;
    color: #172033;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   2. GLOBAL BUTTONS
   ========================= */

.primary-button {
    display: inline-block;
    padding: 14px 28px;
    background: #1769aa;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.primary-button:hover {
    background: #0d4f85;
    transform: translateY(-2px);
}

.secondary-button {
    display: inline-block;
    padding: 13px 27px;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s ease;
}

.secondary-button:hover {
    background: #ffffff;
    color: #172033;
}

.text-button {
    display: inline-block;
    margin-top: 15px;
    color: #1769aa;
    font-weight: 700;
}

.text-button:hover {
    color: #0d4f85;
}


/* =========================
   3. HEADER
   ========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(9, 25, 42, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo span {
    color: #4da3df;
}


/* Navigation */

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #dbe8f3;
    font-size: 0.95rem;
    font-weight: 600;

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #4da3df;
}

.nav-button {
    padding: 11px 19px;

    background: #1769aa;
    color: #ffffff;

    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav-button:hover {
    background: #0d4f85;
}


/* =========================
   4. HERO
   ========================= */

.hero {
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    background-image: url("./image/WhatsApp Image 2025-06-09 at 12.51.40 PM.jpeg");
    background-size: cover;
    background-position: center;

    color: #ffffff;
}

.hero-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(5, 18, 31, 0.92),
            rgba(5, 18, 31, 0.60),
            rgba(5, 18, 31, 0.30)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;

    max-width: 850px;

    margin-left: auto;
    margin-right: auto;
}

.hero-small-title {
    color: #5eb2e5;

    font-size: 0.9rem;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 1.05;

    font-weight: 800;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #5eb2e5;
}

.hero-description {
    max-width: 680px;

    color: #e3edf5;

    font-size: 1.15rem;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    flex-wrap: wrap;
}


/* =========================
   5. TRUST BAR
   ========================= */

.trust-bar {
    background: #ffffff;

    border-bottom: 1px solid #e5e9ef;
}

.trust-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 30px 0;
}

.trust-item {
    padding: 5px 25px;

    border-right: 1px solid #e1e6eb;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item strong {
    display: block;

    color: #172033;

    font-size: 1rem;

    margin-bottom: 4px;
}

.trust-item span {
    color: #6d7885;

    font-size: 0.85rem;
}


/* =========================
   6. GENERAL SECTIONS
   ========================= */

.section {
    padding: 100px 0;
}

.section-label {
    color: #1769aa;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2,
.section-content h2,
.service-area h2,
.quote-text h2,
.contact-info h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);

    line-height: 1.15;

    color: #172033;

    margin-bottom: 18px;
}

.section-heading h2 span,
.section-content h2 span,
.service-area h2 span,
.quote-text h2 span,
.contact-info h2 span {
    color: #1769aa;
}

.section-heading > p:last-child {
    color: #687585;

    font-size: 1rem;
}


/* =========================
   7. ABOUT
   ========================= */

.about-section {
    background: #ffffff;
}

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.section-image {
    overflow: hidden;

    border-radius: 8px;

    box-shadow: 0 20px 50px rgba(17, 35, 55, 0.15);
}

.section-image img {
    height: 450px;

    object-fit: cover;
}

.section-content > p:not(.section-label) {
    color: #657181;

    margin-bottom: 15px;
}


/* =========================
   8. SERVICES
   ========================= */

.services-section {
    background: #f5f7fa;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.service-card {
    background: #ffffff;

    padding: 35px 30px;

    border: 1px solid #e6ebf0;

    border-radius: 8px;

    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(21, 45, 70, 0.10);

    border-color: #c9ddeb;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf4fb;

    border-radius: 7px;

    font-size: 1.5rem;

    margin-bottom: 22px;
}

.service-card h3 {
    color: #172033;

    font-size: 1.15rem;

    margin-bottom: 12px;
}

.service-card p {
    color: #6b7683;

    font-size: 0.93rem;
}


/* =========================
   9. FLEET
   ========================= */

.fleet-section {
    background: #ffffff;
}

.fleet-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.fleet-card {
    overflow: hidden;

    background: #ffffff;

    border-radius: 8px;

    box-shadow: 0 10px 35px rgba(20, 40, 60, 0.10);

    border: 1px solid #e5e9ee;
}

.fleet-card img {
    height: 250px;

    object-fit: cover;

    transition: 0.4s ease;
}

.fleet-card:hover img {
    transform: scale(1.04);
}

.fleet-card-content {
    padding: 25px;
}

.fleet-card-content h3 {
    margin-bottom: 8px;

    color: #172033;
}

.fleet-card-content p {
    color: #6c7784;

    font-size: 0.92rem;
}


/* =========================
   10. WHY US
   ========================= */

.why-section {
    background: #09192a;

    color: #ffffff;
}

.why-section .section-heading h2 {
    color: #ffffff;
}

.why-section .section-heading h2 span {
    color: #5eb2e5;
}

.why-section .section-label {
    color: #5eb2e5;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.why-card {
    padding: 30px 25px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.03);
}

.why-number {
    color: #5eb2e5;

    font-weight: 800;

    font-size: 0.9rem;

    margin-bottom: 20px;
}

.why-card h3 {
    margin-bottom: 10px;

    font-size: 1.1rem;
}

.why-card p {
    color: #aebdca;

    font-size: 0.9rem;
}


/* ================= SERVICES ================= */

.services-section {
    background: #f5f7fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}


/* Service Card */

.service-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Hover Effect */

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}


/* Service Image */

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e9edf2;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}


/* Image Zoom on Hover */

.service-card:hover .service-image img {
    transform: scale(1.06);
}


/* Service Content */

.service-card-content {
    padding: 28px 25px 30px;
}

.service-card-content h3 {
    font-size: 21px;
    color: #102a43;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #627d98;
    margin: 0;
}


/* ================= TABLET ================= */

@media (max-width: 992px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-image {
        height: 210px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-image {
        height: 230px;
    }

    .service-card-content {
        padding: 24px 20px 26px;
    }

    .service-card-content h3 {
        font-size: 19px;
    }

    .service-card-content p {
        font-size: 14px;
    }

}


/* =========================
   13. CONTACT
   ========================= */

.contact-section {
    background: #f5f7fa;
}

.contact-container {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.contact-info > p:not(.section-label) {
    color: #687585;

    margin-bottom: 30px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.contact-item strong {
    display: block;

    color: #172033;

    margin-bottom: 3px;
}

.contact-item a {
    color: #1769aa;

    font-weight: 600;
}

.contact-form {
    background: #ffffff;

    padding: 35px;

    border-radius: 8px;

    border: 1px solid #e3e8ed;

    box-shadow: 0 15px 45px rgba(20, 40, 60, 0.08);
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    margin-bottom: 20px;
}

.form-group label {
    color: #344153;

    font-size: 0.9rem;

    font-weight: 700;

    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d8dee5;

    border-radius: 5px;

    font-family: inherit;

    font-size: 0.95rem;

    outline: none;

    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1769aa;

    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.08);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .primary-button {
    width: 100%;

    font-size: 1rem;
}


/* =========================
   14. FOOTER
   ========================= */

.footer {
    background: #06121f;

    color: #ffffff;

    padding-top: 55px;
}

.footer-container {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 45px;
}

.footer-brand h2 {
    font-size: 1.5rem;

    margin-bottom: 10px;
}

.footer-brand h2 span {
    color: #5eb2e5;
}

.footer-brand p {
    color: #9eacb9;

    font-size: 0.9rem;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: #b5c0ca;

    font-size: 0.9rem;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #5eb2e5;
}

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-contact a {
    color: #b5c0ca;

    font-size: 0.9rem;
}

.footer-contact a:hover {
    color: #5eb2e5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;

    padding: 20px;

    color: #788592;

    font-size: 0.8rem;
}


/* =========================
   15. RESPONSIVE DESIGN
   ========================= */

@media (max-width: 1000px) {

    .nav-button {
        display: none;
    }

    .services-grid,
    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container,
    .service-area-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-container {
        gap: 40px;
    }

    .contact-container {
        gap: 40px;
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        padding-top: 20px;
    }

    .quote-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .container {
        width: 92%;
    }

    .header {
        position: relative;
    }

    .nav-container {
        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        gap: 15px;
    }

    .navbar {
        width: 100%;

        justify-content: center;
    }

    .nav-links {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .trust-container {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .trust-item {
        border-right: none;

        border-bottom: 1px solid #e1e6eb;

        padding: 15px 0;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .section {
        padding: 70px 0;
    }

    .services-grid,
    .fleet-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .section-image img {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer {
        padding-top: 40px;
    }
}

