* {
    margin: 0;
    padding: 0;
    font-family: 'Work Sans', sans-serif;
}
body {
    animation: fadeIn 0.6s ease-in forwards;
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.header {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)), url("images/banner.jpg") center/cover no-repeat;
    position: relative;
}

.navbar {
    flex-wrap: wrap;
    display: flex;
    position: fixed;
    padding: 10px 4%;
    background: linear-gradient(to bottom, rgba(255, 255, 255), rgba(255, 255, 255, 0.7));
    z-index: 1000;
    width: 96%;
    transition: padding 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar.shrink {
    padding: 0.01% 4%;
}

.navbar .logo img {
    width: 180px;
    height: auto;
}

.nav-links ul {
    flex-wrap: wrap;
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin: 0 15px;
}

/* Base link style */
.navbar .nav-links ul li a {
    color: #1e2b22;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* Hover style */
.navbar .nav-links ul li a:hover {
    color: rgb(139, 190, 105);
    text-shadow: none;
}

.nav-links .fa-solid {
    display: none;
}

@media (max-width: 1300px) {
    .navbar {
        padding: 15px 15px;
        width: 100%;
    }
    .nav-links ul {
        flex-direction: column;
    }
    .navbar.shrink {
        padding: 0.1% 15px;
    }
}
nav {
    display: flex;
    justify-content: space-between;
    padding: 1% 4%;
    align-items: center;
}
nav img {
    width: auto;
    height: auto;
}
.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links ul li {
    display: inline-block;
    list-style: none;
    padding: 4px 12px;
    position: relative;
}
.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links ul li a:hover {
    color: rgb(139, 190, 105);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
}
.nav-links ul li:hover::after {
    width: 70%; /* Extend to 70% when hovered */
    left: 50%; /* Keep it centered */
    transform: translateX(-50%); /* Center the underline */
}
.nav-links ul li::after {
    content: '';
    position: absolute;
    left: 50%; /* Center the underline relative to the link */
    bottom: 0;
    width: 0; /* Start with the underline invisible */
    height: 2px;
    background: rgb(139, 190, 105);
    transition: width 0.3s ease, left 0.3s ease; /* Smooth transition for width and centering */
    transform: translateX(-50%); /* Center the underline */
}
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1 {
    font-size: 50px;
    color: #fff;
}
.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.visit-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: rgb(139, 190, 105);
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.35s ease;
}
.visit-btn:hover {
    border: 1px solid white;
    background: rgb(109, 149, 83);
}

nav .fa-solid {
    display: none !important;
}

/* Default styles for the dropdown menu */

.services-dropdown {
    position: relative;
}

/* Dropdown menu - hidden by default */
.services-dropdown .dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style-type: none;
    padding: 10px 0;
    top: 110%; /* Increase this value to move the dropdown down */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.services-dropdown .dropdown::before {
    content: "";
    position: absolute;
    top: -8px; /* Adjust this to connect the arrow to the dropdown */
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* Show dropdown on hover (optional) */
.services-dropdown:hover .dropdown {
    display: block;
}

/* Show dropdown when .active class is applied via JS */
.services-dropdown.active .dropdown {
    display: block;
}

/* Dropdown link styling */
.services-dropdown .dropdown li a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    display: block;
}

.services-dropdown .dropdown li a:hover {
    background-color: #f1f1f1;
}

@media(max-width: 1300px) {
    .services-dropdown .dropdown {
        left: -220%; /* Moves the dropdown to the left of the parent */
        top: 0; /* Adjust the vertical position */
        transform: translateX(0); /* Remove the centering */
    }
    /* Remove the arrow in responsive design */
    .services-dropdown .dropdown::before {
        display: none; /* Hide the little arrow */
    }
    .navbar .services-dropdown .dropdown li a {
        color: #1e2b22;
    }
    .navbar .services-dropdown .dropdown li a:hover {
        color: #1e2b22;  /* Dropdown link color on hover */
    }
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .navbar .nav-links ul li a {
        color: #fff;
    }
    .navbar .nav-links ul li a:hover {
        color: #fff;
    }
    .nav-links {
        display: block;
        position: fixed;
        background: rgb(139, 190, 105);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa-solid {
        display: block !important;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        padding-right: 25px;
    }
    nav img {
        width: 250px;
        height: auto;
        padding-right: 0;
    }
    .nav-links ul {
        padding: 30px;
    }
    .row {
        flex-direction: column;
    }
    .testimonials-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
    .contact h1{
        font-size: 24px;
    }
}

/*-- setup --*/

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
    color: #1e2b22;
}
h1 {
    text-align: center;
    padding-top: 70px;
    font-size: 36px;
    font-weight: bold;
    color: #1e2b22;
}
p {
    color: #5c6b63;  /* Keeping the greyish-green */
    font-weight: 500;  /* Added medium-bold weight */
    font-size: 14px;
    line-height: 22px;
    padding: 10px;
}
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

/*-- our partners --*/

.partners {
    width: 80%;
    margin: auto;
    text-align: center;
}
.partners-col {
    flex-basis: 31%;
    background: #f0fff0;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin: 0 10px;
    overflow: hidden;
    word-wrap: break-word; /* Prevent text from overflowing horizontally */
    margin-bottom: 30px;
}

/*-- What We Do Section --*/

.what_we_do {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 70px;
    color: #1e2b22;
  }
  
  .services-col {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin: 1.5%;
  }
  
  .service-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }
  
  .service-btn {
    display: block;
    position: relative;
  }
  
  .service-btn img {
    width: 100%;
    display: block;
    border-radius: 0;
  }
  
  .layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: transparent;
    transition: background 0.5s;
    text-align: center;
  }
  
  .layer:hover {
    background: rgba(0, 197, 49, 0.2);
    backdrop-filter: blur(1px);
  }
  
  .layer h3 {
    width: auto; /* Allow text to adjust width */
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 3% 5%; /* Add some padding for the text */
    background-color: rgba(139, 190, 105, 0.8); /* Green background with some opacity */
    border-radius: 10px; /* Rounded edges */
    outline: 2px solid #fff; /* Add a white outline */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Optional: Add shadow for better visibility */
    transition: 0.5s;
    opacity: 0;
}
.layer:hover h3 {
    bottom: 42%;
    opacity: 1;
}

  .service-description {
    background-color: #f0fff0;
    color: #1e2b22;
    padding: 16px;
    text-align: left;
    font-size: 15px;
    border-radius: 0 0 12px 12px;
  }
  
  .service-description h3 {
    margin: 0 0 8px 0;
    font-size: 17px;
  }
  
  .service-description p {
    margin: 0;
  }

  .customs-row {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  .customs-row .layer:hover h3 {
    bottom: 30%;
    opacity: 1;
  }

  .customs-row .layer h3 {
    font-size: 25px;
    padding: 1.5% 2.5%;
  }
  
  .customs-box {
    width: 60%;
  }

  .customs-box .service-btn img {
    height: 250px;
    object-fit: cover;
  }
  

@media (max-width: 1300px) {
    .services-col {
        width: 100%;
        display: block;
        margin: 20px 0;
    }
    .customs-box {
        width: 100%;
        margin: -20px 0;
    }
    .customs-box .service-btn img {
        width: 100%;
        height: 100%;
        display: block;
        border-radius: 0;
    }
  }
  
  

/*-- infinite logo carousel --*/

@keyframes slide {
    from {
        transform: translateX(0);
    } to {
        transform: translateX(-100%);
    }
}
.logos {
    position: relative;
    overflow: hidden;
    margin: 50px 0;
    margin-bottom: 100px;
    padding: 60px 0;
    background: #f0fff0;
    white-space: nowrap;
}
.logos:before, .logos:after {
    position: absolute;
    top: 0;
    width: 170px;
    height: 100%;
    content: "";
    z-index: 2;
}
.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #f0fff0);
}
.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #f0fff0);
}
.logos-slide {
    display: inline-block;
    width: max-content;
    animation: slide 35s infinite linear;
}
.logos-slide img {
    height: 60px;
    margin: 0 40px;
}
.logos-heading {
    all: unset;
    display: block;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 70px;
    white-space: normal;
    word-break: break-word;
    color: #1e2b22;
}
@media(max-width: 1300px) {
    .logos:before, .logos:after {
        width: 30px;
    }
}

