html {
    scroll-behavior: smooth;
}
body{
    margin: 0%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
}

nav .links {
    display: flex;
    align-items: center;
    gap: 20px;
}
 
nav a {
    display: inline-block;
    color: rgb(45, 2, 85);
    font-size: 16px; 
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
 
nav{
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 0 10%; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 90px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

nav .links a {
    display: inline-block;
    color: rgb(45, 2, 85);
    font-size: 16px; 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
}

nav .links a:hover {
    background-color: rgb(45, 2, 85);
    color: white;
}

nav a:hover {
    color: white;
    background-color: rgb(45, 2, 85);
}

nav > a {
    padding: 0;  
    margin: 0;
    background-color: transparent !important; 
}

nav > a:hover {
    background-color: transparent !important; 
    color: inherit; 
    opacity: 0.8; 
    transform: scale(1.02); 
}

/* MOBILE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }
    
    nav .links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav .links a {
        display: block;
        text-align: center;
        width: 100%;
        margin: 5px 0;
    }
}

#logo{
    height: 75px;  
    width: auto;  
    display: block;
    object-fit: contain;
}

.dropdown { 
    position: relative;
    display: flex; 
    align-items: center;
}

.dropdown-link {
    cursor: pointer; 
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;   
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 10px 0;
    margin-top: 5px; 
    min-width: 250px;
    z-index: 1000;
    border-radius: 5px;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
display: block;
    padding: 10px 20px;
    font-size: 16px;
    color: rgb(45, 2, 85);
    margin: 0; 
}


.dropdown-menu li a:hover {
    background-color: rgb(240, 240, 240); 
    color: rgb(45, 2, 85);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.topbar{
    background-color: rgb(45, 2, 85);
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    color: white;
    font-size: 0.9rem;
}

.topbar-left a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-family: Verdana, sans-serif; 
    font-size: 0.9rem; 
}

.topbar-left a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.topbar-left span {
    margin-right: 20px; 
    cursor: pointer;
}
.topbar-left span:hover {
    color: #ddd; 
    text-decoration: underline;
}
/*  MOBILE */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        padding: 10px;
        gap: 5px;
    }
    .topbar-left a {
        display: block;
        margin-right: 0;
        margin-bottom: 5px;
    }
    .topbar-right {
        font-size: 0.8rem; 
        opacity: 0.9;
    }
}

.affiliations {
    text-align: center;
    padding: 50px 20px;
    background-color: white;
    border-top: 1px solid #eee; 
}

.affiliations h2 {
    color: rgb(45, 2, 85); 
    font-size: 2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.affiliation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px; 
    flex-wrap: wrap; 
}

.affiliation-logos img {
    height: 80px; 
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); 
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.affiliation-logos img:hover {
    filter: grayscale(0%); 
    opacity: 1;
    transform: scale(1.1); 
}

/* Mobile */
@media (max-width: 768px) {
    .affiliation-logos {
        gap: 30px;
    }
    .affiliation-logos img {
        height: 60px; 
    }
}

.footer {
    background-color: rgb(45, 2, 85);
    color: white;
    padding-top: 50px;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 40px; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px; 
}

.footer-col {
    flex: 1;              
    min-width: 250px;     
    max-width: 350px; 
    text-align: left;
}

.footer-col h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255,255,255,0.2); 
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 700;
}

.footer-col p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem; 
    margin: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;  
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px; 
    display: flex;       
    align-items: flex-start; 
    gap: 10px;         
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}


.footer-col ul li a, 
.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0 !important;      
    font-size: 0.95rem !important; 
    background-color: transparent !important;
    display: inline;            
    margin: 0;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px !important; 
}

.footer-bottom {
    background-color: rgb(30, 0, 60); 
    text-align: center;
    padding: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* MOBILE*/
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
        text-align: left; 
        padding-left: 30px; 
        padding-right: 30px;
    }
    
    .footer-col {
        margin-bottom: 30px;
        max-width: 100%;
    }
}

