:root {
  --black: #000;
  --white: #fff;
  --blue: #47a0cccf;
  --muted: #6c757d;
  --bg-soft: #f7fbfe;
}

/* GLOBAL RESET */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* HERO SECTION */
.home-hero {
    background: #f6f9fc;
    padding: 31px 0;
}

.hero-fluid {
    padding: 0 30px;
}

/* DESKTOP LAYOUT */
.hero-wrapper {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* QUICK PANEL */
.quick-panel {
    background: #fff;
    padding: 25px;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.quick-header h3 {
    color: #47a0cccf;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}


.quick-item {
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 10px;

    text-align: left;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;

    text-decoration: none;
    color: #222;
    font-size: 15px;
}



/* Text color on hover & focus */
.quick-item:hover,
.quick-item:focus {
    color: #136995;
      background: #f8fcff;
    text-decoration: none !important;
}


.quick-item i {
    font-size: 22px;
    color: #47a0cccf;
    flex-shrink: 0;
}

.quick-item span {
    font-weight: 500;
    line-height: 1;
}
.quick-item:nth-child(2n) {
    border-right: none;
}

.quick-item:nth-last-child(-n+2) {
    border-bottom: none;
}


.quick-link {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 30px;
    border: 1px solid #47a0cccf;
    color: #47a0cccf;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    flex: 3;
    height: 553px;
    overflow: hidden;
    min-height: 300px;
}

.slides, .slide {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide:first-child,
.slide.active {
    opacity: 1;
}

/* OVERLAY TEXT */
.hero-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    max-width: 77%;
    z-index: 3;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.6), rgba(0,0,0,.15));
}

/* DOTS */
.slider-dots {
    position: absolute;
    bottom: 18px;
    right: 25px;
    display: flex;
    gap: 8px;
    z-index: 4;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
}

.slider-dots span.active {
    background: #47a0cccf;
}

@media (max-width: 768px) {

    .hero-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    /* ✅ HERO FIRST */
    .hero-slider {
        order: 1;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        height: 42vh;
        min-height: 260px;
    }

    /* ✅ HELP PANEL SECOND (FIXED) */
.help-section {
    order: 2;
    margin-top: -15px; /* reduce overlap */
    padding-top: 20px; /* restore spacing */
    position: relative;
    z-index: 2;
}

}


/* ================= QUICK ACTIONS SECTION ================= */

.quick-actions-section {
    padding: 40px 0;
    background: #fff;
}

.quick-actions-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.quick-action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #47a0cccf, #2e8fbf);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(71, 160, 204, 0.35);
    transition: all 0.3s ease;
}

/* Icon box */
.quick-action-card .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Hover */
.quick-action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(71, 160, 204, 0.5);
    background: linear-gradient(135deg, #2e8fbf, #47a0cccf);
}

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

@media (max-width: 991px) {
    .quick-actions-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .quick-actions-wrapper {
        grid-template-columns: 1fr;
    }

    .quick-action-card {
        justify-content: center;
        font-size: 15px;
    }
}


/* ===== QUICK SEARCH ===== */
.quick-search {
    position: relative;
    margin-top: 15px;
}

.quick-search input {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.quick-search i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #3f99c6cc;
}

/* ===== RESULTS ===== */
.quick-search-results {
    margin-top: 8px;
    background: #fff;
    border-radius: 6px;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.quick-search-results a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.quick-search-results a:hover {
    background: #f6f9ff;
    color: #3f99c6cc;
}
html[dir="rtl"] .quick-search i {
    right: auto;
    left: 14px;
}

html[dir="rtl"] .quick-search input {
    padding-left: 40px;
    padding-right: 14px;
}

html[dir="rtl"] .quick-search-results a {
    text-align: right;
}

/* ================= SCROLL ANIMATIONS ================= */

.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variations */
.fade-up {
    transform: translateY(40px);
}

.slide-left {
    transform: translateX(-60px);
}

.slide-right {
    transform: translateX(60px);
}

.zoom-in {
    transform: scale(0.9);
}

.scroll-animate.active.zoom-in {
    transform: scale(1);
}

/* ================= FEATURED SERVICES ================= */

/* SECTION */
.featured-services {
    padding: 80px 0 60px;
    background: #fff;
}

/* HEADING */
.service-team-heading {
    font-size: 34px;
    font-weight: 700;
    color: #2e8fbf;
    margin-bottom: 60px;
}

/* CARD */
.featured-item {
    padding: 20px 15px;
    transition: all 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-8px);
}

