* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 메인 배너 */
.main-banner {
    position: relative;
    height: 600px;
    background-image: url('/image/main_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
}

.banner-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid white;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.banner-btn + .banner-btn {
    border-left: none;
}

.banner-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* 4개 카드 섹션 */
.card-section {
    padding: 60px 0;
    background-color: #fff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, #1064D9, #1C56A6);
    border-color: #1064D9;
}

.card-content {
    text-align: left;
    flex: 1;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3476D2;
    transition: color 0.3s;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    transition: color 0.3s;
}

.card:hover h3,
.card:hover p {
    color: #fff;
}

/* 공지사항 & 센터일정 */
.notice-schedule {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.notice-schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.more-btn {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.more-btn:hover {
    color: #4A90E2;
}

.notice-list,
.schedule-list {
    list-style: none;
}

.notice-list li,
.schedule-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice-list a,
.schedule-list a {
    text-decoration: none;
    color: #333;
    flex: 1;
    transition: color 0.3s;
}

.notice-list a:hover,
.schedule-list a:hover {
    color: #4A90E2;
}

.notice-list .date {
    color: #999;
    font-size: 14px;
}

.schedule-list .schedule-date {
    color: #4A90E2;
    font-size: 14px;
    margin-right: 15px;
    min-width: 100px;
    display: flex;
    align-items: center;
}

.schedule-list .schedule-date img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    object-fit: contain;
}

/* 센터 소개 섹션 */
.center-intro {
    padding: 80px 0;
    background-color: #F6F6F6;
    text-align: center;
}

.intro-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.intro-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.center-intro h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #4A90E2;
}

.center-intro p {
    font-size: 18px;
    color: #666;
}

/* 3개 아이콘 섹션 */
.info-section {
    padding: 60px 0;
    background-color: #F6F6F6;
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.info-item:nth-child(2) {
    margin-top: 30px;
}

.info-item {
    text-align: center;
    padding: 40px 20px;
}

.info-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.info-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* 관련 사이트 슬라이더 */
.site-slider {
    padding: 40px 0;
    background-color: #fff;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
}

.slider-item {
    min-width: 120px;
    height: 50px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
}

.slider-item-title {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    background-color: transparent;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-controls {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.slider-play,
.slider-pause {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-play:hover,
.slider-pause:hover {
    background-color: #4A90E2;
}

/* 반응형 */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .main-banner {
        background-image: url('/image/m_main_banner.png');
        height: 400px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 20px 10px 20px 15px;
        gap: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .card-content {
        text-align: left;
    }

    .card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 11px;
    }

    .card-icon img {
        width: 30px;
        height: 30px;
    }

    .notice-schedule-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        flex-direction: column;
        align-items: center;
    }

    .info-item:nth-child(2) {
        margin-top: 0;
    }

    .banner-content h1 {
        font-size: 24px;
    }

    .banner-content h2 {
        font-size: 36px;
    }

    /* 관련 사이트 슬라이더 */
    .site-slider {
        padding: 15px 0;
    }

    .slider-track {
        gap: 15px;
        padding: 8px 90px 8px 0;
    }

    .slider-item {
        min-width: 90px;
        height: 38px;
    }

    .slider-item-title {
        font-size: 14px;
        min-width: 70px;
    }

    .slider-controls {
        right: 15px;
    }

    .slider-play,
    .slider-pause {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* Extra small screens (Z Fold outer screen, etc.) */
@media (max-width: 350px) {
    .container {
        padding: 0 15px;
    }

    .main-banner {
        height: 300px;
    }

    /* 카드를 2열 유지 */
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card {
        padding: 15px 8px 15px 12px;
        gap: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .card-content {
        text-align: left;
    }

    .card h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .card p {
        font-size: 10px;
    }

    .card-icon img {
        width: 24px;
        height: 24px;
    }

    /* 공지사항 & 센터일정 */
    .notice-schedule,
    .card-section,
    .info-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .more-btn {
        font-size: 12px;
    }

    .notice-list li,
    .schedule-list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
        gap: 5px;
    }

    .schedule-list .schedule-date {
        margin-right: 0;
        min-width: auto;
    }

    /* 센터 소개 */
    .center-intro {
        padding: 60px 0;
    }

    .intro-logo img {
        width: 90px;
    }

    .center-intro h2 {
        font-size: 28px;
    }

    .center-intro p {
        font-size: 16px;
    }

    /* 3개 아이콘 섹션 */
    .info-item {
        padding: 30px 15px;
    }

    .info-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }

    .info-item h3 {
        font-size: 18px;
    }

    .info-item p {
        font-size: 13px;
    }

    /* 관련 사이트 슬라이더 */
    .site-slider {
        padding: 30px 0;
    }

    .slider-item {
        min-width: 120px;
        height: 60px;
    }

    .slider-item-title {
        font-size: 16px;
    }

    .slider-controls {
        right: 15px;
    }

    .slider-play,
    .slider-pause {
        width: 35px;
        height: 35px;
    }

    .banner-controls {
        bottom: 15px;
        right: 15px;
    }

    .banner-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}