* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #0a1a2f;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #ffffff;
}

.main-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 200px);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1400px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a1a2f;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 280px;
    padding: 0 1rem;
}

.preloader-logo {
    margin-bottom: 30px;
}

.preloader-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 480px) {
    .preloader-logo img {
        height: 40px;
    }
    
    .preloader-content {
        width: 240px;
    }
}

.preloader-bar {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    animation: preloaderAnimation 2s ease-out forwards;
}

@keyframes preloaderAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

.preloader-text {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 300;
}

.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37,99,235,0.1);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-brand img {
    height: 38px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 32px;
    }
}

.nav-buttons {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .nav-buttons {
        gap: 0.25rem;
    }
}

.btn-outline {
    border: 1px solid rgba(37,99,235,0.2);
    background: white;
    color: #0a1a2f;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 8px;
}

.btn-outline:hover {
    background: #f0f7ff;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .btn-outline {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

.hero {
    padding: 4rem 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 30px;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        margin: 1rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0.75rem;
        margin: 0.75rem;
    }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0a1a2f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
}

.hero h1 .highlight {
    color: #2563eb;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(37,99,235,0.1);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero p {
        font-size: 0.9rem;
    }
}

.section-title {
    text-align: center;
    margin: 3rem 1rem 2rem;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .section-title {
        margin: 2rem 0.5rem 1.5rem;
        padding: 0.75rem;
    }
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #0a1a2f;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.3rem;
    }
}

.title-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
    margin: 0 auto;
    animation: underlineFlow 3s linear infinite;
}

@keyframes underlineFlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37,99,235,0.2), rgba(96,165,250,0.2), rgba(37,99,235,0.2), transparent);
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .divider {
        margin: 2rem 0;
    }
}

.programs-header {
    text-align: center;
    margin: 2rem 1rem 3rem;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .programs-header {
        margin: 1.5rem 0.5rem 2rem;
        padding: 0.75rem;
    }
}

.programs-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #0a1a2f;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .programs-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .programs-title {
        font-size: 1.3rem;
    }
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 2rem 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .logo-row {
        gap: 2rem;
        margin: 1.5rem 0.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-row {
        flex-direction: column;
        gap: 1.5rem;
        margin: 1rem;
        padding: 1.5rem;
    }
}

.logo-item {
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.logo-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.logo-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    transition: transform 0.3s ease;
}

.logo-item:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.partner-logo {
    height: 60px;
    width: auto;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .partner-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        height: 45px;
    }
}

.logo-item:hover .partner-logo {
    filter: grayscale(0%);
}

.program-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
    margin: 0 auto;
    width: 100%;
    border: 1px solid rgba(37,99,235,0.1);
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
}

.program-expand.active {
    max-height: 1000px;
    margin: 2rem auto;
}

@media (max-width: 768px) {
    .program-expand.active {
        margin: 1.5rem auto;
    }
}

.program-expand-content {
    padding: 2rem;
}

@media (max-width: 768px) {
    .program-expand-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .program-expand-content {
        padding: 1rem;
    }
}

.program-expand-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #475569;
}

@media (max-width: 768px) {
    .program-expand-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

.program-expand-benefits {
    background: #f8fcff;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(37,99,235,0.1);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .program-expand-benefits {
        padding: 1.25rem;
        margin: 1rem 0;
    }
}

.program-expand-benefits h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #0a1a2f;
    margin-bottom: 1rem;
}

.program-expand-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-expand-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .program-expand-benefits li {
        font-size: 0.85rem;
        gap: 0.5rem;
    }
}

.program-expand-benefits li i {
    color: #2563eb;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.program-expand-footer {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2563eb;
    margin-top: 1rem;
}

.swiper {
    padding: 2rem 0 4rem;
    overflow: visible;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .swiper {
        padding: 1rem 0 3rem;
    }
}

.swiper-slide {
    width: 320px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .swiper-slide {
        width: 260px;
    }
}

.course-card {
    background: white;
    border: 1px solid rgba(37,99,235,0.1);
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37,99,235,0.1);
}

.course-image {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .course-image {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .course-image {
        height: 280px;
    }
}

.course-card:hover .course-image {
    transform: scale(1.03);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.5), transparent);
    padding: 2rem 1.25rem 1.25rem;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 768px) {
    .course-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}

.course-content {
    padding: 0;
    background: transparent;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .course-title {
        font-size: 1rem;
    }
}

.course-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .course-meta {
        font-size: 0.75rem;
        gap: 0.75rem;
    }
}

.course-meta i {
    color: #60a5fa;
    font-size: 0.85rem;
}

.modal.fade .modal-dialog {
    transform: translateX(30px);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: translateX(0);
}

.modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

@media (max-width: 576px) {
    .modal-dialog {
        max-width: calc(100% - 2rem);
        margin: 1rem;
    }
    
    .modal-dialog-centered {
        min-height: calc(100% - 2rem);
    }
}

.modal-content {
    border: none;
    background: white;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37,99,235,0.15);
    border-radius: 20px;
}

@media (max-width: 576px) {
    .modal-content {
        border-radius: 16px;
    }
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    opacity: 0.8;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
}

@media (max-width: 576px) {
    .btn-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(0,0,0,0.6);
    }
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    border-radius: 0;
    transition: background-color 0.2s ease;
}

@media (max-width: 576px) {
    .btn-close::before,
    .btn-close::after {
        width: 16px;
    }
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}

.btn-close:hover {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.btn-close:hover::before,
.btn-close:hover::after {
    background-color: #2563eb;
}

.modal-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 576px) {
    .modal-image {
        height: 180px;
    }
}

.modal-body {
    padding: 1.5rem;
}

@media (max-width: 576px) {
    .modal-body {
        padding: 1.25rem;
    }
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0a1a2f;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .modal-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
}

.modal-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .modal-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 576px) {
    .modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.modal-btn {
    flex: 1;
    padding: 0.7rem;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .modal-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

.modal-btn-primary {
    background: #0a1a2f;
    color: white;
}

.modal-btn-primary:hover {
    background: #1e293b;
    color: white;
}

.modal-btn-secondary {
    background: #f0f7ff;
    color: #0a1a2f;
}

.modal-btn-secondary:hover {
    background: #e2f0ff;
    color: #0a1a2f;
}

.footer-tech {
    position: relative;
    z-index: 10;
    background: #0a1a2f;
    color: white;
    margin-top: 4rem;
    padding: 2.5rem 0 2rem;
}

@media (max-width: 768px) {
    .footer-tech {
        margin-top: 3rem;
        padding: 2rem 0 1.5rem;
    }
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 1.25rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer-logo img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-version {
    font-size: 0.8rem;
    font-family: monospace;
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-separator {
        display: none;
    }
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    padding: 0.2rem 0.4rem;
}

@media (max-width: 768px) {
    .footer-link {
        padding: 0.3rem 0;
        font-size: 0.8rem;
    }
}

.footer-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

.footer-separator {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}

.footer-copyright {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-copyright {
        font-size: 0.75rem;
    }
}

.footer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
}

.glow-text {
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0% { text-shadow: 0 0 0px rgba(37,99,235,0); }
    50% { text-shadow: 0 0 15px rgba(37,99,235,0.15); }
    100% { text-shadow: 0 0 0px rgba(37,99,235,0); }
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: #2563eb;
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: #2563eb;
    opacity: 1;
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f7ff;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}