/* ==========================================
   INPATIENT CARE PAGE STYLES
   Palette Matched to Brand Greens
========================================== */

/* Hero Banner Section */
#best {
    background: linear-gradient(rgba(0, 108, 95, 0.85), rgba(0, 77, 64, 0.9)), url('../images/Bp\ machine.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 90px 20px;
}

#best h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

#best p {
    font-size: 20px;
    color: #e8f7f3;
    font-weight: 400;
}

/* Services Main Container */
.services {
    padding: 80px 8%;
    background: #f7faf9;
}

.services h2 {
    text-align: center;
    font-size: 38px;
    color: #006c5f;
    margin-bottom: 50px;
    position: relative;
}

.services h2::after {
    content: "✚";
    display: block;
    color: #28a745;
    font-size: 24px;
    margin-top: 10px;
}

/* Grid Layout for Inpatient Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Styling */
.inpatient-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #009e84;
}

.inpatient-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 77, 64, 0.12);
}

.inpatient-item i {
    font-size: 40px;
    color: #008060;
    background: #e8f7f3;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.inpatient-item:hover i {
    transform: rotate(360deg);
    background: #008060;
    color: #ffffff;
}

.inpatient-item h3 {
    color: #004d40;
    font-size: 22px;
    margin-bottom: 12px;
}

.inpatient-item p {
    color: #555555;
    line-height: 1.7;
    font-size: 15px;
}

/* Featured Service Ward Image */
.service-image {
    grid-column: 1 / -1;
    text-align: center;
    margin: 20px 0;
}

.service-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 3px solid #e8f7f3;
}

/* Patient Information Section */
.patient-info {
    padding: 80px 8%;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.admission, .rights {
    background: #f7fbf8;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #28a745;
}

.patient-info h2 {
    color: #006c5f;
    font-size: 28px;
    margin-bottom: 20px;
}

.patient-info h3 {
    color: #004d40;
    font-size: 20px;
    margin: 20px 0 10px;
}

/* Ordered & Unordered Lists */
.patient-info ol, .patient-info ul {
    padding-left: 20px;
}

.patient-info li {
    color: #555555;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 16px;
}

.patient-info ul li::marker {
    color: #009e84;
}

.patient-info ol li::marker {
    color: #006c5f;
    font-weight: bold;
}

/* Responsive Tweaks */
@media (max-width: 900px) {
    .patient-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}