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

:root {
    --blue: #1565C0;
    --blue-dark: #0D2C6E;
    --blue-deep: #0A2569;
    --blue-light: #1E88E5;
    --cyan: #4FC3F7;
    --cyan-bright: #00B0FF;
    --yellow: #FFD600;
    --yellow-hover: #FFC107;
    --gray-bg: #f4f7fb;
    --text: #1a2340;
    --text-muted: #6b7a99;
    --border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(21, 101, 192, 0.10);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: #fff;
}

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

/* img {
    max-width: 100%;
    display: block;
} */

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    vertical-align: middle;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 72px;
    box-shadow: 0 2px 12px rgba(21, 101, 192, 0.06);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 200px;
    flex-shrink: 0;
}

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

.logo-u {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 38px;
    line-height: 1;
    color: var(--blue);
    display: flex;
    align-items: center;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text-main {
    font-weight: 900;
    font-size: 24px;
    color: var(--blue);
    letter-spacing: 0.5px;
}

.logo-text-sub {
    font-size: 9px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 4px;
    margin-top: 3px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.navbar-nav a {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    letter-spacing: 0.5px;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.btn-register {
    background: var(--blue);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
    letter-spacing: 0.8px;
    font-family: inherit;
}

.btn-register:hover {
    background: var(--yellow);
    color: var(--text);
    transform: translateY(-1px);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

.lang-wrap .title-language {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    padding: 6px 10px;
    border-radius: 8px;
    transition: background .15s;
    user-select: none;
}

.lang-wrap .title-language:hover {
    background: var(--gray-bg);
}

.lang-wrap .title-language img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline;
}

.lang-wrap .btn-dropdown--language {
    display: flex;
    align-items: center;
}

.lang-wrap .btn-dropdown--language svg {
    width: 10px;
    height: 10px;
    color: var(--text-muted);
    transition: transform .2s;
}

.lang-wrap:hover .btn-dropdown--language svg {
    transform: rotate(180deg);
}

.lang-wrap .dropdown-language {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 6px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.12);
    border: 1px solid var(--border);
    min-width: 120px;
    z-index: 200;
}

.lang-wrap:hover .dropdown-language {
    display: block;
}

.lang-wrap .content-dropdown {
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-wrap .content-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    transition: background .15s;
}

.lang-wrap .content-dropdown a:hover {
    background: var(--gray-bg);
    color: var(--blue);
}

.lang-wrap .content-dropdown a img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    display: inline;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background: transparent;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--blue);
    border-radius: 4px;
    transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.12);
    padding: 16px 24px 24px;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform .25s, opacity .25s;
}

.mobile-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-of-type {
    border-bottom: none;
}

.mobile-nav a:hover {
    color: var(--blue);
}

.mobile-nav .btn-register {
    margin-top: 10px;
    width: 100%;
}

/* ===== BANNER SLIDER ===== */
section.hero {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(13, 44, 110, 0.15);
}

section.hero .banner-slider .box-img {
    width: 100%;
    height: 520px;
    display: block;
    overflow: hidden;
}

section.hero .banner-slider .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 767.98px) {
    section.hero .banner-slider .box-img {
        height: auto;
        margin-top: 70px;
    }

    section.hero .banner-slider .box-img img {
        object-fit: contain;
        background: #000;
    }
}

/* ===== HERO ===== */
/* .hero {
    position: relative;
    background: linear-gradient(135deg, #0A2569 0%, #1248A8 45%, #1565C0 100%);
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
} */

/* curved white bottom */
/* .hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 80px;
    background: #fff;
    border-top-left-radius: 50% 80px;
    border-top-right-radius: 50% 80px;
    z-index: 4;
} */

.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.star {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    animation: twinkle 3s infinite alternate;
}

.star.cyan {
    color: var(--cyan);
}

@keyframes twinkle {
    from {
        opacity: .4;
        transform: scale(.8) rotate(0deg);
    }

    to {
        opacity: 1;
        transform: scale(1.1) rotate(20deg);
    }
}

.hero-arrows {
    position: absolute;
    right: 38%;
    top: 6%;
    z-index: 2;
    width: 200px;
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 60px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-content h1 .accent {
    color: var(--cyan);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin-top: 20px;
    line-height: 1.7;
    font-weight: 500;
    max-width: 420px;
}

/* .hero-image {
    position: relative;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
} */

/* ===== SEARCH BOX ===== */
.search-section {
    position: relative;
    z-index: 10;
    margin-top: -56px;
    padding: 0 60px;
}

.search-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(13, 44, 110, 0.15);
    padding: 28px 36px;
    max-width: 1080px;
    margin: 0 auto;
}

.search-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 18px;
}

.search-title span {
    color: var(--blue);
}

.search-row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.search-field-wrap {
    flex: 1;
}

