/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    color: #1e293b;
}

/* TOP BAR */
.top-bar {
    background: #8b0000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 8px 40px;
    font-size: 14px;
    background: #0f172a;
    color: #e2e8f0;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    /*background: #fff;*/
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-weight: 700;
    font-size: 18px;
}

.logo-text span:last-child {
    font-size: 13px;
    color: #8b0000;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
}

/* BUTTON */
.btn {
    background: #8b0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
    top: -100px;
    left: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239,68,68,0.15), transparent 70%);
    bottom: -100px;
    right: -100px;
}
.hero {
    display: flex;
    padding: 60px;
    color: #fff;
    align-items: center;
    gap: 40px;
}
.hero-text {
    color: #1e293b; /* dark slate */
}
.hero-text h1 {
    font-size: 48px;
    color: #0f172a; /* stronger heading */

}
.hero-text p {
    color: #475569;
}

.hero-text ul li {
    color: #334155;
}
.hero-text ul {
    margin: 20px 0;
}

.hero-img img {
    width: 90%;
    border-radius: 30px;
}

/* STATS */
.stats {
    width: 80%;
    margin: -80px auto 40px;
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-box i {
    font-size: 25px;
    color: #8b0000;
    margin-bottom: 10px;
}

/* SERVICES */
/* SECTION */
.services-combined {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #f4f6f8);
}

.services-combined h2 {
    font-size: 40px;
    color: #8b0000;
    margin-bottom: 10px;
}

.services-combined p {
    color: #666;
    font-size: 16px;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* CARD */
.service-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ICON STYLE */
.service-box i {
    width: 60px;
    height: 60px;
    stroke: #8b0000;
    margin-bottom: 20px;

    background: rgba(139, 0, 0, 0.08);
    padding: 15px;
    border-radius: 50%;
}

/* TITLE */
.service-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.service-box p {
    font-size: 14px;
    color: #666;
}

/* HOVER EFFECT */
.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-box:hover i {
    background: #8b0000;
    color: #fff;
    transform: scale(1.1);
}

/* TOP BORDER ACCENT */
.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #8b0000, #ff4d4d);
    opacity: 0;
    transition: 0.3s;
}

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

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

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.service-box {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.service-box:nth-child(2) { animation-delay: 0.1s; }
.service-box:nth-child(3) { animation-delay: 0.2s; }
.service-box:nth-child(4) { animation-delay: 0.3s; }
.service-box:nth-child(5) { animation-delay: 0.4s; }
.service-box:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ABOUT */
.about-premium {
    padding: 100px 20px;
    text-align: center;
    background: #fff;
}

.about-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-card {
    width: 300px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

/* HOSPITALS */
#hospitals {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f1f5f9, #eaf1f8);
    text-align: center;
}

.hospital-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* perfect balance */
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.section.bg-light {
    background: linear-gradient(135deg, #f1f5f9, #eaf1f8);
}

.hospital-card {
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.hospital-card {
    background: #fff;
    padding: 25px 15px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    min-height: 160px; /* equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hospital-card h3 {
    font-size: 15px;
    margin-top: 10px;
}

.hospital-card img {
    width: 100px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(100%);
}

.hospital-card:hover img {
    filter: grayscale(0%);
}
@media (max-width: 1100px) {
    .hospital-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .hospital-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hospital-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* TESTIMONIAL */
.test-center {
    text-align: center;
    padding: 120px 20px 100px;
    background: #f8f8f8;
    position: relative;
    z-index: 1;
}

/* ADD THIS */
.slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px; /* pushes slider down */
    position: relative;
    z-index: 2;
}

.slide {
    width: 260px;
    min-height: 340px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    opacity: 0.5;
    transform: scale(0.92);
    transition: all 0.4s ease;
}

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

.slide.active {
    opacity: 1;
    transform: scale(1.05); /* reduced from 1.1 */
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
/* BUTTONS */
.controls button {
    margin: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #8b0000;
    color: #fff;
    cursor: pointer;
}

/* CONTACT */
.contact-section {
    padding: 80px 40px;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.submit-btn {
    width: 100%;
    background: #8b0000;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #4b001f;
    color: #fff;
    text-align: center;
    padding: 20px;
}

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

    .hero {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .slider {
        flex-direction: column;
        align-items: center;
    }

}
.journey {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.journey-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
}

/* Timeline Container */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1100px;
    margin: auto;
}

/* Horizontal Line */
.timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: linear-gradient(to right, #ff4d4d, #ff9999);
    z-index: 0;
}

/* Step */
.step {
    width: 22%;
    position: relative;
    z-index: 1;
}

/* Circle */
.circle {
    width: 60px;
    height: 60px;
    background: #ff4d4d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Text */
.step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #555;
}

/* Hover Effect */
.step:hover .circle {
    transform: scale(1.1);
    background: #e60000;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        width: 4px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .step {
        width: 100%;
        margin-bottom: 40px;
    }

    .circle {
        margin-bottom: 10px;
    }
}