@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

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

body {
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

input,
button,
textarea {
    display: block;
    font-family: inherit;
    width: 100%;
    padding: 14px;
    border: 1px solid #efefef;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: 0.5s;
}

input:focus {
    border: 1px solid #5cbeff;
    background-color: #f8fcff;
}

input::placeholder {
    color: #bdbdbd;
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #efefef;
    border-radius: 10px;
    background-color: white;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: 0.5s;
    cursor: pointer;
}

select:focus {
    border-color: #5cbeff;
    outline: none;
}

select:valid {
    background-color: #e8f0fe;
}

select option {
    color: #000;
    /* màu chữ bình thường */
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

h1 {
    margin-bottom: 40px;
}

.affiliate {
    display: flex;
    gap: 12px;
    margin: 10px;
}

.form {
    width: 50%;
    height: calc(100vh - 20px);
    border-radius: 20px;
    background-color: #ffffff;
    padding: 60px 120px;
}

.form button {
    background-color: #52b8ff;
    font-weight: 700;
    transition: 0.5s;
    cursor: pointer;
    color: #fff;
}

.form button:hover {
    background-color: #000;

    color: #fff;
}

.form .form-control {
    margin-bottom: 16px;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.logo a {
    width: 30%;
}

.thumb {
    width: 50%;
}

.thumb img,
.thumb2 img {
    height: calc(100vh - 20px);
    border-radius: 12px;
}

/* From Uiverse.io by barisdogansutcu */
.loading svg,
.loading2 svg {
    width: 3.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.loading circle,
.loading2 circle {
    fill: none;
    stroke: hsl(214, 97%, 59%);
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -125px;
    }
}

.loading {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading.active {
    opacity: 1;
}

.loading2 {
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
}

.loading2.active {
    opacity: 1;
}

.loading2 svg {
    width: 2.25em;
    transform-origin: center;
    animation: rotate4 2s linear infinite;
}

.page404 {
    width: 50%;
    margin: 50px auto;
    text-align: center;
}

.page404 .thank {
    width: 50%;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .affiliate {
        display: block;
    }

    .form {
        width: 100%;
        height: 100%;
    }

    .thumb {
        display: none;
    }

    .page404 {
        width: 90%;
    }
}

@media (max-width: 575px) {
    .form {
        padding: 20px;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

th,
td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #007bff;
    color: white;
}

.affiliate h1 {
    margin-bottom: 20px;
}

.affiliate .table-container {
    width: 60%;
    padding: 60px 40px;
}

.affiliate .thumb2 {
    width: 40%;
}

.month-nav {
    text-align: center;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.month-nav span {
    background-color: #d0e8ff;
    padding: 10px;
    border-radius: 10px;
    color: #124c86;
    font-weight: 600;
}

.month-nav button {
    background-color: #f8fafc;
    padding: 10px 10px;
    cursor: pointer;
    border-color: #b3d1ed;
    color: #124c86;
    font-weight: 500;
}

.koc-section {
    width: 60%;
    margin: 50px auto;
    background: #ffffff;
    padding: 30px 30px 0;
    border-radius: 20px;
    border: 1px solid #c0e5ff;
}

.content-koc {
    background-color: #f7f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-top: 24px;
    border: 1px solid #e0e0e0;
}

.content-koc table {
    margin-bottom: 0;
    margin-top: 10px;
}

.content-koc .infor {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 20px;
}

.content-koc .infor span {
    font-weight: 600;
}

.content-koc .total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    gap: 20px;
    margin-top: 10px;
}

.content-koc .total span {
    font-weight: 700;
    color: #1f74ca;
}

#koc-body {
    background-color: #f6f6f6;
}

@media (max-width: 991px) {
    .koc-section {
        width: 95%;
        margin: 20px;
    }
}

/* --- Landing Page Redesign --- */
.landing-container {
    min-height: 100vh;
    background: radial-gradient(circle at bottom right, #44a5ff 0%, #154cba 40%, #0d276b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.landing-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://wpdemo.archiwp.com/onum/wp-content/uploads/sites/3/2019/11/bg-overlay-home1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* keep it behind the main content which is z-index 2 */
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    transform: rotate(45deg);
    z-index: 1;
}

.shape-1 {
    width: 100px;
    height: 20px;
    top: 10%;
    left: 20%;
}

.shape-2 {
    width: 60px;
    height: 15px;
    bottom: 20%;
    right: 15%;
}

.landing-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 2;
    gap: 60px;
}

.landing-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 30px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-box img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.partners-top {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-label-inline {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partners-logos img {
    height: 32px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.3s;
}

.partners-logos img:hover {
    transform: scale(1.05);
}

.main-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.sub-title {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    text-align: center;
}



.action-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.learn-more-btn {
    background: white;
    color: #154cba;
    border: none;
    padding: 14px 28px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
}

.learn-more-btn i {
    font-size: 14px;
}

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

.stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 14px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-card {
    background: #f8fafc;
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #0f172a;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.form-icon {
    width: 48px;
    height: 48px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.form-group label span {
    color: #ef4444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: transparent;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 32px;
    margin-bottom: 16px;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.form-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .landing-content {
        flex-direction: column;
        gap: 40px;
    }

    .main-title {
        font-size: 40px;
    }
}

@media (max-width: 576px) {
    .action-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-card {
        padding: 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* --- SECTION 2 --- */
.section-two {
    /* padding: 80px 20px; */
    background-color: #ffffff;
    color: #0f172a;
}

.section-two .container-s2 {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #0d276b;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #3b82f6;
    margin: 16px auto 0;
    border-radius: 4px;
}

/* Heart Gallery Animation */
.block-showcase {
    /* margin-bottom: 80px; */
    overflow: hidden;
    /* To prevent scattered images from causing horizontal scroll */
    padding: 60px 0;
    /* extra padding for absolute elements */
}

/* Wire Gallery Layout */
.wire-gallery-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.wire-title {
    font-size: 80px;
    font-weight: 900;
    color: #2563eb;
    text-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    line-height: 1;
    margin-bottom: 10px;
}

.wire-subtitle {
    font-size: 18px;
    color: #475569;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Wire Gallery ── */
.wire-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    /* desktop: no scroll */
    padding: 0 0 40px 0;
}

.wire-row {
    position: relative;
    width: 100%;
    /* fill parent on desktop */
    height: 250px;
    margin: 0 auto 40px auto;
}

.wire-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.wire-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* ── Polaroid ── */
.polaroid-wrapper {
    position: absolute;
    width: 145px;
    background: #fff;
    padding: 8px 8px 28px 8px;
    box-shadow: 2px 6px 20px rgba(0, 0, 0, 0.18);
    border-radius: 2px;
    transform-origin: top center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.polaroid-wrapper:hover {
    z-index: 10;
    box-shadow: 4px 12px 32px rgba(0, 0, 0, 0.32);
    animation-play-state: paused;
}

.polaroid-img {
    width: 100%;
    height: 135px;
    overflow: hidden;
    background: #111;
}

.polaroid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.35s ease;
    display: block;
}

.polaroid-wrapper:hover .polaroid-img img {
    transform: scale(1.05);
}

/* ── Clothespin ── */
.clothespin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 13px;
    height: 26px;
    background: linear-gradient(135deg, #e8c49a, #c98d52);
    border-radius: 3px 3px 5px 5px;
    box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.35),
        inset -2px 0 0 rgba(0, 0, 0, 0.15),
        0 3px 6px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

.clothespin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.clothespin::after {
    content: '';
    position: absolute;
    top: 45%;
    left: -3px;
    right: -3px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
}

/* ── Swing keyframes ── */
@keyframes swing {
    0% {
        transform: rotate(var(--r-start));
    }

    100% {
        transform: rotate(var(--r-end));
    }
}

/*
  Bezier curve: M -50,20 Q 600,120 1250,20  (viewBox 0 0 1200 130, SVG height 120px)
  Wire y in screen-px at each left% (clothespin centered at left% + ~60px):
    left:5%  → wire at ~40px  → wrapper top = wire+1 = 41px
    left:21% → wire at ~56px  → wrapper top = 57px
    left:37% → wire at ~64px  → wrapper top = 65px  (deepest)
    left:53% → wire at ~64px  → wrapper top = 65px
    left:69% → wire at ~56px  → wrapper top = 57px
    left:85% → wire at ~40px  → wrapper top = 41px
*/

/* ── Row 1 ── */
.p-1 {
    left: 5%;
    top: 41px;
    --r-start: -5deg;
    --r-end: -2deg;
    animation: swing 4.2s ease-in-out 0s infinite alternate;
}

.p-2 {
    left: 21%;
    top: 57px;
    --r-start: 3deg;
    --r-end: 6deg;
    animation: swing 3.9s ease-in-out -0.8s infinite alternate;
}

.p-3 {
    left: 37%;
    top: 65px;
    --r-start: -4deg;
    --r-end: -1deg;
    animation: swing 4.5s ease-in-out -1.5s infinite alternate;
}

.p-4 {
    left: 53%;
    top: 65px;
    --r-start: 2deg;
    --r-end: 5deg;
    animation: swing 4.1s ease-in-out -0.4s infinite alternate;
}

.p-5 {
    left: 69%;
    top: 57px;
    --r-start: -6deg;
    --r-end: -3deg;
    animation: swing 4.7s ease-in-out -1.2s infinite alternate;
}

.p-6 {
    left: 85%;
    top: 41px;
    --r-start: 3deg;
    --r-end: 6deg;
    animation: swing 3.8s ease-in-out -0.3s infinite alternate;
}

/* ── Row 2 ── */
.p-7 {
    left: 5%;
    top: 41px;
    --r-start: 4deg;
    --r-end: 7deg;
    animation: swing 4.0s ease-in-out -0.6s infinite alternate;
}

.p-8 {
    left: 21%;
    top: 57px;
    --r-start: -3deg;
    --r-end: 0deg;
    animation: swing 4.4s ease-in-out -1.1s infinite alternate;
}

.p-9 {
    left: 37%;
    top: 65px;
    --r-start: 2deg;
    --r-end: 5deg;
    animation: swing 3.7s ease-in-out -0.3s infinite alternate;
}

.p-10 {
    left: 53%;
    top: 65px;
    --r-start: -5deg;
    --r-end: -2deg;
    animation: swing 4.6s ease-in-out -1.8s infinite alternate;
}

.p-11 {
    left: 69%;
    top: 57px;
    --r-start: 1deg;
    --r-end: 4deg;
    animation: swing 4.2s ease-in-out -0.5s infinite alternate;
}

.p-12 {
    left: 85%;
    top: 41px;
    --r-start: -4deg;
    --r-end: -1deg;
    animation: swing 3.9s ease-in-out -1.4s infinite alternate;
}

/* ── Mobile: horizontal scroll ── */
@media (max-width: 992px) {
    .wire-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .wire-gallery-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .wire-gallery-wrapper::-webkit-scrollbar {
        display: none;
    }

    .wire-row {
        width: 900px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .wire-title {
        font-size: 40px;
    }

    .wire-subtitle {
        font-size: 14px;
    }

    .wire-row {
        width: 800px;
    }
}

/* Accordion */
.block-courses {
    max-width: 900px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: #f8fafc;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.accordion-header {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #0d276b;
    transition: background 0.3s;
}

.accordion-header .icon {
    font-size: 20px;
    color: #3b82f6;
    transition: transform 0.4s ease;
}

.accordion-header.active .icon {
    transform: rotate(135deg);
    color: #ef4444;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: transparent;
    padding: 0 32px;
}

.accordion-content p {
    color: #475569;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.accordion-header.active+.accordion-content {
    padding: 0 32px 32px 32px;
    max-height: 500px;
}

@media (max-width: 576px) {
    .accordion-header {
        padding: 20px;
        font-size: 16px;
    }

    .accordion-content {
        padding: 0 20px;
    }

    .accordion-header.active+.accordion-content {
        padding: 0 20px 20px 20px;
    }
}

/* Lightbox Styles */
.heart-img {
    cursor: pointer;
}

/* ── Lightbox ── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.lightbox.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(.25, .8, .25, 1), opacity 0.25s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox.show img {
    transform: scale(1);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 32px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 42px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ef4444;
    transform: scale(1.15) rotate(5deg);
}

/* Prev / Next arrows */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    user-select: none;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lightbox-prev:active {
    transform: translateY(-50%) scale(0.9);
}

.lightbox-next:active {
    transform: translateY(-50%) scale(0.9);
}

/* Counter pill */
.lightbox-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1px;
    font-family: inherit;
    pointer-events: none;
}

/* ══════════════════════════════════════════
   SECTION 3 — COURSE CARDS
══════════════════════════════════════════ */
.section-courses {
    background: linear-gradient(160deg, #eef2ff 0%, #ffffff 50%, #fdf6ee 100%);
    padding: 100px 24px 120px;
}

.courses-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Header ── */
.courses-header {
    text-align: center;
    margin-bottom: 64px;
}

.courses-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a3a8c, #2756d4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.courses-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 900;
    color: #0d276b;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.courses-desc {
    color: #64748b;
    font-size: 16px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Grid ── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* ── Card ── */
.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(13, 39, 107, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(13, 39, 107, 0.06);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(13, 39, 107, 0.16);
}

/* ── Card Image ── */
.course-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #0d276b;
    flex-shrink: 0;
}

.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-img img {
    transform: scale(1.07);
}

.course-card-img-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.course-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.93);
    color: #0d276b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 4px 11px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.course-tag.practice {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
}

/* ── Card Body ── */
.course-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.course-number {
    font-size: 44px;
    font-weight: 900;
    color: rgba(13, 39, 107, 0.07);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: -6px;
}

.course-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #0d276b;
    line-height: 1.35;
    margin: 0;
}

.course-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

/* ── Detail blocks ── */
.course-detail-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.course-detail-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a3a8c;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.course-detail-title i {
    color: #2756d4;
    font-size: 12px;
}

.course-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.course-detail-list li {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    padding-left: 15px;
    position: relative;
}

.course-detail-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #2756d4;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}

/* ── Pricing block ── */
.course-pricing {
    margin-top: auto;
    background: linear-gradient(135deg, #f0f4ff, #e8effd);
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(39, 86, 212, 0.12);
}

.course-pricing-title {
    font-size: 11px;
    font-weight: 700;
    color: #1a3a8c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-pricing-title i {
    color: #f59e0b;
}

.course-pricing-note {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 10px;
    font-style: italic;
}

.course-pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(39, 86, 212, 0.1);
}

.price-label {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.price-value {
    font-size: 15px;
    font-weight: 800;
    color: #0d276b;
    letter-spacing: -0.3px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .course-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .section-courses {
        padding: 60px 16px 80px;
    }

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

    .course-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .course-card-img {
        height: 180px;
    }
}

/* ══════════════════════════════════════════
   SECTION 4 — STATS / WHY TSE
══════════════════════════════════════════ */
.section-stats {
    position: relative;
    background: linear-gradient(135deg, #0a1f5c 0%, #0d276b 40%, #1a3a8c 70%, #0f3460 100%);
    padding: 100px 24px 120px;
    overflow: hidden;
    color: #fff;
}

/* Decorative background shapes */
.stats-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stats-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: floatShape 8s ease-in-out infinite alternate;
}

.stats-shape.s1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.stats-shape.s2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
    animation-delay: 2s;
}

.stats-shape.s3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes floatShape {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(20px, -20px);
    }
}

/* Container */
.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.stats-header {
    text-align: center;
    margin-bottom: 72px;
}

.stats-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.stats-title {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Stat card */
.stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 36px 24px 32px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Icon */
.stat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2756d4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    position: relative;
}

.stat-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.25);
    animation: pulsering 2.5s ease-out infinite;
}

@keyframes pulsering {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Number */
.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: 28px;
    font-weight: 900;
    color: #3b82f6;
    line-height: 1;
    margin-left: 2px;
}

/* Label & desc */
.stat-label {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.stat-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section-stats {
        padding: 60px 16px 80px;
    }

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

    .stat-card {
        padding: 24px 16px 20px;
    }

    .stat-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

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

/* ══════════════════════════════════════════
   SECTION 5 — CERTIFICATES (PREMIUM REDESIGN)
══════════════════════════════════════════ */
.section-cert {
    position: relative;
    background: #f8fafc;
    padding: 120px 24px 140px;
    overflow: hidden;
    z-index: 1;
}

/* Premium Background Glows */
.section-cert::before,
.section-cert::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    animation: floatGlow 10s infinite alternate ease-in-out;
}

.section-cert::before {
    top: -100px;
    left: -200px;
    background: rgba(39, 86, 212, 0.15);
}

.section-cert::after {
    bottom: -100px;
    right: -200px;
    background: rgba(245, 158, 11, 0.12);
    /* Subtle gold glow */
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* Header */
.cert-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cert-header {
    text-align: center;
    margin-bottom: 80px;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(26, 58, 140, 0.1), rgba(39, 86, 212, 0.05));
    border: 1px solid rgba(39, 86, 212, 0.2);
    color: #1a3a8c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.cert-badge::before {
    content: '★';
    color: #f59e0b;
    font-size: 14px;
}

.cert-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: #0d276b;
    letter-spacing: 0.5px;
    line-height: 1.25;
    max-width: 800px;
    margin: 0 auto;
}

.cert-title span {
    background: linear-gradient(135deg, #1a3a8c, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: stretch;
}

/* Base Card Style */
.cert-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* ── Madison Card (Left / Vertical) ── */
.card-madison {
    background: #f4f8fd;
    border: 1px solid #c2d6f5;
    flex-direction: column;
}

.card-madison .cert-content {
    padding: 32px 32px 16px;
    flex: 1;
}

.card-madison .cert-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #1a3a8c;
    line-height: 1.4;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card-madison .cert-card-desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
}

.card-madison .cert-img-wrap {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
}

.card-madison .cert-img-wrap img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ── ALAP Card (Right / Horizontal) ── */
.card-alap {
    background: #fff8f6;
    border: 1px solid #fecaca;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 24px;
}

.card-alap .cert-img-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 45%;
}

.card-alap .cert-img-wrap img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-alap .cert-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.card-alap .cert-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #dc2626;
    line-height: 1.4;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card-alap .cert-card-desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cert-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ef4444;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.cert-btn-detail:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.5);
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .card-alap {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .card-alap {
        flex-direction: column;
        text-align: center;
    }

    .card-alap .cert-img-wrap {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .cert-btn-detail {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .section-cert {
        padding: 60px 16px 80px;
    }

    .card-madison .cert-content,
    .card-alap {
        padding: 20px;
    }

    .card-alap .cert-img-wrap {
        max-width: 100%;
    }

    .card-madison .cert-card-title,
    .card-alap .cert-card-title {
        font-size: 18px;
    }
}

/* ══════════════════════════════════════════
   SECTION PERKS (ĐẶC QUYỀN)
══════════════════════════════════════════ */
.section-perks {
    padding: 100px 20px;
    background: #f8fafc;
}

.perks-container {
    max-width: 1200px;
    margin: 0 auto;
}

.perks-header {
    text-align: center;
    margin-bottom: 60px;
}

.perks-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    color: #0d276b;
    text-transform: uppercase;
}

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

.perk-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.perk-content {
    padding: 32px 24px 20px;
    flex: 1;
}

.perk-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.4;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.perk-card-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.perk-card-desc strong {
    color: #1e293b;
}

.perk-img {
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perk-img img {
    max-width: 100%;
    border-radius: 12px;
    object-fit: contain;
}

/* Specific Colors matching the image */
.perk-blue {
    border-color: #bfdbfe;
    background: #f5f8ff;
}

.perk-blue .perk-card-title span {
    color: #2563eb;
}

.perk-red {
    border-color: #fecaca;
    background: #fffcfc;
}

.perk-red .perk-card-title span {
    color: #dc2626;
}

.perk-green {
    border-color: #bbf7d0;
    background: #f6fff9;
}

.perk-green .perk-card-title span {
    color: #16a34a;
}

.perk-purple {
    border-color: #e9d5ff;
    background: #fcfaff;
}

.perk-purple .perk-card-title span {
    color: #dc2626;
    /* The image shows red text for this one too */
}

.perk-indigo {
    border-color: #c7d2fe;
    background: #f8f9ff;
}

.perk-indigo .perk-card-title span {
    color: #dc2626;
    /* Highlight is red in the image */
}

/* Layout sizing */
.perk-card:nth-child(1),
.perk-card:nth-child(2),
.perk-card:nth-child(3) {
    grid-column: span 2;
}

/* Horizontal Cards */
.perk-horizontal {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
}

.perk-horizontal .perk-content {
    flex: 1;
    padding: 32px;
}

.perk-horizontal .perk-img {
    flex: 1;
    padding: 24px 24px 24px 0;
}

.perk-horizontal .perk-card-title {
    font-size: 20px;
}

@media (max-width: 1024px) {
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perk-card:nth-child(1),
    .perk-card:nth-child(2),
    .perk-card:nth-child(3) {
        grid-column: span 1;
    }

    .perk-card:nth-child(3) {
        grid-column: span 2;
        /* Center the 3rd one */
    }

    .perk-horizontal {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .perks-grid {
        grid-template-columns: 1fr;
    }

    .perk-card:nth-child(1),
    .perk-card:nth-child(2),
    .perk-card:nth-child(3),
    .perk-card:nth-child(4),
    .perk-card:nth-child(5) {
        grid-column: span 1;
    }

    .perk-horizontal {
        flex-direction: column;
    }

    .perk-horizontal .perk-img {
        padding: 0 24px 24px;
    }
}

/* ══════════════════════════════════════════
   SECTION TESTIMONIALS (REVIEW)
══════════════════════════════════════════ */
.section-testimonials {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    color: #0d276b;
    text-transform: uppercase;
}

.testimonials-slider {
    padding-bottom: 50px;
}

.testimonials-slider .swiper-slide {
    width: 380px;
    height: auto;
}

.testimonials-slider .swiper-pagination-bullet {
    background: #3b82f6;
    opacity: 0.3;
}

.testimonials-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 40px;
    color: rgba(59, 130, 246, 0.1);
    z-index: 0;
}

.testimonial-text {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 18px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
}

.author-class {
    font-size: 13px;
    color: #2563eb;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
}

.review-link {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.review-link:hover {
    color: #2563eb;
}

.review-link i {
    font-size: 11px;
}

@media (max-width: 1024px) {
    .testimonials-slider .swiper-slide {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .testimonials-slider .swiper-slide {
        width: 100%;
        max-width: 340px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* ══════════════════════════════════════════
   SECTION TRAINERS
══════════════════════════════════════════ */
.section-trainers {
    padding: 100px 20px;
    background: #ffffff !important;
    /* Force white background to match images */
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.trainers-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trainers-header {
    text-align: center;
    margin-bottom: 60px;
}

.trainers-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 58, 140, 0.1), rgba(39, 86, 212, 0.05));
    color: #1a3a8c;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 24px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.trainers-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    color: #0d276b;
    margin-bottom: 16px;
}

.trainers-desc {
    font-size: 16px;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

/* Swiper Slider */
.trainers-slider {
    padding: 40px 0 60px;
    overflow: visible;
}

.trainers-slider .swiper-slide {
    width: 320px;
    /* IMPORTANT: needed for slidesPerView auto */
    opacity: 0.4;
    transform: scale(0.85);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.trainers-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
}

/* Trainer Card */
.trainer-card {
    display: block;
    text-decoration: none;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
}

.trainer-visual {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: -15px;
    /* Pull up tags */
    z-index: 1;
}

.trainer-bg {
    position: absolute;
    top: 40px;
    right: 30px;
    bottom: 20px;
    left: 10px;
    background: #1b64f2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(27, 100, 242, 0.2);
}

.vertical-text {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.trainer-photo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 110%;
    max-width: 120%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

/* Stats */
.trainer-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
}

.stat-box {
    background: #fff;
    border: 1.5px solid #1b64f2;
    border-radius: 12px;
    padding: 10px 12px;
    min-width: 130px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-main {
    display: block;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.trainer-stats .stat-box:nth-child(1) .stat-main {
    color: #ef4444;
    /* Red */
}

.trainer-stats .stat-box:nth-child(2) .stat-main {
    color: #ef4444;
    /* Red */
}

.stat-sub {
    display: block;
    font-size: 11px;
    color: #1b64f2;
    font-weight: 600;
    line-height: 1.3;
}

/* Name */
.trainer-name {
    font-size: 20px;
    font-weight: 800;
    color: #1a3a8c;
    margin: 0;
    transition: color 0.3s ease;
}

.trainer-card:hover .trainer-name {
    color: #1b64f2;
}

/* Pagination */
.trainers-slider .swiper-pagination-bullet {
    background: #1b64f2;
    opacity: 0.3;
}

.trainers-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
}

/* Action Button */
.trainers-btn-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .section-trainers {
        padding: 60px 16px;
    }

    .trainers-slider {
        overflow: hidden;
    }

    /* Standard slider on mobile */
    .trainers-slider .swiper-slide {
        opacity: 1;
        transform: scale(1);
    }
}

/* ══════════════════════════════════════════
   THANK YOU POPUP
══════════════════════════════════════════ */
.thank-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 31, 92, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.thank-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.thank-popup-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thank-popup-overlay.show .thank-popup-content {
    transform: translateY(0) scale(1);
}

.thank-popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    font-size: 36px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    position: relative;
    z-index: 2;
}

.thank-popup-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d276b;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.thank-popup-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.thank-popup-btn {
    background: linear-gradient(135deg, #1a3a8c, #3b82f6);
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 2;
}

.thank-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

/* Decorative Shapes */
.thank-popup-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
}

.thank-popup-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.2);
    top: -50px;
    left: -50px;
}

.thank-popup-shape.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(16, 185, 129, 0.15);
    bottom: -80px;
    right: -80px;
}

@media (max-width: 480px) {
    .thank-popup-content {
        padding: 40px 24px;
    }

    .thank-popup-title {
        font-size: 24px;
    }
}

/* ══════════════════════════════════════════
   SECTION CTA
══════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
}

.section-cta {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cta-desc {
    font-size: clamp(16px, 2.5vw, 20px);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: #f59e0b;
    /* Vibrant amber/orange */
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    padding: 20px 48px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    animation: pulseCTA 2s infinite;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-btn:hover {
    background: #d97706;
    transform: translateY(-5px);
    color: #fff;
}

@keyframes pulseCTA {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}