/* ==========================================================================
   PUBLIC WEBSITE
   RSAU dr. Siswanto
   ========================================================================== */


/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;

    background: linear-gradient(
        135deg,
        #f4f9ff 0%,
        #ffffff 100%
    );

    padding: 70px 0;

    overflow: hidden;
}


/* Tinggi minimum area hero */

.min-vh-75 {
    min-height: 550px;
}


/* Badge kecil di atas judul */

.hero-badge {
    display: inline-block;

    padding: 7px 14px;

    border-radius: 30px;

    background: #e8f2ff;

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* Judul hero */

.hero-title {
    max-width: 650px;

    margin-top: 15px;

    font-size: 48px;

    font-weight: 700;

    line-height: 1.2;

    color: #172033;
}


/* Deskripsi hero */

.hero-description {
    max-width: 600px;

    margin-top: 20px;

    font-size: 18px;

    line-height: 1.7;

    color: #64748b;
}


/* Container gambar hero */

.hero-image {
    position: relative;

    padding: 12px;
}


/* Gambar hero */

.hero-image img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;

    border-radius: 30px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.16);
}


/* ==========================================================================
   2. SECTION UMUM
   ========================================================================== */

.section-public {
    padding: 80px 0;

    background: #f1f1f1;
}


/* Section dengan background terang */

.section-light {
    background: #f8fafc;
}


/* ==========================================================================
   3. SECTION LAYANAN UTAMA
   ========================================================================== */

/*
   Background biru gradasi khusus section layanan.
*/

.section-public.services-section {
    background: linear-gradient(
        135deg,
        #0d6efd 0%,
        #2563eb 50%,
        #1e40af 100%
    );
}


/* ==========================================================================
   4. JUDUL SECTION
   ========================================================================== */

.section-heading {
    margin-bottom: 30px;
}


/* Label kecil */

.section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary-color);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* Judul */

.section-heading h2 {
    margin: 0;

    color: #172033;

    font-size: 32px;

    font-weight: 700;
}


/* Deskripsi */

.section-heading p {
    margin-top: 10px;

    color: #64748b;

    line-height: 1.7;
}


/* Judul section layanan */

.services-section .section-label {
    color: rgba(255, 255, 255, 0.85);
}


.services-section .section-heading h2 {
    color: #ffffff;
}


.services-section .section-heading p {
    color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   5. SERVICE CARD
   ========================================================================== */

.service-card {
    height: 100%;

    padding: 30px 25px;

    background: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Hover card */

.service-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.18);
}


/* ==========================================================================
   6. ICON SERVICE
   ========================================================================== */

.service-icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: linear-gradient(
        135deg,
        #0d6efd,
        #2563eb
    );

    color: #ffffff;

    border-radius: 15px;

    font-size: 25px;
}


/* ==========================================================================
   7. JUDUL SERVICE
   ========================================================================== */

.service-card h5 {
    margin-bottom: 10px;

    color: #1f2937;

    font-weight: 700;
}


/* ==========================================================================
   8. DESKRIPSI SERVICE
   ========================================================================== */

.service-card p {
    min-height: 65px;

    margin-bottom: 20px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================================================
   9. LINK SERVICE
   ========================================================================== */

.service-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary-color);

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.2s ease;
}


.service-link:hover {
    color: var(--secondary-color);
}


.service-link i {
    transition: transform 0.2s ease;
}


.service-link:hover i {
    transform: translateX(4px);
}


/* ==========================================================================
   10. BED SUMMARY
   ========================================================================== */

.bed-summary-card {
    display: flex;

    align-items: center;

    gap: 18px;

    height: 100%;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.bed-summary-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);
}


/* Icon */

.bed-summary-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #eaf3ff;

    border-radius: 12px;

    color: var(--primary-color);

    font-size: 22px;
}


/* Label */

.bed-summary-card span {
    display: block;

    color: #64748b;

    font-size: 14px;
}


/* Angka */

.bed-summary-card strong {
    display: block;

    margin-top: 2px;

    color: #172033;

    font-size: 30px;

    line-height: 1.2;
}


/* ==========================================================================
   11. DOCTOR CARD
   ========================================================================== */

.doctor-card {
    display: flex;

    align-items: center;

    gap: 18px;

    height: 100%;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.doctor-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);
}