.search-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-label .material-icons-outlined {
    font-size: 16px;
    color: var(--blue);
}

.search-field {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    background: #fff;
    transition: border-color .2s;
}

.search-field:hover {
    border-color: var(--blue);
}

.search-field select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-muted);
    flex: 1;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

.btn-search {
    background: var(--blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    height: 48px;
}

.btn-search:hover {
    background: var(--yellow);
    color: var(--text);
    transform: translateY(-1px);
}

.btn-search .material-icons-outlined {
    font-size: 18px;
}

/* ===== SECTION HEADER ===== */
.section-badge {
    display: inline-block;
    background: rgba(21, 101, 192, 0.08);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text);
    line-height: 1.2;
}

.section-title span {
    color: var(--blue);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ===== COURSES ===== */
.courses-section {
    padding: 72px 60px 56px;
    background: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 44, 110, 0.08);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(21, 101, 192, 0.18);
}

.course-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.course-body {
    padding: 0 22px 22px;
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -26px auto 14px;
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.30);
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
}

.course-icon-wrap .material-icons-outlined {
    font-size: 24px;
}

.course-name {
    font-size: 16px;
    font-weight: 900;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
    flex: 1;
}

.course-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.level-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.level-beginner {
    color: #4CAF50;
}

.level-beginner .level-dot {
    background: #4CAF50;
}

.level-pre {
    color: #00BCD4;
}

.level-pre .level-dot {
    background: #00BCD4;
}

.level-inter {
    color: #FF9800;
}

.level-inter .level-dot {
    background: #FF9800;
}

.level-adv {
    color: #9C27B0;
}

.level-adv .level-dot {
    background: #9C27B0;
}

.btn-detail {
    width: 100%;
    background: var(--blue);
    color: #fff;
    padding: 11px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
    letter-spacing: 0.5px;
}

.btn-detail:hover {
    background: var(--yellow);
    color: var(--text);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--blue);
    color: var(--blue);
    padding: 12px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    background: #fff;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
    margin-top: 36px;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: var(--yellow);
    color: var(--text);
    border-color: var(--yellow);
    transform: translateY(-1px);
}

.center {
    text-align: center;
}

/* ===== BLOG ===== */
.blog-section {
    padding: 0px 60px 56px;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}

.blog-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 44, 110, 0.08);
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(21, 101, 192, 0.15);
}

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

.blog-body {
    padding: 22px 24px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 44px;
}

