/* ======================================================================
   HOMEPAGE.CSS — Loaded only on the homepage
   ====================================================================== */

/* ----------------------------------------------------------------------
   1. Hero Banner & Animations (Diagonal Split & Mobile Slider)
   ---------------------------------------------------------------------- */
.split-hero-container {
    position: relative;
    height: 660px;
    overflow: hidden;
    width: 100%;
    display: flex;
}

/* Hover Triggers (Desktop) */
.split-trigger {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 10;
    cursor: pointer;
}
.left-trigger {
    left: 0;
}
.right-trigger {
    right: 0;
}

@keyframes hero-sweep-entrance {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%);
    }
}

/* Split Sides */
.split-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.left-side {
    z-index: 2;
    clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%);
    color: var(--color-text-light);
    animation: hero-sweep-entrance 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.right-side {
    z-index: 1;
    color: var(--color-text);
}

/* Background Gradients */
.split-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.left-bg {
    background: radial-gradient(circle at 20% 30%, #0a4a4a 0%, #042828 100%);
}
.right-bg {
    background: radial-gradient(circle at 80% 30%, #FFFFFF 0%, #EAF5F5 100%);
}

/* Content Wrappers */
.split-content-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

.split-content {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

@keyframes left-content-slide-in {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes right-content-slide-in {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.left-content {
    max-width: 500px;
    margin-left: 20px;
    transform: translateX(0);
    animation: left-content-slide-in 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.right-content {
    max-width: 440px; /* Made narrower to avoid overlap with diagonal dividing line */
    margin-left: auto;
    margin-right: 80px; /* Shifted right on desktop/laptop screens to stay clear of the clip-path top border */
    transform: translateX(0);
    animation: right-content-slide-in 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Typography & Inner Elements */
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-ortho {
    background-color: rgba(229, 194, 124, 0.15);
    color: var(--color-accent-light);
    border: 1px solid rgba(229, 194, 124, 0.3);
}
.badge-pediatric {
    background-color: rgba(12, 90, 90, 0.08);
    color: var(--color-primary);
    border: 1px solid rgba(12, 90, 90, 0.15);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}
.hero-title.font-dark-bg {
    color: var(--color-text-light);
}
.hero-title.font-light-bg {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.hero-subtitle.font-dark-bg {
    color: var(--color-accent-light);
    opacity: 0.9;
}
.hero-subtitle.font-light-bg {
    color: var(--color-text-muted);
}

/* Stats grid on Hero */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.stats-dark .stat-num {
    color: var(--color-accent);
}
.stats-light .stat-num {
    color: var(--color-primary);
}
.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.stats-dark .stat-label {
    color: var(--color-text-light);
    opacity: 0.8;
}
.stats-light .stat-label {
    color: var(--color-text-muted);
}

/* Slider dots (hidden on desktop) */
.slider-dots {
    display: none;
}

/* ----------------------------------------------------------------------
   2. Intro Section Split Layout
   ---------------------------------------------------------------------- */
.intro-split-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
.intro-lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.6;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}
.intro-body-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}
.intro-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-item-rich {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}
.feature-item-rich:hover {
    transform: translateX(6px);
    background-color: white;
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(12, 90, 90, 0.05);
}
.feature-bullet-rich {
    font-size: 1.05rem;
    color: var(--color-accent-dark);
    background-color: rgba(229, 194, 124, 0.2);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 800;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 194, 124, 0.3);
}
.feature-item-rich:hover .feature-bullet-rich {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
    transform: scale(1.1);
}
.feature-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.feature-title-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}
.feature-item-rich:hover .feature-title-text {
    color: var(--color-primary-dark);
}
.feature-desc-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Clinic Image column styling */
.clinic-image-wrapper-outer {
    position: relative;
    padding-bottom: 25px;
    padding-right: 25px;
}
.clinic-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12, 90, 90, 0.08);
    aspect-ratio: 4/3;
    z-index: 2;
    background-color: var(--color-border);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.clinic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.clinic-image-wrapper-outer:hover .clinic-image-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(12, 90, 90, 0.12);
}
.clinic-image-wrapper-outer:hover .clinic-img {
    transform: scale(1.05);
}
.image-accent-border {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 92%;
    height: 92%;
    border: 2px dashed var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.clinic-image-wrapper-outer:hover .image-accent-border {
    transform: translate(6px, 6px);
    border-color: var(--color-primary-light);
}

/* ----------------------------------------------------------------------
   3. Pillars Section
   ---------------------------------------------------------------------- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.pillar-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.pillar-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(12, 90, 90, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}
.pillar-card:hover .pillar-icon {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}
.pillar-svg {
    transition: transform 0.3s;
}
.pillar-card:hover .pillar-svg {
    transform: scale(1.1);
}
.pillar-title {
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.pillar-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
.pillar-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.pillar-link:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

/* ----------------------------------------------------------------------
   4. Home Specialties section (Teal bg for Ortho, Pinkish bg for Paeds)
   ---------------------------------------------------------------------- */
.home-specialties-section {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.specialty-section-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}
.specialty-section-header .section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 10px;
}
.specialty-items-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}
.specialty-item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.specialty-item-row.row-reverse {
    direction: ltr;
}
/* Swap columns for reverse row on desktop */
@media (min-width: 993px) {
    .specialty-item-row.row-reverse .specialty-item-image-column {
        order: 2;
    }
    .specialty-item-row.row-reverse .specialty-item-content-column {
        order: 1;
    }
}
.specialty-image-wrapper-outer {
    position: relative;
    padding: 10px;
}
.specialty-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1.5;
    z-index: 2;
    box-shadow: var(--shadow-md);
    background-color: var(--color-border);
}
.specialty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.specialty-image-wrapper:hover .specialty-img {
    transform: scale(1.05);
}
.specialty-image-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    z-index: 1;
    transition: var(--transition-smooth);
}
.ortho-image-wrapper + .specialty-image-accent {
    border: 2px dashed rgba(12, 90, 90, 0.25);
    transform: translate(-10px, 10px);
}
.peds-image-wrapper + .specialty-image-accent {
    border: 2px dashed rgba(178, 83, 83, 0.25);
    transform: translate(10px, -10px);
}
.specialty-item-row:hover .specialty-image-accent {
    transform: translate(0, 0);
}