/* Foto / icon dokter */

.doctor-photo {
    width: 85px;
    height: 85px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eaf3ff;

    border-radius: 50%;

    color: var(--primary-color);

    font-size: 32px;
}


/* Informasi dokter */

.doctor-info h5 {
    margin-bottom: 3px;

    font-weight: 700;
}


.doctor-info > span {
    display: block;

    color: #64748b;

    font-size: 14px;
}


/* Jadwal dokter */

.doctor-schedule {
    margin-top: 10px;

    color: #475569;

    font-size: 13px;
}


.doctor-schedule i {
    margin-right: 5px;

    color: var(--primary-color);
}


/* ==========================================================================
   12. NEWS / ARTIKEL CARD
   ========================================================================== */

.news-card {
    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.news-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}


/* Gambar artikel */

.news-image {
    height: 190px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eaf3ff;

    color: var(--primary-color);

    overflow: hidden;
}


.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.news-image i {
    font-size: 55px;
}


/* Isi artikel */

.news-body {
    padding: 22px;
}


.news-body small {
    color: #64748b;

    font-size: 12px;
}


.news-body h5 {
    margin-top: 8px;
    margin-bottom: 8px;

    font-weight: 700;
}


.news-body p {
    color: #64748b;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================================================
   13. RESPONSIVE - TABLET
   ========================================================================== */

@media (max-width: 991.98px) {

    .hero-section {
        padding: 50px 0;
    }


    .hero-title {
        font-size: 40px;
    }


    .hero-image {
        max-width: 450px;

        margin: 30px auto 0;
    }


    .section-public {
        padding: 60px 0;
    }

}


/* ==========================================================================
   14. RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {

    .hero-title {
        font-size: 34px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-image {
        max-width: 400px;

        margin: 25px auto 0;
    }


    .section-heading h2 {
        font-size: 27px;
    }


    .doctor-card {
        align-items: flex-start;
    }

}


/* ==========================================================================
   15. RESPONSIVE - SMALL MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .hero-title {
        font-size: 30px;
    }


    .hero-section .btn {
        width: 100%;

        margin-right: 0 !important;

        margin-bottom: 10px;
    }


    .hero-image {
        max-width: 100%;
    }


    .service-card {
        padding: 22px;
    }


    .bed-summary-card {
        padding: 20px;
    }


    .section-public {
        padding: 50px 0;
    }

}

/* ==========================================================
   JADWAL DOKTER - HOMEPAGE
========================================================== */
/* ==========================================================
   JADWAL DOKTER - HOMEPAGE
========================================================== */

/* ----------------------------------------------------------
   CARD DOKTER
---------------------------------------------------------- */

.doctor-card-new {

    position: relative;

    height: 100%;

    background: #ffffff;

    border: 1px solid #e9eef3;

    border-radius: 18px;

    padding: 28px 22px 22px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

}


/* ----------------------------------------------------------
   HOVER CARD
---------------------------------------------------------- */

.doctor-card-new:hover {

    transform: translateY(-6px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);

    border-color: rgba(13, 110, 253, 0.20);

}


/* ----------------------------------------------------------
   AVATAR / ICON DOKTER
---------------------------------------------------------- */

.doctor-card-avatar {

    width: 76px;

    height: 76px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #e8f2ff,
            #f3f8ff
        );

    color: #0d6efd;

    font-size: 32px;

}


/* ----------------------------------------------------------
   NAMA DOKTER
---------------------------------------------------------- */

.doctor-card-name {

    margin: 0;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.4;

    color: #1f2937;

}


/* ----------------------------------------------------------
   POLI
---------------------------------------------------------- */

.doctor-card-poli {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 10px;

    padding: 7px 12px;

    border-radius: 50px;

    background: #eef6ff;

    color: #0d6efd;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.3;

}


/* ----------------------------------------------------------
   ICON POLI
---------------------------------------------------------- */

.doctor-card-poli i {

    font-size: 12px;

}


/* ----------------------------------------------------------
   BAGIAN JADWAL
---------------------------------------------------------- */

.doctor-card-schedule {

    margin-top: 20px;

    padding-top: 16px;

    border-top: 1px solid #edf0f3;

    display: flex;

    flex-direction: column;

    gap: 9px;

    text-align: left;

}


