/* WHITE FILLING PAGE STYLES - Matching Denture Page */

/* Body padding for fixed header */
body {
    margin: 0;
    padding: 0;
    padding-top: 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #f8faf9;
    color: #333;
    line-height: 1.6;
}

/* Ensure header stays fixed */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Active link styling */
.nav-link.active,
.dropdown-link.active,
.mobile-dropdown-link.active {
    color: #2A5934 !important;
    font-weight: 700 !important;
}

.dropdown-link.active {
    background: rgba(42, 89, 52, 0.05) !important;
}

/* Common Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #111;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: #2A5934;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2A5934, #4CAF50);
    border-radius: 2px;
}

/* ====== HERO SECTION ====== */
.whitefilling-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.whitefilling-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.whitefilling-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.whitefilling-hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.treatment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 144, 226, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #2A5934;
}

.treatment-badge i {
    font-size: 1.2rem;
    color: #4a90e2;
}

.whitefilling-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 1rem;
}

.whitefilling-subtitle {
    font-size: 1.3rem;
    color: #2A5934;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.whitefilling-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #2A5934, #4CAF50);
    color: white;
    box-shadow: 0 8px 20px rgba(42, 89, 52, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(42, 89, 52, 0.4);
}

.btn-secondary {
    background: white;
    color: #2A5934;
    border: 2px solid #2A5934;
}

.btn-secondary:hover {
    background: #2A5934;
    color: white;
    transform: translateY(-3px);
}

.whitefilling-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #e8f0fe, #d0e1ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

.whitefilling-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.whitefilling-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2A5934;
    font-weight: 600;
    font-size: 0.9rem;
}

.overlay-content i {
    color: #4a90e2;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.success-badge {
    top: -20px;
    right: -20px;
    border-left: 4px solid #2A5934;
}

.experience-badge {
    bottom: -20px;
    left: -20px;
    border-left: 4px solid #4a90e2;
}

.badge-icon {
    font-size: 2rem;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2A5934;
}

