/* =============== VARIABLES =============== */
:root {
    /* 남색 계열 */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #2c3e67;
    --navy-blue: #1e3a5f;
    --dark-navy: #0f1c2e;
    
    /* 항토색 (Ochre/Tan) 계열 */
    --ochre-light: #d4a574;
    --ochre-main: #b8956a;
    --ochre-dark: #9d7d5c;
    --tan-light: #c9b8a0;
    
    /* 그레이 계열 */
    --gray-dark: #4a4a4a;
    --gray-medium: #6b6b6b;
    --gray-light: #8a8a8a;
    --gray-lighter: #b0b0b0;
    --gray-lightest: #e5e5e5;
    
    /* 하늘색 계열 */
    --sky-blue: #87CEEB;
    --sky-light: #b0d9f1;
    --sky-medium: #5fafdb;
    --sky-dark: #4a8bb5;
    
    /* 텍스트 색상 */
    --text-color: #333;
    --text-light: #666;
    --text-white: #fff;
    
    /* 배경 색상 */
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --bg-beige: #f8f6f3;
    
    /* 강조 색상 */
    --highlight-color: #2c3e67;
    --border-color: #e0e0e0;
    
    /* 그림자 및 효과 */
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 5px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    
    /* 레이아웃 */
    --header-height: 4.5rem;
    --container-width: 1200px;
    --border-radius: 8px;
    
    --font-main: 'Noto Sans KR', sans-serif;
}

/* =============== BASE =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 1 !important; /* 기본적으로 이미지 보이게 */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* =============== HEADER =============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    /* 검은색을 남색으로 변환하는 필터 */
    filter: brightness(0) saturate(100%) invert(17%) sepia(42%) saturate(1456%) hue-rotate(188deg) brightness(92%) contrast(92%);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sky-blue);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.contact-btn {
    background-color: var(--accent-color);
    color: var(--text-white);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius);
}

.nav__link.contact-btn::after {
    display: none;
}

.nav__link.contact-btn:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* =============== HERO SECTION =============== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-white);
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color); /* 영상 로딩 전 백업 배경 */
}

/* 배경 영상 */
.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

/* 영상 위 오버레이 (어둡게 처리) */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.85);
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 900px;
    padding: 2rem 0;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--text-white);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.5px;
}

.hero__subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--text-white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease 0.2s backwards;
    opacity: 0.95;
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: var(--sky-blue);
    color: var(--text-white);
    border-color: var(--sky-blue);
    transform: translateY(0);
}

/* Hero specific buttons - keep original style */
.hero__buttons .btn-primary {
    background-color: var(--sky-blue);
    color: var(--text-white);
    border: 2px solid transparent;
}

.hero__buttons .btn-primary:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero__buttons .btn-primary:active,
.hero__buttons .btn-primary:focus {
    background-color: var(--sky-blue);
    color: var(--text-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
}

.btn-outline:active,
.btn-outline:focus {
    background-color: var(--sky-blue);
    color: var(--text-white);
    border-color: var(--sky-blue);
}

/* Hero specific buttons - keep original style */
.hero__buttons .btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.hero__buttons .btn-outline:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
}

.hero__buttons .btn-outline:active,
.hero__buttons .btn-outline:focus {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* =============== SECTION HEADERS =============== */
.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section__title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--highlight-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section__description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== WHO WE ARE SECTION =============== */
.who-we-are {
    background-color: var(--bg-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

.stat-value-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--navy-blue);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--accent-color);
}

.stat-title {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.5;
}

.stat-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============== TEAM SECTION =============== */
.team {
    background-color: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.team-member {
    text-align: center;
}

.team-member__image {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.team-member__image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 경력 오버레이 */
.team-member__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}

.team-member__image:hover .team-member__overlay {
    opacity: 1;
    visibility: visible;
}

.team-member__experience {
    text-align: left;
    color: var(--text-white);
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
}

.experience__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--sky-blue);
    text-align: center;
    border-bottom: 2px solid var(--sky-blue);
    padding-bottom: 0.8rem;
}

.experience__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience__list li {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.2rem;
}

.experience__list li:last-child {
    border-bottom: none;
}

.experience__list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--sky-blue);
    font-weight: bold;
}

/* 스크롤바 스타일 */
.team-member__experience::-webkit-scrollbar {
    width: 6px;
}

.team-member__experience::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.team-member__experience::-webkit-scrollbar-thumb {
    background: var(--sky-blue);
    border-radius: 3px;
}

.team-member__experience::-webkit-scrollbar-thumb:hover {
    background: var(--sky-dark);
}

.placeholder-image {
    width: 100%;
    height: 450px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 4rem;
}

