.corridors-section {
    position: relative;
    display: block;
    padding: 120px 0 90px;
    background-color: var(--sureways-primary);
    counter-reset: count;
    z-index: 1;
}

.corridors-section .corridor-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.corridors-section .corridors__inner {
    position: relative;
    display: block;
    z-index: 1;
}

.corridors-section .corridors__map-img {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


.map-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.map-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    padding: 20px;
}

.map-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* SVG or IMG Map Styling */
.map-svg-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* Hover effect for map */
.map-section:hover .map-svg-container {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Tooltip styling */
.map-tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-tooltip.show {
    opacity: 1;
}

/* Map Marker Styles */
.location-marker {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    z-index: 3;
    transform: translate(-50%, -50%);
}

.location-marker:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.marker-pin {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.location-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    color: white;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

.location-marker:hover .location-label {
    opacity: 1;
}

/* Connection Points */
.location-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Marker colors */
.location-marker.main-hub .marker-pin {
    background: #e74c3c !important;
}

.location-marker.regional .marker-pin {
    background: #3498db !important;
}

.location-marker.warehouse .marker-pin {
    background: #f39c12 !important;
}

.location-marker.main-hub .location-label {
    background: #e74c3c !important;
}

.location-marker.regional .location-label {
    background: #3498db !important;
}

.location-marker.warehouse .location-label {
    background: #f39c12 !important;
}

/* Responsive marker size */
@media (max-width: 768px) {
    .marker-pin {
        width: 14px !important;
        height: 14px !important;
    }

    .location-label {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }
}

@media (max-width: 480px) {
    .marker-pin {
        width: 12px !important;
        height: 12px !important;
    }

    .location-label {
        font-size: 10px !important;
        padding: 2px 4px !important;
    }
}

/* Map Legend */
.map-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 0 8px;
    white-space: nowrap;
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


/* SVG Corridor Lines */
.corridor-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 2;
}

.corridor-line path {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.corridor-line circle {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Corridor Details Section */
.corridor-details-section {
    padding: 80px 0;
    background: var(--sureways-primary);
}

.corridor-cards {
    margin-top: 50px;
}

.corridor-card {
    background: var(--sureways-white);
    border-radius: var(--sureways-bdr-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(var(--sureways-gray-rgb), 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--sureways-bdr-color);
    position: relative;
    overflow: hidden;
}

.corridor-card--orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ff6b35;
}

.corridor-card--blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2c5aa0;
}

.corridor-card--green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #27ae60;
}

.corridor-card--purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #8e44ad;
}

.corridor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(var(--sureways-gray-rgb), 0.12);
}

/* Corridor Icon */
.corridor-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    border: 4px solid var(--sureways-white);
    transition: all 0.3s ease;
}

.corridor-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.corridor-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.corridor-header h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--sureways-gray);
    font-family: var(--sureways-font-two);
    flex: 1;
}

.corridor-route {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Apply corridor colors via data attribute */
.corridor-route[data-color="#ff6b35"] {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 171, 80, 0.15) 100%);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.corridor-route[data-color="#2c5aa0"] {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.15) 0%, rgba(74, 144, 226, 0.15) 100%);
    border: 2px solid rgba(44, 90, 160, 0.3);
}

.corridor-route[data-color="#27ae60"] {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(46, 204, 113, 0.15) 100%);
    border: 2px solid rgba(39, 174, 96, 0.3);
}

.corridor-route[data-color="#8e44ad"] {
    background: linear-gradient(135deg, rgba(142, 68, 173, 0.15) 0%, rgba(155, 89, 182, 0.15) 100%);
    border: 2px solid rgba(142, 68, 173, 0.3);
}

.route-point {
    background: var(--sureways-gray);
    color: var(--sureways-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.route-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.corridor-route i {
    margin: 0 20px;
    color: var(--sureways-base);
    font-size: 18px;
}

.corridor-card p {
    color: var(--sureways-gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 500;
}

/* Find Transport Section - Using existing find-transport.css */

/* Responsive Design */
@media (max-width: 1200px) {
    .map-image {
        max-height: 500px;
    }

    .map-svg-container {
        min-height: 350px;
    }
}

@media (max-width: 992px) {
    .map-image {
        max-height: 450px;
    }

    .map-svg-container {
        min-height: 300px;
    }

    .corridor-line path {
        stroke-width: 4px;
    }

    .corridor-line circle {
        r: 5px;
    }
}

@media (max-width: 768px) {
    .corridor-details-section {
        padding: 60px 0;
    }

    .corridor-card {
        padding: 25px;
        margin-bottom: 25px;
    }

    .corridor-header h4 {
        font-size: 20px;
    }

    .corridor-route {
        flex-direction: column;
        gap: 10px;
    }

    .corridor-route i {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .map-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .legend-item {
        margin: 2px 0;
    }

    .map-image {
        max-height: 400px;
    }

    .map-svg-container {
        min-height: 250px;
    }

    .map-container {
        padding: 15px;
    }

    .corridor-line path {
        stroke-width: 3px;
    }

    .corridor-line circle {
        r: 4px;
    }

    .marker-pin {
        width: 14px !important;
        height: 14px !important;
    }

    .location-label {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }

    .location-marker::after {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .corridor-card {
        padding: 20px;
    }

    .corridor-header h4 {
        font-size: 18px;
    }

    .corridor-color-indicator {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .route-point {
        padding: 6px 12px;
        font-size: 12px;
    }

    .map-image {
        max-height: 300px;
    }

    .map-svg-container {
        min-height: 200px;
    }

    .map-container {
        padding: 10px;
    }

    .corridor-line path {
        stroke-width: 2px;
    }

    .corridor-line circle {
        r: 3px;
    }

    .legend-item {
        font-size: 12px;
    }

    .legend-marker {
        width: 10px;
        height: 10px;
    }

    .marker-pin {
        width: 12px !important;
        height: 12px !important;
    }

    .location-label {
        font-size: 10px !important;
        padding: 2px 4px !important;
    }

    .location-marker::after {
        width: 4px;
        height: 4px;
    }
}

/* Responsive styles for corridor image gallery */
@media (max-width: 768px) {
    .corridor-images-gallery {
        gap: 10px;
        padding: 10px;
    }

    .corridor-gallery-item {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .corridor-images-gallery {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px;
    }

    .corridor-gallery-item {
        border-radius: 6px;
    }
}

/* Responsive styles for corridor icon */
@media (max-width: 768px) {
    .corridor-icon {
        width: 90px;
        height: 90px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .corridor-icon {
        width: 70px;
        height: 70px;
        margin-right: 12px;
        border: 3px solid var(--sureways-white);
    }

    .corridor-header h4 {
        font-size: 16px;
    }
}