:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    border-radius: 8px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.hero-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-side h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary-lg,
.btn-secondary-lg {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary-lg {
    background: var(--accent-color);
    color: white;
}

.btn-primary-lg:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-lg {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary-lg:hover {
    background: white;
    color: var(--primary-color);
}

.hero-image-side img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.features-section,
.programs-showcase,
.testimonials-area,
.cta-section,
.email-subscription {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

.stats-banner {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-box {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.program-box:hover {
    transform: translateY(-5px);
}

.program-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-info {
    padding: 25px;
}

.program-info h3 {
    margin-bottom: 10px;
}

.program-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.program-duration {
    display: inline-block;
    padding: 5px 15px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

.testimonials-area {
    background: var(--bg-light);
}

.testimonials-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.email-subscription {
    background: var(--bg-light);
}

.subscription-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.subscription-box h3 {
    margin-bottom: 10px;
}

.subscription-box p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.email-form {
    display: flex;
    gap: 10px;
}

.email-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.btn-submit {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

.contact-info i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text h4 {
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.cookie-text a {
    color: var(--primary-color);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: white;
}

.btn-cookie-decline {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
}

.modal-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.modal-content h3 {
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-close-modal {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.page-hero {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-listing {
    padding: 80px 0;
}

.blog-posts-grid {
    display: grid;
    gap: 40px;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-category {
    background: var(--primary-color);
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
}

.post-content h2 {
    margin-bottom: 15px;
}

.post-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

.post-content h2 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.about-mission {
    padding: 80px 0;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    margin-bottom: 20px;
}

.mission-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.mission-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.team-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.team-member-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member-card h3 {
    margin: 20px 0 5px;
    padding: 0 20px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    padding: 0 20px 25px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-main {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-side h2,
.contact-form-side h2 {
    margin-bottom: 20px;
}

.contact-detail-list {
    margin: 30px 0;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-text h4 {
    margin-bottom: 5px;
}

.detail-text p {
    color: var(--text-light);
}

.btn-ask-question {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.btn-ask-question:hover {
    background: #d97706;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit-form {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit-form:hover {
    background: var(--secondary-color);
}

.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.faq-item h3 i {
    margin-right: 10px;
}

.post-article {
    padding: 60px 0;
}

.post-header {
    max-width: 900px;
    margin: 0 auto 40px;
}

.post-meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.post-featured-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2 {
    margin: 40px 0 20px;
    font-size: 1.75rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul {
    margin: 20px 0 20px 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.875rem;
}

.post-share {
    display: flex;
    gap: 15px;
    align-items: center;
}

.post-share a {
    color: var(--text-light);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.post-share a:hover {
    color: var(--primary-color);
}

.related-posts {
    max-width: 900px;
    margin: 80px auto 0;
}

.related-posts h3 {
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h4 {
    padding: 20px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-content-wrapper,
    .mission-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
    }
    
    .post-image img {
        height: 250px;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 20px;
    }
}