/* ===================================
   Reset and Base Styles
   =================================== */
/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
*/

/* ===================================
   Container
   =================================== */

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ===================================
   Animation Classes
   =================================== */

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.stagger-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    width: 100%;
    max-width: 1200px;
    padding: 64px 16px;
    text-align: center;
}

.hero-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
    width: 100%;
    max-width: 1280px;
    padding: 42px 24px;
    background-color: white;
}

.services-grid {
    display: grid;
    gap: 24px;
}

.services-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

.service-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 42px;
    padding: 64px 42px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    max-width: 500px;
    height: 333px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    width: 100%;
}

.service-card-title {
    font-size: 27px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 1.6;
    min-height: 42px;
}

.service-card-description {
    font-size: 17px;
    font-weight: 400;
    color: #2d2d2d;
    line-height: 1.6;
}

/* ===================================
   KOTRA Section
   =================================== */

.kotra-section {
    width: 100%;
    max-width: 1280px;
    padding: 80px 24px 30px;
    background-color: white;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    letter-spacing: -0.02em;
}

/* ===================================
   Video Section
   =================================== */

.video-section {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px 80px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.video-item {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f8f8;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: scale(1.02);
}

.video-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover img {
    transform: scale(1.1);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    width: 100%;
    position: relative;
    height: 300px;
    margin-top: 50px;
}

.cta-background {
    position: absolute;
    inset: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.cta-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 416px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 12px 32px;
    height: 50px;
    width: 200px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-primary {
    background-color: #1428a0;
    color: white;
}

.btn-primary:hover {
    background-color: #0f1d7a;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: white;
    color: #121212;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .services-grid-2col {
        grid-template-columns: 1fr;
    }

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

    .video-item {
        height: 400px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-card {
        padding: 42px 24px;
        gap: 32px;
    }

    .service-image {
        height: auto;
        aspect-ratio: 500 / 333;
    }
    
    .service-card-title {
        font-size: 24px;
    }
    
    .service-card-description {
        font-size: 16px;
    }
    
    .video-section {
        padding: 0 24px 60px;
    }

    .video-item {
        height: 300px;
    }
    
    .cta-title {
        font-size: 20px;
        line-height: 1.6;
    }

    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-section {
        padding: 48px 16px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .service-card {
        padding: 32px 16px;
        gap: 24px;
    }

    .service-card-title {
        font-size: 20px;
    }

    .service-card-description {
        font-size: 15px;
    }

    .cta-title {
        font-size: 18px;
    }
}