/*-- testimonials --*/

.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
}
.testimonials-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #f0fff0;
    padding: 25px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin: 0 10px;
    margin-bottom: 30px;
    overflow: auto;
}
.testimonials-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonials-col p {
    padding: 0;
}
.testimonials-col h3 {
    margin-top: 15px;
    text-align: left;
}

/*-- contact us on home page --*/

.contact {
    margin: 100px auto;
    width: 80%;
    background-color: #1e2b22; /* Fallback color */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("images/banner2.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.contact h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

/*-- footer --*/

.footer {
    background-color: #1e2b22;
    color: #ffffff;
    padding: 40px 20px 20px;
    font-family: 'Work Sans', sans-serif;
    text-align: center; /* Center text globally */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Align child elements to center */
    text-align: center;       /* Ensure internal text is centered */
    max-width: 1000px;
    margin: 0 auto 20px;
    gap: 40px;                /* Optional: spacing between columns */
}

.footer-nav,
.footer-contact {
    flex: 1 1 300px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left; /* Aligns content to the left inside each container */
}

.footer-nav h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center; /* Ensures headings are centered */
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none; /* Remove width restriction if needed */
    margin-left: 0;
    text-align: center;
}

.footer-nav ul li {
    margin: 8px 0;
}

.footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: inline-block;
}

