@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');
@font-face {
    font-family: 'GyeonggiTitleLight';
    src: url('/assets/font/woff/Title_Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'GyeonggiTitleMedium';
    src: url('/assets/font/woff/Title_Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'GyeonggiTitleBold';
    src: url('/assets/font/woff/Title_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'GyeonggiBatangRegular';
    src: url('/assets/font/woff/Batang_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'GyeonggiBatangBold';
    src: url('/assets/font/woff/Batang_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary: #5E72E4;
    --secondary: #8898aa;
    --success: #2dce89;
    --info: #11cdef;
    --accent: #fb6340;
    --light: #f8f9fe;
    --dark: #172b4d;
    --gradient: linear-gradient(135deg, #5E72E4 0%, #825ee4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Noto Sans KR', sans-serif; */
    font-family: 'GyeonggiTitleLight', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    
    
}

.heart {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  width:10px;
  height:0px;
}

@media (max-width: 768px) {
  .heart {
        display: none;
      }
}
    

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    border-radius: 50px;
    background-color: #666ee4;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(94, 114, 228, 0.3);
    text-decoration: none;
    transition: background 0.3s;
}
.cta-btn:hover {
	transform: translateY(-3px);
    background-color: #565fe7;
}


/* 
.cta-btn {
    background: var(--gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(94, 114, 228, 0.3);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(94, 114, 228, 0.4);
}
 */





/* Header Styles */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 4px 30px rgba(90, 110, 181, 0.08);
    border-bottom: 1px solid rgba(90, 110, 181, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(90, 110, 181, 0.12);
    border-bottom-color: rgba(90, 110, 181, 0.15);
}






nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    color: var(--primary);
    font-size: 30px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

.menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.menu a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 16px;
    position: relative;
    border-radius: 10px;
    background: transparent;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #5a6eb5;
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #5a6eb5;
    background: transparent;
    transform: translateY(-1px);
}

.menu a.active {
    color: #5a6eb5;
    background: transparent;
    font-weight: 600;
}

.menu a:hover::after {
    width: 0;
}

.menu a.active::after {
    width: 60%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #5a6eb5;
    font-size: 24px;
    cursor: pointer;
}

/* 드롭다운 메뉴 스타일 */
.menu-dropdown {
    position: relative;
}

/* 드롭다운과 메뉴 사이 연결 영역 */
.menu-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.menu-dropdown .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(90, 110, 181, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(90, 110, 181, 0.15);
    z-index: 100;
    min-width: 180px;
    padding: 8px;
    list-style-type: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.menu-dropdown:hover .dropdown,
.menu-dropdown.show-dropdown .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    padding: 0;
    list-style-type: none;
}

.dropdown li a {
    color: #4a5568;
    text-decoration: none;
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 13px;
}

.dropdown li a:hover {
    color: #5a6eb5;
    background: linear-gradient(135deg, rgba(90, 110, 181, 0.1) 0%, rgba(123, 104, 201, 0.1) 100%);
    transform: translateX(4px);
}

/* 모바일 메뉴 오버레이 배경 (항상 숨김 - 모바일에서만 활성화) */
.mobile-menu-overlay {
    display: none;
}

/* 모바일 전용 메뉴 (항상 숨김 - 모바일에서만 활성화) */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    /* PC 메뉴 숨기기 */
    .desktop-menu {
        display: none !important;
    }
    
    /* 모바일 메뉴 오버레이 배경 */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 9999;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* 모바일 메뉴 슬라이드 패널 */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -260px;
        width: 250px;
        height: 100%;
        height: 100dvh;
        max-height: -webkit-fill-available;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 50px 0 20px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 10000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
        margin: 0;
    }

    .mobile-menu.active {
        right: 0;
    }
    
    /* 메뉴 헤더 영역 */
    .mobile-menu::before {
        content: 'MENU';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
        color: white;
        display: flex;
        align-items: center;
        padding-left: 16px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 2px;
    }
    
    /* 메뉴 아이템 스타일 */
    .menu > li {
        border-bottom: 1px solid rgba(90, 110, 181, 0.1);
        flex-shrink: 0; /* 아이템이 줄어들지 않도록 */
    }
    
    .menu > li:last-child {
        border-bottom: none;
    }
    
    /* 메뉴 아이템 컨테이너 */
    .mobile-menu > li {
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-menu > li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu > li > a.menu-link {
        display: flex;
        align-items: center;
        padding: 14px 16px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #333;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        border: none;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    
    .mobile-menu > li > a.menu-link:hover {
        color: #5a6eb5;
        background: #f8f9ff;
    }
    
    .mobile-menu > li > a.menu-link.active {
        color: #5a6eb5;
        background: transparent;
        font-weight: 600;
        border-bottom: 2px solid #5a6eb5;
    }

    /* 드롭다운 메뉴 스타일 */
    .menu-dropdown {
        position: relative;
    }
    
    .mobile-menu .menu-dropdown > a.menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
    }
    
    .mobile-menu .menu-dropdown > a.menu-link::after {
        content: '▾';
        font-size: 0.8rem;
        color: #999;
        transition: transform 0.3s ease;
    }
    
    .mobile-menu .menu-dropdown.open > a.menu-link::after {
        transform: rotate(180deg);
    }
    
    .mobile-menu .menu-dropdown .dropdown {
        position: static;
        transform: none;
        width: 100%;
        margin: 0;
        background: #f8f9fc;
        border: none;
        box-shadow: none;
        display: none;
        padding: 0;
        list-style: none;
    }
    
    /* 모바일에서는 hover 비활성화, open 클래스로만 제어 */
    .mobile-menu .menu-dropdown.open .dropdown {
        display: block;
    }
    
    .mobile-menu .menu-dropdown .dropdown li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu .menu-dropdown .dropdown li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu .menu-dropdown .dropdown li a {
        padding: 12px 16px 12px 32px;
        font-size: 0.85rem;
        color: #555;
        background: transparent;
        display: block;
        transition: all 0.2s ease;
        text-decoration: none;
    }
    
    .mobile-menu .menu-dropdown .dropdown li a:hover {
        background: #eef2f7;
        color: #5a6eb5;
    }
    
    .menu-dropdown .dropdown li a:hover {
        background: rgba(90, 110, 181, 0.1);
        color: #5a6eb5;
        padding-left: 48px;
    }

    /* 햄버거 버튼 */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        border-radius: 0;
        color: #5a6eb5;
        font-size: 24px;
        cursor: pointer;
        z-index: 10001;
        transition: all 0.2s ease;
    }
    
    .mobile-menu-btn:active {
        transform: scale(0.95);
    }
}








/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #0e0d6f;
    opacity: 0.05;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero-text p {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 30px;
}

.hero-img {
    flex: 1;
    position: relative;
}

.hero-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #eaecf4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
}

.accent-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.1;
    z-index: -1;
}

