/* 공통 CSS */
.title-header {
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
    font-size: 22px;
    color: #333;
}

/* end of 공통 CSS*/

#slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 30px auto;
    overflow: hidden;
}

#slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%); /* 오른쪽 밖으로 */
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 0;
}

#slideshow img.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.support-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px auto;
    max-width: 1500px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.left-section {
    padding-right: 40px;
}

.phone-number {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
}

.info-text {
    color: #555;
}

.quick-links .btn {
    margin: 5px;
    background-color: #eef5ff;
    color: #007bff;
    border: none;
}

.quick-links .btn:hover {
    background-color: #d6e8ff;
}

.card-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.card-item {
    border-top: 1px solid #eee;
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    justify-content: space-around;
    text-align: left;
}

.card-item .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.card-item .desc {
    color: #555;
}

.card-item > div {
    width: 45%;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.5s ease; /* 부드러운 확대를 위해 */
}

.card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    text-align: left;
}

.card-body h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-body a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.card-body a:hover {
    text-decoration: underline;
}


/* infinte slide */
.logo-slider {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.logo-slider .logo-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 15s linear infinite;
}

.logo-slider .logo-track img {
    height: 60px;
    margin: 0 30px;
    object-fit: contain;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}