/* Main CSS File - Complete with Mobile Responsiveness Fixes */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

/* Define Myriad Pro font - using your actual font files in assets/myriad-pro/ */
@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-REGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-BOLD.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-ITALIC.OTF') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-BOLDIT.OTF') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-SEMIBOLD.OTF') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-SEMIBOLDIT.OTF') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-COND.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-BOLDCOND.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-CONDIT.OTF') format('opentype');
    font-weight: normal;
    font-style: italic;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro';
    src: url('assets/myriad-pro/MYRIADPRO-BOLDCONDIT.OTF') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-stretch: condensed;
    font-display: swap;
}

@font-face {
    font-family: 'myriadpro-light';
    src: url('assets/myriad-pro/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand Colors */
    --primary-navy: #002147;       /* Deep Blue */
    --accent-blue: #0056b3;        /* Lighter Blue */
    --brand-silver: #E8EAED;       /* Silver */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body { 
    font-family: 'myriadpro', sans-serif; 
    font-size: 14px;
    line-height: 1.6; 
    color: var(--text-dark); 
    background-color: var(--white); 
}

/* Light font variant */
.light-text {
    font-family: 'myriadpro-light', sans-serif;
    font-weight: 300;
}

/* Condensed font variant */
.condensed-text {
    font-family: 'myriadpro', sans-serif;
    font-stretch: condensed;
}

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

ul { 
    list-style: none; 
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary-navy);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #001229;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span { 
    margin-right: 20px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
}

.social-links a { 
    margin-left: 10px; 
    color: #ccc; 
    transition: color 0.3s; 
}

.social-links a:hover { 
    color: var(--white); 
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    z-index: 1001; 
}

.logo-icon {
    width: 80px; 
    height: 80px; 
    background: var(--white);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden; 
    border: 2px solid var(--brand-silver);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 { 
    font-size: 1.2rem; 
    color: var(--primary-navy); 
    text-transform: uppercase; 
    font-weight: 800; 
    letter-spacing: 0.5px; 
    font-family: 'Playfair Display', serif; 
}

.logo-text span { 
    font-size: 0.7rem; 
    color: var(--text-light); 
    display: block; 
    margin-top: 2px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-navy);
    z-index: 1001;
    padding: 10px;
    background: transparent;
    border: none;
}

.menu-toggle i {
    transition: transform 0.3s ease;
}

.menu-toggle:focus {
    outline: none;
}

/* Navigation */
.nav-links { 
    display: flex; 
    align-items: center;
    gap: 9px; 
}

.nav-links li { 
    position: relative; 
}

.nav-links > li > a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 10px 5px;
    display: block;
}

.nav-links > li > a:hover { 
    color: var(--accent-blue); 
}