/* ----------------------------------------------------------
   BARIS JADWAL
---------------------------------------------------------- */

.doctor-card-schedule div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #555;

    font-size: 14px;

}


/* ----------------------------------------------------------
   ICON JADWAL
---------------------------------------------------------- */

.doctor-card-schedule i {

    width: 20px;

    text-align: center;

    color: #0d6efd;

}


/* ==========================================================
   SECTION JADWAL DOKTER
========================================================== */

.section-public .doctor-card-new {

    animation: doctorCardFade 0.5s ease both;

}


/* ----------------------------------------------------------
   ANIMASI
---------------------------------------------------------- */

@keyframes doctorCardFade {

    from {

        opacity: 0;

        transform: translateY(10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ==========================================================
   RESPONSIVE
========================================================== */


/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 991.98px) {

    .doctor-card-new {

        padding: 24px 20px 20px;

    }


    .doctor-card-avatar {

        width: 70px;

        height: 70px;

        font-size: 29px;

    }


    .doctor-card-name {

        font-size: 17px;

    }

}


/* ----------------------------------------------------------
   HP
---------------------------------------------------------- */

@media (max-width: 575.98px) {

    .doctor-card-new {

        padding: 24px 18px 20px;

        border-radius: 16px;

    }


    .doctor-card-avatar {

        width: 68px;

        height: 68px;

        font-size: 28px;

    }


    .doctor-card-name {

        font-size: 17px;

    }


    .doctor-card-poli {

        font-size: 12px;

    }


    .doctor-card-schedule div {

        font-size: 13px;

    }

}

/* ==========================================================
   KONTAK & LOKASI
========================================================== */

/* ----------------------------------------------------------
   CONTACT INFORMATION
---------------------------------------------------------- */

.contact-information {

    height: 100%;

    background: #ffffff;

    border-radius: 20px;

    padding: 30px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);

}


/* ----------------------------------------------------------
   CONTACT ITEM
---------------------------------------------------------- */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding: 18px 0;

    border-bottom: 1px solid #eeeeee;

}


.contact-item:first-child {

    padding-top: 0;

}


.contact-item:last-of-type {

    border-bottom: none;

}


/* ----------------------------------------------------------
   CONTACT ICON
---------------------------------------------------------- */

.contact-icon {

    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: rgba(13, 110, 253, 0.10);

    color: #0d6efd;

    font-size: 19px;

}


.contact-emergency {

    background: rgba(220, 53, 69, 0.10);

    color: #dc3545;

}


/* ----------------------------------------------------------
   CONTACT CONTENT
---------------------------------------------------------- */

.contact-content {

    display: flex;

    flex-direction: column;

}


.contact-content span {

    font-size: 13px;

    color: #888;

    margin-bottom: 3px;

}


.contact-content strong {

    font-size: 16px;

    color: #222;

    font-weight: 600;

}


.contact-content p {

    margin: 4px 0 0;

    color: #666;

    font-size: 14px;

    line-height: 1.6;

}


/* ----------------------------------------------------------
   SOCIAL MEDIA
---------------------------------------------------------- */

.contact-social {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 20px;

}


.contact-social > span {

    font-size: 14px;

    font-weight: 600;

    color: #555;

}


.social-links {

    display: flex;

    gap: 10px;

}


.social-links a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #f5f6f8;

    color: #444;

    text-decoration: none;

    font-size: 18px;

    transition: all 0.2s ease;

}


.social-links a:hover {

    background: #0d6efd;

    color: #ffffff;

    transform: translateY(-2px);

}


/* ----------------------------------------------------------
   MAP
---------------------------------------------------------- */

.contact-map {

    width: 100%;

    height: 100%;

    min-height: 520px;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);

    background: #eeeeee;

}


.contact-map iframe {

    display: block;

    width: 100%;

    height: 100%;

    border: 0;

}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

@media (max-width: 991px) {

    .contact-map {

        min-height: 400px;

    }

}


@media (max-width: 576px) {

    .contact-information {

        padding: 22px;

        border-radius: 16px;

    }


    .contact-map {

        min-height: 320px;

        border-radius: 16px;

    }


    .contact-item {

        gap: 14px;

    }


    .contact-icon {

        width: 44px;

        height: 44px;

        min-width: 44px;

    }

}