:root {
    --blue: #0a4fa3;
    --navy: #063b80;
    --sky: #eaf6ff;
    --cyan: #31a9e8;
    --green: #058b69;
    --text: #17325c;
    --muted: #63748d;
    --white: #fff;
    --shadow: 0 16px 45px rgba(20, 74, 130, .12);
    --radius: 18px
}

* {
    box-sizing: border-box
}

body {
    margin: 0;

    color: var(--text);
    background: #fff;
    font-size: 15px;
    line-height: 1.65
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.site-header {
    height: 64px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 20px rgba(4, 55, 110, .08);
    position: sticky;
    top: 0;
    z-index: 20
}

.nav-wrap {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    color: var(--blue);
    line-height: 1.15
}

.brand b {
    font-size: 13px
}

.brand-mark {
    font-size: 25px;
    color: #1da9e8
}

.main-nav {
    display: flex;
    gap: 34px;
    font-size: 13px;
    font-weight: 600;
    color: #37516f
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 12px 26px;
    background: linear-gradient(135deg, #0b5ec2, #073f8e);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(10, 79, 163, .22);
    transition: .28s ease;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 79, 163, .32)
}

.btn-small {
    padding: 9px 18px;
    font-size: 12px
}

.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid #cde4ff;
    box-shadow: none
}

.btn-green {
    background: linear-gradient(135deg, #06a77d, #047b62)
}

.section-space {
    padding: 62px 0
}

.soft-bg {
    background: #f5fbff
}

.section-blue {
    background: linear-gradient(90deg, #f4fbff 0%, #e4f5ff 50%, #d9f2ff 100%)
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: var(--cyan);
    font-size: 12px;
    margin: 0 0 8px
}

.eyebrow.light {
    color: #9ddfff
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0
}

h2 {
    font-size: 32px;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 12px
}

.hero {
    overflow: hidden
}

.hero-grid {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 30px
}

.hero h1 {
    font-size: 55px;
    line-height: .95;
    text-transform: uppercase;
    color: #0a3f91;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1.2px
}

.hero h1 span {
    font-size: 38px;
    color: #0b58b2
}

.lead {
    font-size: 17px;
    max-width: 560px;
    color: #4a6482
}

.quick-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 22px 0
}

.quick-stats span,
.mini-stats span {
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    color: #306391;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 8px 25px rgba(44, 128, 196, .12)
}

.hero-visual img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center;
    border-bottom-left-radius: 58px
}

.profile-grid {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 42px;
    align-items: start
}

.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff
}

.video-card img {
    height: 530px;
    width: 100%;
    object-fit: cover
}

.video-card .play {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: rgba(6, 59, 128, .86);
    color: #fff;
    font-size: 20px;
    transition: .3s
}

.video-card:hover .play {
    transform: translateX(-50%) scale(1.08)
}

.video-card span {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    font-size: 12px;
    color: #fff;
    background: rgba(6, 59, 128, .65);
    padding: 4px 12px;
    border-radius: 999px
}

.profile h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 4px
}

.profile h3 {
    font-size: 18px;
    color: var(--green)
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 24px 0
}

.info-columns article,
.values article,
.timeline-line article,
.cert-grid article,
.activity-grid article {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: .3s ease
}

.info-columns article:hover,
.values article:hover,
.timeline-line article:hover,
.cert-grid article:hover,
.activity-grid article:hover {
    transform: translateY(-7px)
}

.info-columns h4 {
    color: var(--navy);
    margin-bottom: 6px
}

blockquote {
    background: #f5fbff;
    border-left: 4px solid var(--cyan);
    border-radius: 14px;
    padding: 18px;
    margin: 0 0 22px;
    color: #57708e
}

.section-title {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px
}

.section-title p {
    color: var(--muted)
}

.timeline-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.timeline-line:before {
    content: "";
    position: absolute;
    top: 19px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #b9dfed
}

.timeline-line article {
    position: relative;
    padding-top: 48px;
    min-height: 180px
}

.timeline-line b {
    position: absolute;
    top: 0;
    left: 20px;
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px
}

.center {
    text-align: center;
    margin-top: 28px
}

.hospital-grid,
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 34px
}

.hospital-img img,
.community img {
    border-radius: 6px;
    box-shadow: var(--shadow);
    height: 250px;
    width: 100%;
    object-fit: cover
}

.mini-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px
}

.community {
    padding: 46px 0
}