/* Dropdown Logic */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    border-top: 3px solid var(--primary-navy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

.dropdown-menu li:last-child a { 
    border-bottom: none; 
}

.dropdown-menu li a:hover {
    background: #f0f4f8;
    color: var(--primary-navy);
    padding-left: 25px;
}

.dropdown-menu li a i { 
    margin-right: 8px; 
    font-size: 0.8rem; 
    color: var(--accent-blue); 
}

/* Button Styling */
.btn {
    display: inline-block; 
    padding: 14px 35px; 
    border-radius: 4px;
    font-weight: 700; 
    text-transform: uppercase; 
    transition: var(--transition);
    cursor: pointer; 
    font-size: 0.9rem; 
    border: 2px solid transparent;
}

.btn-primary { 
    background: var(--white); 
    color: var(--primary-navy); 
}

.btn-primary:hover { 
    background: var(--brand-silver); 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Updated Hero Buttons - Force 2 buttons in 1 row on mobile */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap; /* Changed from wrap to nowrap */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent text wrapping */
    flex: 1 1 auto; /* Allow buttons to shrink/grow */
    min-width: 0; /* Allow shrinking below content size */
    max-width: 250px; /* Maximum width */
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Default text for desktop - show full text */
.hero-buttons .btn .full-text {
    display: inline;
}

.hero-buttons .btn .short-text {
    display: none;
}

/* Tablet and Mobile - Force 2 columns and change second button text */
@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-wrap: nowrap !important; /* Override any other styles */
        gap: 10px;
        padding: 0 10px;
    }
    
    .hero-buttons .btn {
        padding: 12px 15px;
        font-size: 0.8rem;
        flex: 1 1 50%; /* Each takes 50% of container */
        max-width: 50%; /* Limit to half width */
        white-space: nowrap;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    
    /* Hide full text on mobile */
    .hero-buttons .btn .full-text {
        display: none;
    }
    
    /* Show short text on mobile */
    .hero-buttons .btn .short-text {
        display: inline;
    }
    
    /* Specific styling for second button to show "Apply Now" */
    .hero-buttons .btn:last-child .short-text {
        content: "Apply Now";
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .hero-buttons {
        gap: 8px;
        padding: 0 5px;
    }
    
    .hero-buttons .btn {
        padding: 10px 8px;
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
}

/* Very Small Devices */
@media screen and (max-width: 360px) {
    .hero-buttons .btn {
        padding: 8px 5px;
        font-size: 0.65rem;
    }
}

/* iPhone SE and similar */
@media screen and (max-width: 320px) {
    .hero-buttons .btn {
        font-size: 0.6rem;
        padding: 8px 4px;
    }
}

/* Nav Member Button */
.nav-member-btn {
    background: var(--primary-navy) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none !important;
    font-weight: 600;
}

.nav-member-btn:hover {
    background: var(--accent-blue) !important;
    transform: translateY(-2px);
    color: var(--white) !important;
}

/* Hero Section - Ken Burns Setup */
.hero {
    position: relative;
    height: 100vh; 
    min-height: 600px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden; 
    border-bottom: 5px solid var(--accent-blue);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/1920x1080/002147/ffffff?text=Logistics+Operations') no-repeat center center;
    background-size: cover;
    z-index: 0;
    animation: kenburns 20s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 33, 71, 0.9), rgba(0, 21, 43, 0.95));
    z-index: 1;
}

.hero-content { 
    position: relative;
    z-index: 2; 
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}

.hero-content p { 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
    opacity: 0.9; 
    font-weight: 300; 
}

/* Ken Burns Keyframes */
@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-2%, -2%);
    }
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 30vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    border-bottom: 5px solid var(--accent-blue);
}

/* Services Section */
.transport-section { 
    padding: 60px 20px; 
    background: var(--brand-silver); 
    border-bottom: 1px solid #dde4e9; 
}

.transport-grid {
    max-width: 1200px; 
    margin: 0 auto;
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.transport-item { 
    text-align: center; 
    padding: 20px; 
    background: var(--white); 
    border-radius: 8px; 
    box-shadow: var(--shadow); 
    transition: transform 0.3s; 
}

.transport-item:hover { 
    transform: translateY(-5px); 
}

.transport-item i { 
    font-size: 2.5rem; 
    color: var(--primary-navy); 
    margin-bottom: 15px; 
}

.transport-item h4 { 
    color: var(--primary-navy); 
    font-size: 1.1rem; 
}

/* Partners Section */
.partners-section {
    padding: 80px 20px;
    background-color: var(--white); 
    overflow: hidden;
}

.partners-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}

.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
}

.section-title h3 { 
    font-size: 2.2rem; 
    color: var(--primary-navy); 
    margin-bottom: 10px; 
    font-family: 'Playfair Display', serif; 
}

.section-title p { 
    color: var(--text-light); 
}

.partner-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.tab-btn.active, 
.tab-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.partner-content { 
    display: none; 
    animation: fadeIn 0.5s ease; 
}