.about-teaser {
    text-align: center;
    padding: 5px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-teaser h2 {
    color: rgb(45, 2, 85); 
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 5px;
}

.about-teaser p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    margin-top: 0px;
}


.btn {
    display: inline-block;
    background-color: rgb(45, 2, 85);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: rgb(85, 16, 142); 
    color: white;
    transform: translateY(-10px);
    box-shadow: rgb(0, 0, 0) 2px 2px 5px;
}

.btn:active {
    transform: translateY(-5px);
    box-shadow: rgb(154, 98, 206) 1px 1px 3px;
}

.action-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;   
    margin-bottom: 40px;
    position: relative;
    z-index: 10; 
    gap: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
    border-radius: 8px; 
    overflow: hidden; 
}

.action-box {
    flex: 1;
    background-color: white; 
    padding: 25px 25px;   
    min-width: 280px;
    text-align: left;
    border-right: 1px solid #f0f0f0;
    display: flex;      
    flex-direction: column;
    justify-content: center;
}

.action-box input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; 
    font-size: 14px;
    transition: all 0.3s ease;
}

.action-box input:focus {
    border-color: rgb(45, 2, 85);
    outline: none;
    box-shadow: 0 0 8px rgba(45, 2, 85, 0.15);
}

.action-box.highlight {
    background-color: rgb(45, 2, 85);
    color: white;
    border-right: none;
}

.action-box.highlight h3, 
.action-box.highlight p {
    color: white;
}

.action-box h3 {
    color: rgb(33, 2, 61);
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px; 
}

