﻿:root {
    --primary-color: #0d1e4a;
    --accent-color: #f7a800;
    --secondary-color: #f8f9fa;
    --text-color: #2d3748;
    --light-text: #4a5568;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --warm-white: #fcfcfc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & General */
h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-color);
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-large, .btn-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover, .btn-large:hover, .btn-submit:hover {
    background-color: #004494;
    color: #fff;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
}

nav ul li a.btn-primary {
    color: #fff;

        width: auto !important;
        white-space: nowrap;
    }

/* Hero Slider Section */
#hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Hero Overlay Form & Text */
.hero-overlay-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    padding-top: 50px;
}

.hero-text-content {
    color: white;
    max-width: 500px;
}

.hero-text-content h2 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-form-container {
    background: #1e3a8a; /* Dark blue background */
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: white;
}

.hero-form-header {
    text-align: center;
    margin-bottom: 20px;
}

.hero-form-header h3 {
    color: #ffd700; /* Yellow text */
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.hero-form-header p {
    font-weight: bold;
    font-size: 1.2rem;
}

#heroForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#heroForm input,
#heroForm select {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 25px; /* Rounded inputs */
    font-size: 1rem;
    font-family: 'Be Vietnam Pro', sans-serif;
}

#heroForm .btn-submit {
    background-color: #e63946; /* Red button */
    border-radius: 25px;
    font-size: 1.1rem;
    padding: 12px;
    margin-top: 10px;
}

#heroForm .btn-submit:hover {
    background-color: #c1121f;
}

.form-note {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 15px;
    color: #ccc;
}

@media (max-width: 992px) {
    .hero-overlay-container {
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text-content {
        margin-top: 40px;
    }
}

/* About Section (Split Layout) */
.about-section-bg {
    background-image: url('about-bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    /* Removed background-attachment: fixed because it causes massive scroll lag on many devices */
}

/* Add a semi-transparent dark overlay so white text is readable */
.about-section-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 30, 80, 0.7); /* Dark blue overlay */
    z-index: 0;
}