.partner-content.active { 
    display: block; 
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

.slider-wrapper { 
    position: relative; 
    padding: 0 50px; 
}

.slider-viewport { 
    overflow: hidden; 
    width: 100%; 
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partner-logo-box {
    background: var(--brand-silver);
    padding: 20px;
    min-width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-right: 20px;
    flex-shrink: 0;
    border: 1px solid #dde4e9;
    position: relative;
    overflow: hidden;
}

.partner-logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.partner-logo-fill {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 15px;
}

.partner-logo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #999;
    font-size: 3rem;
}

.partner-name {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    margin: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    border: 1px solid var(--primary-navy);
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.arrow-left { 
    left: 0; 
}

.arrow-right { 
    right: 0; 
}

/* Sidebar Partner Widget */
.sidebar-partner-widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    position: relative;
}

.sidebar-partner-widget .widget-title {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--primary-navy);
    text-align: center;
}

.sidebar-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 30px;
}

.sidebar-partner-widget .partner-logo-box {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}

.sidebar-partner-widget .partner-logo-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-partner-widget .partner-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info h5 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.partner-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Archive Page Styles */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.archive-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.archive-item-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.archive-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-item:hover .archive-item-thumbnail img {
    transform: scale(1.05);
}

.archive-item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.archive-item-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.archive-item-title a {
    color: var(--primary-navy);
    text-decoration: none;
    transition: var(--transition);
}

.archive-item-title a:hover {
    color: var(--accent-blue);
}

.archive-item-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--brand-silver);
}

.archive-item-meta span {
    margin-right: 15px;
}

.archive-item-meta i {
    margin-right: 5px;
    color: var(--accent-blue);
}

.archive-item-excerpt {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    font-size: 0.9rem;
    align-self: flex-start;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--brand-silver) 0%, var(--white) 100%);
    border-radius: 8px;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.archive-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
.pagination {
    margin: 50px 0 20px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: var(--white);
    border: 2px solid var(--brand-silver);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
}

.pagination .page-numbers.current {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--brand-silver);
    border-color: var(--accent-blue);
}

.pagination .prev,
.pagination .next {
    padding: 0 20px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.no-results .page-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.no-results .page-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results .search-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.no-results .search-field {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--brand-silver);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.no-results .search-field:focus {
    outline: none;
    border-color: var(--primary-navy);
}

.no-results .search-submit {
    padding: 12px 30px;
    background: var(--primary-navy);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.no-results .search-submit:hover {
    background: var(--accent-blue);
}

/* Main Content */
.main-content {
    margin: 0;
    padding: 0;
}

/* Grid System */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
    margin: 0;
}

.col-span-8 {
    grid-column: span 8;
}

.col-span-4 {
    grid-column: span 4;
}

/* Article Content */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 0;
}

.entry-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.entry-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    font-family: 'Playfair Display', serif;
}

.entry-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.entry-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.8em;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-navy);
    padding-left: 2em;
    margin: 2em 0;
    font-style: italic;
    color: #555;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.entry-content th {
    background: var(--primary-navy);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.entry-content td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.entry-content tr:nth-child(even) {
    background: var(--brand-silver);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
    box-shadow: var(--shadow);
}

.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignleft {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
}

.entry-content .alignright {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}

/* Form Styles */
.sc-form-group input[type=text],
.sc-form-group input[type=email],
.sc-form-group input[type=tel],
.sc-form-group input[type=number],
.sc-form-group input[type=date],
.sc-form-group select,
.sc-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s;
    font-family: inherit;
    background-color: #fff;
}

.sc-form-group input[type=date] {
    min-height: 45px;
    appearance: none;
    -webkit-appearance: none;
}

.sc-form-group input[type=date]:focus,
.sc-form-group input[type=text]:focus,
.sc-form-group input[type=email]:focus,
.sc-form-group input[type=tel]:focus,
.sc-form-group input[type=number]:focus,
.sc-form-group select:focus,
.sc-form-group textarea:focus {
    border-color: var(--primary-navy);
    outline: none;
    box-shadow: 0 0 5px rgba(0,33,71,0.3);
}

