html, body {
    height: auto !important;
    overflow-y: auto !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-section {
    padding: 20px 0 !important;
}

.page-content {
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.image-container {
    margin: 2rem 0;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
}

.main-image:hover {
    transform: scale(1.02);
}

.content-text {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.8;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

.enrollment-buttons .btn {
    margin: 0.5rem;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.enrollment-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Footer Styles */
.footer-section {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    clear: both;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 12px;
    line-height: 1.4;
    color: #bdc3c7;
}

.footer-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #5dade2;
    text-decoration: underline;
}

.footer-copyright {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #95a5a6;
}

.company-name {
    font-weight: 600;
    color: #ecf0f1;
}

.contact-highlight {
    color: #e74c3c;
    font-weight: 500;
}

/* Navbar Styles */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    margin-top: 0.5rem;
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.font-weight-medium {
    font-weight: 500;
}

/* Home Page Styles */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Course Card Styles */
.course-link {
    text-decoration: none;
    color: inherit;
}

.course-link:hover {
    text-decoration: none;
    color: inherit;
}

.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    border-radius: 15px;
}

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

.course-title {
    color: #2c3e50;
    font-weight: 600;
    text-align: left;
}

.course-description {
    color: #6c757d;
    font-size: 0.9rem;
    text-align: left;
}

.course-price {
    font-size: 1.1rem;
    text-align: left;
}

@media (max-width: 768px) {
    html, body {
        height: auto !important;
        min-height: auto !important;
        overflow-y: scroll !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    
    .page-section {
        padding: 10px 0 !important;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-content {
        padding: 40px 20px;
    }
    
    .main-image {
        position: static !important;
        z-index: 1 !important;
    }

    .footer-section {
        padding: 20px 0 10px;
        margin-top: 10px;
        position: relative;
        z-index: 10;
        display: block !important;
        visibility: visible !important;
    }
    
    .footer-info p {
        font-size: 11px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 2rem 0;
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
}