.blog-more {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.blog-more:hover {
    color: var(--yellow-hover);
}

.blog-more .material-icons-outlined {
    font-size: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
    background: linear-gradient(135deg, #0A2569 0%, #1248A8 60%, #1565C0 100%);
    padding: 72px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before,
.testimonial-section::after {
    content: '"';
    position: absolute;
    font-size: 120px;
    font-weight: 900;
    color: rgba(79, 195, 247, 0.30);
    line-height: 1;
    top: 50px;
}

.testimonial-section::before {
    left: 80px;
}

.testimonial-section::after {
    right: 80px;
}

.testimonial-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.testimonial-section .section-title {
    color: #fff;
}

.testimonial-section .section-title span {
    color: var(--cyan);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.testimonial-swiper {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    padding-bottom: 44px;
}

.testimonial-swiper .testimonial-card {
    height: 100%;
}

.testimonial-pagination {
    bottom: 0 !important;
}

.testimonial-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--cyan);
    width: 24px;
    border-radius: 4px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 26px 24px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: background .25s, transform .25s;
    position: relative;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.testimonial-card .quote-icon {
    font-size: 32px;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 16px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 800;
    font-size: 14px;
    color: #fff;
}

.author-role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    margin-top: 2px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background .2s, width .2s;
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 6px;
}

/* ===== CTA FORM ===== */
.cta-section {
    padding: 72px 60px;
    background: #f0f0f0;
}

.cta-inner {
    display: grid;
    grid-template-columns: 180px 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-img-wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cta-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.cta-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.cta-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1.2;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    font-weight: 500;
}

.cta-checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-checks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.check-icon {
    width: 22px;
    height: 22px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.check-icon .material-icons-outlined {
    font-size: 14px;
    font-weight: 900;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-input {
    padding: 14px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    transition: border-color .2s;
    outline: none;
    width: 100%;
}

.form-input:focus {
    border-color: var(--blue);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

select.form-input {
    cursor: pointer;
}

textarea.form-input {
    resize: none;
}

.btn-submit {
    background: var(--blue);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--yellow);
    color: var(--text);
    transform: translateY(-1px);
}

/* ===== CONTACT / MAP ===== */
.contact-section {
    background: #fff;
    padding: 60px 64px;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 24px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: var(--blue-deep);
    border-radius: 14px;
    padding: 32px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.contact-logo-wrap {
    margin-bottom: 22px;
}

.contact-logo-title {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0;
}

.contact-logo-title span {
    color: var(--cyan);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item .material-icons-outlined {
    font-size: 18px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 1px;
}

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    min-height: 360px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background: var(--blue-deep);
    padding: 56px 60px 24px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr 1.2fr;
    gap: 40px;
    margin-bottom: 36px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    padding: 10px;
    margin-bottom: 14px;
    background: #fff;
    border-radius: 5px;
}

@media (max-width: 767.98px) {
    .footer-logo {
        margin: auto;
        max-width: 200px;
        margin-bottom: 14px;
    }
}

.footer-logo-title {
    font-weight: 900;
    font-size: 20px;
    color: #fff;
}

.footer-logo-title span {
    color: var(--cyan);
}

.footer-logo-sub {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 4px;
    margin-top: 2px;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 18px;
}

.footer-title {
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: color .2s;
}

.footer-links li a:hover {
    color: var(--yellow);
}

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

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.5;
}

.footer-contact-item .material-icons-outlined {
    font-size: 16px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

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

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

.social-link:hover {
    background: var(--yellow);
    color: var(--text);
}

.social-link .material-icons-outlined {
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    max-width: 1280px;
    margin: 0 auto;
}

/* Scroll to top */
#scrolltop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.4);
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

#scrolltop:hover {
    background: var(--yellow);
    color: var(--text);
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 28px;
    }

    .navbar-nav {
        gap: 22px;
    }

    .navbar-nav a {
        font-size: 13px;
    }

    .hero-inner {
        padding: 56px 28px 90px;
        gap: 28px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image {
        height: 360px;
    }

    .search-section {
        padding: 0 28px;
    }

    .search-box {
        padding: 22px 24px;
    }

    .courses-section {
        padding: 56px 28px 44px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .blog-section {
        padding: 0px 28px 44px;
    }

    .blog-grid {
        gap: 22px;
    }

    .testimonial-section {
        padding: 56px 28px;
    }

    .testimonial-section::before,
    .testimonial-section::after {
        display: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .testimonial-grid .testimonial-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .cta-section {
        padding: 56px 28px;
    }

    .cta-inner {
        grid-template-columns: 140px 1fr;
        gap: 28px;
    }

    .cta-form {
        grid-column: 1 / -1;
    }

    .cta-title {
        font-size: 26px;
    }

    .contact-section {
        padding: 0 28px 56px;
    }

    .contact-inner {
        grid-template-columns: 1fr 1.3fr;
        gap: 20px;
    }

    footer {
        padding: 44px 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 28px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .navbar {
        padding: 0 18px;
        height: 64px;
    }

    .navbar-nav,
    .navbar-actions .btn-register {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        top: 64px;
    }

    .hero {
        min-height: auto;
    }

    .hero::after {
        height: 50px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 40px 18px 70px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content h1 br {
        display: none;
    }

    .hero-content p {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        height: 260px;
        order: -1;
        margin-bottom: 6px;
    }

    .hero-arrows {
        display: none;
    }

    .star {
        font-size: 12px;
    }

    .search-section {
        padding: 0 14px;
        margin-top: -30px;
    }

    .search-box {
        padding: 20px 16px;
    }

    .search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
        height: 46px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-badge {
        font-size: 10px;
        padding: 5px 14px;
    }

    .courses-section {
        padding: 48px 14px 36px;
    }

    .courses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .course-img {
        height: 130px;
    }

    .course-body {
        padding: 0 14px 16px;
    }

    .course-icon-wrap {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .course-icon-wrap .material-icons-outlined {
        font-size: 20px;
    }

    .course-name {
        font-size: 13px;
    }

    .course-desc {
        font-size: 12px;
    }

    .course-level {
        font-size: 11px;
    }

    .btn-detail {
        font-size: 11px;
        padding: 9px;
    }

    .blog-section {
        padding: 0px 14px 36px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* .blog-img {
        height: 180px;
    } */

    .testimonial-section {
        padding: 48px 14px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .testimonial-grid .testimonial-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .testimonial-swiper {
        padding-bottom: 40px;
        margin-top: 28px;
    }

    .cta-section {
        padding: 48px 14px;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .cta-img-wrap {
        display: none;
    }

    .cta-form {
        grid-column: auto;
    }

    .cta-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta-checks li {
        justify-content: center;
    }

    .contact-section {
        padding: 0 14px 48px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .map-wrap {
        min-height: 220px;
    }

    footer {
        padding: 40px 14px 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }

    #scrolltop {
        bottom: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
    }


}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}



.page-tuyendung--background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.badge-blog--description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.learning-space {
    padding: 0px 60px 56px
}

@media (max-width: 767.98px) {
    .learning-space {
        padding: 0px 14px 36px
    }
}