/* Firefox fix */
@-moz-document url-prefix() {
    .sc-form-group input[type=date] {
        height: 45px;
        line-height: normal;
    }
}

/* Sidebar */
.sidebar-content {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--brand-silver);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-blue);
    font-family: 'Playfair Display', serif;
}

/* Quick Navigation */
.quick-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav-list li {
    margin-bottom: 10px;
}

.quick-nav-list li:last-child {
    margin-bottom: 0;
}

.quick-nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    background: var(--brand-silver);
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.quick-nav-list a:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateX(5px);
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--brand-silver);
}

.contact-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 35px;
    font-size: 1.1rem;
    color: var(--accent-blue);
}

.contact-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--accent-blue);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    color: var(--white);
}

.cta-widget .widget-title {
    color: var(--white);
    border-bottom-color: var(--white);
}

.cta-widget p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.cta-widget .btn {
    background: var(--white);
    color: var(--primary-navy);
    padding: 12px 20px;
    border: none;
    display: inline-block;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

.cta-widget .btn:hover {
    background: var(--brand-silver);
    transform: translateY(-2px);
}

/* Page Links */
.page-links {
    margin: 30px 0;
    padding: 20px;
    background: var(--brand-silver);
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    color: var(--accent-blue);
    font-weight: 600;
    margin: 0 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.page-links a:hover {
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.comments-title,
.comment-reply-title {
    color: var(--primary-navy);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-blue);
    font-family: 'Playfair Display', serif;
}

/* Footer */
footer { 
    background: var(--primary-navy); 
    color: #ccc; 
    padding: 60px 20px 20px; 
}

.footer-grid { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-col h5 { 
    color: var(--white); 
    font-size: 1.1rem; 
    margin-bottom: 20px; 
}

.footer-col ul li { 
    margin-bottom: 10px; 
}

.footer-col a { 
    color: #ccc; 
    transition: color 0.3s; 
}

.footer-col a:hover { 
    color: var(--white); 
}

.footer-bottom { 
    text-align: center; 
    border-top: 1px solid #112440; 
    padding-top: 20px; 
    margin-top: 20px; 
    font-size: 0.9rem; 
}

/* Site Footer */
.site-footer {
    background: var(--primary-navy);
    color: #fff;
    position: relative;
    font-size: 0.95rem;
}

/* Main Footer */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Footer Columns */
.footer-col h5 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: relative;
}

.footer-col h5:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-blue);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.footer-site-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.footer-about-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Certifications */
.footer-certifications {
    margin-bottom: 20px;
}

.cert-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.9);
}

.cert-badge i {
    color: var(--accent-blue);
    margin-right: 5px;
}

/* Social Links */
.social-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.social-links-footer {
    display: flex;
    gap: 10px;
}

.social-links-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-menu li a i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

.footer-menu li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Downloads Section */
.footer-downloads {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.download-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
}

