.main-slides-item {
    background-image: url(../../public/assets/img/nsc_main.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 165px;
    height: 600px;
}

.nsc-header {
    background: transparent;
    padding: 0;
}

.pc-d-block {display: block;}
.mo-d-block {display: none;}
.mo-text-center {text-align: unset;}

/* Top Utility Bar */
.top-util {
    background: linear-gradient(to right, #c41e3a 0%, #003087 100%);
    padding: 10px 0;
    font-size: 14px;
}
.util-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}
.speaker-icon {
    font-size: 24px;
    color: white;
}
.opening-text {
    color: white;
    font-weight: 500;
    font-size: 18px;
}
.divider {
    color: white;
    font-size: 20px;
    font-weight: 300;
}
.dday-badge {
    color: white;
    padding: 5px 15px;
    border: 2px solid white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}
.date-label {
    color: white;
    font-weight: 400;
    font-size: 16px;
}

/* Main Header */
.main-header {
    background: #fff;
    padding: 10px 0;
}
.nsc-header .nav-link {
    color: #000;
    font-weight: 500;
    padding: 8px 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.nsc-header .nav-link:hover {
    color: #f0f0f0;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
.nsc-banner {
    /*background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;*/
    background-image: url(/assets/img/nsc_main.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 600px;
    position: relative;
    top:139px;
}
.nsc-banner::before {
    /*content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: repeating-linear-gradient(
        0deg,
        #d4af37,
        #d4af37 10px,
        #c9a129 10px,
        #c9a129 20px
    );*/
}
.nsc-quick-links {
    position: relative;
    z-index: 1;
    bottom:-30px;
}
.quick-link-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    min-height: 150px;
    display: flex;
}
.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.quick-link-card .card-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;    /* center → stretch */
    gap: 20px;
    flex: 1;                 /* 추가 — card-text가 높이 확보됨 */
}
.quick-link-card .card-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.quick-link-card .card-text h9 {
    /*font-weight: 700;*/
    margin-bottom: 10px;
    color: #333;
    font-size: 20px;
}
.quick-link-card .card-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}
.quick-link-card .card-image {
    flex-shrink: 0;
}
.quick-link-card .card-image img {width:80px;}
.quick-link-card .image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0e0e0;
}
.main_text_title {font-size: 30px; color: #333; margin:0;}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-header h3 {
    font-weight: 700;
    color: #333;
    margin: 0;
}
.section-header a {
    color: #003087;
    text-decoration: none;
    font-weight: 500;
}
.speaker-card {
    text-align: center;
    padding: 15px;
}
.speaker-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}
.speaker-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.speaker-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.speaker-card .image-placeholder {
    width: 100%;
    height: 165px;
    border-radius: 50%;
    background: #e0e0e0;
    text-align: center;
    display: inline-block;
    margin-bottom: 20px;
}
.newsletter-item {
    background: white;
    border-bottom:1px solid #a9a6a7;
    padding: 15px 15px 15px 0;
}
.newsletter-item:first-child {border-top:1px solid #a9a6a7;}
.date-item {
    background: white;
    border-left: 4px solid #c41e3a;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.date-box {
    height: 80px;
    border-radius: 8px;
}
.date-item .date {
    font-size: 24px;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 5px;
}
.date-item .month {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.date-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
}
.video-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 300px;
}
.video-card img {
    width: 100%;
    /*height: 100%;*/
    max-height:380px;
    object-fit: cover;
}

.partner-text {font-size:16px;position: relative;}
/*.partner-text::after {
    content: "|";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #706e6e;
    font-weight: 300;
    z-index: 2;
}*/
.nsc-footer {
    background: #5a5a5a;
    color: white;
    padding: 50px 0 30px;
}
.nsc-footer h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}
.nsc-footer p, .nsc-footer a {
    color: #ccc;
    font-size: 13px;
}
.nsc-footer a:hover {
    color: white;
}

/* Footer Logo */
.footer-logo {
    /*max-width: 150px;*/
    height: auto;
    top: -10px;
    position: relative;
}

/* Footer Info Section */
.footer-info {
    /*padding-left: 20px;*/
}
.footer-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-details p {
    color: #d0d0d0;
    font-size: 13px;
    line-height: 0.5;
}
.footer-details strong {
    color: white;
    font-weight: 600;
}
.footer-details .text-muted {
    color: #999 !important;
}
.footer-details .copyright {
    color: #aaa;
    font-size: 12px;
    margin-top: 10px;
}

