* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #006cb8;
    --accent-color: #006cb8;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    scroll-padding-top: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 네비게이션 */
.navbar {
    background: var(--white);
    color: var(--primary-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 25px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav-menu li {
    align-items: center;
    position: relative;
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* 드롭다운 메뉴 */
.nav-item-services {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1000;
}

.nav-item-services:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
}

/* 햄버거 메뉴 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 히어로 섹션 */
.hero {
    background: 
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.55) 100%),
        radial-gradient(circle at center, #001e35 0%, #070707 70%);
    color: white;
    text-align: center;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/logo.png') no-repeat center 15%;
    background-size: min(100vw, 700px);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
    color: #ffffff;
}

.hero-content p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.6;
    color: #c0c0c0;
}

.mobile-br {
    display: none;
}

.desktop-br {
    display: inline;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1.3s ease;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 2rem 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 108, 184, 0.4);
}

.feature-item:hover .feature-icon {
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 0 15px rgba(0, 108, 184, 0.6);
    transform: scale(0.9);
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(0, 108, 184, 0.8)) drop-shadow(0 0 12px rgba(0, 108, 184, 0.6));
}

.feature-item:hover h3 {
    color: white;
    transform: scale(1.25);
}

.feature-item:hover p {
    color: white;
}

/* 호버 색상 */
.feature-item:hover h3 {
    color: #006cb8;
    transform: scale(1.25);
}.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #006cb8;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}

.feature-icon svg {
    width: 72px;
    height: 72px;
    transition: all 0.3s ease;
}

.feature-icon g {
    fill: white;
    stroke: transparent;
    stroke-width: 100;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-item p {
    font-size: 1rem;
    opacity: 0.9;
    color: #c0c0c0;
    transition: color 0.3s ease;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    animation: fadeInUp 1.2s ease;
}

.cta-btn:hover {
    background: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 회사소개 섹션 */
.about {
    padding: 80px 20px;
    background: var(--light-bg);
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h4 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
}

/* 타임라인 */
.timeline-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.timeline-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.timeline-item {
    display: block;
    margin-bottom: 0;
    position: relative;
}

.timeline-year {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: block;
    position: relative;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 주요 파트너 섹션 */
.partners-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.partners-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    justify-items: stretch;
}

.partner-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 160px;
    transition: all 0.3s;
} .partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 107, 184, 0.15);
}

.partner-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    min-height: 100px;
} .partner-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
}

.partners-more {
    margin-top: 2rem;
    text-align: center;
}

.more-indicator {
    display: inline-block;
    font-size: 2rem;
    color: #999;
    letter-spacing: 0.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.more-indicator:hover {
    opacity: 1;
    color: #666;
    transform: scale(1.1);
}

/* 모바일 반응형 - 파트너 */
@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 0rem;
    }

    .timeline-year {
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
        min-height: 120px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .partners-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .partners-section h3 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-item {
        min-height: 120px;
        padding: 0.5rem;
    }

    .partner-logo {
        padding: 0.2rem;
    }

    .partner-logo img {
        max-height: 100px;
    }

    .partners-more {
        margin-top: 1.5rem;
    }

    .more-indicator {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
}

/* 서비스 섹션 */
.services {
    padding: 80px 20px;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    color: #006cb8;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* 연락처 섹션 */
.contact {
    padding: 100px 20px;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.info-items {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: nowrap;
}

.info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    min-width: 150px;
}

.info-icon {
    width: 48px;
    height: 48px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.info-item > div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.info-item p {
    margin: 0;
}

.info-item p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p:last-of-type {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* 푸터 */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* 애니메이션 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        display: block;
        gap: 0;
        max-height: 0;
        overflow: visible;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 600px;
        overflow: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-item-services {
        width: auto;
        display: block;
        padding: 0;
    }

    .nav-item-services > a {
        padding: 0.8rem 1rem;
        display: block;
        border-bottom: 1px solid #e0e0e0;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        overflow: visible;
        transform: none;
        box-shadow: none;
        background: #ffffff;
        padding: 0;
        margin: 0;
        border-left: none;
        transition: none;
        list-style: none;
        width: auto;
    }

    .nav-item-services:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    .nav-item-services.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .dropdown-menu li a {
        padding-left: 3rem;
        padding-right: 1rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        font-size: 0.95rem;
        color: #555;
        display: block;
    }

    .dropdown-menu li a:hover {
        background: #f5f5f5;
        color: var(--secondary-color);
        border-left-color: transparent;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 1rem;
        color: var(--primary-color);
    }

    .nav-menu a:hover {
        background: #f5f5f5;
        color: var(--secondary-color);
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        flex-direction: column;
    }

    .hero {
        min-height: 100vh;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .mobile-br {
        display: inline;
    }

    .desktop-br {
        display: none;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 0rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 1.2rem 1.2rem 0.6rem 1.2rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .feature-item p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 2rem;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        text-align: left;
        padding: 0;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        padding: 1rem;
        margin-top: 0.5rem;
        text-align: left;
    }

    .timeline-year::after {
        left: -42px !important;
        right: auto !important;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .contact-content {
        flex-direction: column;
    }

    .info-items {
        flex-direction: column;
        gap: 3rem;
    }

    .info-item {
        justify-content: flex-start;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .about h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }
}

/* 작은 모바일 화면 */
@media (max-width: 370px) {
    .hero-content p {
        font-size: 0.9rem;
        letter-spacing: -0.5px;
    }
}

/* PC 화면 (데스크톱) */
@media (min-width: 1024px) {
    .hero {
        min-height: calc(100vh - 100px);
        padding-top: 100px;
    }
}

/* 서비스 상세 페이지 스타일은 services.css에서 관리 */
