:root {
    --primary-color: rgb(104, 195, 159);
    --router-line-color: #007bff;
    --bg-color: #fff;
    --text-color: #333;
    --sub-text-color: #666;
    --card-bg: #f5f5f5;
    --card-border: #ddd;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.scroll-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    box-sizing: border-box;
    padding: 20px;
}

.scroll-page h2 {
    color: #333;
}

.scroll-page h3 {
    color: #333;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.content-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    min-height: calc(100vh - 80px); /* Adjust for header height */
}

.main-slogan {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: rgb(104, 195, 159);
}

.div_section_visit {
    text-decoration: none;
    color: #3b82f6 !important;
}

.content-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.left-part, .right-part {
    padding: 20px;
    box-sizing: border-box;
}

.left-part {
    margin-right: 200px;
    display: flex;
    flex-direction: row;
}

.right-part {
    /*margin-left: 200px;*/
    display: flex;
    flex-direction: column;
}

.input-box-container {
    position: relative;
    width: 250px;
    height: 60px;
    border: 2px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.input-box-container input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 1.1em;
}

.div_image_icon_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.div_image_icon_wrapper {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid #eee;
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.div_image_icon_wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.connecting-lines-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 300px;
    pointer-events: none;
}

.router-line {
    stroke: var(--router-line-color);
    stroke-width: 2;
    fill: none;
}

/* New styles for Page 3 */
.page-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    padding-top: 50px;
}

.page-3-card {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-3-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-3-card .icon {
    width: 80px;
    height: auto;
    margin: 0 auto 20px;
}

.page-3-card h3 {
    font-size: 1.6em;
    color: #3b82f6;
    margin-bottom: 15px;
}

.page-3-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

.card-list {
    text-align: left;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.card-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.card-list strong {
    color: var(--primary-color);
}

.route-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    color: #3b82f6;
}

@media (max-width: 768px) {
    .content-section, .page-3-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }



    .left-part, .right-part, .page-3-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .main-slogan {
        font-size: 1.8em;
    }

    .div_image_icon_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .input-box-container {
        width: 100%;
    }

    .page-3-card {
        padding: 20px;
    }
}
