:root {
    --medical-bg: #ededed;
    --card-bg: #ffffff;
    --text-main: #262626;
    --text-muted: #666f7b;
    --line: #dbdbdb;
    --blue: #1d72d8;
    --blue-dark: #1359b2;
    --orange: #f37737;
    --orange-soft: #fff4e6;
    --shadow: 0 18px 45px rgba(26, 34, 56, 0.08);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    background: var(--medical-bg);
    color: var(--text-main);
}

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

a {
    text-decoration: none;
}

button {
    font-family: inherit;
}

.medical-shell {
    width: min(100%, 1140px);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.medical-topbar {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
}

.medical-header {
    padding: 18px 0 8px;
}

.medical-navbar {
    background: transparent;
}

.medical-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 21px;
}

.medical-brand img {
    max-height: 66px;
    width: auto;
}

.medical-brand-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.medical-nav-list {
    gap: 10px;
}

.medical-nav-list .nav-link {
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px !important;
    border-radius: 12px;
}

.medical-nav-list .nav-link.active,
.medical-nav-list .nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.66);
}

.medical-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.medical-link-btn {
    color: var(--text-main);
    font-weight: 600;
}

.medical-primary-btn,
.medical-outline-btn,
.section-link-btn,
.course-btn,
.pricing-btn,
.story-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-weight: 600;
}

.medical-primary-btn {
    padding: 14px 24px;
    background: var(--orange);
    color: #fff;
    border: 1px solid var(--orange);
}

.medical-primary-btn:hover {
    background: #e46828;
    color: #fff;
}

.medical-primary-btn.small {
    padding: 11px 18px;
}

.header-signup-btn {
    background: var(--blue);
    border-color: var(--blue);
}

.header-signup-btn:hover {
    background: var(--blue-dark);
}

.medical-outline-btn {
    padding: 14px 24px;
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--line);
}

.medical-outline-btn:hover,
.section-link-btn:hover,
.story-btn:hover,
.medical-link-btn:hover {
    color: var(--blue);
    border-color: rgba(29, 114, 216, 0.25);
}

.medical-menu-btn {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
}

.medical-menu-btn .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

.medical-hero-section {
    padding: 10px 0 38px;
}

.hero-content-card {
    text-align: center;
}

.hero-copy {
    max-width: 920px;
    margin: 0 auto 28px;
}

.hero-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.hero-badge {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 24px;
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    color: var(--text-main);
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff8ec;
    border-radius: 8px;
    font-size: 0.8em;
}

.hero-badge-accent {
    color: var(--orange);
}

.hero-badge-dark {
    color: var(--text-main);
}

.hero-copy h1 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.25;
    margin: 0 0 12px;
    font-weight: 600;
}

.hero-copy p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.brand-strip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.brand-tile {
    height: 88px;
    background: #fff;
    border-right: 1px solid #ececf0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.brand-tile:last-child {
    border-right: 0;
}

.brand-tile img {
    max-height: 62px;
    object-fit: contain;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

.hero-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.medical-section {
    padding: 34px 0;
}

.section-heading-row,
.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 22px;
}

.section-heading-row h2,
.pricing-header h2,
.faq-intro h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 8px;
    font-weight: 700;
}

.section-heading-row p,
.pricing-header p,
.faq-intro p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 760px;
}

.section-link-btn {
    padding: 12px 18px;
    color: var(--text-main);
    border: 1px solid var(--line);
    background: #fff;
    white-space: nowrap;
}

.benefits-grid,
.courses-grid,
.testimonials-grid,
.pricing-grid,
.footer-grid {
    display: grid;
    gap: 20px;
}

.benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.course-card,
.testimonial-card,
.pricing-card,
.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.benefit-card {
    padding: 26px 24px;
    position: relative;
    min-height: 230px;
}

.benefit-number {
    font-size: 44px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: right;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    max-width: 92%;
}

.benefit-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--blue);
    background: #f7f7f8;
    border: 1px solid #d8dbe2;
    font-size: 30px;
    line-height: 1;
}

.courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
    padding: 14px;
}

.course-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-tags span {
    background: #f6f7fb;
    border: 1px solid #e8ebf1;
    border-radius: 8px;
    padding: 6px 10px;
    color: #4f5967;
    font-weight: 500;
}

.course-author {
    white-space: nowrap;
}

.course-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
    font-weight: 700;
}

.course-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.course-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    border: 1px solid #e3e5ea;
    background: #f7f7f8;
    color: var(--text-main);
    text-transform: none;
}

.testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
    padding: 24px;
}