.footer-nav ul li a:hover {
    color: #bbbbbb;
    text-decoration: underline;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 15px;
    color: #ffffff;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto; /* Centers the text block */
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #2e3c33;
    padding-top: 15px;
    color: #ffffff;
}

.footer-bottom p {
    color: #ffffff;
}

/*-- about us page --*/

.sub-header {
    height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/background.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.sub-header h1 {
    color: #fff;
}
.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}
.about-col {
    flex-basis: 48%;
    padding: 20px 2px;
}
.about-col img {
    width: 100%;
    height: auto;
}
.about-col h1 {
    text-align: left;
    padding-top: 0;
}
.about-col p {
    padding: 15px 0 25px;
}
.green-btn {
    border: 1px solid rgb(139, 190, 105);
    background-color: transparent;
    color: rgb(139, 190, 105);
}
.green-btn:hover {
    color: #fff;
}

/*-- contact us html --*/

.location {
    width: 80%;
    margin: auto;
    padding: 10px 0;
    padding-bottom: 50px;
}
.location iframe {
    width: 100%;
}
.contact-us {
    width: 65%;
    margin: auto;
}
.contact-col {
    flex-basis: 50%;
    margin-bottom: 130px;
}
.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa {
    font-size: 26px;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p {
    padding: 0;
}
.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #1e2b22;
    font-weight: 400;
}
.contact-col input, .contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 16px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    resize: none;
}

/* FAQ Accordion Styles */

.faq-section {
    width: 80%;
    margin: 50px auto;
    text-align: center;
    padding: 1px 0;
}

.faq-section h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 60px;
    margin-top: 50px;
    color: #1e2b22;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    text-align: left;
    background-color: #f0f0f0;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    color: #1e2b22;
}

.accordion-header:hover {
    background-color: rgb(139, 190, 105);
    color: #fff;
}

.accordion-body {
    padding: 15px;
    background-color: #fff;
    display: none;
    border: 1px solid #ccc;
    margin-top: 5px;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.open i {
    transform: rotate(180deg);
}

.accordion-body p {
    color: #1e2b22;
    font-weight: 500;  /* Added medium-bold weight */
}

/* Responsive Design */
@media(max-width: 1300px) {
    .faq-section h2 {
        font-size: 24px;
    }

    .accordion-header {
        font-size: 14px;
        padding: 12px;
    }

    .accordion-body {
        font-size: 13px;
    }
}

/* services setup */

.intro p {
    font-size: 20px;
    font-weight: 500;
    color: #5c6b63;
    max-width: 80%;
    margin: 80px auto;
}

.boxed-text {
    color: #1e2b22;
    max-width: 90%;
    margin: 0 auto;
    margin-top: 80px;
    padding: 20px;
    border-radius: 10px;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    background-color: #f0fff0;
    box-shadow: 0 4px 8px rgba(30, 43, 34, 0.1);
    text-align: center;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .boxed-text {
        margin-top: 40px;
        padding: 15px;
        line-height: 1.4;
    }
}

.content * {
    all: unset;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
    display: revert;
}

.content {
    display: block;
}

.wrapper {
    width: 70%;
    margin: 60px auto;
    position: relative;
    clear: both;
}

.wrapper::after {
    content: "";
    display: block;
    clear: both;
}

.content .wrapper img {
    max-width: 400px;
    border: 3px solid #1e2b22;
    border-radius: 10px;
    overflow: hidden;
}

.float-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 15px;
}