.community-grid {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.community-grid>div {
    padding: 34px
}

.community img {
    height: 250px;
    border-radius: 0;
    box-shadow: none
}

.values-grid {
    display: grid;
    grid-template-columns: 2fr repeat(5, 1fr);
    gap: 16px;
    align-items: stretch
}

.values-intro {
    padding-right: 20px
}

.values article b {
    color: var(--green)
}

.values h4 {
    color: var(--navy);
    margin: 8px 0
}

.testimonial-card {
    position: relative;
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 32px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 60px
}

.testimonial-card img {
    height: 230px;
    object-fit: cover;
    border-radius: 14px
}

.testimonial-card h2 {
    font-size: 25px
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    font-size: 28px
}

.slider-btn.left {
    left: -18px
}

.slider-btn.right {
    right: -18px
}

.cert-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 18px
}

.cert-large {
    padding: 0 !important;
    overflow: hidden
}

.cert-large img {
    height: 150px;
    width: 100%;
    object-fit: cover
}

.cert-large h4 {
    padding: 16px
}

.activity-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 150px 150px;
    gap: 16px
}

.activity-grid article {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    min-height: 150px;
    background: linear-gradient(135deg, #0b5ec2, #062e65);
    color: #fff
}

.activity-big {
    grid-row: span 2;
    padding: 0 !important
}

.activity-big img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.activity-grid span {
    position: relative;
    z-index: 2;
    font-weight: 700;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6));
    width: 100%;
    padding: 45px 18px 18px
}

.booking {
    background: linear-gradient(120deg, #0067d8, #003f95);
    color: #fff;
    padding: 44px 0
}

.booking h2 {
    color: #fff
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center
}

.contact-line {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-weight: 700
}

.booking-form {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18)
}

.booking-form input,
.booking-form select {
    height: 46px;
    border: 1px solid #dbe8f7;
    border-radius: 10px;
    padding: 0 14px;
    font-family: inherit
}

.booking-form button {
    grid-column: span 2
}

.animate-up {
    animation: fadeUp .8s ease both
}

.animate-right {
    animation: fadeRight .9s ease both
}