.testimonial-card p {
    color: var(--text-muted);
    line-height: 1.9;
    min-height: 110px;
    margin-bottom: 22px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid #d7d7da;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.testimonial-user img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
}

.story-btn {
    padding: 12px 16px;
    background: #f7f7f8;
    border: 1px solid #eceef2;
    color: var(--text-main);
}

.pricing-header {
    align-items: center;
}

.pricing-toggle {
    display: inline-flex;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 6px;
    gap: 6px;
}

.toggle-btn {
    border: 0;
    background: transparent;
    color: var(--text-main);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
}

.toggle-btn.active {
    background: var(--blue);
    color: #fff;
}

.pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-card {
    padding: 28px;
}

.pricing-card.featured {
    border-color: rgba(29, 114, 216, 0.28);
}

.pricing-plan {
    text-align: center;
    background: #fff8f0;
    border: 1px solid #ffebd6;
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 18px;
}

.pricing-amount {
    text-align: center;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 600;
}

.pricing-amount .currency,
.pricing-amount .amount {
    font-size: clamp(42px, 5vw, 58px);
    color: var(--text-main);
    line-height: 1;
    font-weight: 800;
}

.pricing-amount .period {
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-feature-box {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 22px 16px;
    margin: 18px 0 22px;
}

.pricing-cycle {
    text-align: center;
    color: var(--text-main);
    margin-bottom: 22px;
    font-size: 15px;
    font-weight: 700;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    line-height: 1.6;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    font-size: 18px;
    line-height: 1;
    border: 1px solid #eadac2;
    background: #fff6e8;
    color: #7a5a2c;
}

.pricing-features li.is-excluded .feature-icon {
    border-color: #d7d7da;
    background: #f7f7f8;
    color: #4d4d55;
}

.pricing-btn {
    width: 100%;
    min-height: 50px;
    background: var(--blue);
    color: #fff;
    border: 1px solid var(--blue);
}

.pricing-btn:hover {
    color: #fff;
    background: var(--blue-dark);
}

.faq-card {
    padding: 28px;
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 28px;
}

.faq-intro {
    padding-right: 16px;
}

.medical-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #ececf1;
    border-radius: 0;
    background: transparent;
}

.medical-accordion .accordion-item:last-child {
    border-bottom: 0;
}

.medical-accordion .accordion-button {
    background: transparent;
    box-shadow: none;
    color: var(--text-main);
    font-weight: 600;
    padding: 22px 0;
}

.medical-accordion .accordion-button:not(.collapsed) {
    color: var(--text-main);
}

.medical-accordion .accordion-button::after {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: #fff4e8;
    background-position: center;
    background-size: 14px;
}

.medical-accordion .accordion-body {
    padding: 0 0 22px;
    color: var(--text-muted);
    line-height: 1.75;
}

.medical-footer {
    padding: 32px 0 0;
}

.footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    padding-bottom: 24px;
    border-bottom: 1px solid #d7d7da;
}

.footer-grid h4 {
    font-size: 18px;
    margin: 8px 0 14px;
    font-weight: 700;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.footer-list li,
.footer-list a {
    color: var(--text-muted);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list i {
    width: 18px;
    color: var(--text-main);
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 18px 16px 30px;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .brand-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .medical-header-actions {
        padding-top: 12px;
        flex-wrap: wrap;
    }

    .benefits-grid,
    .courses-grid,
    .testimonials-grid,
    .pricing-grid,
    .footer-grid,
    .faq-card {
        grid-template-columns: 1fr;
    }

    .section-heading-row,
    .pricing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-intro {
        padding-right: 0;
    }
}

@media (max-width: 767.98px) {
    .medical-topbar {
        font-size: 12px;
    }

    .medical-brand img {
        max-height: 54px;
    }

    .medical-brand-text {
        font-size: 20px;
    }

    .hero-badge {
        padding: 14px 18px;
        border-radius: 12px;
    }

    .hero-badge-icon {
        width: 40px;
        height: 40px;
    }

    .brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-tile {
        height: 78px;
        border-right: 0;
        border-bottom: 1px solid #ececf0;
    }

    .hero-play-button {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .benefit-card,
    .testimonial-card,
    .pricing-card,
    .faq-card {
        padding: 22px 18px;
    }

    .course-card {
        padding: 12px;
    }

    .course-image {
        height: 220px;
    }

    .course-meta-row,
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .story-btn,
    .medical-primary-btn,
    .medical-outline-btn,
    .section-link-btn,
    .header-signup-btn {
        width: 100%;
    }

    .hero-actions,
    .medical-header-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