.accent-circle-1 {
    top: -30px;
    left: -20px;
}

.accent-circle-2 {
    bottom: -20px;
    right: 20%;
    background: var(--info);
}



.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary);
}




/* About Section - 가치 및 비전 */
.about-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 50%, #faf6ff 100%);
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(90, 110, 181, 0.08) 0%, rgba(155, 141, 212, 0.08) 100%);
    z-index: 0;
    z-index: -1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-img {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.about-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(90, 110, 181, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(90, 110, 181, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height:518px;
}

.about-img-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(90, 110, 181, 0.2);
}

.about-img-placeholder img {
    max-width: 85%;
    height: auto;
    transition: transform 0.4s ease;
}

.about-img-placeholder:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-img-placeholder {
        height: auto;
        aspect-ratio: 1;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px 0;
    }
    
    .about-img-placeholder {
        border-radius: 16px;
    }
}

.about-text {
    flex: 1;
}

/* about-text h2, p 스타일은 intro-center.jsp에서 정의됨 */

.about-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.about-feature-icon {
    color: var(--success);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.about-feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.about-feature-text p {
    margin-bottom: 0;
    color: var(--secondary);
}

/* Programs Section */
/* 
.programs-section {
    padding: 100px 0;
    background-color: var(--light);
}
 */

.programs-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}


.programs-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    background-color: #fff;
    opacity: 0.05;
    z-index: -1;
}



/* 
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
 */

.program-cards {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .program-cards {
        grid-template-columns: repeat(2, 1fr); /* 태블릿: 2개 */
    }
}

@media (max-width: 480px) {
    .program-cards {
        grid-template-columns: repeat(1, 1fr); /* 모바일: 1개 */
    }
}

.program-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.program-img {
    width: 100%;
    height: 200px;
    background-color: #eaecf4;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.program-content {
    padding: 30px;
}

.program-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(94, 114, 228, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
}

.program-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.program-desc {
    color: var(--secondary);
    margin-bottom: 20px;
}

.program-info {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    margin-top: 20px;
}

.program-duration, .program-age {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-size: 14px;
}

.program-icon {
    margin-right: 5px;
    color: var(--primary);
}

.program-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    margin-top: 20px;
}




/* 커리큘럼 */
/* 
.resflow-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fd 100%);
    position: relative;
    overflow: hidden;
}
 */

.resflow-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color : #d2cff0;
}


.resflow-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: red;
    /* background-color: #fff; */
    opacity: 0.05;
    z-index: 0;
}





.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, #4a90e2, #007bff);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-description {
    font-size: 16px;
    color: #4a4a4a;
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
	.step-line {
        display: none;
    }
    
    .flow-steps {
        flex-direction: column;
        gap: 50px;
        position: relative;
    }

    .step {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .step:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .step-circle {
        width: 100px;
        height: 100px;
        font-size: 16px;
        margin: 0 30px;
    }

    .step-description {
        font-size: 14px;
        text-align: left;
        margin: 0;
        width: 200px;
    }

    /* 연결 라인 */
    .flow-steps::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        background: linear-gradient(to bottom, 
            rgba(0, 123, 255, 0.1) 0%, 
            rgba(0, 123, 255, 0.3) 50%, 
            rgba(0, 123, 255, 0.1) 100%);
        transform: translateX(-50%);
        z-index: 1;
    }

    .step::after {
        content: '';
        position: absolute;
        width: 15px;
        height: 15px;
        background: #007bff;
        border-radius: 50%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
}





/* 방울색상 */

/* Instructors Section */
/* Instructors Section */
/* 
.instructors-section {
    background-color: var(--light);
    padding: 80px 0;
}
 */

.instructors-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* background-color: #fff; */
}


.instructors-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    background-color: #fff;
    opacity: 0.05;
    z-index: -1;
}



.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-subtitle {
    color: #34495e;
    font-size: 1.2em;
}
.instructor-cards {
    max-width: 1200px;
    margin: 0 auto;
}
.horizontal-card {
    display: flex;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 400px; /* 높이 줄임 */
}
.instructor-img-container {
    width: 40%;
    background-color: #e9ecef;
}
.instructor-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #6c757d;
    object-fit: cover;
}
.instructor-content {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.instructor-name {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 10px;
}
.instructor-title {
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 20px;
}
.instructor-desc {
    color: #34495e;
    line-height: 1.8;
    margin-bottom: 25px;
}
.social-links {
    display: flex;
    gap: 15px;
}
.social-link {
    color: #3498db;
    font-size: 1.2em;
    transition: color 0.3s ease;
}
.social-link:hover {
    color: #2980b9;
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
    .horizontal-card {
        flex-direction: column;
        height: auto;
    }
    .instructor-img-container,
    .instructor-content {
        width: 100%;
    }
    .instructor-img {
        height: 300px; /* 모바일에서 이미지 높이 조정 */
    }
    .instructor-content {
        padding: 25px;
    }
    .instructor-name {
        font-size: 1.5em;
    }
}

.professional-fields {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.field-tag {
    background-color: #db9abc;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
}

.tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8em;
    white-space: nowrap;
}






/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    /* background-color: #fff; */
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: 0;
}

.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin: 20px 10px;
    text-align: center;
    position: relative;
}

.testimonial-quote {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eaecf4;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 12px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: var(--secondary);
    font-size: 14px;
}

/* Contact Section */
/* 
.contact-section {
    padding: 100px 0;
    background-color: var(--light);
}
 */
 
 
.contact-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    background-color: #fff;
    opacity: 0.05;
    z-index: -1;
}







.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    padding-right: 40px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark);
}

.contact-info p {
    color: var(--secondary);
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(94, 114, 228, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--secondary);
    margin-bottom: 0;
}