/* ICON */
.featured-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(71, 160, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e8fbf;
    font-size: 42px;
}

/* TITLE */
.featured-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* DESCRIPTION - 3 LINE LIMIT */
.featured-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    max-width: 320px;
    margin: 0 auto;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    transition: all 0.3s ease;
}

/* EXPANDED */
.featured-desc.expanded {
    -webkit-line-clamp: unset;
}

/* BUTTON */
/* .read-more-btn {
    display: inline-block;
    margin-top: 8px;
    color: #2e8fbf;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
} */

.read-more-btn {
    display: inline-block;
    margin-top: 15px;
   padding: 5px 10px;
    background: #429bc6;
    color: #fff;
       border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.read-more-btn:hover {
    background: #429bc6;
    color: #fff;
}

/* HOVER */
.featured-item:hover .featured-icon {
    background: #2e8fbf;
    color: #fff;
    
}

.featured-icon {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-icon:hover {
    transform: scale(1.1);
}

/* ================= DOCTORS SECTION ================= */
/* ================= SECTION ================= */
.doctors-section {
    padding: 80px 0;
    background: #7dbbda45;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0a2540;
}

.section-header p {
    color: #666;
    margin-top: 10px;
}

/* ================= SLIDER ================= */
.doctors-slider {
    position: relative;
    overflow: hidden;
}

.doctors-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

/* ================= CARD ================= */
.doctor-card {
    min-width: calc((100% - 60px) / 3);
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* ================= IMAGE ================= */
.doctor-img {
    width: 172px;
    height: 172px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #47a0cc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

/* IMAGE HOVER EFFECT */
.doctor-card:hover .doctor-img img {
    transform: scale(1.08);
}

/* ================= INFO ================= */
.doctor-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 5px;
}

.doctor-info span {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 15px;
}

/* ================= BUTTON ================= */
.btn-doctor {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #459bc7, #20414b);
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-doctor:hover {
    background: linear-gradient(135deg, #459bc7, #20414b);
    transform: scale(1.05);
}

/* ================= NAV (ARROWS) ================= */
.doctor-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 45px;
    height: 45px;

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

    background: #459bc7;
    color: #fff;
    font-size: 20px;

    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;

    transition: all 0.3s ease;
}

.doctor-nav:hover {
    background: #0a5ea8;
    transform: translateY(-50%) scale(1.1);
}

/* POSITION */
.doctor-nav.prev {
    left: 10px;
}

.doctor-nav.next {
    right: 10px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .doctors-track {
        gap: 0;
    }

    .doctor-card {
        min-width: 100%;
        padding: 20px;
    }

    .doctor-img {
        width: 130px;
        height: 130px;
    }

    .doctor-info h4 {
        font-size: 16px;
    }

    .doctor-info span {
        font-size: 13px;
    }

    /* KEEP ARROWS VISIBLE */
    .doctor-nav {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .doctor-nav.prev {
        left: 5px;
    }

    .doctor-nav.next {
        right: 5px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

    .doctor-img {
        width: 110px;
        height: 110px;
    }

    .doctor-card {
        padding: 15px;
    }
}


/* ================= Packages & Promotions ================= */

.packages-section {
    padding: 70px 0;
    background: #f7fbfe;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* CARD */
.package-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: .35s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(71,160,204,.3);
}

/* IMAGE */
.package-img {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.package-card:hover img {
    transform: scale(1.08);
}

/* NEW BADGE */

.pkg-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;

    z-index: 2;
    pointer-events: none;
}

/* ============================= */
/* NEW BADGE - RED */
/* ============================= */

.pkg-badge-new {
    background: #a50d24d6;
    animation: pulseBadge 1.6s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(165, 13, 36, 0.6);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(165, 13, 36, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(165, 13, 36, 0);
    }
}

/* ============================= */
/* EXPIRED BADGE - GREEN */
/* ============================= */

.pkg-badge-expired {
    background: #1f8a3b; /* GREEN */
    animation: expiredFade 2s infinite;
}

@keyframes expiredFade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* ICON STRIP */
.pkg-icons {
    position: absolute;
    left: 15px;
    top: 75px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}

.pkg-icons li {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 14px;
    opacity: .9;
}

/* CATEGORY BAR */
.pkg-category {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #47a0cccf, #6bb9e1);
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
}

/* BODY */
.package-body {
    padding: 22px;
}

.package-body h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #000;
}

/* PRICE */
.package-price {
    font-size: 18px;
    margin-bottom: 8px;
}

.package-price strong {
    color: #000;
}

.package-price span {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    margin-left: 6px;
}

/* EXPIRY */
.package-expiry {
    font-size: 14px;
    color: #47a0cccf;
    margin-bottom: 18px;
}

.package-expiry i {
    margin-right: 6px;
}

/* BUTTON */
.package-btn {
    display: block;
    text-align: center;
    background: #47a0cccf;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s ease;
}

.package-btn:hover {
    background: #136995;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .packages-grid { grid-template-columns: 1fr; }
}



/* ================= HEALTH INFO SECTION ================= */
.health-section{
    padding:70px 0;
    background:#f7fbfe;
}

.health-header h2{
    font-size:34px;
    font-weight:700;
    color:var(--black);
    margin-bottom:40px;
}

/* ================= SWIPER ================= */
.health-swiper{
    position: relative;
    padding-bottom:60px;
}

/* Slide width for coverflow */
.health-swiper .swiper-slide{
    width:320px;
    height:auto;
}

/* ================= CARD ================= */
.health-card{
    display:block;
    background:var(--white);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.35s ease;
}

.health-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(71,160,204,0.25);
}

/* ================= IMAGE ================= */
.health-img{
    height:190px;
    overflow:hidden;
}

.health-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s ease;
}

.health-card:hover img{
    transform:scale(1.08);
}

/* ================= BODY ================= */
.health-body{
    padding:18px 18px 22px;
}

.health-body h4{
    font-size:16px;
    font-weight:700;
    color:var(--black);
    line-height:1.4;
    margin-bottom:12px;
    min-height:44px;
}

/* ================= TAG ================= */
.health-tag{
    display:inline-block;
    background:rgba(71,160,204,0.12);
    color:var(--blue);
    font-size:13px;
    padding:6px 14px;
    border-radius:20px;
}

/* ================= SWIPER ARROWS (FORCE SHOW) ================= */
.health-swiper .swiper-button-next,
.health-swiper .swiper-button-prev{
    display:flex !important;
    align-items:center;
    justify-content:center;
    opacity:1 !important;
    visibility:visible !important;
    z-index:9999 !important;

    width:46px;
    height:46px;
    background:var(--white);
    border-radius:50%;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
    color:var(--blue-dark);
    transition:0.3s ease;
}

/* Arrow icon */
.health-swiper .swiper-button-next::after,
.health-swiper .swiper-button-prev::after{
    font-size:18px;
    font-weight:800;
}

/* Arrow position */
.health-swiper .swiper-button-prev{
    left:-18px;
}

.health-swiper .swiper-button-next{
    right:-18px;
}

/* Hover */
.health-swiper .swiper-button-next:hover,
.health-swiper .swiper-button-prev:hover{
    background:var(--blue);
    color:#fff;
}

/* ================= PAGINATION ================= */
.health-swiper .swiper-pagination-bullet{
    background:#cfdbe4;
    opacity:1;
}

.health-swiper .swiper-pagination-bullet-active{
    background:var(--blue);
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    .health-header h2{
        font-size:26px;
    }

    .health-swiper .swiper-slide{
        width:100%;
    }

    /* Hide arrows on mobile */
    .health-swiper .swiper-button-next,
    .health-swiper .swiper-button-prev{
        display:none !important;
    }
}


/* ================= VIDEO SECTION ================= */
.video-section{
    background: #47a0cccf;
    padding: 80px 0;
    text-align: center;
}

.video-header small{
    display:block;
    color: rgba(255,255,255,0.85);
    font-size:14px;
    margin-bottom:6px;
}

.video-header h2{
    color: var(--white);
    font-size:34px;
    font-weight:700;
    margin-bottom:40px;
}

/* Grid */
.video-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.video-card{
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,0.25);
    transition:0.35s ease;
}

.video-card:hover{
    transform: translateY(-6px);
}

/* Thumb */
.video-thumb{
    position:relative;
    width:100%;
    height:220px;
    overflow:hidden;
}

.video-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.4s ease;
}

.video-card:hover img{
    transform: scale(1.08);
}

/* Play Button */
.play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:70px;
    height:70px;
    background: rgba(255,255,255,0.9);
    color: var(--blue);
    border-radius:50%;
    font-size:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
    transition:0.3s ease;
}