.specialty-item-content-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.specialty-icon-tag {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1;
}
.specialty-item-title {
    font-size: 1.65rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.specialty-item-title a {
    color: var(--color-primary);
}
.specialty-item-title a:hover {
    color: var(--color-primary-light);
}
.specialty-item-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}
.specialty-cta-btn {
    margin-top: 5px;
}

/* ----------------------------------------------------------------------
   5. Meet Your Specialists Profiles Styling
   ---------------------------------------------------------------------- */
.specialists-section {
    position: relative;
    background-color: var(--color-bg);
}
.specialist-bubbles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.glass-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.05;
}
.bubble-1 {
    top: 10%;
    left: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--color-primary);
}
.bubble-2 {
    bottom: 15%;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--color-accent);
}
.bubble-3 {
    top: 50%;
    left: 45%;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary-light);
}

.specialists-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.specialists-header .section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.specialists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.specialist-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}
.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.ortho-specialist:hover {
    border-color: var(--color-accent);
}
.peds-specialist:hover {
    border-color: var(--color-primary-light);
}

.specialist-header-info {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}
.specialist-header-info .specialist-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 0 0 6px 0;
}
.specialist-header-info .specialist-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.4;
    display: block;
}

.specialist-portrait-outer {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px auto;
    border: 4px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    aspect-ratio: 1;
}
.ortho-specialist .specialist-portrait-outer {
    border-color: rgba(12, 90, 90, 0.1);
}
.peds-specialist .specialist-portrait-outer {
    border-color: rgba(178, 83, 83, 0.1);
}
.ortho-specialist:hover .specialist-portrait-outer {
    border-color: var(--color-accent);
    transform: scale(1.05);
}
.peds-specialist:hover .specialist-portrait-outer {
    border-color: var(--color-primary-light);
    transform: scale(1.05);
}

.specialist-portrait-wrapper {
    width: 100%;
    height: 100%;
}
.specialist-portrait-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: var(--transition-smooth);
}
.specialist-card:hover .specialist-portrait-wrapper img {
    transform: scale(1.04);
}

