/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

:root {
    --htdev-pink: #EB4770;
    --htdev-pink-hover: #d14966;
    --htdev-pink-light: #fbebf0;
    --htdev-navy: #1a1a2e;
    --htdev-body-bg: #fffcfd;

    --htdev-font-body: 'Arimo', sans-serif;
    --htdev-font-heading: 'Yanone Kaffeesatz', sans-serif;
    --htdev-font-subtitle: 'Truculenta', sans-serif;
    --htdev-font-coda: 'Coda', sans-serif;

    --htdev-radius-pill: 9999px;
    --htdev-radius-box: 10px;
}

body {
    font-family: var(--htdev-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--htdev-font-heading);
    font-weight: 700;
    margin-bottom: 0;
}

h1 {
    font-size: clamp(40px, 5vw, 48px);
    line-height: 1.2;
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.3;
}

h3 {
    font-size: clamp(24px, 3.5vw, 28px);
    line-height: 1.4;
}

h4 {
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.4;
}

h5 {
    font-size: clamp(18px, 2vw, 20px);
    line-height: 1.5;
}

h6 {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.5;
}

p {
    margin-bottom: 0;
}

.subtitle {
    font-family: var(--htdev-font-subtitle);
}

.logo a {
    font-family: 'Great Vibes', cursive;
    font-size: 25px;
    font-weight: normal;
    text-transform: unset;
    color: var(--htdev-pink);
}

.htdev-hero-title b,
.htdev-hero-title strong {
    color: var(--htdev-pink);
}

@media (max-width: 849px) {
    .htdev-hero-title {
        padding: 0 15px;
    }
}

.htdev-btn-primary {
    font-family: var(--htdev-font-heading);
    font-size: clamp(21px, 3.5vw, 25px);
    background-color: var(--htdev-pink);
    color: #fff;
    border-radius: var(--htdev-radius-pill);
    padding: 10px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 14px rgba(237, 93, 127, 0.2);
    margin-top: 50px;
}

.htdev-am-wrapper .htdev-btn-primary {
    margin-top: 10px;
}

.htdev-text-pink {
    color: var(--htdev-pink);
}

.htdev-bg-pink {
    background-color: var(--htdev-pink);
}

.htdev-bg-light {
    background-color: var(--htdev-pink-light);
}

/* MODULE 3: SERVICES CARDS */
.htdev-services-wrapper {
    box-sizing: border-box;
    align-items: stretch;
}

.htdev-svc-card {
    border-radius: var(--htdev-radius-box);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background-color: #fff;
}

.htdev-svc-img {
    width: 100%;
    aspect-ratio: 16 / 12;
    overflow: hidden;
    background-color: #f7f7f7;
    position: relative;
    border-radius: var(--htdev-radius-box, 16px);
}

.htdev-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.htdev-svc-card:hover .htdev-svc-img img {
    transform: scale(1.05);
}

.htdev-svc-img-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    font-size: 14px;
}

.htdev-svc-content {
    padding: 24px 24px 30px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    align-items: flex-start;
}

.htdev-svc-title {
    margin-bottom: 5px;
    margin-top: 0;
    color: var(--htdev-pink);
    text-transform: uppercase;
    font-size: clamp(21px, 3.5vw, 28px);
}

.htdev-svc-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
}

.htdev-svc-desc li {
    margin-bottom: 0;
}

.htdev-svc-desc li::marker {
    color: var(--htdev-pink);
}

.htdev-svc-btn {
    align-self: flex-start;
    margin-top: auto;
}

.htdev-btn-text {
    font-family: var(--htdev-font-heading);
    font-size: clamp(16px, 3.5vw, 20px);
    color: var(--htdev-pink);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.htdev-btn-text:hover {
    color: var(--htdev-pink-hover);
    transform: translateX(5px);
}

@media (min-width: 849px) {
    .htdev-svc-img-wrap {
        padding: 10px;
    }

    .htdev-svc-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        border-color: rgba(237, 93, 127, 0.3);
    }

    .htdev-btn-primary:hover {
        background-color: var(--htdev-pink-hover);
        box-shadow: 0 6px 20px rgba(237, 93, 127, 0.4);
        transform: translateY(-2px);
    }
}