.video-card:hover .play-btn{
    background: var(--white);
    transform: translate(-50%,-50%) scale(1.1);
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px){
    .video-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:576px){
    .video-grid{
        grid-template-columns: 1fr;
    }
    .video-thumb{
        height:200px;
    }
}

/* ================= VIDEO MODAL ================= */
.video-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.75);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:0.3s ease;
    z-index:9999;
}

.video-modal.active{
    opacity:1;
    visibility:visible;
}

.video-modal-content{
    position:relative;
    width:90%;
    max-width:800px;
    background:#000;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

.video-modal-content iframe{
    width:100%;
    height:450px;
    border:0;
}

.video-close{
    position:absolute;
    top:10px;
    right:12px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:var(--blue);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    z-index:2;
}

.video-close:hover{
    background:var(--black);
}

@media(max-width:576px){
    .video-modal-content iframe{
        height:260px;
    }
}


/* ================= insurance section ================= */
.insurance-section{
    padding:70px 0 80px;
    background:#f6f9fc;
}

.insurance-header{
    text-align:center;
    max-width:820px;
    margin:0 auto 45px;
}

.insurance-header h2{
    font-size:32px;
    font-weight:700;
    color:var(--black);
    margin-bottom:12px;
}

.insurance-header p{
    font-size:16px;
    color:#666;
    line-height:1.6;
}

/* ===== Slider ===== */
.insurance-slider{
    overflow:hidden;
    position:relative;
    width:100%;
}

.insurance-track{
    display:flex;
    gap:30px;
    will-change:transform;
    transition:transform 0.5s ease;
}

/* Logo card */
.insurance-logo{
    min-width:180px;
    height:90px;
    border:1px solid #eaeaea;
    border-radius:8px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s ease;
}

.insurance-logo:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(71,160,204,0.25);
}

.insurance-logo img{
    max-width:80%;
    max-height:60%;
    object-fit:contain;
    filter:grayscale(100%);
    transition:0.3s ease;
}

.insurance-logo:hover img{
    filter:grayscale(0%);
}

/* Responsive */
@media(max-width:768px){
    .insurance-logo{ min-width:150px; height:80px; }
}
@media(max-width:480px){
    .insurance-logo{ min-width:130px; height:70px; }
}


/* ===== HOSPITAL SECTION ===== */
:root{
    --primary:#47a0cccf;
    --primary-dark:#1f3f68;
    --teal:#00a99d;
    --white:#ffffff;
}

/* ================= SECTION ================= */
.our-hospitals{
    background: linear-gradient(135deg, #47a0cccf, #2e8fbf);;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.our-hospitals .container{
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER ================= */
.oh-header{
    max-width: 680px;
    margin-bottom: 55px;
}

.oh-header h2{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .5px;
}

.oh-header p{
    font-size: 14px;
    line-height: 1.7;
    opacity: .9;
}

/* ================= GRID ================= */
.oh-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

/* ================= CARD ================= */
.hospital-card{
    background: #fff;
    color: #000;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(0,0,0,.25);

    /* scroll animation */
    opacity: 0;
    transform: translateY(45px);
    transition: all .7s ease;
}

.hospital-card.show{
    opacity: 1;
    transform: translateY(0);
}

/* ================= IMAGE ================= */
.hc-image{
    position: relative;
}

.hc-image img{
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* curved overlay */
.hc-image::after{
    content:"";
    position:absolute;
    bottom:-1px;
    left:0;
    width:100%;
    /* height:55px; */
    background:#fff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

/* badge */
.hc-badge{
    position:absolute;
    bottom:-30px;
    left:50%;
    transform:translateX(-50%);
    background:#fff;
    border-radius:50%;
    padding:6px;
    box-shadow:0 6px 15px rgba(0,0,0,.25);
    z-index:2;
}

.hc-badge img{
    width:52px;
    height:52px;
    display:block;
}

/* ================= BODY ================= */
.hc-body{
    padding: 48px 26px 26px;
}

.hc-body h3{
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 22px;
    line-height: 1.4;
}

/* ================= STATS ================= */
.hc-stats{
    display:flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 18px;
}

.hc-stats div{
    flex:1;
    color: var(--teal);
}

.hc-stats i{
    font-size: 26px;
    display:block;
    margin-bottom:6px;
}

.hc-stats strong{
    display:block;
    font-size: 18px;
    font-weight: 700;
}

.hc-stats span{
    font-size: 13px;
    color: #444;
}

/* dotted divider */
.hc-body hr{
    margin: 18px 0;
    border: none;
    border-top: 1px dotted #cfcfcf;
}

/* ================= INFO ================= */
.hc-info{
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    display:flex;
    align-items:flex-start;
}

.hc-info i{
    color: var(--teal);
    margin-right: 10px;
    font-size: 16px;
    margin-top: 2px;
}

/* ================= LINKS ================= */
.hc-links{
    display:flex;
    justify-content: space-between;
    margin-top: 18px;
}

.hc-links a{
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition:.2s;
}

.hc-links a:hover{
    text-decoration: underline;
}


/* ================= RESPONSIVE ================= */
@media(max-width:1100px){
    .oh-grid{
        grid-template-columns: repeat(2,1fr);
    }
}

/* 🔥 MOBILE FIX */
@media(max-width:768px){

    .oh-grid{
        grid-template-columns: 1fr;
    }

    .hc-image img{
        height: 200px;
    }

    /* reduce curve */
    .hc-image::after{
        height: 35px;
    }

    .hc-badge{
        bottom: -20px;
        padding: 4px;
    }

    .hc-badge img{
        width: 60px;
        height: 60px;
    }

    .hc-body{
        margin-top: 30px;
        padding: 35px 16px 20px;
    }
}


/* 🔥 EXTRA SMALL */
@media(max-width:480px){

    .hc-image img{
        height: 180px;
    }

    /* BEST: remove curve completely for small screens */
    .hc-image::after{
        display: none;
    }

    .hc-badge{
        bottom: -18px;
    }

    .hc-body{
        margin-top: 28px;
    }
        .hc-badge img{
        width: 60px;
        height: 60px;
    }
}



.packages-more {
    text-align: right;
    margin-top: 30px;
}

.more-packages-link {
    font-size: 16px;
    font-weight: 600;
    color: #1a5fb4;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: color 0.3s ease;
}

/* Arrow animation */
.more-packages-link span {
    font-size: 22px;
    transition: transform 0.25s ease;
}

.more-packages-link:hover span {
    transform: translateX(6px);
}

/* Text color on hover & focus */
.more-packages-link:hover,
.more-packages-link:focus {
    color: #136995;
    text-decoration: none !important;
}

/* Underline animation */
.more-packages-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #136995;
    transition: width 0.3s ease;
}

.more-packages-link:hover::after,
.more-packages-link:focus::after {
    width: 100%;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 56px;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    color: #fff;
}

/* ================= PLUS SOCIAL ================= */
/* Wrapper */
.plus-social {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

/* Plus / X Button */
.plus-btn {
    width: 56px;
    height: 56px;
    background-color: #116986;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Rotate + to X */
.plus-social.active .plus-btn {
    transform: rotate(45deg);
}

/* Social Icons (DEFAULT HIDDEN) */
.social-icon {
    position: absolute;
    right: 5px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;

    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Facebook */
.social-icon.fb {
    background: #1877F2;
    bottom: 70px;
}

/* Instagram */
.social-icon.ig {
    background: #E4405F;
    bottom: 130px;
}

/* SHOW ONLY WHEN ACTIVE */
.plus-social.active .social-icon {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .plus-btn,
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .plus-social {
        right: 16px;
        bottom: 16px;
    }

    .social-icon.fb { bottom: 65px; }
    .social-icon.ig { bottom: 120px; }
}

/* ================= Subsidiaries SECTION ================= */

.subsidiary-section {
    background: #47a0cccf;
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);;
}

.section-subtitle {
   color: rgba(255,255,255,0.85);;
    font-size: 16px;
}

.subsidiary-slider-wrapper {
    position: relative;
}

.subsidiary-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.subsidiary-card {
    min-width: 32%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

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

.card-content {
    padding: 25px;
}

.card-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a6a90;
}

.card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.85);
    color: #000000;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
}

.slider-btn.prev {
    left: -60px;
}

.slider-btn.next {
    right: -60px;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 991px) {

    .subsidiary-slider-wrapper {
        padding: 0 20px; /* space for buttons */
    }

    .subsidiary-slider {
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .subsidiary-card {
        min-width: 100%;
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    /* Slider buttons visible on mobile */
    .slider-btn {
        top: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: #ffffff;
        color: #0a6a90;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }
}

/* HELP PANEL SECTION */
.help-section {
    padding: 2px 0;
    display: flex;
    justify-content: center;
}

/* PANEL */
.help-panel {
    background: #fff;
    padding: 35px;
    border-radius: 2px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    max-width: 520px;
    width: 100%;
    animation: fadeUp 0.8s ease;
}

/* TITLE */
.help-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* GRID */
.help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* BOX */
.help-box {
    border: 2px solid #e8f3fb;
    border-radius: 16px;
    padding: 32px 18px;
    text-align: center;
    text-decoration: none;
    transition: all 0.35s ease;
    background: #fff;
    position: relative;
    /* overflow: hidden; */
     overflow: visible;
}

/* ICON */
.help-box i {
    font-size: 36px;
    color: #47a0cccf;
    margin-bottom: 15px;
    transition: 0.3s ease;
}

/* TEXT */
.help-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.help-box p {
    font-size: 15px;
    font-weight: 700;
    margin-top: 6px;
    color: #47a0cccf;
}

/* HOVER + GLOW */
.help-box:hover {
    background: #f8fcff;
    border-color: #47a0cccf;
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(71,160,204,0.35);
}

.help-box:hover i {
    transform: scale(1.15) rotate(3deg);
}

/* SHINE EFFECT */
.help-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(71,160,204,0.15), transparent 60%);
    opacity: 0;
    transition: 0.4s;
     pointer-events: none;
}

.help-box:hover::before {
    opacity: 1;
}

/* FADE ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {

    .help-panel {
        padding: 2px;
        max-width: 100%;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .help-box {
        padding: 25px;
    }

    .help-title {
        font-size: 20px;
    }
}




#quickSearchInput {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
}

#quickSearchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    z-index: 999;
}

/* SEARCH BOX FIX */
.search-box {
    position: relative;
}

/* INPUT */
.search-box input {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
}

/* RESULT BOX */
#quickSearchResults {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: none;
    z-index: 999;
    max-height: 220px;
    overflow-y: auto;
}

/* RESULT ITEM */
.qs-item {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #333;
}

.qs-item:hover {
    background: #f3f9ff;
}

.search-box {
    position: relative;
    z-index: 2;
}

.search-box input {
    position: relative;
    z-index: 3; /* 🔥 important */
    pointer-events: auto;
}


/* SECTION */
#section-rating {
    padding: 80px 0;
    background: #f5f7fb;
}

/* HEADER */
.rating-header h2 {
    font-size: 34px;
    font-weight: 600;
}

.rating-header p {
    color: #777;
}

/* SLIDER */
.rating-slider {
    overflow: hidden;
    margin-top: 50px;
}

/* TRACK */
.rating-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scrollReview 25s linear infinite;
}

/* CARD (NO GAP, FULL IMAGE) */
.rating-logo {
    flex: 0 0 auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

/* IMAGE FULL FIT */
.rating-logo img {
    width: 400px;
    height: 150px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* HOVER */
.rating-logo:hover {
    transform: scale(1.05);
}

/* AUTO SLIDE */
@keyframes scrollReview {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* PAUSE ON HOVER */
.rating-slider:hover .rating-track {
    animation-play-state: paused;
}

#typing-text {
    color: #fff;
    border-right: 2px solid #fff;
    padding-left: 5px;
    white-space: nowrap;
}