.specialist-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.specialist-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}
.specialist-credentials .credential-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background-color: rgba(12, 90, 90, 0.05);
    color: var(--color-primary-dark);
    border: 1px solid rgba(12, 90, 90, 0.1);
}
.specialist-credentials .credential-badge.gold-medal {
    background-color: rgba(229, 194, 124, 0.18);
    color: var(--color-accent-dark);
    border-color: rgba(229, 194, 124, 0.3);
}

.specialist-bio {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 440px;
}
.specialist-highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto 25px auto;
    padding-left: 0;
    max-width: 320px;
    text-align: left;
}
.specialist-highlights-list li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--color-text);
    align-items: flex-start;
    line-height: 1.4;
}
.specialist-highlights-list .highlight-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.specialist-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

/* ----------------------------------------------------------------------
   6. Testimonials Slider Component Styling
   ---------------------------------------------------------------------- */
.testimonials-section {
    position: relative;
    overflow: hidden;
}
.testimonials-glow-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.glow-dot {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.04;
}
.dot-left {
    top: 20%;
    left: -100px;
    background-color: var(--color-accent);
}
.dot-right {
    bottom: 20%;
    right: -100px;
    background-color: var(--color-primary);
}

.testimonials-header {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}
.testimonials-header .section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.testimonials-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.tst-filter-btn {
    padding: 8px 22px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition-smooth);
}
.tst-filter-btn:hover,
.tst-filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.testimonials-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}
.tst-slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    z-index: 10;
    flex-shrink: 0;
    user-select: none;
}
.tst-slider-arrow:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}
.testimonials-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.testimonial-card-inner {
    padding: 40px;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial-quote-icon {
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(229, 194, 124, 0.12);
    line-height: 1;
    user-select: none;
}
.testimonial-rating {
    color: var(--color-accent-dark);
    font-size: 1.15rem;
    margin-bottom: 15px;
}
.testimonial-feedback {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 25px;
}
.testimonial-patient-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.patient-meta-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.patient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-border);
    background-color: var(--color-bg);
}
.patient-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.patient-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}
.patient-avatar-placeholder svg {
    width: 22px;
    height: 22px;
}
.patient-details {
    display: flex;
    flex-direction: column;
}
.patient-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.patient-condition {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.doctor-badge {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.doctor-badge.badge-ortho {
    background-color: rgba(12, 90, 90, 0.08);
    color: var(--color-primary);
}
.doctor-badge.badge-peds {
    background-color: rgba(178, 83, 83, 0.08);
    color: var(--color-danger);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}
.testimonials-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.testimonials-dots .dot.active {
    background-color: var(--color-primary);
    opacity: 1;
    width: 20px;
    border-radius: var(--radius-full);
}

/* ----------------------------------------------------------------------
   7. Quick Booking Grid & Map Styling
   ---------------------------------------------------------------------- */
.home-booking-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 45px;
    margin-top: 40px;
    align-items: stretch;
}
.home-booking-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
}
.home-booking-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.booking-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.booking-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.booking-feature .feature-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 2px;
}
.booking-feature h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.booking-feature p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.home-booking-map {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-grow: 1;
}
.home-booking-map:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.home-booking-map iframe {
    width: 100%;
    height: 100% !important;
    border: 0;
    display: block;
    filter: grayscale(10%) contrast(100%);
    transition: var(--transition-smooth);
}
.home-booking-map:hover iframe {
    filter: none;
}

.home-booking-form-wrapper {
    position: relative;
}
.form-card-bubble {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 194, 124, 0.08) 0%, rgba(229, 194, 124, 0) 70%);
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}
.home-booking-form-wrapper .form-wrapper-card {
    position: relative;
    z-index: 2;
    background-color: var(--color-bg);
}
.home-booking-form-wrapper .input-wrapper input,
.home-booking-form-wrapper .input-wrapper select,
.home-booking-form-wrapper .input-wrapper textarea {
    background-color: var(--color-bg-alt);
}

/* ----------------------------------------------------------------------
   8. Homepage Health Insights / Blog Cards
   ---------------------------------------------------------------------- */