/* Footer Right Section */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-footer-white {
    background: #5a5a5a;
    color: #333;
    border: 1px solid #fff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-footer-white:hover {
    background: #f0f0f0;
    color: #000;
}
.friendly-links {
    width: 100%;
    max-width: 250px;
}
.friendly-links .form-label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.footer-select {
    background: white;
    border: 1px solid #ddd;
    color: #333;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
}
.footer-select:focus {
    border-color: #999;
    box-shadow: none;
}

.congress-nsc-banner {
    background-image: url(/assets/img/sub-visual.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 424px;
    margin-bottom: -30px;
    position: relative;
    z-index: 1;
    top:136px;
}

.congress-tabs {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 2;
    bottom:-130px;
}
.congress-tabs .container {
    display: flex;
    justify-content: center;
}

.congress-tabs .nav-tabs {
    border: none;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex !important;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    line-height: 47px;
    position: relative;
    overflow: visible;
}

/* Animated Pill Background */
.congress-tabs .nav-tabs::before {
    content: '';
    position: absolute;
    background: #5a4a9e;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(90, 74, 158, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}


/*.congress-tabs .nav-tabs .nav-item:not(:last-child) {
    border-right: 1px solid #ccc;
}
.congress-tabs .nav-tabs .nav-item .nav-link {
    padding-right: 30px; !* 오른쪽 여백 *!
}*/

/* li 정렬 및 분리선 */
.congress-tabs .nav-tabs .nav-item {
    flex: 1;
    position: relative;
    text-align: center;
    margin: 0;
}

/* 구분선 | 추가 */
/*.congress-tabs .nav-tabs .nav-item:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-weight: 300;
    z-index: 2;
}*/

/* 마지막 탭은 구분선 없음 */
/*.congress-tabs .nav-tabs .nav-link:not(:last-child)::after {
    content: "|";
    color: #ccc;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    z-index: 1; !* 탭 텍스트보다 뒤 *!
    pointer-events: none;
}*/



/*.congress-tabs .nav-tabs .nav-item:not(:last-child)::after {
    content: "|";
    color: #ccc;
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    z-index: 0; !* separator는 뒤로 *!
    pointer-events: none;
}*/

.congress-tabs .nav-separator {
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
    padding: 0 10px;     /* 좌우 간격 */
    color: #ccc;
    font-size: 18px;     /* 필요하면 크기 조절 */
}

/* 탭 버튼 스타일 */
.congress-tabs .nav-tabs .nav-link {
    padding: 12px 35px;
    border: none;
    border-radius: 0;
    transition: color 0.3s ease;
    width: 100%;
    background: transparent;
    color: #333;
    font-weight: 500;
    position: relative;
    z-index: 2;

    padding-right: 24px; /* | 들어갈 여유 */
}

/* Active 탭 텍스트 스타일 */
.congress-tabs .nav-tabs .nav-link.active {
    color: #fff;
    font-weight: 600;
}

.sidebar-nav {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}
.sidebar-nav .nav {
    flex-direction: column;
}
.sidebar-nav .nav-item {
    border-bottom: 1px solid #e0e0e0;
}
.sidebar-nav .nav-item:last-child {
    border-bottom: none;
}
.sidebar-nav .nav-link {
    color: #333;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border-radius: 0;
}
.sidebar-nav .nav-link:hover {
    background: #e9ecef;
    color: #5a4a9e;
}
.sidebar-nav .nav-link.active {
    background: #5a4a9e;
    color: white;
    font-weight: 600;
}
.sidebar-nav .nav-link::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #5a4a9e;
    border-radius: 50%;
    margin-right: 12px;
}
.sidebar-nav .nav-link.active::before {
    background: white;
}
.content-area {
    background: white;
    padding: 40px;
    /*border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);*/
}
.welcome-header {
    margin-bottom: 30px;
}
.welcome-header h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}
.president-info {
    display: flex;
    align-items: flex-start;
    margin-top: 30px;
}
.president-photo {
    flex-shrink: 0;
    margin-right: 30px;
}
.president-photo img {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.president-message {
    flex: 1;
}
.president-message h3 {
    color: #5a4a9e;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 24px;
}
.president-message p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.president-signature .signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 36px;
    color: #333;
    margin-bottom: 5px;
}
.president-signature .name {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}
.president-signature .title {
    color: #666;
    font-size: 14px;
}
.sub_title {
    color: #333;
    margin-bottom: 22px;
    line-height: 1.2;
    display: block;
    font-size: 34px;
}