.contact-form {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer - Modern & Compact */
footer {
    background: linear-gradient(135deg, #1a1f35 0%, #2d3555 100%);
    padding: 40px 0 20px;
    color: #e0e4ec;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #a8b2c1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 12px;
    opacity: 0.7;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-col p {
    color: #a8b2c1;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-col .social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 576px) {
    .footer-col .social-links {
        justify-content: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-col .social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    transition: all 0.3s;
}

.footer-col .social-link:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-col .social-link img {
    width: 22px !important;
    height: 22px !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: #6b7689;
    font-size: 12px;
    margin: 0;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .about-text {
        text-align: left;
    }
    
    .about-img {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .about-features {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 30px;
        padding: 0 10px;
    }
    
    .about-img {
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .about-content {
        gap: 25px;
        padding: 0 5px;
    }
    
    .about-img {
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }
}



/* 모달 스타일 추가 */
/* 모달 오버레이 - 화면 전체를 어둡게 커버 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000; /* 높은 z-index로 다른 요소들 위에 표시 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 모달 컨테이너 */
.modal {
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

/* 모달 헤더 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--gradient);
    color: #fff;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* 모달 내용 */
  .modal-body {
      padding: 30px;
max-height: 70vh;
overflow-y: auto;
  }
  
  /* 강사 정보 섹션 */
.modal-instructor-info {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.modal-instructor-img {
    width: 120px;
    height: 120px;
    background-color: #eaecf4;
    border-radius: 15px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

.modal-instructor-details {
    flex: 1;
}

.modal-instructor-name {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--dark);
}

.modal-instructor-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* 강사 상세 정보 */
.modal-instructor-bio h4 {
    font-size: 18px;
    color: var(--dark);
    margin: 20px 0 10px;
}

.modal-instructor-bio ul {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 15px;
}

.modal-instructor-bio li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.modal-instructor-bio li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.modal-instructor-profile {
    color: var(--secondary);
    line-height: 1.7;
}

/* 모달 내 소셜 링크 */
.modal-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}




/* 사진 슬라이드 */
.hero-slider-container {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	perspective: 1000px;
}

.hero-slider {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-slide {
	position: absolute;
	width: 80%;
	height: 100%;
	opacity: 0;
	transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(0.8) rotateY(45deg);
	pointer-events: none;
}

.hero-slide.active {
	opacity: 1;
	transform: scale(1) rotateY(0deg);
	z-index: 10;
	pointer-events: all;
}

.hero-slide.prev {
	transform: scale(0.7) rotateY(-45deg) translateX(-50%);
	opacity: 0.5;
	z-index: 5;
}

.hero-slide.next {
	transform: scale(0.7) rotateY(45deg) translateX(50%);
	opacity: 0.5;
	z-index: 5;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.slider-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	z-index: 20;
}

.slider-nav button {
	background: rgba(255,255,255,0.7);
	border: none;
	padding: 10px 15px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-nav button:hover {
	background: rgba(255,255,255,0.9);
}

/* 모바일 버전 슬라이드 메인 사진 */
#mobile-hero .hero-slider-container-mobile {
    position: relative;
    width: 350px;
    height: 350px; /* 고정된 높이 */
    overflow: hidden;
}

#mobile-hero .hero-slider-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#mobile-hero .hero-slide-mobile {
    opacity: 0;
    position: absolute;
    transition: all 0.5s ease-in-out;
    width: 100%; /* 전체 너비 고정 */
    height: 100%; /* 전체 높이 고정 */
}

/* 모든 슬라이드 이미지에 동일하게 스타일 적용 */
#mobile-hero .hero-slide-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 비율을 유지하면서 이미지가 공간을 꽉 채우게 함 */
    border-radius: 20px; /* 둥근 모서리 처리 (모든 이미지에 적용) */
}

#mobile-hero .hero-slide-mobile.active {
    opacity: 1;
    position: relative;
}

/* 슬라이드 네비게이션 버튼 스타일 (옵션) */
#mobile-hero .slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 5px;
    cursor: pointer;
}




	/* 상담안내 */
	.language-dev__container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 60px 15px;
	}
	.language-dev__contact-section {
		background-color: white;
		border-radius: 20px;
		box-shadow: 0 4px 15px rgba(94, 114, 228, 0.3);
		display: flex;
		overflow: hidden;
		border: 1px solid rgba(94, 114, 228, 0.1);
	}
	.language-dev__contact-info {
		flex: 1;
		background: linear-gradient(135deg, #6a5acd 0%, #5e72e4 100%);
		color: white;
		padding: 50px 40px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		position: relative;
		overflow: hidden;
	}
	.language-dev__contact-info::before {
		content: '';
		position: absolute;
		top: -50%;
		left: -50%;
		width: 200%;
		height: 200%;
		background: rgba(255,255,255,0.1);
		transform: rotate(-45deg);
		z-index: 1;
	}
	.language-dev__contact-info-title {
		font-size: 2.2rem;
		margin-bottom: 20px;
		font-weight: 700;
		position: relative;
		z-index: 2;
	}
	.language-dev__contact-details {
		margin-top: 30px;
		position: relative;
		z-index: 2;
	}
	.language-dev__contact-item {
		display: flex;
		align-items: center;
		margin-bottom: 20px;
		background: rgba(255,255,255,0.1);
		padding: 15px;
		border-radius: 10px;
		transition: transform 0.3s ease;
	}
	.language-dev__contact-item:hover {
		transform: translateX(10px);
	}
	.language-dev__contact-icon {
		font-size: 2rem;
		margin-right: 20px;
		color: #ffffff;
		width: 50px;
		text-align: center;
		opacity: 0.8;
	}
	.language-dev__contact-text-wrapper h4 {
		font-size: 1.1rem;
		margin-bottom: 5px;
		color: rgba(255,255,255,0.8);
	}
	.language-dev__contact-description {
		max-width: 500px;
		margin-bottom: 30px;
		line-height: 1.8;
		position: relative;
		z-index: 2;
	}
	.language-dev__consultation-info {
		flex: 1;
		padding: 50px 40px;
		background-color: #f5f3ff;
	}
	.language-dev__consultation-title {
		color: #5e72e4;
		margin-bottom: 30px;
		font-size: 1.8rem;
		font-weight: 700;
	}
	.language-dev__consultation-steps {
		background-color: white;
		padding: 25px;
		border-radius: 15px;
		box-shadow: 0 4px 15px rgba(94, 114, 228, 0.1);
		border: 1px solid rgba(94, 114, 228, 0.05);
	}
	.language-dev__consultation-steps-title {
		color: #5e72e4;
		margin-bottom: 15px;
		font-size: 1.3rem;
	}
	.language-dev__consultation-steps-list {
		list-style-type: none; /* 기본 숫자 리스트 제거 */
		padding-left: 0; /* 왼쪽 패딩 제거 */
	}
	.language-dev__consultation-steps-item {
		margin-bottom: 15px;
		color: #4a5568;
		position: relative;
		padding-left: 35px; /* 체크 마크를 위한 충분한 공간 */
	}
	.language-dev__consultation-steps-item::before {
		content: '✓';
		position: absolute;
		left: 0;
		color: #5e72e4;
		font-weight: bold;
		margin-right: 15px; /* 체크 마크와 텍스트 사이 간격 */
	}
	.language-dev__cta-btn {
		display: inline-block;
		background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
		color: white;
		padding: 12px 25px;
		text-decoration: none;
		border-radius: 8px;
		transition: all 0.3s ease;
		position: relative;
		margin-top: 20px;
		z-index: 2;
		overflow: hidden;
	}
	.language-dev__cta-btn::before {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
		transition: all 0.6s ease;
	}
	.language-dev__cta-btn:hover::before {
		left: 100%;
	}
	.language-dev__cta-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 4px 15px rgba(94, 114, 228, 0.3);
	}

		/* 모바일 반응형 스타일 */
	@media screen and (max-width: 768px) {
		.language-dev__container {
			padding: 30px 15px;
		}

		.language-dev__contact-section {
			flex-direction: column;
			border-radius: 10px;
		}

		.language-dev__contact-info,
		.language-dev__consultation-info {
			flex: none;
			padding: 30px 20px;
		}

		.language-dev__contact-info-title {
			font-size: 1.8rem;
			text-align: center;
		}

		.language-dev__contact-description {
			text-align: center;
			max-width: 100%;
		}

		.language-dev__contact-details {
			margin-top: 20px;
		}

		.language-dev__contact-item {
			flex-direction: column;
			align-items: center;
			text-align: center;
		}

		.language-dev__contact-icon {
			margin-right: 0;
			margin-bottom: 10px;
		}

		.language-dev__cta-btn {
			display: block;
			width: 100%;
			text-align: center;
		}

		.language-dev__consultation-title {
			font-size: 1.5rem;
			text-align: center;
		}

		.language-dev__consultation-steps-list {
			padding-left: 15px;
		}

		.language-dev__consultation-steps-item {
			padding-left: 25px;
		}

		.language-dev__consultation-steps-item ul {
			padding-left: 20px;
		}
	}

	/* 작은 모바일 기기용 추가 최적화 */
	@media screen and (max-width: 480px) {
		.language-dev__contact-info-title {
			font-size: 1.5rem;
		}

		.language-dev__contact-description {
			font-size: 0.9rem;
		}

		.language-dev__consultation-steps-item {
			font-size: 0.9rem;
		}
	}
	
	
	
	
	
	
	
	/* Page Header */
        .page-header {
            background-color: #fff;
            padding: 160px 0 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: var(--gradient);
            opacity: 0.05;
            z-index: 0;
        }
        
        .page-title {
            font-size: 42px;
            color: var(--dark);
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .page-subtitle {
            font-size: 18px;
            color: var(--secondary);
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        /* About History Section */
        .history-section {
            padding: 80px 0;
            background-color: var(--light);
        }
        
       
        
        .timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px 0;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background: rgba(94, 114, 228, 0.2);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
            border-radius: 2px;
        }
        
        .timeline-item {
            padding: 20px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }
        
        .timeline-item:nth-child(odd) {
            left: 0;
            text-align: right;
        }
        
        .timeline-item:nth-child(even) {
            left: 50%;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            top: 25px;
            border: 4px solid var(--light);
            z-index: 1;
        }
        
        .timeline-item:nth-child(odd)::after {
            right: -12px;
        }
        
        .timeline-item:nth-child(even)::after {
            left: -12px;
        }
        
        .timeline-content {
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }
        
        .timeline-year {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .timeline-title {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--dark);
        }
        
        .timeline-desc {
            color: var(--secondary);
            font-size: 15px;
        }
        
        
        
        
        
        
        /* Team Banner */
        .team-banner {
            padding: 80px 0;
            background: var(--gradient);
            color: white;
            text-align: center;
        }
        
        .team-banner h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        
        .team-banner p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }
        
        .team-banner .cta-btn {
            background: white;
            color: var(--primary);
        }
        
        
        
        
        
        
 
        
        
        
/* 언어 발달 단계 인포그래픽 섹션 */
/* 
.language-development-guide {
    background-color: #f9fafb;
    padding: 80px 20px;
    font-family: 'Inter', 'Pretendard', sans-serif;
    text-align: center;
}
 */


.language-development-guide {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    text-align: center;
}

.language-development-guide::before {
    content: '';
    position: absolute;
    top: 1000px;
    right: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a6eb5, #7a91d3);
    opacity: 0.1;
    z-index: 0;
}






.development-stages-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px;
}
.stage-block {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    /* transition: all 0.3s ease; */
    border-left: 6px solid #7764e4;
    
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.stage-block.show {
    opacity: 1;
    transform: translateY(0);
}
.stage-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.stage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.stage-icon {
    font-size: 50px;
    color: #3498db;
}
.stage-age {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2b3c;
}
.stage-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
    color: #333;
}
.stage-content ul {
    list-style: none;
    padding: 0;
}
.stage-content li {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    padding-left: 15px;
    position: relative;
}
.stage-content li::before {
    content: '\2022';
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.guide-footer {
    margin-top: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a2b3c;
}

























/* 언어 발달 연구 및 인사이트 섹션 스타일 */
/* 
.language-research-insights {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-color: var(--light);
    padding: 100px 0;
    font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
 */

.language-research-insights {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* background-color: #fff; */
}

/* 
.language-research-insights::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    background-color: #fff;
    opacity: 0.05;
    z-index: -1;
}
 */

.language-research-insights::before,
.language-research-insights::after,
.language-research-insights span {
    content: '';
    position: absolute;
    bottom: 15px;
    width: 100px; /* 너비를 절반으로 */
    height: 400px;
    z-index: -1;
    
    /* 위쪽 반둥근 모양 (절반) */
    border-top-left-radius: 100px;
    border-top-right-radius: 0;

    /* 왼쪽 하단이 뾰족한 형태 */
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 0% 100%);
    
    /* 투명도 */
    opacity: 0.3; /* 투명도 조절 (0.0 ~ 1.0) */
}

/* 첫 번째 */
.language-research-insights::before {
    left: 120px;
    background: #de97c0;
}

/* 두 번째 */
.language-research-insights::after {
    left: 220px;
    background: #cbb8df;
}

/* 세 번째  */
.language-research-insights span {
    position: absolute;
    left: 320px;
    background: #100e75;
    display: block;
    width: 100px;
    height: 400px;
}


/* 🔺 5시 방향 뾰족한 작은 삼각형 */
.language-research-insights .triangle {
    position: absolute;
    left: 375px; /* 삼각형 위치 조정 */
    bottom: 10px; /* 살짝 띄우기 */
    width: 45px;
    height: 45px;
    background: #de97c0;
    
    /* 오른쪽으로 90도 회전된 삼각형 */
    clip-path: polygon(0% 82%, 100% 0%, 100% 100%);
    
    opacity: 0.3; /* 투명도 조절 (0.0 ~ 1.0) */
}






.research-insights-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.research-card {
    width: 380px;
    max-width:318px;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease-in-out;
    border: 1px solid transparent;
}

.research-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 152, 219, 0.2);
}