.blog-section {
    border-top: 1px solid var(--color-border);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.blog-card.doc-ortho:hover {
    border-color: var(--color-accent);
}
.blog-card.doc-peds:hover {
    border-color: var(--color-primary-light);
}

.blog-card-image-wrapper {
    position: relative;
    aspect-ratio: 1.6;
    overflow: hidden;
    background-color: var(--color-border);
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}
.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    pointer-events: none;
}
.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}
.blog-card-category.cat-blog {
    background-color: var(--color-primary);
}
.blog-card-category.cat-case-study {
    background-color: var(--color-accent-dark);
}
.blog-card-category.cat-news {
    background-color: var(--color-info);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card-meta {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
}
.blog-card-title a {
    color: var(--color-primary-dark);
}
.blog-card-title a:hover {
    color: var(--color-primary-light);
}
.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    margin-top: auto;
}
.blog-card-date {
    font-size: 15px;
    color: var(--color-text-muted);
}
.blog-card-link {
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.blog-card.doc-ortho .blog-card-link {
    color: var(--color-accent-dark);
}
.blog-card.doc-ortho .blog-card-link:hover {
    color: var(--color-accent);
}
.blog-card.doc-peds .blog-card-link {
    color: var(--color-primary);
}
.blog-card.doc-peds .blog-card-link:hover {
    color: var(--color-primary-light);
}

/* ----------------------------------------------------------------------
   9. Image Shimmer/Skeleton Placeholders
   ---------------------------------------------------------------------- */
@keyframes skeleton-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}
.img-skeleton {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: 3;
    background: linear-gradient(
        90deg,
        #EDE4D9 0%,
        #F7F1E8 40%,
        #EDE4D9 100%
    );
    background-size: 600px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-skeleton::after {
    content: '🩺';
    font-size: 2.5rem;
    opacity: 0.35;
}
.ortho-skeleton {
    background: linear-gradient(
        90deg,
        #EDE0D0 0%,
        #F7EDD8 40%,
        #EDE0D0 100%
    );
    background-size: 600px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
}
.ortho-skeleton::after {
    content: '🦴';
}
.peds-skeleton {
    background: linear-gradient(
        90deg,
        #EDD8D8 0%,
        #F7EAEA 40%,
        #EDD8D8 100%
    );
    background-size: 600px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
}
.peds-skeleton::after {
    content: '🧠';
}
.specialty-image-wrapper,
.clinic-image-wrapper {
    position: relative;
}
.specialty-img,
.clinic-img {
    position: relative;
    z-index: 2;
    display: block;
}

/* ----------------------------------------------------------------------
   10. Responsive / Mobile Adjustments for Homepage
   ---------------------------------------------------------------------- */
@media (max-width: 992px) {
    .intro-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .clinic-image-wrapper-outer {
        padding-right: 0;
        padding-bottom: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    .image-accent-border {
        display: none;
    }
    .specialty-item-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .specialty-image-wrapper-outer {
        max-width: 500px;
        margin: 0 auto;
        padding: 0;
    }
    .specialty-image-accent {
        display: none;
    }
    .specialists-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .specialist-card {
        padding: 30px 20px;
    }
    .specialist-portrait-outer {
        margin: 0 auto 20px auto;
    }
    .home-booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-booking-map {
        flex-grow: 0;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .split-hero-container {
        height: 650px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .split-hero-container::-webkit-scrollbar {
        display: none;
    }
    .split-side {
        position: relative;
        min-width: 100%;
        width: 100%;
        height: 100%;
        scroll-snap-align: start;
        flex-shrink: 0;
        transition: none;
    }
    .left-side {
        clip-path: none !important;
        animation: none !important;
        z-index: 1;
    }
    .right-side {
        z-index: 1;
    }
    .left-content, .right-content {
        margin: 0 auto !important;
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: none !important;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .hero-stats {
        justify-content: center;
        gap: 15px;
    }
    .stat-num {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 14px;
    }
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 20;
    }
    .slider-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: var(--transition-smooth);
    }
    .split-hero-container.hover-right .slider-dots .dot {
        background-color: rgba(0, 0, 0, 0.2);
    }
    .slider-dots .dot.active {
        background-color: var(--color-accent) !important;
        width: 18px;
        border-radius: var(--radius-full);
        opacity: 1;
    }
    .split-hero-container.hover-right .slider-dots .dot.active {
        background-color: var(--color-primary) !important;
    }
    .testimonials-slider-container {
        gap: 10px;
    }
    .tst-slider-arrow {
        display: none;
    }
    .testimonial-card-inner {
        padding: 25px;
    }
}