/* Floating Quick Menu */
.floating-quick-menu {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    transition: all 0.3s ease;
}

.quick-menu-list {
    list-style: none;
    margin: 0;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.quick-menu-item {
    position: relative;
}

.quick-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.quick-menu-link:hover {
    background: #5a4a9e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(90, 74, 158, 0.4);
}

.quick-menu-item.active .quick-menu-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.section-title {
    background: #d7d0df !important;
    /*font-weight: bold !important;*/
    padding: 12px !important;
    font-size: 22px !important;
}
.info-table th {
    width: 220px;
    background: #f8f8f8;
    font-weight: 600;
}
.info-table td,
.info-table th {
    padding: 12px 15px;
    vertical-align: top;
}
.info-table {
    border: 1px solid #ddd;
}

.date-table th {
    width: 220px;
    background: #f8f8f8;
    font-weight: 600;
}
.date-table td,
.date-table th {
    padding: 12px 15px;
}
.table.no-side-border {
    border-left: none !important;
    border-right: none !important;
}

.table.custom-border {
    border-left: none !important;      /* 좌측 제거 */
    border-right: none !important;     /* 우측 제거 */
    border-top: 2px solid !important;     /* 위쪽 2px */
    border-bottom: 2px solid !important;  /* 아래쪽 2px */
}

/* 셀 내부 좌/우 border 제거(위아래는 유지) */
.table.custom-border > :not(caption) > * > * {
    border-left: none !important;
    border-right: none !important;
}

.container.subpage{margin-top:100px;}


@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(102, 126, 234, 0.7);
    }
}

/* Responsive */

@media (max-width: 1200px) {
	.nsc-banner{
		top:96px;
	}
}

@media (max-width: 991px) {
    .floating-quick-menu {
        left: 10px;
    }
    .quick-menu-list {
        padding: 15px 10px;
        gap: 15px;
    }
    .quick-menu-link {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .footer-right {
        align-items: flex-start;
        margin-top: 20px;
    }
    .footer-info {
        padding-left: 0;
        margin-top: 20px;
    }


}

@media (max-width: 1000px) {
		
	.nsc-banner{
		top:96px;
	}
	
	.nsc-banner .container{
		max-width:100%;
	}
	
    .floating-quick-menu {
        display: none;
    }
    
    .pc-d-block {display: none;}
    .mo-d-block {display: block;}
    .mo-text-center {text-align: center;}
    .mo-mt-2 {margin-top: 2rem;}
    .mo-fs-14 {font-size:14px;}
    .footer-details p {
        line-height: 1.5;
    }
    
    
    .footer-buttons {
        /*flex-direction: column;*/
        width: 100%;
    }
    .btn-footer-white {
        width: 100%;
        text-align: center;
    }
    .friendly-links {
        max-width: 100%;
    }

    .nsc-banner {
        background-image: unset;
        height: unset;
    }
    
    .container.mainpage{max-width:100%; margin-top:100px;}
    .container.subpage{max-width:100%; margin-top:80px;}
    
    .nsc-banner .container {margin: 0;padding: 0;}
    .nsc-quick-links {margin-top: 0px; bottom:-100px;}
    .nsc-quick-links .container{max-width:100%;}
    
    .congress-tabs{bottom:-90px;}

    .congress-nsc-banner {
        background-image: unset;
        height: unset;
        margin-bottom: -10px;
        top:96px;
    }
    .congress-tabs .nav-tabs {
        width: 100% ;
        margin: 0;
        justify-content: center;
        line-height: 20px;
    }
    .congress-tabs .nav-tabs .nav-link {
        padding: 12px 0px 12px 12px;
        font-size: 14px;
        padding-right: 10px;
    }
    .congress-tabs .nav-separator {
        padding: 0;
        font-size: 14px;
        margin: 0 3px;
        width:1px;
    }
    .congress-tabs .nav-item:nth-child(1) {
        flex: 0 0 40%; /* Welcome Message - 35% */
        padding-left: 0;
    }

    .congress-tabs .nav-item:nth-child(3) {
        flex: 0 0 28%; /* Overview - 30% */
    }

    .congress-tabs .nav-item:nth-child(5) {
        flex: 0 0 28%; /* Committee - 35% */
    }

    .content-area {
        background: white;
        padding: 20px 0px;
    }

    .speaker-card .image-placeholder {
        width: 95px;
        height: 122px;
    }
}

@media (max-width: 767px) {
	.main-header{height:76px;}
	.nsc-banner{top:76px;}	
}