.action-box p {
    margin: 0 0 15px 0;        
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.action-box.contact-box a {
    display: block;       
    padding: 5px 0;       
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    background-color: transparent; 
}

.action-box.contact-box a:hover {
    color: rgb(45, 2, 85);
    text-decoration: underline;
    background-color: transparent;
}

.action-bar a{
    margin: 3px 0; 
    font-size: 0.95rem;
    color: #555;
}

.action-box.highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.action-box input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.action-box button {
    width: 100%;
    background-color: rgb(45, 2, 85);
    color: white;
    border: none;
    padding: 10px;      
    cursor: pointer;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;   
    transition: background 0.3s ease;
}

.action-box button:hover {
    background-color: rgb(85, 16, 142); 
}

.center-btn {
    text-align: center; 
    width: 100%;
}

.btn-small {
    background-color: white;
    color: rgb(45, 2, 85) !important;
    padding: 8px 25px;      
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;  
    width: auto;           
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-small:hover {
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Mobile*/
@media (max-width: 768px) {
    .action-bar {
        margin: 20px;
        flex-direction: column;
        border-radius: 8px;
    }
    .action-box {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

.services-overview {
    background-color: #f9f9f9; 
    padding: 60px 20px; 
    text-align: center;
}

.services-overview h2 {
    color: rgb(45, 2, 85);
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px; 
    border-bottom: 4px solid transparent; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(33, 23, 39, 0.10);
}

.service-card:hover .service-icon {
    transform: scale(1.1); 
}

.service-card.ocean:hover {
    border-bottom-color: #0077be; 
}

.service-card.air:hover {
    border-bottom-color: #87CEEB;
}

.service-card.customs:hover {
    border-bottom-color: #2E8B57; 
}

.service-card.transit:hover {
    border-bottom-color: #D2691E; 
}

.service-card h3 {
    color: rgb(45, 2, 85);
    margin: 10px 0;    
    font-size: 1.2rem;
    font-weight: 600;
}

.service-card p {
    color: #555; 
    line-height: 1.6; 
    font-size: 1rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.slogan-banner {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
    border-top: 5px solid rgb(45, 2, 85); 
}

.slogan-banner h1 {
    color: rgb(45, 2, 85);
    font-size: 2.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slogan-banner p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .about-teaser h2, 
    .services-overview h2, 
    .slogan-banner h1 {
        font-size: 2rem;
    }
}

/* --- Contact Us Quote page --- */
.page-header {
    background: linear-gradient(90deg, rgba(45, 2, 85, 0.95) 15%, rgba(45, 2, 85, 0.4) 100%),
                url('Slideshow/pexels-simon-r-minshall-1673444001-28438218.jpg');
    background-size: cover;
    background-position: center;   
    min-height: 320px;       
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    padding-left: 10%;       
    padding-right: 5%;
    
    color: white;
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); 
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
    border-left: 8px solid #bb6ee1; 
    padding-left: 25px; 
    
   
    animation: slideInLeft 0.8s ease-out;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 15px;
    margin-left: 33px; 
    max-width: 600px;
    
    animation: slideInLeft 1s ease-out; 
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px); 
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .page-header {
        align-items: center;
        text-align: center;
        padding: 60px 20px;
        background: linear-gradient(rgba(45, 2, 85, 0.9), rgba(45, 2, 85, 0.7)),
                    url('Slideshow/pexels-simon-r-minshall-1673444001-28438218.jpg');
    }
    .page-header h1 {
        border-left: none; 
        border-bottom: 5px solid #bb6ee1;
        padding-left: 0;
        padding-bottom: 10px;
        font-size: 2.5rem;
    }
    .page-header p {
        margin-left: 0;
    }
}

.quote-container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 4px; 
    border-top: 5px solid rgb(45, 2, 85); 
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.quote-form h3 {
    color: rgb(45, 2, 85);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 0;
}

.quote-form hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #444;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 12px;
    border-radius: 2px; 
    background-color: #f4f6f8; 
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    background-color: #fcfcfc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: rgb(45, 2, 85);
    outline: none;
    background-color: white;
    box-shadow: 0 0 5px rgba(45, 2, 85, 0.2);
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    margin-top: 10px;
}

/* Mobile*/
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .quote-container {
        margin: 20px;
        padding: 25px;
    }
}

/* --- ABOUT PAGE CSS--- */
.about-container {
    max-width: 1100px;
    margin: 40px auto; 
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
    align-items: flex-start; 
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h2 {
    color: rgb(45, 2, 85);
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
}

.about-text p {
    font-size: 1rem;       
    line-height: 1.6;     
    color: #333;          
    text-align: left;     
    margin-bottom: 15px;
}


.about-services-box {
    flex: 1;
    background-color: white;
    border: 1px solid #ccc;
    padding: 0;
    border-radius: 4px;
    height: fit-content;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px; 
}

.about-services-box h3 {
   background-color: rgb(45, 2, 85);
    color: white;
    margin: 0;
    padding: 15px 20px; 
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px 3px 0 0;
}

.about-services-box p {
    padding: 15px 20px 5px 20px; 
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.styled-list {
    list-style: none;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.styled-list li {
    margin: 0;
    padding: 0;
    border: none;
    background: none; 
}

.styled-list a {
    display: block; 
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #ccc; 
    padding: 15px;
    font-weight: 600;
    color: #444;
    text-decoration: none;     
    transition: all 0.3s ease;
    border-radius: 4px;
}

.styled-list a:hover {
    background-color: white;
    border-left-color: rgb(45, 2, 85); 
    color: rgb(45, 2, 85); 
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.styled-list a::before {
    content: "➜";
    display: inline-block; 
    color: rgb(45, 2, 85);
    font-size: 0.9rem;
    margin-right: 15px;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: rgb(45, 2, 85);
    background: #f0f0f0;
    border-left: 5px solid rgb(45, 2, 85);
    margin: 30px 0;
    padding: 20px;
}

.full-width {
    flex: 100%;
    margin-top: 20px;
}

/* Mobile*/
@media (max-width: 768px) {
    .about-container {   
        flex-direction: column;
    }
    .about-services-box {
        width: 100%;
        box-sizing: border-box; 
    }
}

/*FEATURE CHECKLIST (For Service Pages)*/
.check-list {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.check-list li {
padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.check-list li::before {
content: "✔"; 
    color: white;
    background-color: #25d366; 
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 15px;
    flex-shrink: 0; 
    margin-top: 3px;
}

.check-list li strong {
    color: rgb(45, 2, 85);
    font-weight: 700;
}