:root {
    --primary: #007060;
    --primary-light: #008f7a;
    --primary-dark: #004d42;
    --secondary: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

body {
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--secondary);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.outline-btn {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.outline-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.large-btn {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

#main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    max-height: 50px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/doctor_consulting_banner.png') no-repeat center center/cover;
    animation: kenBurns 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.qualifications {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--secondary);
    padding: 15px;
    border-radius: 10px;
    flex: 1;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    background: var(--white);
    border: 1px solid var(--primary-light);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
}

/* Doctor Profile Image */
.doctor-profile-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 112, 96, 0.15);
    overflow: hidden;
    border: 8px solid var(--white);
}

.doctor-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-profile-image-wrapper:hover .doctor-img {
    transform: scale(1.05);
}

/* Animated Medical Graphic */
.medical-animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: inset 0 0 50px rgba(0, 112, 96, 0.1);
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    animation: ripple 4s linear infinite;
    opacity: 0;
}

.ring-1 { width: 40%; height: 40%; animation-delay: 0s; }
.ring-2 { width: 40%; height: 40%; animation-delay: 1.3s; }
.ring-3 { width: 40%; height: 40%; animation-delay: 2.6s; }

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.medical-icon-center {
    position: relative;
    z-index: 2;
    background: var(--white);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 50px rgba(0, 112, 96, 0.5), 0 0 0 15px rgba(0, 112, 96, 0.1), inset 0 0 20px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
    overflow: hidden;
    border: 4px solid var(--white);
}

.profile-center-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.orbit-path {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    animation: counter-spin 20s linear infinite;
}

@keyframes counter-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.icon-a { top: -10px; left: 50%; margin-left: -30px; }
.icon-b { bottom: 15%; right: -15px; }
.icon-c { bottom: 15%; left: -15px; }

/* Services Section */
.section-header {
    margin-bottom: 50px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom: 3px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-dark);
}

.service-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

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

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Makes logo white if possible, otherwise it's fine */
}

.footer-about p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary);
}

.footer h3 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 5px;
}

.contact-list a {
    color: #cbd5e1;
}

.contact-list a:hover {
    color: var(--primary-light);
}

.location-item {
    margin-bottom: 20px;
}

.location-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.location-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Animations (Intersection Observer) */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: var(--shadow-md);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
    }
}

/* Detailed Sections - New UI */
.in-depth-info {
    background-color: var(--secondary);
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.acc-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acc-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 112, 96, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.accordion-header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.acc-arrow {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .acc-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.acc-body {
    padding: 0 25px 25px 95px;
}

.acc-body p {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.highlight-text {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c !important;
    padding: 12px 15px;
    border-left: 3px solid #ef4444;
    border-radius: 4px;
}

.info-block {
    margin-top: 20px;
}

.info-block h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.medical-reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.medical-reasons-grid li {
    display: flex;
    gap: 12px;
    background: var(--secondary);
    padding: 15px;
    border-radius: 8px;
}

.medical-reasons-grid li i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 4px;
}

.medical-reasons-grid li strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 3px;
}

.medical-reasons-grid li div {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .acc-body {
        padding: 0 20px 20px 20px;
    }
    
    .acc-title {
        gap: 15px;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
}

/* Info Wrapper / Floating Panel */
.info-wrapper {
    position: relative;
    margin-top: -80px; /* Pulls it up over the hero section */
    z-index: 10;
    padding-bottom: 40px;
}

.info-panel {
    display: flex;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.info-card {
    flex: 1;
    padding: 35px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.5);
}

.highlight-card {
    background: var(--primary-dark);
    color: var(--white);
}

.highlight-card:hover {
    background: var(--primary);
}

.highlight-card h4, .highlight-card p, .highlight-card .phone-number {
    color: var(--white);
}

.info-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.highlight-card .info-icon {
    color: var(--white);
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.info-content p {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 500;
}

.info-content .sub-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

.info-content .phone-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-content .text-link {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.info-content .text-link:hover {
    border-bottom-color: var(--white);
}

.info-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

@media (max-width: 992px) {
    .info-panel {
        flex-direction: column;
    }
    
    .info-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    }
}

/* Departments Section */
.departments-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.departments-text {
    flex: 1;
}

.departments-text h2 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.departments-text .subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.departments-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dept-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.dept-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.dept-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .departments-content {
        flex-direction: column;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .medical-animation-wrapper {
        max-width: 300px;
    }
    
    .hours-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .hours-item {
        flex-direction: column;
    }
}

/* Dropdown Menu Styles */
.nav-links li.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(0, 112, 96, 0.05);
    color: var(--primary);
    padding-left: 25px;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.02);
        display: none;
    }
    
    .nav-links li.dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Modern Sleek Accordion */
.modern-accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modern-accordion-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0, 112, 96, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modern-accordion-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.modern-accordion-item.active {
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 112, 96, 0.15);
}

.modern-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.modern-acc-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modern-acc-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 112, 96, 0.3);
}

.modern-accordion-header h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

.modern-acc-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}

.modern-accordion-item.active .modern-acc-arrow {
    transform: rotate(180deg);
}

.modern-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.modern-accordion-item.active .modern-accordion-content {
    max-height: 2000px;
    transition: max-height 0.6s ease-in-out;
}

.modern-acc-body {
    padding: 0 30px 30px 30px;
    color: var(--text-color);
}

.modern-acc-body h4 {
    color: var(--primary);
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 5px;
}

.modern-acc-body ul {
    list-style-type: none;
    padding: 0;
}

.modern-acc-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.modern-acc-body ul li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .modern-accordion-header {
        padding: 20px;
    }
    .modern-acc-title {
        gap: 15px;
    }
    .modern-acc-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .modern-accordion-header h3 {
        font-size: 1.1rem;
    }
    .modern-acc-body {
        padding: 0 20px 20px 20px;
    }
}

/* Service Detail Pages Layout */
.service-detail-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.service-detail-content {
    flex: 1;
}

.service-detail-image-wrapper {
    flex: 0 0 400px;
    position: sticky;
    top: 100px;
}

.service-detail-image-wrapper img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    border: 6px solid var(--white);
}

@media (max-width: 992px) {
    .service-detail-wrapper {
        flex-direction: column;
        flex-direction: column-reverse;
    }
    .service-detail-image-wrapper {
        flex: auto;
        width: 100%;
        position: static;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .service-detail-image-wrapper img {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
}

/* NHS Practices Section */
.nhs-practices-title { font-weight: 400; color: #555; margin-bottom: 30px; font-size: 2rem; }
.practices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.practice-card { background: var(--white); overflow: hidden; }
.practice-card img { width: 100%; height: 200px; object-fit: cover; display: block; margin-bottom: 15px; }
.practice-card p { font-size: 1rem; color: var(--text-main); line-height: 1.5; margin: 0; }
