* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fefefe;
    color: #1a2c3e;
    line-height: 1.5;
}

.navbar {
    background: #0b2b3b;
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.logo {
    color: #f9c74f;
    font-size: 1.7rem;
    font-weight: 800;
}

.logo span {
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #f9c74f;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: #e9f2f5;
    border-radius: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #0b2b3b;
}

.hero-img {
    flex: 1;
    text-align: center;
}

.hero-img img {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.2);
}

.vision-card {
    background: white;
    border-left: 8px solid #f9c74f;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    background: linear-gradient(135deg, #0b2b3b, #1e4a6e);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 1rem;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.course-card {
    background: white;
    border-radius: 1.2rem;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.15);
    border-color: #f9c74f;
}

.course-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0b2b3b;
}

.course-card p {
    font-size: 0.85rem;
    color: #475569;
}

.badge {
    display: inline-block;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    background: #0b2b3b;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-warning {
    background: #f9c74f;
    color: #1e293b;
}

footer {
    background: #0b2b3b;
    color: #cbd5e1;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.video-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-card iframe {
    width: 100%;
    height: 220px;
    border: none;
}

.video-card .video-title {
    padding: 0.8rem;
    background: #f8fafc;
    font-weight: 600;
    color: #0b2b3b;
}

.video-card .video-disclaimer {
    padding: 0.8rem;
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0b2b3b;
    margin-bottom: 0.5rem;
}

.article-container {
    max-width: 880px;
    width: 100%;
    background: #ffffff;
    padding: 40px 48px 32px 48px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    margin: 0 auto;
}

.article-container h1 {
    font-size: 2.2rem;
    color: #0b4f8c;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.article-container h2 {
    font-size: 1.5rem;
    color: #0b4f8c;
    margin-top: 28px;
    margin-bottom: 12px;
    border-bottom: 2px solid #e6edf6;
    padding-bottom: 6px;
}

.article-container p {
    margin-bottom: 14px;
    line-height: 1.8;
}

.article-container ul,
.article-container ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.article-container li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.article-container .note {
    background-color: #e9f0fa;
    padding: 16px 20px;
    border-left: 6px solid #1a6bc4;
    margin: 24px 0 12px 0;
    border-radius: 6px;
}

.article-container .note strong {
    color: #0b4f8c;
}

.article-container .footer-area {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #dce3ec;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.article-container .footer-text {
    font-style: italic;
    color: #5a6a7e;
    font-size: 0.95rem;
}

.article-container .pdf-btn {
    background-color: #1a6bc4;
    color: white;
    border: none;
    padding: 12px 34px;
    font-size: 1.05rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(26, 107, 196, 0.25);
    transition: background 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-container .pdf-btn:hover {
    background-color: #0f4f8a;
}

.article-container .pdf-btn:active {
    transform: scale(0.96);
}

.article-container .pdf-hint {
    font-size: 0.8rem;
    color: #6a7a8e;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .nav-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .container {
        padding: 1rem;
    }
    .hero {
        padding: 1.5rem;
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
    .category-title {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
        display: block;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .article-container {
        padding: 20px 16px;
    }
    .article-container h1 {
        font-size: 1.6rem;
    }
    .article-container h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .modal,
    .video-grid,
    .pdf-btn,
    .pdf-hint {
        display: none !important;
    }

    body {
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0.4in 0.3in !important;
        margin: 0 !important;
    }

    .article-container {
        max-width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: white !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .article-container .footer-area {
        border-top: 1px solid #aaa;
        padding-top: 14px;
        margin-top: 16px;
    }

    .article-container .note {
        break-inside: avoid;
        background: #f2f7ff !important;
        border-left-color: #1a6bc4 !important;
    }

    .article-container h1,
    .article-container h2,
    .article-container p,
    .article-container li {
        color: #000 !important;
    }

    .article-container h1 {
        font-size: 22pt !important;
    }
    .article-container h2 {
        font-size: 16pt !important;
    }

    .article-container p,
    .article-container li,
    .article-container .note {
        page-break-inside: avoid;
    }

    * {
        overflow: visible !important;
    }
}