/* ============================================
   Service Page Specific Styles
   IUI Treatment Page Styles
   ============================================ */

/* Service Hero Section */
.service-hero {
   background: rgba(178, 224, 209, 0.25);;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://via.placeholder.com/1920x1080/f7d7e5/ffffff?text=IUI+Treatment');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.service-hero p {
    font-size: 1.1rem;
    color: var(--color-text-soft);
    max-width: 800px;
    margin: 0 auto;
}

/* Service Page Layout */
.service-page-wrapper {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.service-main-content {
    flex: 1;
    min-width: 0;
}

/* Services Sidebar */
.services-sidebar {
    width: 320px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 90px;
    box-shadow: var(--shadow-md);
}

.services-sidebar h3 {
    color: #14315d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #14315d;
    padding-bottom: 0.75rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    margin-bottom: 0.75rem;
}

.services-list a {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.services-list a:hover,
.services-list a.active {
    background: rgba(178, 224, 209, 0.25);

    color: #14315d;
    border-color: #14315d;
    transform: translateX(5px);
}

/* Service Content Sections */
.service-content-section {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.service-content-section h2 {
    color: #14315d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-content-section h3 {
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-feature {
    background: var(--color-bg-soft);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.service-feature h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

/* Doctor Section */
.doctor-section {
    background: rgba(178, 224, 209, 0.25);

    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.doctor-image-wrapper {
    flex-shrink: 0;
}

.doctor-image-wrapper img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.doctor-details {
    flex: 1;
}

.doctor-details h3 {
    color: #14315d;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.doctor-details p {
    margin-bottom: 0.75rem;
    color: var(--color-text-soft);
}

.doctor-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.qualification-badge {
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: #14315d;
    font-weight: 500;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    position: relative;
}

.process-step-number {
    width: 50px;
    height: 50px;
   background: rgba(178, 224, 209, 0.25);

    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.process-step h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Tabs Styles */
.tabs-container {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tabs-header {
    display: flex;
    flex-wrap: nowrap;
   background: rgba(178, 224, 209, 0.25);

    border-bottom: 2px solid #14315d;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.tabs-header::-webkit-scrollbar {
    height: 6px;
    
    
}


.tabs-header::-webkit-scrollbar-track {
   background: rgba(178, 224, 209, 0.25);

}

.tabs-header::-webkit-scrollbar-thumb {
   background: rgba(178, 224, 209, 0.25);

    border-radius: 3px;
}

.tabs-header::-webkit-scrollbar-thumb:hover {
   background: rgba(178, 224, 209, 0.25);

}

.tab-button {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
   background: rgba(178, 224, 209, 0.25);

    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #14315d;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    display: block;
}

.tab-button:hover {
    background: var(--color-white);
    color: #14315d;
    text-decoration: none;
}

.tab-button.active {
    color: #14315d;
    background: var(--color-white);
    border-bottom-color: #14315d;
}

.tab-button:focus {
    outline: 2px solid #14315d;
    outline-offset: -2px;
}

/* Scroll padding for smooth scrolling - accounts for header + sticky tabs */
section[id] {
    scroll-margin-top: 150px;
}

/* Responsive Styles */
@media (max-width: 968px) {
    .service-page-wrapper {
        flex-direction: column;
    }
    
    .services-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
    
    .doctor-section {
        flex-direction: column;
        text-align: center;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .nav-list {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

