@font-face {
    font-family: UTMImpact;
    src: url("UTMImpact.ttf");
}

:root {
    --footer-height: 50px;
    /* chỉnh đúng với chiều cao thực tế của footer */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
}

.hero-section {
    /* min-height: calc(100dvh - var(--footer-height)); */
    min-height: calc(var(--app-height) - var(--footer-height));
    /* background-image: url('/indexbg.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat; */
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    color: yellow;
    background-color: #FF0000;
}

/* .hero-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
        } */

.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;

    /* margin-top: -150px; */
}

.content-section {
    /* min-height: calc(var(--app-height) - var(--footer-height)); */
    min-height: 100vh;
    background: #f8f9fa;
    padding: 3rem 0 7rem;
}

.sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    height: var(--footer-height);
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.pdf-button {
    white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    /* :root {
        --footer-height: 90px;
    } */

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 0 7rem;
    }

    /* .sticky-footer .container {
                flex-direction: column;
                text-align: center;
            } */

    /* .pdf-button {
        width: 100%;
    } */
}

@media (max-height: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 0 7rem;
    }
}

@media (max-height: 400px) {
    #imgLogo {
        display: none;
    }
}


.hospital-line-1,
.hospital-line-2 {
    display: inline;
}

/* Khi màn hình nhỏ, tách thành 2 dòng */
@media (max-width: 767.98px) {

    .hospital-line-1,
    .hospital-line-2 {
        display: block;
    }
}




/* ===== Timeline ===== */
.schedule-timeline {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Đường thẳng dọc ở giữa */
.schedule-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 140px;
    /* vị trí sau cột thời gian */
    width: 4px;
    background: #0d6efd;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 2rem;
    margin-bottom: 1rem;
}

/* Cột thời gian */
.timeline-time {
    text-align: right;
    font-weight: 600;
    color: #0d6efd;
    /* padding-top: 0.25rem; */
}

/* Dấu chấm trên timeline */
.timeline-content::before {
    content: "";
    position: absolute;
    left: -1.25rem;
    top: 0.5rem;
    left: -23px;
    top: 3px;
    width: 14px;
    height: 14px;
    background: #0d6efd;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #0d6efd;
}

/* Nội dung */
.timeline-content {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    margin-left: 5px;;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-person {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Mobile */
@media (max-width: 767.98px) {
    .schedule-timeline::before {
        left: 10px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 2rem;
        column-gap: 0;
    }

    .timeline-time {
        text-align: left;
        margin-bottom: 5px;
        padding-top: 0;
    }

    .timeline-content::before {
        left: -2.15rem;
        top: 0.75rem;
        left: -28px;
        top: -3px;
    }

    .timeline-content {
        margin-left: 0px;
    }
}


.full-height {
    min-height: var(--app-height);
}