.float-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 15px;
}

.content h1 {
    text-align: center;
    margin: 80px 20px;
    font-size: 42px;
    font-weight: 600;
    color: #1e2b22;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.content .text-box {
    max-width: 1700px;
}

.content .text-box h2 {
    color: #1e2b22;
    font-weight: bold;
    font-size: 38px;
}

.content .text-box p {
    color: #5c6b63;
    font-size: 16px;
    font-weight: 500;  /* Added medium-bold weight */
}

/* Mobile styles */
@media (max-width: 768px) {
    .wrapper {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content .wrapper img {
        max-width: 100%;
        height: auto;
        margin: 0 0 15px 0;
        float: none; /* Disable float on small screens */
    }

    .content .text-box {
        text-align: center;
    }

    .intro p {
        text-align: center;
        max-width: 100%;
    }
}

/* ocean freight */

.sub-header-ocean {
    height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/background2.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.sub-header-ocean h1 {
    color: #fff;
}

/* air freight */

.sub-header-air {
    height: 50vh;
    width: 100%;
    background: 
        linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), 
        url("images/background3.jpg") center 80% / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.sub-header-air h1 {
    color: #fff;
}

/* trucking */

.sub-header-trucking {
    height: 50vh;
    width: 100%;
    background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url("images/background4.jpg") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.sub-header-trucking h1 {
    color: #fff;
}

/* customs brokerage */

.sub-header-customs {
    height: 50vh;
    width: 100%;
    background: 
        linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), 
        url("images/background5.jpg") center 20% / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.sub-header-customs h1 {
    color: #fff;
}

/* Add this to your CSS file */
::selection {
    background-color: #4a7c59;  /* Darker green background */
    color: #ffffff;  /* White text for better contrast */
}

/* For Firefox */
::-moz-selection {
    background-color: #4a7c59;
    color: #ffffff;
}

/* Add this to your style.css file */

.status-message {
    /* Initial state - hidden */
    /* Keep display none when fully hidden - JS will change to block */
    display: none;
    opacity: 0; /* Start fully transparent */
    visibility: hidden; /* Start hidden to screen readers */
    /* Use transition to control fade and visibility change when .show is added/removed */
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* <-- Adjust timing if needed */

    /* Positioning and Styling */
    position: fixed; /* Stay fixed on the screen */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center based on its own width and height */
    padding: 15px 30px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000; /* Make sure it's above other content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    text-align: center;

    /* Remove animation property */
}

/* Keep the .status-message.show rule */
.status-message.show {
    display: block; /* Make it block display to take up space */
    opacity: 1; /* Fade in to fully visible */
    visibility: visible; /* Make it visible */
    /* Remove the transition here so the base class transition applies */
    transition: none; /* <-- REMOVE THIS LINE */
}

/* Style for success message */
.status-message.success {
    background-color: #f0fff0; /* Green */
}

/* Style for error message */
.status-message.error {
    background-color: #f0fff0;
}

.status-message p {
    margin: 0; /* Remove default paragraph margin */
    color: #2e3c33;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #2e3c33;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* If you want an automatic fade out AND the close button, it gets more complex. */
/* Let's stick to fading in and staying until closed by 'x' for now. */
@keyframes fadeInOut { /* <-- YOU CAN REMOVE THIS ENTIRE BLOCK */
    0% { opacity: 0; visibility: hidden; }
    10% { opacity: 1; visibility: visible; }
    90% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}