.team-member__name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.team-member__role {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-member__link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.team-member__link:hover {
    gap: 1rem;
}

.team-cta {
    text-align: center;
}

/* =============== EXPERTISE SECTION =============== */
.expertise {
    background-color: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 숨김 처리된 추가 업무 분야 */
.expertise-grid--hidden {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: all 0.6s ease;
}

.expertise-grid--hidden.show {
    max-height: 5000px;
    opacity: 1;
    margin-bottom: 3rem;
}

.expertise-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: visible;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
}

/* 링크 스타일 초기화 */
a.expertise-card {
    text-decoration: none;
    color: inherit;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.expertise-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.expertise-card__image .placeholder-image {
    height: 200px;
    width: 100%;
}

/* 남색 계열 그라디언트 */
.gradient-1 {
    background: #2c3e67;
}

.gradient-2 {
    background: #1e3a5f;
}

/* 항토색 계열 그라디언트 */
.gradient-3 {
    background: #d4a574;
}

.gradient-4 {
    background: #c9b8a0;
}

/* 하늘색 계열 그라디언트 */
.gradient-5 {
    background: #87CEEB;
}

.gradient-6 {
    background: #b0d9f1;
}

/* 그레이 계열 그라디언트 */
.gradient-7 {
    background: #8a8a8a;
}

.gradient-8 {
    background: #b0b0b0;
}

/* 혼합 그라디언트 - 남색 + 하늘색 */
.gradient-9 {
    background: #2c3e67;
}

.gradient-10 {
    background: #1e3a5f;
}

/* 혼합 그라디언트 - 남색 + 항토색 */
.gradient-11 {
    background: #1a1a2e;
}

.gradient-12 {
    background: #2c3e67;
}

/* 혼합 그라디언트 - 항토색 + 하늘색 */
.gradient-13 {
    background: #c9b8a0;
}

.expertise-card__content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.expertise-card__title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.expertise-card__subtitle {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.expertise-card__list {
    list-style: none;
    flex: 1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.expertise-card:hover .expertise-card__list {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.expertise-card__list li {
    padding: 0.4rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-card__list li {
    transform: translateY(0);
    opacity: 1;
}

.expertise-card:hover .expertise-card__list li:nth-child(1) {
    transition-delay: 0.05s;
}

.expertise-card:hover .expertise-card__list li:nth-child(2) {
    transition-delay: 0.1s;
}

.expertise-card:hover .expertise-card__list li:nth-child(3) {
    transition-delay: 0.15s;
}

.expertise-card:hover .expertise-card__list li:nth-child(4) {
    transition-delay: 0.2s;
}

.expertise-card:hover .expertise-card__list li:nth-child(5) {
    transition-delay: 0.25s;
}

.expertise-card:hover .expertise-card__list li:nth-child(6) {
    transition-delay: 0.3s;
}

.expertise-card:hover .expertise-card__list li:nth-child(7) {
    transition-delay: 0.35s;
}

.expertise-card:hover .expertise-card__list li:nth-child(8) {
    transition-delay: 0.4s;
}

.expertise-cta {
    text-align: center;
    margin-top: 3rem;
}

.expertise-cta .btn {
    position: relative;
    padding: 1rem 3rem;
    font-size: 1.05rem;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition);
}

#toggleExpertise.active .btn-icon {
    transform: rotate(180deg);
}

/* =============== VISION SECTION =============== */
.vision {
    background-color: var(--bg-white);
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.vision-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.vision-image-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 1 !important;
    visibility: visible !important;
}

.vision-image-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.vision-image .placeholder-image {
    height: 500px;
    border-radius: var(--border-radius);
}

.vision-placeholder {
    background: var(--navy-blue);
}

.vision-values {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.vision-value {
    position: relative;
    padding-left: 5rem;
}

.vision-value__number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 900;
    color: var(--ochre-main);
    opacity: 0.4;
}

.vision-value__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vision-value__description {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============== TESTIMONIALS/VIDEOS SECTION =============== */
.testimonials {
    background-color: var(--bg-light);
    overflow: hidden;
}

.video-carousel {
    position: relative;
    margin-top: 3rem;
}

.video-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-slider::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 300px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-card__thumbnail .placeholder-image {
    height: 200px;
    background: var(--accent-color);
}

.video-card__content {
    padding: 1.5rem;
}

.video-card__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.video-card__category {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 10;
    transition: var(--transition);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.carousel-btn:hover {
    background-color: var(--sky-blue);
    color: var(--text-white);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* =============== BLOG SECTION =============== */
.blog {
    background-color: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    opacity: 1 !important;
    visibility: visible !important;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__image .placeholder-image {
    height: 250px;
}

.blog-image {
    background: var(--navy-blue);
}

.blog-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--sky-blue);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-card__content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card__date i {
    color: var(--sky-blue);
}

.blog-card__title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.4;
}

.blog-card__excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-card__link:hover {
    color: var(--sky-blue);
    gap: 1rem;
}

.blog-cta {
    text-align: center;
}

/* =============== KEYSTONE SECTION =============== */
.keystone {
    background-color: var(--bg-white);
}

.keystone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.keystone-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.keystone-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.keystone-message {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1.8;
}

.keystone-image .placeholder-image {
    height: 400px;
    border-radius: var(--border-radius);
}

.keystone-placeholder {
    background: var(--ochre-light);
}

/* =============== CTA SECTION =============== */
.cta-section {
    background: var(--primary-color);
    color: var(--text-white);
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.cta-image .placeholder-image {
    height: 250px;
    border-radius: var(--border-radius);
}

.cta-placeholder {
    background: rgba(255,255,255,0.1);
}

.cta-content {
    text-align: left;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: var(--sky-blue);
    color: var(--text-white);
    border: 2px solid var(--sky-blue);
}

.cta-section .btn:hover {
    background-color: transparent;
    color: var(--sky-blue);
    border-color: var(--sky-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.4);
}

.cta-section .btn:active,
.cta-section .btn:focus {
    background-color: var(--sky-blue);
    color: var(--text-white);
    border-color: var(--sky-blue);
}

/* =============== FOOTER =============== */
.footer {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    filter: brightness(0) invert(1); /* 로고를 흰색으로 변환 */
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-list i {
    margin-right: 0.5rem;
    color: var(--sky-blue);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    color: var(--sky-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* =============== SCROLL TO TOP =============== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 1.25rem;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--sky-blue);
    transform: translateY(-5px);
}

/* =============== ANIMATIONS =============== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 스크롤 애니메이션을 위한 기본 클래스 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 이미지는 항상 보이게 */
.animate-on-scroll img {
    opacity: 1 !important;
}

/* 각 섹션별 애니메이션 딜레이 */
.stat-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.team-member {
    animation: scaleIn 0.6s ease-out forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.expertise-card {
    animation: none;
}

.expertise-card:nth-child(1) { animation-delay: 0s; }
.expertise-card:nth-child(2) { animation-delay: 0s; }
.expertise-card:nth-child(3) { animation-delay: 0s; }
.expertise-card:nth-child(4) { animation-delay: 0s; }
.expertise-card:nth-child(5) { animation-delay: 0s; }
.expertise-card:nth-child(6) { animation-delay: 0s; }

.vision-value {
    animation: slideInLeft 0.6s ease-out forwards;
}

.vision-value:nth-child(1) { animation-delay: 0.1s; }
.vision-value:nth-child(2) { animation-delay: 0.2s; }
.vision-value:nth-child(3) { animation-delay: 0.3s; }

.blog-card {
    animation: none;
}

.blog-card:nth-child(1) { animation-delay: 0s; }
.blog-card:nth-child(2) { animation-delay: 0s; }
.blog-card:nth-child(3) { animation-delay: 0s; }

/* 버튼 호버 애니메이션 강화 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* 카드 호버 시 부드러운 상승 효과 */
.stat-card:hover,
.expertise-card:hover,
.blog-card:hover,
.video-card:hover {
    animation: none;
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* 섹션 헤더 애니메이션 */
.section__title {
    animation: fadeIn 0.8s ease-out;
}

.section__subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.section__description {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* =============== RESPONSIVE DESIGN =============== */
@media screen and (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav__menu.show {
        left: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .hero__title {
        font-size: 2.25rem;
        line-height: 1.3;
    }

    .hero__subtitle {
        font-size: 1.15rem;
    }

    .hero__buttons {
        flex-direction: column;
    }
    
    .hero__content {
        max-width: 100%;
    }

    .section__subtitle {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 3.5rem;
        font-weight: 400;
    }

    .stat-suffix {
        font-size: 1.5rem;
        font-weight: 400;
    }

    .stat-title {
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* 모바일에서 경력 오버레이 조정 */
    .team-member__overlay {
        padding: 1.5rem;
    }
    
    .experience__title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .experience__list li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .expertise-grid,
    .expertise-grid--hidden {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .keystone-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .keystone-text {
        order: 2;
    }

    .keystone-image {
        order: 1;
    }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 1.85rem;
        line-height: 1.4;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section__subtitle {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 3rem;
        font-weight: 400;
    }

    .stat-suffix {
        font-size: 1.3rem;
        font-weight: 400;
    }

    .stat-title {
        font-size: 0.95rem;
    }

    /* Who We Are 통계 섹션 1열 레이아웃 */
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .placeholder-image {
        height: 250px;
    }

    .team-member__image img,
    .team-member__image .placeholder-image {
        height: 350px;
    }

    /* 모바일 캐러셀 화살표 표시 */
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
        z-index: 100;
    }

    .carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .video-card {
        flex: 0 0 280px;
    }

    .expertise-grid,
    .expertise-grid--hidden {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .expertise-card__image {
        height: 150px;
    }
    
    .expertise-card__image .placeholder-image {
        height: 150px;
    }
    
    .expertise-card__content {
        padding: 1rem;
    }
    
    .expertise-card__title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .expertise-card__subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    /* 메인페이지 블로그 1열 */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Vision 섹션 2열 레이아웃 */
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-values {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .vision-value {
        padding-left: 0;
        padding-top: 3rem;
    }

    .vision-value__number {
        left: 0;
        top: 0;
        font-size: 2rem;
    }

    .vision-value__title {
        font-size: 1.2rem;
    }

    .vision-value__description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Keystone 섹션 2열 레이아웃 */
    .keystone-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* CTA 박스 2열 레이아웃 */
    .cta-box {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* Footer 2열 레이아웃 */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-section {
        margin-bottom: 0;
    }
}

/* =============== UTILITY CLASSES =============== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }