:root{--primary:#0f766e;--secondary:#164e63;--accent:#22c55e;--dark:#0f172a;--light:#f8fafc}body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#334155;background:#fff}.topbar{background:var(--secondary);color:#fff;font-size:.9rem}.navbar{box-shadow:0 8px 25px rgba(15,23,42,.06)}.navbar-brand{font-weight:800;color:var(--primary)!important}.btn-hospital{background:var(--primary);border-color:var(--primary);color:#fff}.btn-hospital:hover{background:#115e59;border-color:#115e59;color:#fff}.hero-slide{min-height:560px;background:linear-gradient(120deg,rgba(15,118,110,.94),rgba(22,78,99,.78)),url('../img/hospital-bg.svg') center/cover;color:#fff;display:flex;align-items:center}.section-title{font-weight:800;color:var(--dark)}.service-card,.doctor-card,.info-card{border:0;border-radius:1.25rem;box-shadow:0 12px 35px rgba(15,23,42,.08);transition:.25s}.service-card:hover,.doctor-card:hover{transform:translateY(-5px)}.icon-box{width:58px;height:58px;border-radius:18px;background:#ccfbf1;color:var(--primary);display:grid;place-items:center;font-size:1.6rem}.appointment-box{margin-top:-80px;position:relative;z-index:5}.footer{background:#0f172a;color:#cbd5e1}.footer a{color:#e2e8f0;text-decoration:none}.admin-sidebar{min-height:100vh;background:#0f172a}.admin-sidebar a{color:#cbd5e1;text-decoration:none;display:block;padding:.72rem 1rem;border-radius:.75rem}.admin-sidebar a:hover,.admin-sidebar a.active{background:#1e293b;color:#fff}.admin-card{border:0;border-radius:1rem;box-shadow:0 10px 30px rgba(15,23,42,.08)}@media(max-width:767px){.hero-slide{min-height:460px;text-align:center}.appointment-box{margin-top:1rem}.display-4{font-size:2.2rem}}

.dynamic-hero-slide{background-size:cover!important;background-position:center!important}.carousel-control-prev,.carousel-control-next{width:6%}.carousel-indicators [data-bs-target]{width:12px;height:12px;border-radius:50%}


/* Frontend Our Departments centered glow design */
.department-card{border:2px solid rgba(15,118,110,.55);border-radius:1.35rem;overflow:hidden;background:#fff;box-shadow:0 0 0 4px rgba(15,118,110,.06),0 0 24px rgba(15,118,110,.28),0 14px 38px rgba(15,23,42,.08);transition:.25s ease;padding:1rem}.department-card:hover{transform:translateY(-6px);box-shadow:0 0 0 4px rgba(34,197,94,.12),0 0 34px rgba(15,118,110,.38),0 18px 45px rgba(15,23,42,.12)}.department-img{height:190px;width:100%;max-width:320px;object-fit:cover;border-radius:1rem;display:block}.department-placeholder{height:190px;width:100%;max-width:320px;border-radius:1rem;background:linear-gradient(135deg,#ccfbf1,#e0f2fe)}.department-title{color:var(--dark);text-align:center}.department-text{text-align:center;color:#64748b;line-height:1.7}.table img{max-width:100%}

/* Frontend Doctors dynamic design */
.dynamic-doctor-card{border:0;border-radius:1.35rem;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.08);transition:.25s ease}.dynamic-doctor-card:hover{transform:translateY(-6px);box-shadow:0 18px 48px rgba(15,23,42,.14)}.doctor-profile-img{width:150px;height:150px;object-fit:cover;border-radius:50%;border:4px solid #ccfbf1;box-shadow:0 0 24px rgba(15,118,110,.24)}.doctor-profile-placeholder{width:150px;height:150px;border-radius:50%;background:linear-gradient(135deg,#ccfbf1,#e0f2fe);display:grid;place-items:center;color:var(--primary);font-size:4.5rem;border:4px solid #ccfbf1}.dynamic-doctor-card .text-warning{letter-spacing:2px}
.doctor-slots{border-top:1px dashed rgba(15,118,110,.35);padding-top:.75rem}.doctor-slot-item{display:flex;justify-content:space-between;gap:.75rem;align-items:center;background:#f0fdfa;border:1px solid #99f6e4;border-radius:.65rem;padding:.42rem .6rem;margin-bottom:.4rem;font-size:.83rem}.doctor-slot-item span{color:#0f766e;font-weight:700}.doctor-slot-item strong{color:#0f172a;font-weight:700}

/* Dynamic branch frontend and brighter slider overlay */
.branch-card{border:0;border-radius:1.35rem;box-shadow:0 14px 40px rgba(15,23,42,.08);overflow:hidden}.branch-logo{height:58px;width:90px;object-fit:contain;border:1px solid #e2e8f0;border-radius:.75rem;background:#fff;padding:.35rem}.footer-social a{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;background:#1e293b;color:#fff;margin-right:.35rem;transition:.25s}.footer-social a:hover{background:var(--primary);color:#fff}.dynamic-hero-slide .container{position:relative;z-index:2}.dynamic-hero-slide{text-shadow:0 2px 12px rgba(15,23,42,.28)}

/* Full-width eye-friendly branch map and managed footer contact */
.branches-section{background:linear-gradient(180deg,#f8fafc 0%,#ecfeff 100%)}.branch-wide-card{border:0;border-radius:1.5rem;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.10);background:#fff}.branch-info-panel{padding:2rem;background:linear-gradient(135deg,#ffffff,#f0fdfa);display:flex;flex-direction:column;justify-content:center}.branch-map-full{min-height:360px;height:100%}.branch-map-full iframe{min-height:360px}.footer-contact-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:1.25rem;padding:1.25rem;box-shadow:0 16px 42px rgba(0,0,0,.18)}.footer-contact-card .form-control{background:rgba(255,255,255,.94);border:0}.footer-map{border:1px solid rgba(255,255,255,.16)}.footer-bottom-left{text-align:left}.footer-bottom-left div{line-height:1.65}@media(max-width:991px){.branch-info-panel{padding:1.4rem}.branch-map-full,.branch-map-full iframe{min-height:280px}}


/* Final alignment polish: doctors slots, branch map, footer bottom */
.doctor-slots{ text-align:center !important; }
.doctor-slot-item{
    justify-content:center !important;
    flex-direction:column;
    text-align:center;
    gap:.18rem !important;
    max-width:260px;
    margin-left:auto;
    margin-right:auto;
}
.doctor-slot-item span,
.doctor-slot-item strong{ display:block; text-align:center; }
.branches-section{ padding-top:5rem !important; padding-bottom:5rem !important; }
.branches-section .container-fluid{ max-width:1320px; }
.branch-wide-card{ margin-bottom:1.25rem; }
.branch-info-panel{ padding:2.75rem !important; text-align:left; }
.branch-logo{
    width:92px !important;
    height:92px !important;
    max-width:92px !important;
    max-height:92px !important;
    object-fit:contain !important;
    flex:0 0 92px;
    border-radius:1rem !important;
    padding:.55rem !important;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.10);
}
.branch-map-full,
.branch-map-full iframe{ min-height:430px !important; }
.footer-bottom-left,
.footer-bottom-center{ text-align:center !important; width:100%; }
.footer-bottom-left div,
.footer-bottom-center div{ text-align:center !important; }
@media(max-width:991px){
    .branches-section{ padding-top:3.5rem !important; padding-bottom:3.5rem !important; }
    .branch-info-panel{ padding:2rem !important; text-align:center; align-items:center; }
    .branch-info-panel .d-flex{ flex-direction:column; text-align:center; }
    .branch-map-full,.branch-map-full iframe{ min-height:320px !important; }
}


/* Lab Test public frontend table */
.lab-test-table-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 118, 110, .08);
}
.lab-test-public-table {
    margin-bottom: 0;
    background: #fff;
}
.lab-test-public-table th,
.lab-test-public-table td {
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
}

/* Patient Review Frontend Auto Slider */
.patient-review-slider {
    overflow: hidden;
    position: relative;
    padding: 12px 0 24px;
}
.patient-review-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: patientReviewSlide 35s linear infinite;
}
.patient-review-slider:hover .patient-review-track {
    animation-play-state: paused;
}
.patient-review-card {
    width: 280px;
    min-height: 265px;
    background: #fff;
    border: 2px solid rgba(15, 118, 110, .28);
    box-shadow: 0 0 22px rgba(15, 118, 110, .12);
    border-radius: 22px;
    padding: 24px 18px;
    text-align: center;
    flex: 0 0 auto;
}
.patient-review-img,
.patient-review-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 auto 14px;
}
.patient-review-img {
    object-fit: cover;
    border: 3px solid #ccfbf1;
}
.patient-review-placeholder {
    display: grid;
    place-items: center;
    background: #ccfbf1;
    color: var(--primary);
    font-size: 2.4rem;
}
@keyframes patientReviewSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
    .patient-review-card {
        width: 245px;
    }
    .patient-review-track {
        gap: 16px;
        animation-duration: 28s;
    }
}