.download-link {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.download-link i {
    color: #ff4444;
    margin-right: 8px;
}

.download-link:hover {
    color: #fff;
    padding-left: 5px;
}

/* Contact Information */
.contact-info-footer {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item i {
    width: 30px;
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-top: 3px;
}

.contact-detail {
    flex: 1;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.contact-detail strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.contact-detail a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.contact-detail a:hover {
    color: #fff;
}

.hours-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* Contact Button */
.btn-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--accent-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-footer-contact:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
    color: #fff;
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(0,0,0,0.2);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.newsletter-text {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.95rem;
}

.subscribe-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.subscribe-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.btn-newsletter {
    padding: 12px 25px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-newsletter:hover {
    background: #0066cc;
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* Bottom Footer */
.footer-bottom {
    padding: 20px 0;
    background: rgba(0,0,0,0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #fff;
}

.separator {
    color: rgba(255,255,255,0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0066cc;
    transform: translateY(-3px);
}

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

/* Large Tablets (992px and below) */
@media screen and (max-width: 992px) {
    .menu-toggle {
        display: block !important;
    }
    
    .navbar {
        position: relative;
        flex-wrap: wrap;
        min-height: 70px;
    }
    
    .nav-links {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 30px 40px;
        overflow-y: auto;
        z-index: 1000;
        align-items: stretch;
        gap: 10px;
        box-shadow: none;
        margin: 0;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links > li {
        width: 100%;
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.3s ease forwards;
    }
    
    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Stagger animation for menu items */
    .nav-links > li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links > li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links > li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links > li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links > li:nth-child(5) { animation-delay: 0.3s; }
    .nav-links > li:nth-child(6) { animation-delay: 0.35s; }
    
    .nav-links > li > a {
        padding: 18px 20px !important;
        background: var(--brand-silver);
        border-radius: 8px;
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border: 1px solid #dde4e9;
    }
    
    .nav-links > li > a i {
        transition: transform 0.3s ease;
    }
    
    .nav-links > li.active-mobile > a i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        transition: none;
    }
    
    .nav-links li.active-mobile .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown-menu li a {
        padding: 15px 20px !important;
        background: #f5f5f5;
        border-radius: 6px;
        margin-bottom: 5px;
        border: 1px solid #eee;
        font-size: 1rem;
    }
    
    .nav-member-btn {
        margin-top: 15px !important;
        text-align: center !important;
        background: var(--primary-navy) !important;
        color: var(--white) !important;
        padding: 18px 20px !important;
        border-radius: 8px !important;
        font-size: 1.1rem !important;
    }
    
    .transport-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .grid-12 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .col-span-8,
    .col-span-4 {
        grid-column: span 1;
    }
    
    .sidebar-content {
        position: static;
    }
    
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .subscribe-form {
        max-width: 500px;
        margin: 0 auto 10px;
    }
}

/* Tablets and Large Phones (768px and below) */
@media screen and (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info span {
        margin-right: 15px;
        font-size: 0.8rem;
    }
    
    .navbar {
        padding: 10px 15px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text span {
        font-size: 0.6rem;
    }
    
    .hero {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Hero buttons already fixed above */
    .hero-buttons {
        display: flex !important;
        gap: 20px;
        justify-content: center;
        animation: fadeIn 1s ease-out 0.6s both;
    }
    
    .transport-section {
        padding: 40px 15px;
    }

    .transport-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .partners-section {
        padding: 50px 15px;
    }
    
    .section-title h3 {
        font-size: 1.8rem;
    }
    
    .partner-tabs {
        flex-direction: flex !important;
        gap: 10px;
        padding: 0 20px;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .slider-wrapper {
        padding: 0;
    }
    
    .slider-arrow {
        display: none;
    }
    
    .partners-track {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding: 0 10px;
    }
    
    .partner-logo-box {
        min-width: 160px;
        scroll-snap-align: start;
    }
    
    .page-hero {
        height: 25vh;
        min-height: 150px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .entry-content {
        padding: 20px;
    }
    
    .entry-content h1 {
        font-size: 1.8rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    
    .entry-content table td,
    .entry-content table th {
        white-space: normal;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .archive-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar-partner-widget {
        padding: 15px;
    }
    
    .sidebar-slider-wrapper {
        padding: 0 25px;
    }
    
    .sidebar-slider-wrapper .slider-arrow {
        opacity: 1;
        width: 30px;
        height: 30px;
        background: var(--primary-navy);
    }
    
    .partner-info h5 {
        font-size: 14px;
    }
    
    .partner-info p {
        font-size: 12px;
    }
    
    .sc-form-group input[type=text],
    .sc-form-group input[type=email],
    .sc-form-group input[type=tel],
    .sc-form-group input[type=number],
    .sc-form-group input[type=date],
    .sc-form-group select,
    .sc-form-group textarea {
        font-size: 16px;
        padding: 12px;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-grid-4 {
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
    .contact-info span {
        display: block;
        margin: 5px 0;
    }
    
    .social-links {
        margin-top: 5px;
    }
    
    .social-links a {
        margin: 0 8px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    /* Hero buttons already fixed above */
    
    .section-title h3 {
        font-size: 1.5rem;
    }
    
    .archive-item-thumbnail {
        height: 180px;
    }
    
    .archive-item-content {
        padding: 20px;
    }
    
    .archive-item-title {
        font-size: 1.2rem;
    }
    
    .archive-item-meta span {
        display: block;
        margin-bottom: 5px;
    }
    
    .pagination .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .pagination .prev,
    .pagination .next {
        padding: 0 15px;
    }
    
    .no-results .search-form {
        flex-direction: column;
    }
    
    .read-more {
        width: 100%;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .footer-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .btn-newsletter {
        width: 100%;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-links .separator {
        display: none;
    }
    
    .footer-bottom-links a {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}

/* Very Small Devices (360px and below) */
@media screen and (max-width: 360px) {
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 0.9rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .partner-logo-box {
        min-width: 140px;
    }
    
    .hero-buttons .btn {
        padding: 8px 5px;
        font-size: 0.65rem;
    }
}

/* iPhone SE and similar */
@media screen and (max-width: 320px) {
    .hero-buttons .btn {
        font-size: 0.6rem;
        padding: 8px 4px;
    }
}

/* Mobile - 2 Columns and 2 Rows (No Scrolling) */
@media (max-width: 768px) {
    .transport-section {
        padding: 40px 0 50px;
    }
    
    .transport-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .transport-section .section-header {
        text-align: center;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .transport-section .transport-grid {
        display: grid !important; /* Override any existing flex */
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns */
        gap: 20px;
        padding: 0;
        margin: 0;
        overflow-x: visible; /* Remove horizontal scroll */
        overflow-y: visible; /* Remove vertical scroll */
        -webkit-overflow-scrolling: auto; /* Disable touch scrolling */
        scroll-snap-type: none; /* Remove snap */
        scrollbar-width: auto; /* Reset scrollbar */
        grid-template-rows: auto; /* Auto rows */
    }
    
    /* Remove scrollbar styling */
    .transport-section .transport-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar */
    }
    
    /* Reset card styles for grid layout */
    .transport-section .transport-item {
        width: 100% !important; /* Full width of grid cell */
        min-width: 0; /* Remove min-width constraint */
        margin: 0; /* Remove margins */
        padding: 20px 15px;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: transform 0.2s ease;
        scroll-snap-align: none; /* Remove snap */
    }
    
    /* Hover/Active state */
    .transport-section .transport-item:active {
        transform: scale(0.98);
    }
    
    /* Icon size */
    .transport-section .transport-icon {
        margin-bottom: 15px;
    }
    
    .transport-section .transport-icon i {
        font-size: 2.2rem;
    }
    
    /* Title styling */
    .transport-section .transport-title {
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        white-space: normal;
    }
    
    /* Description styling - show 2 lines */
    .transport-section .transport-description {
        font-size: 0.85rem;
        color: #666;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.4em;
        margin: 0;
    }
    
    /* Remove gradient effects */
    .transport-section::after,
    .transport-section::before {
        display: none;
    }
    
    /* Remove scroll hint */
    .transport-section .scroll-hint {
        display: none !important;
    }
    
    /* First and last card adjustments */
    .transport-section .transport-item:first-child,
    .transport-section .transport-item:last-child {
        margin: 0;
    }
}

/* Smaller phones - adjust gap and padding */
@media (max-width: 480px) {
    .transport-section .transport-grid {
        gap: 15px;
    }
    
    .transport-section .transport-item {
        padding: 15px 10px;
    }
    
    .transport-section .transport-icon i {
        font-size: 2rem;
    }
    
    .transport-section .transport-title {
        font-size: 0.95rem;
    }
    
    .transport-section .transport-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .transport-section .transport-grid {
        gap: 10px;
    }
    
    .transport-section .transport-item {
        padding: 12px 8px;
    }
    
    .transport-section .transport-icon i {
        font-size: 1.8rem;
    }
    
    .transport-section .transport-title {
        font-size: 0.9rem;
    }
    
    .transport-section .transport-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 1; /* Only 1 line on very small screens */
    }
}

/* Mobile Menu Styles */
/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-navy);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus {
    outline: none;
}

/* Mobile Navigation */
@media screen and (max-width: 992px) {
    .menu-toggle {
        display: block !important;
    }
    
    .navbar {
        position: relative;
        min-height: 70px;
    }
    
    #nav-menu {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 80px 20px 30px;
        overflow-y: auto;
        z-index: 1000;
        margin: 0;
        list-style: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    #nav-menu.active {
        display: block !important;
    }
    
    #nav-menu > li {
        width: 100%;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.3s ease forwards;
    }
    
    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #nav-menu > li:nth-child(1) { animation-delay: 0.1s; }
    #nav-menu > li:nth-child(2) { animation-delay: 0.15s; }
    #nav-menu > li:nth-child(3) { animation-delay: 0.2s; }
    #nav-menu > li:nth-child(4) { animation-delay: 0.25s; }
    #nav-menu > li:nth-child(5) { animation-delay: 0.3s; }
    #nav-menu > li:nth-child(6) { animation-delay: 0.35s; }
    #nav-menu > li:nth-child(7) { animation-delay: 0.4s; }
    
    #nav-menu > li > a {
        padding: 15px 20px !important;
        background: #f8f9fa;
        border-radius: 8px;
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: 1px solid #e9ecef;
        color: var(--text-dark);
        font-weight: 500;
    }
    
    /* Dropdown Menu Mobile */
    #nav-menu .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        transition: none;
    }
    
    #nav-menu .menu-item-has-children.active-mobile .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    #nav-menu .dropdown-menu li a {
        padding: 12px 20px !important;
        background: #f1f3f5;
        border-radius: 6px;
        margin-bottom: 5px;
        font-size: 1rem;
        display: block;
        border: 1px solid #e9ecef;
    }
    
    /* Member button */
    #nav-menu .nav-member-btn {
        margin: 10px 0 0 !important;
        text-align: center !important;
        background: var(--primary-navy) !important;
        color: var(--white) !important;
        padding: 15px !important;
        border-radius: 8px !important;
        font-size: 1.1rem !important;
        border: none !important;
        display: block;
    }
    
    #nav-menu .nav-member-btn:hover {
        background: var(--accent-blue) !important;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    #nav-menu {
        padding: 70px 15px 30px;
    }
    
    #nav-menu > li > a {
        padding: 12px 15px !important;
        font-size: 1rem;
    }
    
    #nav-menu .dropdown-menu li a {
        padding: 10px 15px !important;
        font-size: 0.95rem;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 992px) {
        #nav-menu {
            padding-top: 90px; /* Account for iOS notch */
        }
    }
}

/* Ensure proper z-index */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .subscribe-form {
        max-width: 500px;
        margin: 0 auto 10px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-grid-4 {
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .footer-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .btn-newsletter {
        width: 100%;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-links .separator {
        display: none;
    }
    
    .footer-bottom-links a {
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
}



/* Ensure Font Awesome is loaded */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Print Styles */
@media print {
    .top-bar,
    header,
    .hero-overlay,
    .hero-buttons,
    .sidebar-content,
    footer,
    .pagination,
    .comments-area {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .entry-content {
        box-shadow: none;
        padding: 0;
    }
}