.research-icon {
    font-size: 3.5rem;
    color: #3498db;
    margin-bottom: 25px;
    opacity: 0.9;
}

.research-title {
    font-size: 1.5rem;
    color: #1a2b3c;
    margin-bottom: 15px;
    font-weight: 600;
}

.research-description {
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size:15px;
}

.read-more-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}



/* ========================================
   인사이트 모달 스타일 (research-modal)
   - 전문가 소개 모달과 동일한 스타일 적용
   ======================================== */

/* 오버레이 */
.research-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-modal.show {
    opacity: 1;
}

/* 모달 컨테이너 */
.research-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(102, 110, 228, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.research-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

/* 헤더 */
.research-modal .modal-header-advanced {
    position: relative;
    text-align: center;
    padding: 12px 16px 10px;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    flex-shrink: 0;
    margin-bottom: 0;
}

.research-modal .modal-header-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.research-modal .header-accent-line {
    display: none;
}

.research-modal .modal-research-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    letter-spacing: 0;
}

.research-modal .title-highlight {
    color: #ffd6e8;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
    margin-bottom: 0;
}

.research-modal .modal-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* 본문 (스크롤) */
.research-modal .modal-research-section,
.research-modal .modal-strategy-section {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f5f9;
}

.research-modal .modal-research-section::-webkit-scrollbar,
.research-modal .modal-strategy-section::-webkit-scrollbar {
    width: 6px;
}