/* Public Lab Test frontend table */
.lab-test-table-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 118, 110, .08);
    background: #fff;
}
.lab-test-public-table {
    margin-bottom: 0;
    background: #fff;
}
.lab-test-public-table th,
.lab-test-public-table td {
    text-align: center;
    vertical-align: middle;
    padding: 14px 12px;
}

/* Patient Review Frontend Auto Slider */
.patient-review-slider {
    overflow: hidden;
    position: relative;
    padding: 12px 0 24px;
}
.patient-review-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: patientReviewSlide 35s linear infinite;
}
.patient-review-slider:hover .patient-review-track {
    animation-play-state: paused;
}
.patient-review-card {
    width: 280px;
    min-height: 265px;
    background: #fff;
    border: 2px solid rgba(15, 118, 110, .28);
    box-shadow: 0 0 22px rgba(15, 118, 110, .12);
    border-radius: 22px;
    padding: 24px 18px;
    text-align: center;
    flex: 0 0 auto;
}
.patient-review-img,
.patient-review-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin: 0 auto 14px;
}
.patient-review-img {
    object-fit: cover;
    border: 3px solid #ccfbf1;
}
.patient-review-placeholder {
    display: grid;
    place-items: center;
    background: #ccfbf1;
    color: var(--primary);
    font-size: 2.4rem;
}
@keyframes patientReviewSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
    .patient-review-card { width: 245px; }
    .patient-review-track { gap: 16px; animation-duration: 28s; }
}