.delay-1 {
    animation-delay: .15s
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(35px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:992px) {
    .main-nav {
        display: none
    }

    .hero-grid,
    .profile-grid,
    .hospital-grid,
    .community-grid,
    .booking-grid,
    .testimonial-card {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 30px 0
    }

    .hero h1 {
        font-size: 42px
    }

    .hero h1 span {
        font-size: 30px
    }

    .hero-visual img {
        border-radius: 26px;
        height: 260px
    }

    .info-columns {
        grid-template-columns: 1fr
    }

    .timeline-line {
        grid-template-columns: repeat(3, 1fr)
    }

    .values-grid {
        grid-template-columns: 1fr 1fr
    }

    .values-intro {
        grid-column: 1/-1
    }

    .cert-grid {
        grid-template-columns: 1fr 1fr
    }

    .activity-grid {
        grid-template-columns: 1fr 1fr
    }

    .booking-form {
        grid-template-columns: 1fr
    }

    .booking-form button {
        grid-column: auto
    }
}

@media(max-width:576px) {
    .container {
        width: min(100% - 24px, 1180px)
    }

    .site-header {
        height: auto
    }

    .nav-wrap {
        height: auto;
        padding: 10px 0
    }

    .btn-small {
        display: none
    }

    .hero h1 {
        font-size: 34px
    }

    .hero h1 span {
        font-size: 24px
    }

    h2 {
        font-size: 25px
    }

    .section-space {
        padding: 42px 0
    }

    .quick-stats {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .timeline-line {
        grid-template-columns: 1fr
    }

    .timeline-line:before {
        display: none
    }

    .values-grid,
    .cert-grid,
    .activity-grid {
        grid-template-columns: 1fr
    }

    .activity-big {
        grid-row: auto
    }

    .testimonial-card {
        padding: 22px
    }

    .slider-btn {
        display: none
    }

    .contact-line {
        font-size: 13px
    }

    .hero-visual img,
    .video-card img {
        height: 230px
    }
}

/* ======================================
   CHỨNG CHỈ VÀ GHI NHẬN
====================================== */

.certificate-section {
    position: relative;
    padding: 35px 0 40px;
    overflow: hidden;
    background:
        radial-gradient(circle at 93% 12%,
        rgba(7, 93, 168, 0.06),
        transparent 22%),
        #fff;
}

/* Tiêu đề */

.certificate-heading {
    margin-bottom: 28px;
    text-align: center;
}

.certificate-heading h2 {
    margin: 0 0 7px;
    color: var(--primary, #075da8);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.certificate-heading p {
    margin: 0;
    color: #334e68;
    font-size: 13px;
    font-weight: 600;
}

/* Danh sách */

.certificate-grid {
    display: grid;
    grid-template-columns: 1.65fr repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

/* Card chung */

.certificate-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 235px;
    overflow: hidden;
    color: #17344f;
    background: #fff;
    border: 1px solid #dcebf7;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(4, 57, 100, 0.1);
    flex-direction: column;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.certificate-card:hover {
    color: #17344f;
    box-shadow: 0 13px 28px rgba(4, 57, 100, 0.17);
    transform: translateY(-4px);
}

/* Hình ảnh card thường */

.certificate-image {
    position: relative;
    height: 165px;
    overflow: hidden;
    background: #edf5fb;
}

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

.certificate-card:hover .certificate-image img {
    transform: scale(1.04);
}

/* Nội dung card thường */

.certificate-content {
    display: flex;
    min-height: 70px;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.certificate-content h3 {
    margin: 0;
    color: #263f57;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

/* Card nổi bật bên trái */

.certificate-featured {
    display: block;
}

.certificate-featured::after {
    position: absolute;
    inset: 35% 0 0;
    z-index: 1;
    content: "";
    background: linear-gradient(to bottom,
        transparent,
        rgba(3, 32, 57, 0.92));
    pointer-events: none;
}

.certificate-featured>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.certificate-featured:hover>img {
    transform: scale(1.04);
}

.certificate-featured-content {
    position: absolute;
    right: 15px;
    bottom: 13px;
    left: 15px;
    z-index: 2;
    padding-right: 35px;
}

.certificate-featured-content h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.certificate-featured-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
}

/* Nút dấu cộng */

.certificate-section {
    position: relative;
    z-index: 1;
    padding: 35px 0 40px;
    overflow: hidden;
    background: #fff;
}

/* Ảnh nền được đặt trực tiếp trong HTML */

.certificate-background {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    display: block;
    width: 520px;
    height: 230px;
    object-fit: contain;
    object-position: top right;
    opacity: 0.2;
    pointer-events: none;
    user-select: none;
}

.certificate-section .container-xl {
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .certificate-background {
        width: 320px;
        height: 180px;
        opacity: 0.13;
    }
}

.certificate-view {
    position: absolute;
    right: 14px;
    bottom: 41px;
    z-index: 3;
    display: grid;
    width: 32px;
    height: 32px;
    color: var(--primary, #075da8);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(4, 57, 100, 0.2);
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    place-items: center;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.certificate-featured:hover .certificate-view {
    color: #fff;
    background: var(--primary, #075da8);
    transform: rotate(90deg);
}

.certificate-swipe {
    display: none;
}

/* Màn hình laptop nhỏ */

@media (max-width: 1199.98px) {
    .certificate-grid {
        gap: 10px;
    }

    .certificate-card {
        min-height: 215px;
    }

    .certificate-image {
        height: 148px;
    }

    .certificate-content {
        min-height: 67px;
    }

    .certificate-content h3,
    .certificate-featured-content h3 {
        font-size: 11px;
    }
}

/* Tablet và mobile: vuốt ngang */

@media (max-width: 991.98px) {
    .certificate-section {
        padding: 28px 0 30px;
    }

    .certificate-heading {
        margin-bottom: 20px;
    }

    .certificate-heading h2 {
        font-size: 20px;
    }

    .certificate-heading p {
        padding: 0 15px;
        font-size: 12px;
    }

    .certificate-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        padding: 5px 2px 14px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .certificate-scroll::-webkit-scrollbar {
        display: none;
    }

    .certificate-grid {
        display: flex;
        width: max-content;
        gap: 12px;
    }

    .certificate-card {
        width: 205px;
        min-width: 205px;
        min-height: 225px;
        scroll-snap-align: start;
    }

    .certificate-featured {
        width: 285px;
        min-width: 285px;
    }

    .certificate-image {
        height: 158px;
    }

    .certificate-swipe {
        display: block;
        margin: 0;
        color: #64788c;
        font-size: 11px;
        text-align: center;
    }
}

/* Điện thoại nhỏ */

@media (max-width: 575.98px) {
    .certificate-heading h2 {
        font-size: 18px;
    }

    .certificate-heading p {
        font-size: 11px;
        line-height: 1.5;
    }

    .certificate-card {
        width: 185px;
        min-width: 185px;
        min-height: 215px;
    }

    .certificate-featured {
        width: 260px;
        min-width: 260px;
    }

    .certificate-image {
        height: 148px;
    }

    .certificate-content {
        min-height: 67px;
    }
}


.timeline-line article h4 {
    font-size: 14px;
    font-weight: bold;
}



