/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --success: #10b981;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--border);
}

.btn-outline:hover {
    background-color: var(--background-alt);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    display: flex;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.mobile-nav-links a {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-buttons .btn {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--white) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-text > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Courses Section */
.courses {
    padding: 80px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
    scroll-margin-top: 88px;
}

.course-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.course-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.course-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.course-meta span {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: var(--background-alt);
    border-radius: 50px;
    color: var(--text-light);
}

.btn-course-detail {
    cursor: pointer;
    font-family: inherit;
}

/* Syllabus Modal */
.syllabus-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.syllabus-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.syllabus-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.syllabus-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.syllabus-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--background-alt);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    z-index: 1;
    transition: background 0.2s;
}

.syllabus-modal-close:hover {
    background: var(--border);
}

.syllabus-modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
    padding: 24px 56px 16px 24px;
    border-bottom: 1px solid var(--border);
}

.syllabus-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.syllabus-modal-body h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin: 16px 0 8px;
}

.syllabus-modal-body h4:first-child {
    margin-top: 0;
}

.syllabus-modal-body ul {
    margin: 0 0 12px;
    padding-left: 20px;
    list-style: disc;
}

.syllabus-modal-body li {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.syllabus-modal-body p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 14px;
}

.syllabus-modal-cta {
    margin: 0 24px 24px;
    text-align: center;
}

/* News Section */
.news {
    padding: 80px 0;
    background: var(--background-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.news-card-featured {
    grid-row: span 2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-featured .news-badge {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.news-card-featured h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 16px;
}

.news-card-featured p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 24px;
}

.news-card-featured .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    align-self: flex-start;
}

.news-card-featured .btn-primary:hover {
    background: var(--background-alt);
    border-color: var(--background-alt);
}

.news-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.news-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 1.5;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.about-stat-card {
    background: var(--background-alt);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.about-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: var(--background-alt);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--background-alt);
}

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

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.blog-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Graduates Section */
.graduates {
    padding: 80px 0;
}

.graduates-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.graduate-card {
    text-align: center;
}

.graduate-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--background-alt);
}

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

.graduate-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.graduate-role {
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 2px;
}

.graduate-company {
    font-size: 12px;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 48px;
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
    color: var(--white);
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.contact-item a {
    color: inherit;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-wrapper.contact-only .contact-info {
    border-radius: var(--radius);
}

.contact-form {
    flex: 1.2;
    padding: 48px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 1.5;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand > p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links {
    flex: 2;
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .graduates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-stats {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-text > p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card-featured {
        grid-row: auto;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .graduates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-stat-number {
        font-size: 28px;
    }
    
    .graduates-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .graduate-image {
        width: 80px;
        height: 80px;
    }
}