.research-modal .modal-research-section::-webkit-scrollbar-track,
.research-modal .modal-strategy-section::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.research-modal .modal-research-section::-webkit-scrollbar-thumb,
.research-modal .modal-strategy-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* 섹션 제목 */
.research-modal .modal-research-section h3,
.research-modal .modal-strategy-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0;
    padding-bottom: 0;
}

.research-modal .modal-research-section h3::before,
.research-modal .modal-strategy-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #5a6eb5, #7b68c9);
    border-radius: 2px;
}

/* 인사이트 카드 */
.research-modal .research-insight,
.research-modal .strategy-insight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.research-modal .research-insight:hover,
.research-modal .strategy-insight:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.research-modal .insight-icon,
.research-modal .strategy-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(90, 110, 181, 0.3);
}

.research-modal .research-insight p,
.research-modal .strategy-insight p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    flex: 1;
}

/* 푸터 */
.research-modal .modal-footer-advanced {
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.research-modal .modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(90, 110, 181, 0.35);
    position: relative;
    overflow: hidden;
}

.research-modal .modal-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.research-modal .modal-close-btn:hover::before {
    left: 100%;
}

.research-modal .modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 110, 181, 0.45);
}

.research-modal .modal-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s ease;
}

.research-modal .modal-close-btn:hover svg {
    transform: rotate(90deg);
}

/* 출처 */
.research-modal .modal-footer {
    text-align: center;
    padding: 10px 24px 16px;
    background: #f8fafc;
    flex-shrink: 0;
    margin-top: 0;
    border-top: none;
}

.research-modal .research-source {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

/* ========================================
   인사이트 모달 - 반응형
   ======================================== */
@media (max-width: 768px) {
    .research-modal {
        padding: 20px 10px;
        align-items: center;
        justify-content: center;
    }
    
    .research-modal .modal-content {
        width: 95%;
        /* 브라우저 주소창 고려: vh fallback + dvh (dynamic viewport height) */
        max-height: 70vh;
        max-height: 70dvh;
        height: auto;
        border-radius: 20px;
        margin: auto;
    }
    
    .research-modal .modal-header-advanced {
        padding: 10px 14px 8px;
    }
    
    .research-modal .modal-research-title {
        font-size: 1.05rem;
    }
    
    .research-modal .modal-tagline {
        font-size: 0.72rem;
    }
    
    .research-modal .modal-research-section,
    .research-modal .modal-strategy-section {
        padding: 16px;
        gap: 16px;
    }
    
    .research-modal .modal-research-section h3,
    .research-modal .modal-strategy-section h3 {
        font-size: 0.95rem;
    }
    
    .research-modal .research-insight,
    .research-modal .strategy-insight {
        padding: 16px;
        gap: 12px;
    }
    
    .research-modal .insight-icon,
    .research-modal .strategy-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.3rem;
        border-radius: 12px;
    }
    
    .research-modal .research-insight p,
    .research-modal .strategy-insight p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .research-modal .modal-footer-advanced {
        padding: 14px 20px;
    }
    
    .research-modal .modal-close-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .research-modal .modal-footer {
        padding: 10px 16px 16px;
    }
    
    .research-modal .research-source {
        font-size: 0.7rem;
    }
    
    .research-insights-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .research-modal {
        padding: 24px 8px;
        align-items: center;
        justify-content: center;
    }
    
    .research-modal .modal-content {
        width: calc(100% - 16px);
        /* 브라우저 주소창 고려: vh fallback + dvh (dynamic viewport height) */
        max-height: 68vh;
        max-height: 68dvh;
        height: auto;
        margin: auto;
        border-radius: 16px;
    }
    
    .research-modal .modal-header-advanced {
        padding: 8px 12px 6px;
    }
    
    .research-modal .modal-research-title {
        font-size: 0.95rem;
    }
    
    .research-modal .modal-tagline {
        font-size: 0.68rem;
    }
    
    .research-modal .modal-research-section,
    .research-modal .modal-strategy-section {
        padding: 12px;
        gap: 14px;
    }
    
    .research-modal .modal-research-section h3,
    .research-modal .modal-strategy-section h3 {
        font-size: 0.9rem;
    }
    
    .research-modal .research-insight,
    .research-modal .strategy-insight {
        padding: 14px;
        gap: 10px;
    }
    
    .research-modal .insight-icon,
    .research-modal .strategy-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .research-modal .research-insight p,
    .research-modal .strategy-insight p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    
    .research-modal .modal-footer-advanced {
        padding: 12px 14px;
    }
    
    .research-modal .modal-close-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .research-modal .modal-footer {
        padding: 8px 14px 14px;
    }
}