@media (max-width: 849px) {
    .htdev-svc-img-wrap {
        padding: 5px;
    }

    .htdev-svc-content {
        padding: 15px 12px 20px 12px;
    }

    .htdev-svc-title {
        font-size: clamp(24px, 4vw, 26px);
    }

    .htdev-svc-desc {
        font-size: 15px;
        margin-bottom: 0;
    }

    .htdev-svc-card .htdev-btn-text {
        font-size: clamp(20px, 4vw, 24px);
    }
}

/* MODULE 4: ABOUT ME */
.htdev-am-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    box-sizing: border-box;
}

.htdev-am-pos-right {
    flex-direction: row-reverse;
}

.htdev-am-img-col {
    flex: 0 0 calc(40% - 20px);
    box-sizing: border-box;
}

.htdev-am-txt-col {
    flex: 0 0 calc(60% - 20px);
    box-sizing: border-box;
}

.htdev-am-img-wrap {
    position: relative;
    border-radius: var(--htdev-radius-box);
    overflow: hidden;
}

.htdev-am-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--htdev-radius-box);
}

.htdev-am-ph {
    background: var(--htdev-pink-light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--htdev-radius-box);
    color: var(--htdev-pink);
    font-weight: bold;
    text-align: center;
}

.htdev-am-title {
    font-size: clamp(32px, 5vw, 38px);
    margin-bottom: 0;
    line-height: 1.2;
}

.htdev-am-subtitle {
    font-family: var(--htdev-font-body);
    font-size: 16px;
    color: var(--htdev-pink);
    font-weight: normal;
    margin-bottom: 10px;
    font-style: italic;
}

.htdev-am-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.htdev-am-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.htdev-am-btn-wrap-mob {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 849px) {
    .htdev-am-wrapper {
        flex-direction: row;
        align-items: flex-end;
        gap: 0;
        position: relative;
        padding-bottom: 0;
        margin-top: -80px;
    }

    .htdev-am-img-col {
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        align-items: flex-end;
        position: relative;
        bottom: 30px;
    }

    .htdev-am-txt-col {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .htdev-am-title {
        font-size: clamp(25px, 5vw, 28px);
        margin-bottom: 8px;
    }

    .htdev-am-subtitle {
        font-size: 15px;
    }

    .htdev-am-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .htdev-am-btn-wrap-mob {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translate(-50%, 50%);
        width: max-content;
        margin-top: 0;
        z-index: 10;
        white-space: nowrap;
    }
}

/* MODULE 5: CUSTOM FOOTER */
.absolute-footer.htdev-abs-footer {
    background-color: #fcfcfc;
    padding: 10px 0;
    color: var(--htdev-navy);
}

.htdev-footer-desk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.htdev-ft-logo a {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    text-decoration: none;
    line-height: 1;
}

.htdev-ft-logo a:hover {
    color: var(--htdev-navy);
}

.htdev-ft-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.htdev-ft-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--htdev-pink);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.htdev-ft-social:hover {
    background-color: var(--htdev-pink-hover);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 5px 15px rgba(237, 93, 127, 0.3);
}

.htdev-ft-copy {
    font-size: 15px;
    color: var(--htdev-navy);
    font-weight: 400;
}

@media (max-width: 849px) {
    .home .htdev-footer-mob {
        padding-top: 40px;
    }

    .htdev-footer-mob {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10px 0;
    }

    .htdev-hero-subtitle {
        padding: 0 15px;
    }
}

/* UTILITIES & OVERRIDES */
@media screen and (max-width: 849px) {
    .col {
        padding: 0 5px 30px;
    }
}

@media screen and (min-width: 849px) {
    .col-about-me .col-inner {
        background-color: #fcfcfc;
        padding: 10px;
    }
}

/* MODULE: FEEDBACK SLIDER (CUSTOM CAROUSEL) */
.htdev-feedback-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.htdev-feedback-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.htdev-feedback-main-title {
    margin-bottom: 0;
    font-size: clamp(32px, 5vw, 42px);
    color: var(--htdev-navy);
    flex: 1;
}

.htdev-feedback-nav {
    display: flex;
}