.about-split-layout {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-left {
    flex: 1;
}

.about-right {
    flex: 1;
    min-width: 0; /* Important for Swiper inside flexbox */
}

.about-left .section-title {
    margin-bottom: 10px;
    color: white; 
}

.about-subtitle {
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #ffdd00; /* Màu vàng Gold nổi bật trên nền xanh đậm, dễ đọc hơn màu đỏ */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-left p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95); 
}

/* Core Values Header */
.core-values-header {
    text-align: center;
    margin-bottom: 20px;
}

.core-values-title {
    font-size: 1.8rem;
    color: white; 
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-red-large {
    background-color: #ff0f39;
    color: white;
    padding: 8px 25px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(255, 15, 57, 0.3);
}

.sparkle-icon {
    width: 28px;
    height: 28px;
    stroke: #ffdd00;
}

.core-values-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    font-weight: 500;
}

/* Swiper Feature Cards */
.feature-card {
    border-radius: 30px;
    padding: 40px 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    height: auto; 
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Unified Brand Colors for Cards */
.brand-card {
    background-color: white; /* Nền thẻ màu trắng để nổi bật hoàn toàn trên nền xanh tối */
}
.brand-card .card-title {
    color: var(--primary-color); /* Chữ tiêu đề màu Xanh Navy */
}
.brand-card .card-desc {
    color: #444; /* Chữ mô tả màu xám đậm dễ đọc */
}
.brand-card .card-icon svg {
    stroke: #ff0f39; /* Icon màu đỏ */
}

/* Swiper custom styles */
.featureSwiper {
    padding-top: 20px; /* Thêm padding-top để hover thẻ nhô lên không bị cắt */
    padding-bottom: 40px; /* Thêm padding-bottom cho shadow và pagination */
}

.swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: #0033a0;
    width: 25px;
    border-radius: 5px;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card .btn-primary {
    margin-top: auto !important;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.course-duration {
    font-weight: bold;
    color: var(--primary-color) !important;
}

/* Modern Register Section */
#register {
    padding: 60px 0;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-title {
    font-size: 2rem;
    color: #0033a0;
    text-transform: uppercase;
}

.badge-red {
    background-color: #ff0f39;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
}

.register-subtitle {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    margin-top: 10px;
}

.register-container {
    display: flex;
    gap: 30px;
    align-items: stretch; /* Stretch to make both boxes equal height */
    justify-content: center;
}

.register-left {
    flex: 1;
    background-color: #1a368b;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
}

.register-right {
    flex: 0 0 350px;
    background-color: #1a368b;
    padding: 30px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.register-right h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Modern Form Elements */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.modern-form input,
.modern-form select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background-color: white;
}

.form-row input,
.form-row select {
    flex: 1;
}

.btn-submit-modern {
    background-color: #ff0f39;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-submit-modern:hover {
    background-color: #d00b2e;
}

.icon-arrow {
    width: 20px;
    height: 20px;
}

.form-disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px;
}

/* Contact Buttons in Right Column */
.btn-contact-modern {
    background-color: #ff0f39;
    color: white;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    max-width: 320px; /* Thêm dòng này để form gọn lại, bớt bè ngang */
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.btn-contact-modern:hover {
    background-color: #d00b2e;
    color: white;
}

.btn-contact-modern svg {
    width: 24px;
    height: 24px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

/* Modern Multi-column Footer */
.modern-footer {
    background: #0d1e4a;
    color: #fff;
    padding: 60px 0 20px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    color: #b0c4de;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: #b0c4de;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ff0f39;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff0f39;
}

.footer-bottom-modern {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #7a8b9a;
    font-size: 0.85rem;
}

/* Responsive cho Footer và Header trên điện thoại */
@media (max-width: 768px) {
    /* Header thu gọn */
    header .container {
        flex-direction: column;
        padding: 5px 0;
        gap: 5px;
    }
    .main-logo {
        max-height: 35px !important; /* Thu nhỏ logo hơn nữa */
    }
    nav ul {
        margin-top: 5px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0;
    }
    nav ul li {
        margin: 0;
    }
    nav ul li a {
        font-size: 0.9rem;
    }
    nav ul li a.btn-primary {
        padding: 6px 15px;
    
        width: auto !important;
        white-space: nowrap;
    }

    /* Footer thu gọn */
    .modern-footer {
        padding: 40px 0 10px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Các phần khác */
    .hero-content h2 {
        font-size: 2rem;
    }
}

/* Custom Additions */
.main-logo {
    max-height: 40px !important; /* Giảm mạnh kích thước logo */
    width: auto;
}

.partner-logo {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.idp-logo {
    max-height: 35px !important; /* Giảm mạnh kích thước IDP logo */
    width: auto;
    background-color: white;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-consent.hidden {
    display: none !important;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}
/* Course Detail Page */
.course-detail-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.course-detail-page p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Floating Support Button */
.floating-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.support-menu {
    background: #00d2ff;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 250px;
    transform-origin: bottom right;
    transition: all 0.3s ease;
}

.support-menu.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.support-item {
    background: white;
    color: #333;
    padding: 12px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-align: center;
}

.support-item:hover {
    background: #f0f0f0;
    color: #333;
}

.support-item.messenger { color: #0084ff; }
.support-item.zalo { color: #0068ff; }
.support-item.phone { color: #e63946; }

.support-btn {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.3s;
}

.support-btn:hover {
    background-color: #c1121f;
    transform: scale(1.05);
}

.support-icon {
    font-size: 1.3rem;
}

/* AI Chat Window */
.ai-chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

.ai-chat-window.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

.chat-header {
    background: #1e3a8a;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.robot-icon-img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 2px;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    display: flex;
    flex-direction: column;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message-content {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot .message-content {
    background: #e9ecef;
    color: #333;
    border-bottom-left-radius: 2px;
}

.message.user .message-content {
    background: #0084ff;
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    display: flex;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
}

.send-btn {
    background: none;
    border: none;
    color: #0084ff;
    font-size: 1.5rem;
    padding: 0 10px;
    cursor: pointer;
}

.typing-indicator {
    color: #888;
    font-style: italic;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
    /* (Swiper.js handles the responsive columns now) */
    .about-split-layout {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS (Thiết kế cho điện thoại)
   ========================================= */
@media (max-width: 768px) {
    /* Header & Nav */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    nav ul li {
        margin-left: 0;
        margin: 5px;
    }
    .logo h1 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    #hero-slider-section {
        min-height: auto;
        padding-bottom: 40px;
    }
    .hero-overlay-container {
        padding-top: 30px;
        gap: 20px;
    }
    .hero-text-content h2 {
        font-size: 2.2rem;
    }
    .hero-text-content p {
        font-size: 1.1rem;
    }
    .hero-form-container {
        padding: 20px;
        width: 95%;
    }

    /* About Section & Feature Chart Mobile */
    .about-split-layout {
        flex-direction: column;
        gap: 30px;
    }
    .core-values-title {
        font-size: 1.4rem;
    }
    .badge-red-large {
        font-size: 1.4rem;
        padding: 5px 15px;
    }
    .feature-chart-modern {
        /* handled by swiper */
    }
    .feature-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    .about-subtitle {
        font-size: 1.3rem;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .about-text {
        font-size: 1rem;
    }

    /* Floating Chatbot */
    .ai-chat-window {
        width: calc(100% - 30px);
        height: 70vh;
        max-height: 500px;
        right: 15px;
        bottom: 75px;
    }
    .chat-header {
        padding: 10px 15px;
    }
    .chat-messages {
        padding: 10px;
    }
    
    /* Support Button Menu */
    .support-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        bottom: 20px;
        right: 20px;
    }
    .support-menu {
        bottom: 60px;
        right: 0;
        width: 200px;
    }
    .support-item {
        padding: 12px;
        font-size: 0.9rem;
    }

    /* Register Mobile */
    .register-container {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .register-left, .register-right {
        padding: 20px;
    }
    .register-title {
        font-size: 1.5rem;
    }
    .btn-contact-modern {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* =========================================
   COURSE PAGES STYLING
   ========================================= */

.course-hero {
    background: linear-gradient(135deg, #0d1e4a 0%, #1a3673 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.course-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffcc00;
}

.course-hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.course-highlights {
    margin-bottom: 30px;
}

.course-highlights h3 {
    color: #0d1e4a;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.course-highlights h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ffcc00;
    border-radius: 2px;
}

.course-highlights ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.course-highlights li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 1rem;
    color: #4a5568;
}

.course-highlights li:last-child {
    margin-bottom: 0;
}

.course-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1e4a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.roadmap-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background-color: white;
}

.roadmap-table thead tr {
    background-color: #0d1e4a;
    color: white;
    text-align: left;
}

.roadmap-table th,
.roadmap-table td {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    line-height: 1.5;
}

.roadmap-table th {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.roadmap-table tbody tr {
    transition: background-color 0.2s ease;
}

.roadmap-table tbody tr:nth-of-type(even) {
    background-color: #f8fbff;
}

.roadmap-table tbody tr:hover {
    background-color: #e8f1fb;
}

.unit-col {
    font-weight: 600;
    color: #0d1e4a;
    white-space: nowrap;
}

/* Course Layout Tweaks */
.course-section {
    padding-bottom: 60px;
}




/* =========================================
   MOBILE OPTIMIZATIONS (New)
   ========================================= */
@media (max-width: 768px) {
    /* Reduce huge paddings on mobile */
    .register-section {
        padding: 40px 0 !important;
    }
    .hero-container {
        padding: 60px 0 !important;
    }
    .section {
        padding: 40px 0;
    }
    .course-hero {
        padding: 20px 15px;
        border-radius: 0 0 20px 20px;
    }
    .course-hero h1 {
        font-size: 1.5rem;
    }
    .course-hero p {
        font-size: 0.95rem;
    }
    .register-left {
        padding: 20px !important;
    }
    .about-split-layout {
        gap: 20px;
    }
    /* Make buttons full width on mobile */
    .btn-submit-modern, .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    /* Compact the table cells on mobile */
    .roadmap-table th, .roadmap-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    /* Courses grid gap */
    .courses-grid {
        gap: 15px;
    }
}
/* Custom Features Grid to replace Swiper */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 column on mobile (vertical) */
    }
}







.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
/* Premium Header */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 15px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 999;
    gap: 10px;
}
@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
    body {
        padding-bottom: 70px; /* Space for sticky CTA */
    }
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.faq-question {
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--light-text);
    margin-top: 10px;
}
.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger & Nav */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%; width: 250px; height: 100vh;
        background: white;
        flex-direction: column;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