/* Featured Section */
/*
.featured-section {
    padding: 80px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient);
    transition: height 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-desc {
    color: var(--secondary);
}
*/



/* Featured Section */
/* 
.featured-section {
    padding: 40px 0;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
 */
.featured-section {
    padding: 80px 0;
    background-color: #d2cff0;
}

.featured-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient);
    background-color: #fff;
    opacity: 0.05;
    z-index: -1;
}


/* 변경된 구조 - 수평 배치 */
.quadrant-structure {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

/* Feature Cards */
.feature-card {
    position: relative; /* absolute 대신 relative 사용 */
    width: 220px;
    height: 220px;
    padding: 20px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    /* transition: all 0.3s; */
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    
    /* 애니메이션 기본값 */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 화면에 나타날 때 적용될 클래스 */
.feature-card.show {
    opacity: 1;
    transform: translateY(0);
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 원형 테두리 애니메이션 */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    box-sizing: border-box;
    transition: all 0.8s ease;
}

.feature-card:hover::after {
    border-color: var(--primary);
    transform: rotate(360deg);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.5s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* 카드 포지션 클래스 제거 - 더 이상 필요 없음 */
/* .top-left, .bottom-left, .top-right, .bottom-right 클래스 사용하지 않음 */

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: bold;
}

.feature-desc {
    color: var(--secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* 연결선 컨테이너 제거 - 더 이상 필요 없음 */
.line-container {
    display: none;
}

/* 애니메이션 */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 반응형 조정 */
@media (max-width: 992px) {
    .quadrant-structure {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-card {
        margin: 15px;
    }
}

@media (max-width: 576px) {
    .quadrant-structure {
        flex-direction: column;
        align-items: center;
    }
}



.fade-in-insights {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-insights.show {
    opacity: 1;
    transform: translateY(0);
}





.contact-footer-section {
    margin-top: 32px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.contact-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.contact-text {
    color: #555;
    margin-bottom: 16px;
}

.contact-phone {
    display: inline-block;
    background-color: #eef5ff;
    border-radius: 999px;
    padding: 12px 24px;
}

.contact-phone i {
    color: var(--blue);
    margin-right: 8px;
}
.phone-number {
    color: #1c3d7a;
    font-weight: 700;
}
.contact-phone i {
    font-size: 24px; /* 아이콘 크기 */
    color: #5a6eb5; /* 아이콘 색상 */
    margin-right: 8px; /* 간격 */
}




/* ========================================
   왜 말을 못할까 섹션 - 개선된 스타일
   ======================================== */
.speech-tab-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f0ff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* 배경 장식 */
.speech-tab-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(90, 110, 181, 0.1) 0%, rgba(123, 104, 201, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.speech-tab-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(123, 104, 201, 0.08) 0%, rgba(90, 110, 181, 0.08) 100%);
    border-radius: 50%;
    z-index: 0;
}

@media (max-width: 768px) {
    .speech-tab-section::before,
    .speech-tab-section::after {
        display: none;
    }
}

.speech-tab-container {
    max-width: 1000px;
    margin: auto;
    position: relative;
    z-index: 1;
}

/* 섹션 헤더 */
.speech-tab-header {
    text-align: center;
    margin-bottom: 50px;
}

.speech-tab-title {
    font-size: 2.4rem;
    text-align: center;
    color: #5a6eb5;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.speech-tab-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #5a6eb5, #7b68c9);
    border-radius: 2px;
}

.speech-tab-highlight {
    color: #7b68c9;
    font-weight: 800;
}

.speech-tab-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.7;
}

/* 탭 버튼 */
.speech-tab-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.speech-tab-button {
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid transparent;
    background: white;
    color: #5a6eb5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(90, 110, 181, 0.1);
    position: relative;
    overflow: hidden;
}

.speech-tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.speech-tab-button:hover::before {
    left: 100%;
}

.speech-tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 110, 181, 0.2);
    border-color: #5a6eb5;
}

.speech-tab-button.active {
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(90, 110, 181, 0.35);
    border-color: transparent;
}

/* 탭 콘텐츠 */
.speech-tab-content {
    max-width: 900px;
    margin: 0 auto;
    display: none;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.speech-tab-content.active {
    display: block;
}

/* 콘텐츠 박스 */
.speech-tab-box {
    min-height: 280px;
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(90, 110, 181, 0.12);
    margin-bottom: 30px;
    border: 1px solid rgba(90, 110, 181, 0.08);
    position: relative;
    overflow: hidden;
}

/* 상단 실선 제거됨 */

.speech-tab-subtitle {
    font-size: 1.4rem;
    color: #5a6eb5;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.speech-tab-text {
    line-height: 1.9;
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
}

.speech-tab-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.speech-tab-list li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #7b68c9;
}

.speech-tab-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(90, 110, 181, 0.1);
}

/* 제목 영역 */
.speech-tab-list li .item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #5a6eb5;
    font-size: 1.05rem;
}

.speech-tab-list li .item-title span {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 내용 영역 */
.speech-tab-list li .item-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 30px;
}

/* 카드 스타일 */
.speech-tab-card-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.speech-tab-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(90, 110, 181, 0.1);
    border: 1px solid rgba(90, 110, 181, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 카드 상단 실선 제거됨 */

.speech-tab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(90, 110, 181, 0.15);
}

.speech-tab-card h4 {
    color: #5a6eb5;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.speech-tab-card .speech-tab-list li {
    padding: 10px 12px;
    margin-bottom: 10px;
}

/* 추가 정보 박스 */
.speech-info-box {
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    border-radius: 16px;
    padding: 24px 30px;
    margin-top: 20px;
    color: white;
}

.speech-info-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.speech-info-box p strong {
    color: #ffd6e8;
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    .speech-tab-section {
        padding: 50px 15px;
    }
    
    .speech-tab-header {
        margin-bottom: 35px;
    }
    
    .speech-tab-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    
    .speech-tab-title::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }
    
    .speech-tab-description {
        font-size: 0.95rem;
        margin-top: 20px;
        padding: 0 10px;
    }
    
    .speech-tab-description br {
        display: none;
    }
    
    .speech-tab-buttons {
        gap: 8px;
        padding: 0 5px;
    }
    
    .speech-tab-button {
        padding: 10px 14px;
        font-size: 0.8rem;
        border-radius: 25px;
        box-shadow: 0 2px 10px rgba(90, 110, 181, 0.08);
    }
    
    .speech-tab-content {
        padding: 0 5px;
    }
    
    .speech-tab-box {
        min-height: auto;
        padding: 22px 18px;
        border-radius: 18px;
        margin-bottom: 20px;
    }
    
    /* 상단 실선 제거됨 */
    
    .speech-tab-subtitle {
        font-size: 1.15rem;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    
    .speech-tab-text {
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 15px;
    }
    
    .speech-tab-list {
        margin-top: 15px;
    }
    
    .speech-tab-list li {
        padding: 14px 16px;
        margin-bottom: 10px;
        border-radius: 10px;
        gap: 6px;
        border-left-width: 3px;
    }
    
    .speech-tab-list li .item-title {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .speech-tab-list li .item-title span {
        font-size: 1rem;
    }
    
    .speech-tab-list li .item-desc {
        font-size: 0.88rem;
        padding-left: 28px;
        line-height: 1.6;
    }
    
    .speech-tab-card-wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .speech-tab-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    /* 카드 상단 실선 제거됨 */
    
    .speech-tab-card h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .speech-tab-card .speech-tab-list li {
        padding: 10px 12px;
        margin-bottom: 8px;
        font-size: 0.88rem;
    }
    
    .speech-info-box {
        padding: 18px 16px;
        border-radius: 12px;
        margin-top: 18px;
    }
    
    .speech-info-box p {
        font-size: 0.9rem;
        line-height: 1.6;
        flex-wrap: wrap;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    .speech-tab-section {
        padding: 40px 12px;
    }
    
    .speech-tab-header {
        margin-bottom: 28px;
    }
    
    .speech-tab-title {
        font-size: 1.35rem;
    }
    
    .speech-tab-title::after {
        width: 50px;
    }
    
    .speech-tab-description {
        font-size: 0.88rem;
        margin-top: 18px;
    }
    
    .speech-tab-buttons {
        gap: 6px;
        margin-bottom: 25px;
    }
    
    .speech-tab-button {
        padding: 8px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
    }
    
    .speech-tab-box {
        padding: 18px 14px;
        border-radius: 14px;
    }
    
    .speech-tab-subtitle {
        font-size: 1.05rem;
        margin-bottom: 12px;
        gap: 6px;
    }
    
    .speech-tab-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }
    
    .speech-tab-list li {
        padding: 12px 14px;
        margin-bottom: 8px;
        border-radius: 8px;
        gap: 5px;
    }
    
    .speech-tab-list li .item-title {
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .speech-tab-list li .item-title span {
        font-size: 0.95rem;
    }
    
    .speech-tab-list li .item-desc {
        font-size: 0.82rem;
        padding-left: 24px;
        line-height: 1.55;
    }
    
    .speech-tab-card {
        padding: 16px;
        border-radius: 14px;
    }
    
    .speech-tab-card h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .speech-tab-card .speech-tab-list li {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    
    .speech-info-box {
        padding: 14px 12px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .speech-info-box p {
        font-size: 0.82rem;
        gap: 6px;
    }
}

/* 아주 작은 화면 */
@media (max-width: 360px) {
    .speech-tab-title {
        font-size: 1.2rem;
    }
    
    .speech-tab-button {
        padding: 7px 10px;
        font-size: 0.7rem;
    }
    
    .speech-tab-box {
        padding: 15px 12px;
    }
    
    .speech-tab-subtitle {
        font-size: 0.98rem;
    }
    
    .speech-tab-text {
        font-size: 0.82rem;
    }
    
    .speech-tab-list li {
        padding: 10px 12px;
        gap: 4px;
    }
    
    .speech-tab-list li .item-title {
        font-size: 0.85rem;
        gap: 5px;
    }
    
    .speech-tab-list li .item-title span {
        font-size: 0.9rem;
    }
    
    .speech-tab-list li .item-desc {
        font-size: 0.78rem;
        padding-left: 20px;
    }
}


#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none; /* 기본은 숨김 */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: flex; /* 이 줄이 필요함! */
  }

  .spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }


/* ========================================
   전문가 소개 모달 스타일 (therapist-modal)
   ======================================== */

/* 오버레이 */
.therapist-modal.modal-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.therapist-modal.modal-overlay.active {
    opacity: 1;
}

/* 모달 컨테이너 */
.therapist-modal-content.modal {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(102, 110, 228, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.therapist-modal.modal-overlay.active .therapist-modal-content.modal {
    transform: translateY(0) scale(1);
}

/* 헤더 */
.therapist-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    flex-shrink: 0;
    border-radius: 24px 24px 0 0;
}

.therapist-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    border-radius: 24px 24px 0 0;
}

.therapist-header-accent {
    display: none;
}

.therapist-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* 프로필 이미지 */
.therapist-modal-header .modal-instructor-img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.therapist-modal-header .modal-instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

/* 이름 & 직책 */
.therapist-modal-header .modal-instructor-details {
    flex: 1;
}

.therapist-modal-header .modal-instructor-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.therapist-modal-header .modal-instructor-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* X 닫기 버튼 */
.therapist-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.therapist-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 본문 (스크롤) */
.therapist-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f5f9;
}

.therapist-modal-body::-webkit-scrollbar {
    width: 6px;
}

.therapist-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.therapist-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* 바이오 섹션 */
.modal-instructor-bio {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bio-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.bio-section:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.bio-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
}

.bio-icon {
    font-size: 1.1rem;
}

.bio-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bio-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.bio-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
}

.bio-section li:last-child {
    margin-bottom: 0;
}

.bio-section p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* 푸터 */
.therapist-modal-footer {
    display: flex;
    justify-content: center;
    padding: 16px 24px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.therapist-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.therapist-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.therapist-close-btn:hover::before {
    left: 100%;
}

.therapist-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.therapist-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s ease;
}

.therapist-close-btn:hover svg {
    transform: rotate(90deg);
}

/* ========================================
   전문가 소개 모달 - 반응형
   ======================================== */
@media (max-width: 768px) {
    .therapist-modal-content.modal {
        width: 95%;
        max-height: 70vh;
        max-height: 70dvh;
        border-radius: 20px;
    }
    
    .therapist-modal-header {
        padding: 10px 14px;
        border-radius: 20px 20px 0 0;
    }
    
    .therapist-modal-header::before {
        border-radius: 20px 20px 0 0;
    }
    
    .therapist-header-info {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }
    
    .therapist-modal-header .modal-instructor-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .therapist-modal-header .modal-instructor-img {
        width: 65px;
        height: 65px;
        min-width: 65px;
    }
    
    .therapist-modal-header .modal-instructor-name {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .therapist-modal-header .modal-instructor-title {
        font-size: 0.85rem;
        text-align: left;
    }
    
    .therapist-modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .therapist-modal-body {
        padding: 16px;
    }
    
    .bio-section {
        padding: 16px;
    }
    
    .bio-section h4 {
        font-size: 0.95rem;
    }
    
    .bio-section li,
    .bio-section p {
        font-size: 0.9rem;
    }
    
    .therapist-modal-footer {
        padding: 14px 20px 18px;
    }
    
    .therapist-close-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .therapist-modal-content.modal {
        width: calc(100% - 16px);
        max-height: 68vh;
        max-height: 68dvh;
        margin: 8px;
        border-radius: 16px;
    }
    
    .therapist-modal-header {
        padding: 8px 12px;
        border-radius: 16px 16px 0 0;
    }
    
    .therapist-modal-header::before {
        border-radius: 16px 16px 0 0;
    }
    
    .therapist-header-info {
        gap: 12px;
    }
    
    .therapist-modal-header .modal-instructor-img {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }
    
    .therapist-modal-header .modal-instructor-name {
        font-size: 1.05rem;
    }
    
    .therapist-modal-header .modal-instructor-title {
        font-size: 0.8rem;
    }
    
    .therapist-modal-body {
        padding: 12px;
    }
    
    .modal-instructor-bio {
        gap: 14px;
    }
    
    .bio-section {
        padding: 14px;
        border-radius: 12px;
    }
    
    .bio-section h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .bio-section li,
    .bio-section p {
        font-size: 0.85rem;
    }
}


/* ========================================
   프로그램 모달 스타일 (program-modal)
   - 인사이트/전문가 모달과 동일한 스타일
   ======================================== */

/* 오버레이 */
.program-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.9) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-modal.show {
    opacity: 1;
}

/* 모달 컨테이너 */
.program-modal .modal-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(102, 110, 228, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.program-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

/* 헤더 */
.program-modal .modal-header-program {
    position: relative;
    text-align: center;
    padding: 12px 16px 10px;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    flex-shrink: 0;
}

.program-modal .modal-header-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.program-modal .modal-title-program {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.program-modal .modal-tagline-program {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* 본문 */
.program-modal .modal-body-program {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f5f9;
}

.program-modal .modal-body-program::-webkit-scrollbar {
    width: 6px;
}

.program-modal .modal-body-program::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.program-modal .modal-body-program::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* 프로그램 섹션 */
.program-modal .program-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.program-modal .program-column {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.program-modal .program-column:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.08);
}

.program-modal .program-column h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: #1e293b;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
}

.program-modal .program-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-modal .program-column li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.program-modal .program-column li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
}

.program-modal .program-column li:last-child {
    margin-bottom: 0;
}

/* 푸터 */
.program-modal .modal-footer-program {
    display: flex;
    justify-content: center;
    padding: 16px 24px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.program-modal .modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #5a6eb5 0%, #7b68c9 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(90, 110, 181, 0.35);
    position: relative;
    overflow: hidden;
}

.program-modal .modal-close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.program-modal .modal-close-btn:hover::before {
    left: 100%;
}

.program-modal .modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 110, 181, 0.45);
}

