/* ======================================
   SERVICES PAGE - GYANDEEP HOSPITAL
   ====================================== */

/* ===== PAGE HEADER / BREADCRUMB ===== */
.page-header {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    margin-top: 0;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27,58,122,0.92), rgba(42,172,226,0.75));
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 3;
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.breadcrumb-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-cyan);
}

.breadcrumb-item.active {
    color: var(--primary-cyan);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: rgba(255,255,255,0.6);
}


/* ===== SECTION COMMON STYLES ===== */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--light-bg) !important;
}

.section-subtitle-badge {
    display: inline-block;
    background: rgba(42,172,226,0.12);
    color: var(--primary-cyan);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== SERVICES INTRODUCTION ===== */
.services-intro {
    padding: 60px 0 40px;
}


/* ===== SERVICE DETAIL CARDS ===== */
.service-detail-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    border-color: var(--primary-navy);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27,58,122,0.12);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 260px;
    width: 100%;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-card:hover .service-image img {
    transform: scale(1.12);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(27,58,122,0.88));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-detail-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-cyan);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(42,172,226,0.45);
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-content > p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    padding-left: 8px;
    color: var(--primary-cyan);
}

.service-list li i {
    color: var(--primary-cyan);
    font-size: 1rem;
    flex-shrink: 0;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border: 2px solid var(--primary-navy);
    border-radius: 50px;
    margin-top: auto;
}

.service-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    gap: 15px;
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(5px);
}


/* ===== SPECIALIZED SERVICES CARDS ===== */
.specialized-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.specialized-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(42,172,226,0.15);
}

.specialized-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-navy), #1a4faa);
    color: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.specialized-card:hover .specialized-icon {
    background: linear-gradient(135deg, var(--primary-cyan), #1b8fc4);
    transform: rotateY(360deg);
}

.specialized-card h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.specialized-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}


/* ===== SERVICE PROCESS CARDS ===== */
.process-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.process-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--border-color);
}

.process-card:last-child::after {
    display: none;
}

.process-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(42,172,226,0.12);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(42,172,226,0.1);
    color: var(--primary-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.process-card:hover .process-icon {
    background: var(--primary-cyan);
    transform: scale(1.1);
}

.process-card h4 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.process-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}


/* ===== WHY SERVICES SECTION ===== */
.why-services {
    position: relative;
}

.why-services img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.why-feature-item:hover {
    border-color: var(--primary-cyan);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(42,172,226,0.1);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-feature-item:hover .why-icon {
    background: var(--primary-cyan);
    transform: scale(1.1) rotate(5deg);
}

.why-content h5 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}


/* ===== RATE LIST SECTION ===== */
.rate-list-section {
    background: var(--light-bg);
}

.rate-card {
    background: var(--white);
    padding: 35px 40px;
    border-radius: 20px;
    height: 100%;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-cyan);
    transition: all 0.3s ease;
}

.rate-card:hover {
    border-top-color: var(--primary-gold);
    box-shadow: 0 12px 35px rgba(27,58,122,0.1);
    transform: translateY(-4px);
}

.rate-card h5 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.rate-card h5 i {
    color: var(--primary-cyan);
}

.rate-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rate-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;
}

.rate-list li:last-child {
    border-bottom: none;
}

.rate-list li span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.rate-list li strong {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}


/* ===== SERVICES FAQ ===== */
.services-faq .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
}

.services-faq .accordion-button {
    background: var(--white);
    color: var(--primary-navy);
    font-weight: 600;
    padding: 20px 25px;
    border: none;
}

.services-faq .accordion-button:not(.collapsed) {
    background: var(--primary-navy);
    color: var(--white);
    box-shadow: none;
}

.services-faq .accordion-button::after {
    filter: none;
}

.services-faq .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.services-faq .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.services-faq .accordion-body {
    padding: 20px 25px;
    line-height: 1.8;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
}


/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-navy), #1a4faa);
    color: var(--white);
}

.cta-wrapper {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
}

.cta-wrapper h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-wrapper p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
}

.btn-white-custom {
    background: var(--white);
    color: var(--primary-navy);
    padding: 14px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-white-custom:hover {
    background: var(--primary-cyan);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42,172,226,0.4);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    border: 2px solid var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-navy);
    transform: translateY(-2px);
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .page-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .service-image { height: 240px; }
    .why-services img { margin-bottom: 30px; }
    .process-card::after { display: none; }
    .why-features { margin-top: 30px; }
}

@media (max-width: 768px) {
    .page-header { padding: 100px 0 60px; }
    .page-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .services-intro { padding: 50px 0 30px; }
    .service-content { padding: 25px 20px; }
    .service-content h3 { font-size: 1.3rem; }
    .service-image { height: 220px; }
    .specialized-card, .process-card { padding: 30px 20px; }
    .rate-card { padding: 28px 25px; }
    .why-feature-item { padding: 15px; }
    .why-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .cta-wrapper { padding: 30px 20px; text-align: center; }
    .cta-wrapper h2 { font-size: 1.5rem; }

    .btn-white-custom,
    .btn-outline-white {
        width: 100%;
        margin-top: 10px;
        margin-left: 0 !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-header { padding: 80px 0 50px; }
    .page-title { font-size: 1.75rem; }
    .section-title { font-size: 1.6rem; }
    .section-description { font-size: 1rem; }
    .service-image { height: 200px; }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .specialized-icon { width: 70px; height: 70px; font-size: 2rem; }
    .process-icon { width: 70px; height: 70px; font-size: 1.8rem; }
    .process-number { width: 40px; height: 40px; font-size: 1.2rem; }
    .why-content h5 { font-size: 1.1rem; }

    .rate-card { padding: 22px 18px; }
    .rate-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .rate-list li strong { font-size: 1.1rem; }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ===== GRID ALIGNMENT FIX ===== */
.main-services .row,
.specialized-services .row,
.service-process .row,
.rate-list-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.main-services .row > [class*='col-'],
.specialized-services .row > [class*='col-'],
.service-process .row > [class*='col-'],
.rate-list-section .row > [class*='col-'] {
    padding-left: 15px;
    padding-right: 15px;
}

.row.g-4 {
    --bs-gutter-y: 1.5rem;
    --bs-gutter-x: 1.5rem;
}