.htdev-fb-btn {
    width: 25px;
    height: 25px;
    border: none;
    background: transparent;
    color: var(--htdev-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.htdev-fb-btn svg {
    width: 100%;
    height: 100%;
}

.htdev-fb-btn:hover {
    transform: scale(1.15);
    color: var(--htdev-pink-hover);
}

.htdev-feedback-carousel {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.htdev-feedback-carousel::-webkit-scrollbar {
    display: none;
}

.htdev-feedback-item {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 40px) / 2.5);
    background: #fff;
    border-radius: var(--htdev-radius-box, 20px);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.htdev-feedback-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.htdev-fb-inner {
    padding: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.htdev-fb-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.htdev-fb-content {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .htdev-feedback-item {
        flex: 0 0 calc((100% - 20px) / 1.5);
    }
}

@media (max-width: 767px) {
    .htdev-feedback-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .htdev-feedback-nav {
        align-self: flex-end;
    }

    .htdev-feedback-item {
        flex: 0 0 calc(100% - 40px);
        scroll-snap-align: center;
    }

    .htdev-fb-inner {
        padding: 20px;
    }
}

/* 1 Cá»™t TrÃ n áº¢nh Layout */
.htdev-fb-col-1 .htdev-feedback-item {
    width: 100%;
    flex: 0 0 100%;
    padding: 0;
}

.htdev-fb-col-1 .htdev-feedback-carousel {
    padding: 10px 0;
}

/* MODULE: COURSE LIST (SECTION 3) */
.htdev-course-module-item {
    background: #fff;
    border-radius: var(--htdev-radius-box, 16px);
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}


.htdev-cmi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.htdev-cmi-label {
    color: var(--htdev-pink);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.htdev-cmi-count {
    background: #f7f7f7;
    color: #666;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 10px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.htdev-cmi-title {
    color: var(--htdev-navy);
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 849px) {
    .htdev-course-module-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    }

    .p-des p {
        padding: 0 210px;
    }

    .p-des2 p,
    .p-des3 p {
        padding: 0 117px;
    }

    .htdev-custom-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(235, 71, 112, 0.3);
        color: var(--htdev-btn-color, #ffffff);
    }
}

@media (max-width: 849px) {
    .htdev-course-module-item {
        padding: 14px 16px;
    }

    .htdev-cmi-label {
        font-size: 18px;
    }

    .htdev-cmi-count {
        font-size: 14px;
        padding: 3px 10px;
    }

    .htdev-cmi-title {
        font-size: 20px;
    }

}

ul.htdev-pink-numbered-list,
ol.htdev-pink-numbered-list {
    list-style: none;
    padding-left: 0;
    counter-reset: htdev-counter;
}

ul.htdev-pink-numbered-list>li,
ol.htdev-pink-numbered-list>li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    min-height: 36px;
    display: flex;
    align-items: center;
}

ul.htdev-pink-numbered-list>li::before,
ol.htdev-pink-numbered-list>li::before {
    counter-increment: htdev-counter;
    content: counter(htdev-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: var(--htdev-pink-light);
    color: var(--htdev-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

/* MODULE: YOUTUBE VIDEO ELEMENT */
.htdev-youtube-wrapper {
    width: var(--yt-width, 100%);
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.htdev-youtube-inner {
    position: relative;
    width: 100%;
    padding-bottom: var(--yt-height, 56.25%);
    border-width: var(--yt-border-width, 0);
    border-style: var(--yt-border-style, solid);
    border-color: var(--yt-border-color, #000);
    border-radius: var(--yt-border-radius, 0);
    overflow: hidden;
}

.htdev-youtube-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

@media (max-width: 849px) {
    .htdev-youtube-wrapper {
        width: var(--yt-width-mob, var(--yt-width, 100%));
    }
}

/* MODULE: CUSTOM BUTTON */
.htdev-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.htdev-custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--htdev-btn-bg, #eb4770);
    color: var(--htdev-btn-color, #ffffff);
    border-radius: var(--htdev-btn-radius, 10px);
    width: var(--htdev-btn-width, 100%);
    min-height: var(--htdev-btn-height, 60px);
    padding: 0 30px;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--htdev-font-heading);
    font-size: var(--htdev-btn-font-size, clamp(26px, 4vw, 30px));
    font-weight: 500;
}

.htdev-cb-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.htdev-cb-subtitle {
    font-family: var(--htdev-font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: 4px;
}

.htdev-cb-dot {
    margin: 0 8px;
    font-size: 10px;
    opacity: 0.8;
}

.htdev-cb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.htdev-cb-icon i {
    font-size: 1.1em;
}

.htdev-cb-icon svg {
    width: 25px;
    height: 25px;
}

@media (max-width: 849px) {
    .htdev-custom-btn {
        width: var(--htdev-btn-width-mob, var(--htdev-btn-width, 100%));
        padding: 0 20px;
        font-size: var(--htdev-btn-font-size-mob, clamp(22px, 5vw, 28px));
    }

    .htdev-cb-icon svg {
        width: 20px;
        height: 20px;
    }

    .htdev-cb-subtitle {
        color: var(--htdev-pink);
    }

    .col-banmuonquaylai {
        padding: 0;
    }

    .col-banmuonquaylai h3 {
        font-size: 35px;
        line-height: 1.2;
    }

    .col-banmuonquaylai .col-inner .text {
        padding: 0 10px;
    }

    .col-banmuonquaylai .htdev-youtube-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }

    .htdev-button-wrapper {
        margin-bottom: 0;
    }

    .htdev-youtube-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .col-box-tuvanrieng .htdev-custom-btn,
    .col-bdrr .htdev-custom-btn {
        background-color: var(--htdev-btn-bg, #eb4770);
        color: var(--htdev-btn-color, #ffffff);
        border-radius: var(--htdev-btn-radius, 10px);
    }
}

/* MODULE: QUOTE TEXT */
.htdev-quote-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    text-align: var(--htdev-quote-align, left);
    color: var(--htdev-quote-color, #000);
}

.htdev-quote-icon-top {
    color: var(--htdev-quote-icon-color, #FFC7D2);
    margin-bottom: 6px;
    display: inline-block;
}

.htdev-quote-icon-bottom-inline {
    display: inline-flex;
    align-items: center;
    color: var(--htdev-quote-icon-color, #FFC7D2);
    margin-left: 8px;
    transform: translateY(3px);
}

.htdev-quote-content {
    position: relative;
}

.htdev-quote-p {
    font-size: var(--htdev-quote-font-size);
    line-height: 1.3;
}

.htdev-text-highlight {
    color: var(--htdev-quote-highlight, #eb4770);
}

.htdev-quote-content {
    font-family: var(--htdev-font-coda);
}

.col-tv-content strong {
    color: var(--htdev-pink);
}

@media (max-width: 849px) {
    .htdev-quote-p {
        font-size: var(--htdev-quote-font-size-mob);
    }

    .htdev-quote-icon-bottom-inline {
        margin-left: 380px;
        transform: translateY(-38px);
        width: 25px;
        height: 25px;
    }

    .htdev-quote-wrapper {
        margin-bottom: -25px;
    }

    .htdev-quote-icon-top {
        display: inline-flex;
        margin-bottom: 0;
        width: 25px;
        height: 25px;
    }

    .htdev-quote-content {
        margin-top: -8px;
    }
}

/* MODULE: CUSTOM BOX */
.htdev-box-container {
    position: relative;
    box-sizing: border-box;
    width: var(--htdev-box-width, 100%);
    padding: var(--htdev-box-padding, 20px);
    margin: 0 auto 20px;
}

@media (max-width: 849px) {
    .htdev-box-container {
        width: var(--htdev-box-width-mob, 100%);
        padding: var(--htdev-box-padding-mob, 20px);
    }
}

.box-noti {
    justify-content: center;
}

.box-noti .icon-box-text {
    flex: none;
}

.p-des3 p {
    font-size: 14px;
    color: #b1b1b1;
}

/* MODULE: COURSE VIEWER ELEMENT */
.htdev-course-viewer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 900px) {
    .htdev-course-viewer-container {
        grid-template-columns: 65% calc(35% - 30px);
        align-items: start;
    }
}

.htdev-cv-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 55.25%;
    background-color: #000;
    border-radius: var(--htdev-radius-box, 10px);
    overflow: hidden;
    /*box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);*/
}

.htdev-cv-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.htdev-cv-info {
    margin-top: 25px;
    padding: 0 5px;
}

.htdev-cv-info h3 {
    font-family: var(--htdev-font-body);
    font-size: clamp(15px, 4vw, 24px);
    color: var(--htdev-navy, #1a202c);
    line-height: 1.2;
    margin-bottom: 12px;
}

.htdev-cv-desc {
    font-family: var(--htdev-font-body, inherit);
    font-size: 14px;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

.htdev-cv-heading {
    font-family: var(--htdev-font-heading, inherit);
    color: var(--htdev-pink, #eb4770);
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 10px;
    font-weight: 500;
    padding: 0 5px;
}

.htdev-cv-module-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.htdev-cv-module-header {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.htdev-cv-module-header:hover {
    background: #fafafa;
}

.htdev-cv-module-badge {
    background: var(--htdev-pink, #eb4770);
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.htdev-cv-module-title-box {
    flex: 1;
}

.htdev-cv-module-title {
    font-size: 20px;
    color: var(--htdev-navy, #333);
    line-height: 1.3;
}

.htdev-cv-module-count {
    font-size: 13px;
    color: #888;
}

.htdev-cv-module-toggle {
    color: #666;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.htdev-cv-module-item.is-open .htdev-cv-module-toggle {
    transform: rotate(180deg);
}

.htdev-cv-module-body {
    border-top: 1px solid #eee;
}

.htdev-cv-lessons-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.htdev-cv-lesson-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.htdev-cv-lesson-item:hover {
    background: #fdfdfd;
}

.htdev-cv-lesson-item:last-child {
    border-bottom: none;
}

.htdev-cv-lesson-item.is-active {
    background: #fdf2f4;
}

.htdev-cv-lesson-icon {
    display: flex;
    align-items: center;
    color: #888;
    margin-right: 12px;
}

.htdev-cv-lesson-item.is-active .htdev-cv-lesson-icon {
    color: var(--htdev-pink, #eb4770);
}

.htdev-cv-lesson-icon .icon-active {
    display: none;
}

.htdev-cv-lesson-item.is-active .icon-active {
    display: block;
}

.htdev-cv-lesson-item.is-active .icon-play {
    display: none;
}

.htdev-cv-lesson-name {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    font-size: 15px;
    color: #444;
    line-height: 1.2;
}

.htdev-cv-lesson-item.is-active .htdev-cv-lesson-name {
    color: var(--htdev-pink, #eb4770);
    font-weight: 500;
}

.htdev-cv-lesson-time {
    font-size: 13px;
    color: #888;
    margin-left: 10px;
}

.htdev-cv-lesson-item.is-active .htdev-cv-lesson-time {
    color: var(--htdev-pink, #eb4770);
}

.htdev-cv-lessons-list li {
    margin-left: 0 !important;
}

.col-cl-nocontact h2,
.col-cl-nocontact p {
    padding: 0 45px;
}

.col-course h3 {
    line-height: 1.2;
}

/**
 * HTDev Copy to Clipboard Styles
 */
.htdev-copy-wrapper {
    display: inline-block;
    align-items: center;
}

.htdev-copy-trigger {
    cursor: pointer;
    color: var(--htdev-pink, #eb4770);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 4px;
    background: rgba(235, 71, 112, 0.05);
    position: relative;
    vertical-align: middle;
    margin-left: 8px;
    line-height: 1;
}

.htdev-copy-trigger:hover {
    background: rgba(235, 71, 112, 0.15);
    transform: scale(1.05);
}

.htdev-copy-trigger svg {
    display: block;
}

.htdev-copy-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.htdev-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.htdev-copy-trigger:hover .htdev-copy-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-3px);
}

.htdev-copy-trigger.is-copied {
    color: #27ae60;
}

.htdev-copy-trigger.is-copied .htdev-copy-tooltip {
    background: #27ae60;
    opacity: 1;
    visibility: visible;
}

.htdev-copy-trigger.is-copied .htdev-copy-tooltip::after {
    border-color: #27ae60 transparent transparent transparent;
}