/* Event Management Frontend Slider */
.event-slider-wrap {
    width: 80vw;
    max-width: 1180px;
}
.event-slide {
    min-height: 430px;
    background-size: cover;
    background-position: center;
    border-radius: 26px;
    display: flex;
    align-items: center;
    padding: 48px;
    position: relative;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}
.event-content {
    max-width: 620px;
    color: #fff;
}
.event-discount-badge {
    display: inline-block;
    background: #facc15;
    color: #0f172a;
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 18px;
    margin-bottom: 14px;
    box-shadow: 0 8px 25px rgba(250, 204, 21, .35);
}
.event-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,.22);
}
.event-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.event-description {
    font-size: 1rem;
    line-height: 1.7;
    opacity: .95;
}
.event-time-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
}
.event-time-box span {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 14px;
    padding: 8px 12px;
    backdrop-filter: blur(8px);
}
.event-countdown {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.countdown-item {
    width: 78px;
    min-height: 70px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    color: #0f172a;
    display: grid;
    place-items: center;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .16);
}
.countdown-item b {
    font-size: 1.5rem;
    line-height: 1;
}
.countdown-item small {
    font-weight: 700;
    color: #0f766e;
}
@media (max-width: 991px) {
    .event-slider-wrap { width: 92vw; }
    .event-slide { min-height: 380px; padding: 32px; }
}
@media (max-width: 575px) {
    .event-slider-wrap { width: 96vw; }
    .event-slide { min-height: 420px; padding: 24px; text-align: center; justify-content: center; }
    .event-time-box, .event-countdown { justify-content: center; }
    .countdown-item { width: 66px; min-height: 62px; }
}
