@charset "utf-8";
@import "../../fonts/font.css";

i,
span,
a {
    display: unset;
}
p {
    text-align: justify;
    font-family: "Inter-Regular";
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 5px;
}

/* === Section containers (shared) === */
#section-1,
#section-2,
#section-2b,
#section-2c,
#section-3,
#section-4,
#section-5,
#section-6,
#section-7,
#section-8,
#section-9,
#section-10,
#section-11 {
    position: relative;
    overflow: hidden;
}

/* === Section background images (shared) === */
.s1-bg,
.s2-bg,
.s2-bg-mb,
.s2b-bg,
.s2b-bg-mb,
.s2c-bg,
.s2c-bg-mb,
.s3-bg,
.s3-bg-mb,
.s4-bg,
.s4-bg-mb,
.s5-bg,
.s5-bg-mb,
.s6-bg,
.s6-bg-mb,
.s7-bg,
.s7-bg-mb,
.s8-bg,
.s8-bg-mb,
.s9-bg,
.s9-bg-mb,
.s10-bg,
.s10-bg-mb,
.s11-bg,
.s11-bg-mb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.s2-bg-mb,
.s2b-bg-mb,
.s2c-bg-mb,
.s3-bg-mb,
.s4-bg-mb,
.s5-bg-mb,
.s6-bg-mb,
.s7-bg-mb,
.s8-bg-mb,
.s9-bg-mb,
.s10-bg-mb,
.s11-bg-mb {
    display: none;
}

/* Section aspect ratios — match bg image dimensions */
#section-2  { aspect-ratio: 1920 / 492; }
#section-2b { aspect-ratio: 1920 / 395; }
#section-2c { aspect-ratio: 1920 / 1161; }
#section-3  { aspect-ratio: 1920 / 1110; }
#section-4  { aspect-ratio: 1920 / 1269; }
#section-5  { aspect-ratio: 1920 / 4209; }
#section-6  { aspect-ratio: 1920 / 1097; }
#section-7  { aspect-ratio: 1920 / 729; }
#section-8  { aspect-ratio: 1920 / 1465; }
#section-9  { aspect-ratio: 1920 / 481; }
#section-10 { aspect-ratio: 1920 / 659; }
#section-11 { aspect-ratio: 1920 / 1388; }

/* === Section 11 — Video Carousel === */
.s11-container {
    position: relative;
    z-index: 1;
    top: 28%;
}
.s11-carousel .s11-video {
    padding: 0 10px;
}
.s11-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
}
.s11-video-thumb > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.s11-video-thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.s11-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    object-fit: contain;
    cursor: pointer;
    z-index: 1;
}
.s11-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #00285a !important;
    font-size: 1.25rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.s11-carousel .owl-prev { left: -20px; }
.s11-carousel .owl-next { right: -20px; }

/* Section container z-index for content above bg */
#section-1 .container,
#section-2 .container,
#section-2b .container,
#section-2c .container,
#section-3 .container,
#section-4 .container,
#section-5 .container,
#section-6 .container,
#section-7 .container,
#section-8 .container,
#section-9 .container,
#section-10 .container,
#section-11 .container {
    position: relative;
    z-index: 1;
}

/* === Section 1 — Video + Form === */
.s1-video-form-row {
    align-items: stretch;
    justify-content: center;
}
.s1-video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 150, 255, 0.15);
    max-width: 656px;
}
.s1-video-wrapper iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    border: none;
}
.s1-form-wrapper {
    max-width: 500px;
}
.s1-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.s1-form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #00285a;
    border-radius: 10px;
    background: #fff;
    color: #00285a;
    font-family: "Inter-Regular", sans-serif;
    font-size: 0.95rem;
    outline: none;
}
.s1-form-input::placeholder {
    color: #7f9fc7;
}
.s1-form-input.border-danger {
    border: 2px solid #e74c3c;
}
.s1-form-wrapper .enroll-box button {
    appearance: none;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
}

/* === Enrollment Form === */
.enroll-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    position: relative;
}
.enroll-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.54px;
    background: url("../../images/courses/quan-tri-nhan-su-danh-cho-sep-k26/enroll-bg.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.enroll-box-title {
    font-family: "Inter-Bold", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: normal;
    background: linear-gradient(360deg, #2c6ab8 12.66%, #00285a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === Responsive === */
@media screen and (max-width: 1199px) {
    .s1-video-wrapper {
        display: none;
    }
    .s1-form-wrapper {
        max-width: 420px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .s1-firm-input {
        padding: 0.4rem 1rem;
    }

    .enroll-box {
        padding: 1.5rem;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 991px) {
    /* Mobile bg image aspect ratios */
    #section-2  { aspect-ratio: 430 / 386; }
    #section-2b { aspect-ratio: 405 / 412; }
    #section-2c { aspect-ratio: 420 / 1406; }
    #section-3  { aspect-ratio: 430 / 943; }
    #section-4  { aspect-ratio: 430 / 932; }
    #section-5  { aspect-ratio: 430 / 4001; }
    #section-6  { aspect-ratio: 430 / 1276; }
    #section-7  { aspect-ratio: 430 / 979; }
    #section-8  { aspect-ratio: 420 / 1880; }
    #section-9  { aspect-ratio: 430 / 216; }
    #section-10 { aspect-ratio: 430 / 203; }
    #section-11 { aspect-ratio: 430 / 758; }

    .s2-bg,
    .s2b-bg,
    .s2c-bg,
    .s3-bg,
    .s4-bg,
    .s5-bg,
    .s6-bg,
    .s7-bg,
    .s8-bg,
    .s9-bg,
    .s10-bg,
    .s11-bg {
        display: none;
    }
    .s2-bg-mb,
    .s2b-bg-mb,
    .s2c-bg-mb,
    .s3-bg-mb,
    .s4-bg-mb,
    .s5-bg-mb,
    .s6-bg-mb,
    .s7-bg-mb,
    .s8-bg-mb,
    .s9-bg-mb,
    .s10-bg-mb,
    .s11-bg-mb {
        display: block;
    }

    .enroll-box {
        padding: 1.5rem 1rem;
    }
    .enroll-box-title {
        font-size: 1.5rem;
    }
    .s1-form-fields {
        gap: 0.6rem;
    }
    .s1-form-input {
        padding: 0.55rem 0.8rem;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 575px) {
    .s1-video-form-row {
        gap: 1rem !important;
    }
    .enroll-box {
        padding: 1rem 0.75rem;
    }
    .enroll-box-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    .s1-form-fields {
        gap: 0.5rem;
        padding: 0.5rem 1.5rem;
    }
    .s1-form-input {
        font-size: 0.85rem;
        padding: 0.5rem 0.65rem;
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 350px) {
    .enroll-box::before {
        transform: scaleY(1.2);
    }
}
