:root {
--deep-blue: #0A2540;
--teal-green: #20B2AA;
--light-bg: #F8F9FA;
--text-main: #333333;
--white: #FFFFFF;
}

body {
margin: 0;
font-family: 'Pretendard', sans-serif;
color: var(--text-main);
line-height: 1.6;
}

.header {
background: var(--white);
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: sticky;
top: 0;
z-index: 100;
}

.header-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
}

.logo img {
height: 50px;
}

.gnb > ul {
list-style: none;
display: flex;
gap: 2rem;
margin: 0;
padding: 0;
}

.gnb li {
position: relative;
padding: 1rem 0;
}

.gnb a {
text-decoration: none;
color: var(--deep-blue);
font-weight: 600;
display: block;
white-space: nowrap;
}

.dropdown {
display: none;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background: var(--white);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-radius: 8px;
min-width: 150px;
padding: 0.5rem 0;
z-index: 200;
list-style: none;
}

.gnb li:hover .dropdown {
display: block;
}

.dropdown li {
padding: 0;
}

.dropdown a {
padding: 0.8rem 1.5rem;
font-weight: 400;
font-size: 0.95rem;
text-align: center;
white-space: nowrap;
}

.dropdown a:hover {
background: var(--light-bg);
color: var(--teal-green);
}

.header-utils {
display: flex;
gap: 1rem;
align-items: center;
}

.kakao-btn {
background-color: #FEE500;
color: #000000;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
font-weight: bold;
white-space: nowrap;
}

/* 슬라이더 영역 */
.slider-container {
position: relative;
width: 100%;
height: 600px;
overflow: hidden;
background-color: var(--deep-blue);
}

.slider-wrapper {
display: flex;
width: 300%;
height: 100%;
transition: transform 0.8s ease-in-out;
}

.slide {
width: 33.333%;
height: 100%;
background-size: cover;
background-position: center;
position: relative;
}

.slide::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(10, 37, 64, 0.6);
}

.slide-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: var(--white);
width: 100%;
z-index: 2;
}

.slide-content h1 {
font-size: 2.8rem;
margin-bottom: 1rem;
}

.slide-content p {
font-size: 1.2rem;
margin-bottom: 2rem;
}

.btn {
display: inline-block;
padding: 1rem 2rem;
border-radius: 30px;
text-decoration: none;
font-weight: bold;
margin: 0.5rem;
transition: all 0.3s ease;
white-space: nowrap;
}

.btn-primary {
background: var(--teal-green);
color: var(--white);
}

.btn-secondary {
background: transparent;
color: var(--white);
border: 2px solid var(--white);
}

/* 파트너사 로고 그리드 영역 (웹 8x4 / 모바일 4x8) */
.partners-section {
max-width: 1200px;
margin: 5rem auto;
padding: 0 1rem;
text-align: center;
}

.partners-section h2 {
color: var(--deep-blue);
font-size: 2rem;
margin-bottom: 3rem;
}

.partner-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 1rem;
}

.partner-item {
background: var(--white);
border: 1px solid #eaeaea;
border-radius: 8px;
padding: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
aspect-ratio: 1 / 1;
box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.partner-item img {
width: 100%;
height: 100%;
object-fit: contain;
}

@media (max-width: 768px) {
.partner-grid {
grid-template-columns: repeat(4, 1fr);
}
.slider-container {
height: 450px;
}
.slide-content h1 {
font-size: 1.8rem;
}
}

.footer {
background: var(--deep-blue);
color: var(--white);
padding: 3rem 1rem;
text-align: center;
}

.footer-info p {
margin: 0.5rem 0;
color: #a0aec0;
}