body section#home {
    display: flex;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    flex-direction: row;
    background-color: #1a3a2e;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 1;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.center-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#home .center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
    max-width: 800px;
    background-color: transparent;
    box-shadow: none;
    padding: 30px;
}

.video-toggle {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    font-size: 18px;
}

.video-toggle:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.video-disabled .video-background {
    opacity: 0;
}

.video-toggle .icon-play {
    display: none;
}

.video-disabled .video-toggle .icon-play {
    display: block;
}

.video-toggle .icon-pause {
    display: block;
}

.video-disabled .video-toggle .icon-pause {
    display: none;
}

@media (max-width: 768px) {
    body section#home {
        height: 100vh;
        min-height: 500px;
        display: flex;
    }

    body section#home .video-background {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    body section#home .center-content {
        z-index: 10;
        position: relative;
        padding: 20px;
    }

    body #home .video-toggle {
        z-index: 20;
    }

    .center-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .center-content h1 {
        font-size: 2rem;
    }

    .video-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
        left: 15px;
        bottom: 15px;
    }
}

.bus-stops {
    margin-top: 15px;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.bus-stops h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.bus-stop {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

.bus-stop:last-child {
    margin-bottom: 0;
}

.separator {
    margin: 0 6px;
    color: #999;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}