.badge-text {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

/* Stats Bar */
.stats-bar {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.stat-item:hover {
    background: rgba(74, 144, 226, 0.05);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2rem;
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

/* ====== TYPES SECTION ====== */
.types-section {
    padding: 5rem 0;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type-card {
    background: #f8faf9;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: #4a90e2;
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

.type-card.featured {
    border: 2px solid #2A5934;
    position: relative;
    background: linear-gradient(135deg, #f8faf9, #f0f7f2);
}

.type-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2A5934;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(42, 89, 52, 0.3);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.type-icon i {
    font-size: 2.5rem;
    color: #4a90e2;
}

.type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}

.type-card > p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
}

.type-features i {
    color: #2A5934;
    font-size: 0.9rem;
}

.type-indicator {
    padding: 1rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.type-indicator span {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.type-indicator strong {
    color: #2A5934;
    font-size: 1rem;
}

/* ====== PROCESS SECTION ====== */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f5e9 100%);
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #4a90e2, #2A5934);
    z-index: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    animation: slideInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #2A5934);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.step-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

.step-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 144, 226, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #4a90e2;
    font-weight: 600;
    flex-shrink: 0;
    align-self: center;
}

/* ====== BENEFITS SECTION ====== */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #f8faf9;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
    background: white;
    border-color: #4a90e2;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4a90e2, #2A5934);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ====== CARE SECTION ====== */
.care-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8faf9 0%, #f0f7f2 100%);
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.care-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(42, 89, 52, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.care-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 89, 52, 0.1);
    border-color: #2A5934;
}

.care-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(42, 89, 52, 0.1), rgba(42, 89, 52, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.care-card:hover .care-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2A5934, #4CAF50);
}

.care-icon i {
    font-size: 2.5rem;
    color: #2A5934;
    transition: all 0.3s ease;
}

.care-card:hover .care-icon i {
    color: white;
}

.care-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.care-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2A5934 0%, #3a7a4a 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-btn {
    background: white;
    color: #2A5934;
}

.phone-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.appointment-btn {
    background: transparent;
    color: white;
    border-color: white;
}

.appointment-btn:hover {
    background: white;
    color: #2A5934;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature i {
    color: #4CAF50;
}

/* ====== ANIMATIONS ====== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ====== RESPONSIVE DESIGN ====== */

/* Tablet View */
@media (max-width: 992px) {
    .whitefilling-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .whitefilling-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        gap: 1.5rem;
    }
    
    .floating-badge {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        margin: 1rem auto !important;
        display: inline-flex !important;
        max-width: 250px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .whitefilling-hero {
        padding: 3rem 0 2rem;
    }
    
    .whitefilling-title {
        font-size: 2rem;
    }
    
    .whitefilling-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-content {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .types-grid,
    .benefits-grid,
    .care-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-badge {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        margin: 1rem auto !important;
        animation: none !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .whitefilling-hero-container {
        padding: 0 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .type-card,
    .benefit-card,
    .care-card {
        padding: 1.5rem;
    }
}

/* CRITICAL FIXES FOR WHITE FILLING PAGE */

/* FIX 1: Body overflow and positioning */
body {
    overflow-x: hidden !important;
    min-height: 100vh !important;
    position: relative !important;
    display: block !important;
}

/* FIX 2: Header z-index fix */
.site-header {
    z-index: 999 !important;
}

/* FIX 3: Remove any conflicting position/transform */
.whitefilling-hero,
.types-section,
.process-section,
.benefits-section,
.care-section,
.cta-section {
    position: static !important;
    transform: none !important;
}

/* FIX 4: Container width fix */
.container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
}

/* FIX 5: Ensure sections are visible */
section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* FIX 6: Stats bar positioning */
.stats-bar {
    position: relative !important;
    z-index: 1 !important;
    margin: 2rem auto !important;
}

/* FIX 7: Prevent horizontal scroll */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* FIX 8: Fix for any layout issues */
.whitefilling-hero-container,
.types-grid,
.process-timeline,
.benefits-grid,
.care-grid,
.cta-content {
    transform: none !important;
    width: 100% !important;
}

/* FIX 9: Image container size */
.image-container {
    width: 280px !important;
    height: 280px !important;
    max-width: 100% !important;
}

/* FIX 10: Remove conflicting animations on mobile */
@media (max-width: 768px) {
    .whitefilling-hero-content,
    .whitefilling-hero-image {
        animation: none !important;
    }
    
    .process-step {
        animation: none !important;
    }
}


/* ====== SPECIFIC FIXES FOR WHITE FILLING PAGE ====== */

/* FIX 1: Ensure page displays at 100% */
body {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

/* FIX 2: Fix floating badges specifically */
.floating-badge {
    position: relative !important;
    margin: 15px !important;
    display: inline-flex !important;
    width: auto !important;
    min-width: 200px !important;
}

.success-badge,
.experience-badge {
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 10px !important;
}

/* FIX 3: Make sure all text fits */
.whitefilling-title,
.whitefilling-subtitle {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
}

/* FIX 4: Fix hero layout */
.whitefilling-hero-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}

.whitefilling-hero-content {
    flex: 1 1 500px !important;
    max-width: 100% !important;
}

.whitefilling-hero-image {
    flex: 1 1 400px !important;
    max-width: 100% !important;
    text-align: center !important;
}

/* FIX 5: Fix image sizing */
.image-container {
    width: 300px !important;
    height: 300px !important;
    max-width: 90% !important;
    margin: 0 auto !important;
}

/* FIX 6: Fix stats text */
.stat-label {
    white-space: normal !important;
    word-wrap: break-word !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
}

/* FIX 7: Ensure content doesn't hide */
section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* FIX 8: Mobile-specific fixes */
@media (max-width: 768px) {
    .whitefilling-hero-container {
        flex-direction: column !important;
    }
    
    .whitefilling-hero-content,
    .whitefilling-hero-image {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .floating-badge {
        margin: 10px auto !important;
        width: 90% !important;
        max-width: 300px !important;
    }
}

/* FIX 9: Fix for 25% zoom issue */
@media screen and (max-width: 4000px) {
    .container {
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .whitefilling-hero {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 40px 10px !important;
        box-sizing: border-box !important;
    }
}

/* FIX 10: Button overflow fix */
.hero-actions {
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.btn-primary, .btn-secondary {
    flex: 1 1 auto !important;
    min-width: 200px !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
}

/* FIX 11: Ensure all text is readable */
.badge-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 50px !important;
}

.badge-number {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
}

.badge-text {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    padding-top: 3px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* FIX 12: Final overflow prevention */
* {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    hyphens: auto !important;
}


/* === COLOR CHANGE - BLUE TO GREEN === */

/* Hero section */
.whitefilling-hero::before {
    background: radial-gradient(circle at 80% 50%, rgba(42, 89, 52, 0.05) 0%, transparent 70%) !important;
}

/* Treatment badge */
.treatment-badge {
    background: rgba(42, 89, 52, 0.1) !important;
}

.treatment-badge i {
    color: #2A5934 !important;
}

/* Image container */
.image-container {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9) !important;
}

/* Overlay */
.image-overlay {
    border: 1px solid rgba(42, 89, 52, 0.2) !important;
}

.overlay-content i {
    color: #2A5934 !important;
}

/* Floating badges */
.floating-badge {
    border-left: 4px solid #2A5934 !important;
}

/* Stats icons */
.stat-item i {
    color: #2A5934 !important;
    background: rgba(42, 89, 52, 0.1) !important;
}

/* Type cards */
.type-card:hover {
    border-color: #2A5934 !important;
    box-shadow: 0 20px 40px rgba(42, 89, 52, 0.15) !important;
}

.type-icon {
    background: linear-gradient(135deg, rgba(42, 89, 52, 0.1), rgba(42, 89, 52, 0.05)) !important;
}

.type-icon i {
    color: #2A5934 !important;
}

/* Process section */
.process-timeline::before {
    background: linear-gradient(to bottom, #2A5934, #4CAF50) !important;
}

.step-number {
    background: linear-gradient(135deg, #2A5934, #4CAF50) !important;
}

.step-duration {
    background: rgba(42, 89, 52, 0.1) !important;
    color: #2A5934 !important;
}

/* Benefits section */
.benefit-card:hover .benefit-icon {
    background: linear-gradient(135deg, #2A5934, #4CAF50) !important;
}

.benefit-icon i {
    color: #2A5934 !important;
}

/* All hover effects */
.stat-item:hover {
    background: rgba(42, 89, 52, 0.05) !important;
}


/* ====== UNIVERSAL RESPONSIVE LAYER ====== */

/* 1. Fluid Layout Foundations */
.container {
    width: 90% !important;
    max-width: 1200px !important;
    padding: 0 15px !important;
    margin: 0 auto !important;
}

/* 2. Hero Section Reflow */
.whitefilling-hero-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: center !important;
    text-align: left !important;
}

.whitefilling-hero-content, 
.whitefilling-hero-image {
    flex: 1 1 450px !important; /* Allows shrinking and growing */
    min-width: 300px !important;
    max-width: 100% !important;
}

/* 3. Image & Badge Scaling */
.image-container {
    width: clamp(250px, 40vw, 350px) !important;
    height: clamp(250px, 40vw, 350px) !important;
    margin: 0 auto !important;
}

.floating-badge {
    position: absolute !important; /* Keep your design intent */
    z-index: 10;
}

/* 4. Adaptive Stats Bar */
.stats-bar {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    width: 100% !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
}

/* 5. Process Timeline (The hardest part to keep responsive) */
@media (max-width: 850px) {
    .process-timeline::before {
        left: 20px !important;
    }
    
    .process-step {
        gap: 1rem !important;
    }
    
    .step-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.2rem !important;
    }
}

/* 6. Tablet & Large Mobile (Vertical Stacking) */
@media (max-width: 768px) {
    .whitefilling-hero-container {
        text-align: center !important;
        flex-direction: column !important;
    }

    .whitefilling-description {
        margin: 0 auto 2rem !important;
    }

    .hero-actions {
        justify-content: center !important;
    }

    /* Prevent badges from overlapping text on mobile */
    .floating-badge {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        margin: 10px auto !important;
        display: flex !important;
    }
    
    .process-timeline::before {
        display: none !important; /* Clean vertical look for mobile */
    }
}

/* 7. Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .whitefilling-title {
        font-size: 1.8rem !important;
    }
    
    .btn-primary, .btn-secondary {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .stat-item {
        flex-direction: column !important;
        text-align: center !important;
    }

    .stat-item i {
        margin: 0 auto !important;
    }
    
    .step-content {
        padding: 1rem !important;
    }
}

/* 8. Ultra-Wide Fix (2560px+) */
@media (min-width: 1800px) {
    .whitefilling-hero {
        padding: 6rem 0 !important;
    }
}

/* 9. Global Force-Fix for Horizontal Scroll */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

* {
    box-sizing: border-box !important;
}

/* ====== IMPROVED HERO IMAGE SECTION ====== */

.whitefilling-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.image-container {
    position: relative;
    /* Fluid size: Min 280px, Max 400px based on screen width */
    width: clamp(280px, 35vw, 420px);
    height: clamp(280px, 35vw, 420px);
    z-index: 5;
}

/* The circular frame */
.whitefilling-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden; /* Clips the image to a circle */
    border: 8px solid white;
    box-shadow: 0 15px 35px rgba(42, 89, 52, 0.2);
    background: #e8f5e9; /* Fallback if image fails */
}

.whitefilling-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes sure the image fills the circle properly */
    display: block;
}

/* Glassmorphism Overlay on image */
.image-overlay {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    white-space: nowrap;
    border: 1px solid rgba(42, 89, 52, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2A5934;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Floating Badges Refined */
.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
    min-width: 160px;
}

.success-badge {
    top: 5%;
    right: -10%;
    border-left: 5px solid #2A5934;
}

.experience-badge {
    bottom: 10%;
    left: -15%;
    border-left: 5px solid #4CAF50;
    animation-delay: 1.5s; /* Different timing for "mass" look */
}

.badge-icon { font-size: 1.8rem; }
.badge-number { font-size: 1.2rem; font-weight: 800; color: #2A5934; display: block; }
.badge-text { font-size: 0.75rem; color: #666; font-weight: 500; }

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ====== MOBILE RESPONSIVENESS FIX ====== */

@media (max-width: 992px) {
    .experience-badge { left: -5%; }
    .success-badge { right: -5%; }
}

@media (max-width: 768px) {
    .whitefilling-hero-image {
        padding: 60px 20px; /* Space for badges to float */
    }
    
    .image-container {
        width: 300px;
        height: 300px;
    }

    .floating-badge {
        min-width: 140px;
        padding: 8px 12px;
    }
    
    .success-badge { right: -20px; top: 0; }
    .experience-badge { left: -20px; bottom: 0; }
}

@media (max-width: 480px) {
    .image-container {
        width: 240px;
        height: 240px;
    }
    
    .floating-badge {
        position: relative !important; /* Stack them on very small phones */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 15px auto !important;
        animation: none;
        width: 80%;
    }
    
    .whitefilling-hero-image {
        flex-direction: column;
    }
}

/* ====== HERO SECTION CORE ====== */
.whitefilling-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7f2 100%);
    padding: 60px 0;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Crucial for responsiveness */
}

.whitefilling-hero-content {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
}

/* Typography Fluidity */
.whitefilling-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.whitefilling-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #2A5934;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ====== IMAGE & FLOATING BADGES ====== */
.whitefilling-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    position: relative;
    padding: 40px 0;
}

.image-container {
    position: relative;
    width: clamp(280px, 80%, 420px);
    aspect-ratio: 1 / 1;
}

.whitefilling-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.whitefilling-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges Stacking Logic */
.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 10;
}

.success-badge {
    top: 5%;
    right: -5%;
    border-left: 5px solid #2A5934;
}

.experience-badge {
    bottom: 10%;
    left: -10%;
    border-left: 5px solid #4CAF50;
}

/* ====== STATS BAR REWRITE ====== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(42, 89, 52, 0.08);
    margin-top: 50px;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.stat-item i {
    font-size: 1.8rem;
    color: #2A5934;
    background: #f0f7f2;
    padding: 15px;
    border-radius: 50%;
}

/* ====== RESPONSIVE BREAKPOINTS (MASS LOOK) ====== */

/* Tablet / Small Desktop */
@media (max-width: 1024px) {
    .hero-wrapper {
        justify-content: center;
        text-align: center;
    }
    
    .whitefilling-hero-content {
        order: 1;
        max-width: 100%;
    }
    
    .whitefilling-hero-image {
        order: 2;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .whitefilling-hero {
        padding: 40px 0;
    }

    .image-container {
        width: 280px;
    }

    .success-badge {
        right: 0;
    }

    .experience-badge {
        left: 0;
    }

    .stats-bar {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .stat-item {
        justify-content: flex-start;
    }
}

/* Ultra Small Screens */
@media (max-width: 480px) {
    .floating-badge {
        padding: 8px 12px;
        min-width: 140px;
    }
    
    .badge-number { font-size: 1rem; }
    .badge-text { font-size: 0.7rem; }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        margin: 5px 0;
    }
}

/* 1. The Outer Wrapper - Controls the section flow */
.whitefilling-hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    /* This ensures it never gets too tall on desktop */
    max-height: 500px; 
}

/* 2. The Scaling Container - This is the magic part */
.image-container {
    position: relative;
    /* Scale based on screen width, but stop at 420px */
    width: 100%;
    max-width: 420px; 
    /* Maintain a perfect circle ratio */
    aspect-ratio: 1 / 1; 
    margin: 0 auto;
}

/* 3. The Image Circle */
.whitefilling-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 20px 40px rgba(42, 89, 52, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #e8f5e9; /* Shows while loading */
}

.whitefilling-image {
    width: 100%;
    height: 100%;
    /* This makes sure the person's face/teeth in the URL fits perfectly */
    object-fit: cover; 
    object-position: center;
    display: block;
}

/* 4. Responsive Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: clamp(8px, 1.5vw, 15px); /* Fluid padding */
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
    /* Makes badges scale slightly with screen size */
    transform: scale(clamp(0.8, 1vw, 1)); 
}

.success-badge {
    top: 5%;
    right: -5%;
    border-left: 4px solid #2A5934;
}

.experience-badge {
    bottom: 5%;
    left: -5%;
    border-left: 4px solid #4CAF50;
}

/* 5. Mobile Fixes for the Image URL Part */
@media (max-width: 768px) {
    .image-container {
        /* On mobile, make the image a bit smaller to give badges room */
        max-width: 300px;
    }
    
    .success-badge {
        right: -10px;
        top: 0;
    }
    
    .experience-badge {
        left: -10px;
        bottom: 0;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 250px;
    }
    
    /* On tiny screens, move badges slightly inward so they don't touch screen edge */
    .success-badge { right: 5px; }
    .experience-badge { left: 5px; }
    
    .badge-icon { font-size: 1.2rem; }
}

/* RESET ANY FIXED WIDTHS */
.whitefilling-hero-image, 
.hero-image-flex-container, 
.image-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* THE FLEX WRAPPER */
.whitefilling-hero-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    width: 100% !important;
}

/* THE SCALING CIRCLE */
.image-container {
    position: relative !important;
    /* This forces the circle to be 80% of the screen width on mobile, 
       but never bigger than 400px on desktop */
    width: min(80vw, 400px) !important; 
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
}

.whitefilling-image-wrapper {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    border: 6px solid white !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
}

.whitefilling-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* CRITICAL: Prevents stretching */
    display: block !important;
}

/* THE BADGES - Now using % for positioning so they move with the circle */
.floating-badge {
    position: absolute !important;
    background: white !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
    z-index: 5 !important;
    white-space: nowrap !important;
}

/* Success Badge (Top Right) */
.success-badge {
    top: 5% !important;
    right: -10% !important;
    border-left: 4px solid #2A5934 !important;
}

/* Experience Badge (Bottom Left) */
.experience-badge {
    bottom: 5% !important;
    left: -10% !important;
    border-left: 4px solid #4CAF50 !important;
}

/* Tablet & Mobile Adjustments */
@media (max-width: 768px) {
    .image-container {
        width: 280px !important; /* Fixed size for mobile to prevent overlap */
    }
    
    .floating-badge {
        transform: scale(0.9) !important; /* Shrink badges on mobile */
    }
    
    .success-badge { right: -5% !important; }
    .experience-badge { left: -5% !important; }
}

@media (max-width: 480px) {
    .image-container {
        width: 220px !important; /* Smaller for tiny phones */
    }
    
    .floating-badge {
        transform: scale(0.8) !important;
        padding: 6px 10px !important;
    }
    
    .badge-number { font-size: 1rem !important; }
    .badge-text { font-size: 0.7rem !important; }
}

.trust-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .trust-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .trust-cards-container {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
}