/* Services Page Specific Styles */

/* Page Banner */
.page-banner {
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/slider/services-banner.jpg');
}

.banner-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.breadcrumbs li {
    position: relative;
    color: var(--light-text);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
}

.breadcrumbs a {
    color: var(--light-text);
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

/* Services Introduction */
.services-intro {
    padding: 80px 0;
    background-color: white;
}

.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-item {
    text-align: center;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.overview-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Specialized Services */
.specialized-services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
}

.service-details h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-details p {
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.service-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

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

.info-item i {
    color: var(--primary-color);
}

/* Other Services Section */
.other-services {
    padding: 80px 0;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.other-service-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    background-color: white;
}

.other-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.other-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 30px;
}

.other-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Ward Services Section */
.ward-services, .maternity-services, .laboratory-services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.ward-services:nth-child(even), 
.maternity-services:nth-child(even), 
.laboratory-services:nth-child(even) {
    background-color: white;
}

.wards-container, .maternity-container, .lab-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.maternity-container {
    grid-template-columns: 1fr 2fr;
}

.wards-info, .maternity-info, .lab-info {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.wards-image, .maternity-image, .lab-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.wards-image img, .maternity-image img, .lab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wards-image:hover img, .maternity-image:hover img, .lab-image:hover img {
    transform: scale(1.05);
}

.ward-types, .maternity-features, .lab-tests {
    margin: 25px 0;
}

.ward-type, .maternity-features, .test-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.ward-type:last-child, .test-category:last-child {
    border-bottom: none;
}

.ward-type h4, .maternity-features h4, .maternity-note h4, .test-category h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.ward-features, .maternity-features, .lab-note {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 25px 0;
}

.ward-features h4, .maternity-features h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ward-features ul, .maternity-features ul {
    list-style: none;
}

.ward-features li, .maternity-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ward-features li i, .maternity-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.maternity-note {
    background-color: rgba(0, 128, 128, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 25px;
}

.lab-tests {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.test-category ul {
    list-style: none;
}

.test-category li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.test-category li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Insurance Section */
.insurance-section {
    padding: 80px 0;
    background-color: white;
}

.insurance-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.partner-logo {
    text-align: center;
    width: 150px;
}

.partner-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

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

.partner-logo p {
    margin-top: 10px;
    font-weight: 500;
}

/* Emergency Services */
.emergency-services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.emergency-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.emergency-info {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.emergency-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.emergency-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emergency-features {
    margin: 25px 0;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
}

.emergency-features h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.emergency-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.emergency-features li {
    display: flex;
    align-items: center;
}

.emergency-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.emergency-contact {
    margin-top: 25px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-item {
        grid-template-columns: 1fr;
    }
    
    .service-image {
        height: 300px;
    }
    
    .wards-container, .maternity-container, .lab-content, .emergency-content {
        grid-template-columns: 1fr;
    }
    
    .wards-image, .maternity-image, .lab-image, .emergency-image {
        height: 300px;
    }
    
    .lab-tests {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 40vh;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .services-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-item {
        padding: 20px;
    }

    .service-item {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 250px;
    }

    .service-details {
        width: 100%;
        padding: 30px 20px;
    }

    .service-icon {
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-features {
        margin-top: 20px;
    }

    .service-features ul {
        columns: 1;
    }

    .service-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .ward-services .wards-container,
    .maternity-services .maternity-container,
    .laboratory-services .lab-content {
        flex-direction: column;
        gap: 30px;
    }

    .wards-info,
    .maternity-info,
    .lab-info {
        width: 100%;
        order: 2;
    }

    .wards-image,
    .maternity-image,
    .lab-image {
        width: 100%;
        order: 1;
    }

    .ward-types {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lab-tests {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insurance-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-buttons, .contact-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .service-features ul {
        grid-template-columns: 1fr;
    }
    
    .ward-type h4, .maternity-features h4, .maternity-note h4, .test-category h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .overview-item, .wards-info, .maternity-info, .lab-info, .emergency-info {
        padding: 20px;
    }
    
    .emergency-features ul, .ward-features ul, .maternity-features ul {
        grid-template-columns: 1fr;
    }

    .overview-item {
        text-align: center;
    }

    .overview-icon {
        margin: 0 auto 15px;
    }

    .service-features ul li {
        font-size: 0.9rem;
    }

    .ward-type,
    .test-category {
        padding: 15px;
    }

    .ward-features ul,
    .maternity-features ul {
        columns: 1;
    }

    .insurance-logos {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Tablet Responsiveness */
@media (max-width: 992px) and (min-width: 769px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .services-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .service-details {
        padding: 20px;
    }
    
    .service-details h3 {
        font-size: 1.5rem;
    }
    
    .service-features ul {
        grid-template-columns: 1fr;
    }
    
    .wards-container, 
    .maternity-container, 
    .lab-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .emergency-content {
        grid-template-columns: 1fr;
    }
    
    .lab-tests {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .page-banner {
        height: 30vh;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .breadcrumbs {
        font-size: 0.9rem;
    }

    .services-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-item {
        padding: 20px;
    }

    .service-item {
        display: flex;
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .service-details {
        width: 100%;
        padding: 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto 15px;
    }
    
    .service-details h3 {
        text-align: center;
        font-size: 1.5rem;
    }

    .service-features {
        margin-top: 20px;
    }

    .service-features ul {
        grid-template-columns: 1fr;
    }

    .service-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .other-services .service-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-banner {
        height: 25vh;
    }
    
    .banner-content h1 {
        font-size: 1.6rem;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .overview-item h3,
    .service-details h3,
    .other-service-card h3 {
        font-size: 1.3rem;
    }
    
    .ward-features li, 
    .maternity-features li,
    .emergency-features li {
        font-size: 0.9rem;
    }
    
    .insurance-logos {
        gap: 20px;
    }
    
    .partner-logo {
        width: 120px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
} 