.program-modal .modal-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: white;
    transition: transform 0.3s ease;
}

.program-modal .modal-close-btn:hover svg {
    transform: rotate(90deg);
}

/* ========================================
   프로그램 모달 - 반응형
   ======================================== */
@media (max-width: 768px) {
    .program-modal {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }
    
    .program-modal .modal-content {
        width: 95%;
        max-height: calc(100vh - 40px);
        border-radius: 20px;
        margin: auto;
    }
    
    .program-modal .modal-header-program {
        padding: 10px 14px 8px;
    }
    
    .program-modal .modal-title-program {
        font-size: 1.05rem;
    }
    
    .program-modal .modal-tagline-program {
        font-size: 0.72rem;
    }
    
    .program-modal .modal-body-program {
        padding: 16px;
    }
    
    .program-modal .program-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .program-modal .program-column {
        padding: 16px;
    }
    
    .program-modal .program-column h4 {
        font-size: 0.95rem;
    }
    
    .program-modal .program-column li {
        font-size: 0.9rem;
    }
    
    .program-modal .modal-footer-program {
        padding: 14px 20px;
    }
    
    .program-modal .modal-close-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .program-modal {
        padding: 8px;
        align-items: center;
        justify-content: center;
    }
    
    .program-modal .modal-content {
        width: calc(100% - 16px);
        max-height: calc(100vh - 32px);
        margin: auto;
        border-radius: 16px;
    }
    
    .program-modal .modal-header-program {
        padding: 8px 12px 6px;
    }
    
    .program-modal .modal-title-program {
        font-size: 0.95rem;
    }
    
    .program-modal .modal-tagline-program {
        font-size: 0.68rem;
    }
    
    .program-modal .modal-body-program {
        padding: 12px;
    }
    
    .program-modal .program-section {
        gap: 14px;
    }
    
    .program-modal .program-column {
        padding: 14px;
        border-radius: 12px;
    }
    
    .program-modal .program-column h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .program-modal .program-column li {
        font-size: 0.85rem;
    }
    
    .program-modal .modal-footer-program {
        padding: 12px 14px;
    }
    
    .program-modal .modal-close-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}