.transportation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 4.375rem;
}

@media (min-width: 768px) {
    .transportation {
        padding-bottom: 8.75rem;
    }
}

.transportation .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.875rem;
    max-width: 1300px;
    width: 100%;
    padding-bottom: 1.56rem;
}

@media (min-width: 768px) {
    .transportation .section-title {
        gap: 1.364rem;
        padding-bottom: 1.136rem;
    }
}

.transportation .section-title h1 {
    color: var(--color-text-light);
    text-align: center;
    font-size: 1.875rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .transportation .section-title h1 {
        font-size: 3.125rem;
        line-height: 1.2;
    }
}

.transportation .title-divider {
    width: 4.187rem; /* Mobile: 100px */
    height: 1px;
    background-color: var(--color-text-light);
}

@media (min-width: 768px) {
    .transportation .title-divider {
        width: 6.25rem; /* Desktop: 100px/22 */
    }
}

.transportation .location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    max-width: 1300px;
    width: 100%;
    padding-top: 1.56rem;
}

@media (min-width: 768px) {
    .transportation .location-info {
        gap: 0.364rem;
        padding-top: 1.136rem;
    }
}

.transportation .location-icon {
    width: 1.375rem;
    height: 1.375rem;
}

@media (min-width: 768px) {
    .transportation .location-icon {
        width: 1.091rem;
        height: 1.091rem;
    }
}

.transportation .location-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transportation .location-address span {
    color: var(--color-text);
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.56;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .transportation .location-address span {
        font-size: 1.375rem;
        line-height: 1.18;
    }
}

.transportation .location-description {
    max-width: 982px;
}

.transportation .location-description p {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.56;
    letter-spacing: 0;
}

@media (min-width: 768px) {
    .transportation .location-description p {
        font-size: 1.375rem;
        line-height: 1.91;
    }
}

.transportation .transport-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .transportation .transport-section {
        padding: 3.182rem 0 0 0;
    }
}

.transportation .transport-modes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.364rem;
    max-width: 1000px;
    width: 100%;
    align-items: center;
}

.transportation .transport-modes .tab-trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 500px;
    border: 1px solid transparent;
    padding: 0.545rem 0.909rem;
    background: var(--color-button);
    cursor: pointer;
    color: var(--color-text);
    text-align: center;
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.2;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
    font-family: inherit;
}

.transportation .transport-modes .tab-trigger:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.transportation .transport-modes .tab-trigger:hover,
.transportation .transport-modes .tab-trigger.active {
    background: var(--color-text-light);
    color: var(--color-button);
    border-color: var(--color-text-light);
}

.transportation .transport-modes.desktop-mode {
    display: none;
}

@media (min-width: 768px) {
    .transportation .transport-modes.desktop-mode {
        display: flex;
    }

    .select-wrapper {
        display: none;
    }
}

.transportation .select-wrapper {
    margin-bottom: 1.25rem;
}

/* ==================== BUS ROUTE TABLE ==================== */
.transportation .route-tables {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    padding-top: 2rem; /* Mobile 50px */
}

@media (min-width: 768px) {
    .transportation .route-tables {
        padding-top: 3.636rem; /* Desktop 80px */
    }
}

.transportation .route-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.transportation .table-header {
    background: linear-gradient(90deg, #B3DDFF 0%, #E5EDCD 100.13%);
    padding: 1rem 0; /* Mobile 20px */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .transportation .table-header {
        padding: 0.909rem 0;
    }
}

.transportation .table-header h3 {
    color: var(--color-text);
    text-align: center;
    font-size: 1.125rem; 
    font-weight: 300;
    line-height: 1.39;
    margin: 0; 
}

@media (min-width: 768px) {
    .transportation .table-header h3 {
        font-size: 1.875rem;
        line-height: 1.33;
    }
}

.transportation .table-content {
    display: flex;
    flex-direction: column;
    padding-top: 2.5rem;
    padding-bottom: 3.125rem;
    gap: 0; 
}

@media (min-width: 768px) {
    .transportation .table-content {
        padding-top: 1.818rem;
        padding-bottom: 5.455rem;
    }
}

/* --- ROW LAYOUT FIX --- */
.transportation .route-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 1.5rem; 
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .transportation .route-row {
        gap: 6rem;
        padding-left: 0.909rem;
        padding-bottom: 1rem; 
        margin-bottom: 1rem;
    }
}

.transportation .route-row:last-child {
    margin-bottom: 0;
}

/* --- DIVIDER FIX (ABSOLUTE POSITION) --- */
.transportation .route-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #dadada;
    margin: 0;
    display: block !important;
}

.transportation .route-row:last-child .route-divider {
    display: none !important;
}

.transportation .route-number {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.56;
    min-width: 3.5rem;
    flex-shrink: 0;
    text-align: left;
}

@media (min-width: 768px) {
    .transportation .route-number {
        font-size: 1.375rem;
        line-height: 1.18;
        min-width: 6rem;
    }
}

.transportation .route-details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1rem;
    width: auto;
}

@media (min-width: 768px) {
    .transportation .route-details {
        gap: 4.25rem;
        justify-content: center; 
    }
}

.transportation .route-from,
.transportation .route-to {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.transportation .route-from { text-align: right; }
.transportation .route-to { text-align: left; }

@media (min-width: 768px) {
    .transportation .route-from,
    .transportation .route-to {
        font-size: 1.375rem;
        line-height: 1.18;
        max-width: 12.5rem;
        width: 100%;
    }
}

.transportation .route-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
}

.transportation .route-icon img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

@media (min-width: 768px) {
    .transportation .route-icon img {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.transportation .notes-section p {
    margin: 0;
}

.transportation .notes-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    max-width: 1000px;
    width: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .transportation .notes-section {
        gap: 1.364rem;
        margin: -1.818rem 0 0;
    }
}

.transportation .notes-title,
.transportation .note-text {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.56;
}

@media (min-width: 768px) {
    .transportation .notes-title,
    .transportation .note-text {
        font-size: 1.375rem;
        line-height: 1.18;
    }
}

.transportation .notes-title {
    text-align: center;
}

.transportation .notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .transportation .notes-list {
        gap: 0.545rem;
    }
}

.transportation .note-item {
    display: flex;
    align-items: center;
    gap: 1.818rem;
}

.transportation .note-icon {
    display: flex;
    /* padding: 0.375rem; */
    align-items: center;
    gap: 0.625rem;
    border-radius: 5px;
    background-color: #f3f3f3;
    flex-shrink: 0;
}

.transportation .note-icon img,
.transportation .note-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 768px) {
    .transportation .note-icon img,
    .transportation .note-icon svg {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.transportation .simple-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .transportation .simple-content-wrapper {
        padding: 2.727rem 0;
        gap: 1.455rem;
    }
}

.transportation .simple-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* max-width: 800px; */
    width: 100%;
}

.transportation .simple-row.has-icon {
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .transportation .simple-row.has-icon {
        gap: 1.091rem;
    }
}

.transportation .simple-row.has-icon .simple-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.transportation .simple-icon img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .transportation .simple-icon img {
        height: 2.25rem;
    }
}

.transportation .simple-desc {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.56;
    min-width: auto;
    /* padding: 0 1rem; */
}

@media (min-width: 768px) {
    .transportation .simple-desc {
        font-size: 1.375rem;
        line-height: 1.18;
        min-width: 9.09rem;
        padding: 0;
    }
}

.transportation .simple-desc p {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        transition-property: none !important;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }

    .transportation .mobile-dropdown-options,
    .transportation .mobile-dropdown-trigger .mobile-dropdown-icon {
        transition: none !important;
    }
}