/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}
/* Procedures Page Specific Styles */
:root {
    --procedures-primary: #0d9488;
    --procedures-secondary: #14b8a6;
    --procedures-dark: #0f766e;
    --procedures-light: #ccfbf1;
    --gradient-procedures: linear-gradient(135deg, var(--procedures-primary), var(--procedures-secondary));
    --gradient-procedures-light: linear-gradient(135deg, var(--procedures-secondary), var(--procedures-light));
    --primary: #0d9488;
    --gradient-teal: linear-gradient(135deg, #0d9488, #14b8a6);
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 0.75rem;
    --border-radius-lg: 1rem;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.min-vh-80 {
    min-height: 80vh;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #62ffa9 0%, #2fcebb 100%) !important;
}

.btn-gradient-teal {
    background: linear-gradient(135deg, #62ffa9 0%, #2fcebb 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gradient-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
    color: white;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

/* ===== Fixed Top Bar & Navbar ===== */
.top-bar,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050; /* higher than carousel, buttons, etc. */
}

.top-bar {
  background: white;
  box-shadow: var(--shadow-sm);
}

.navbar {
  top: 40px; /* height of top bar */
  background: white;
  box-shadow: var(--shadow-md);
}

/* Add body padding to avoid content overlap */
body {
  padding-top: 120px; /* adjust if your navbar+topbar height differs */
}


.navbar.scrolled {
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Logo Styles */
.navbar-logo {
    height: 50px; /* Adjust based on your logo's aspect ratio */
    width: auto;
    margin-right: 15px;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
}

/* If you want to keep the logo in the footer as well */
.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.brand-name {
    font-size: 1.3rem;
    line-height: 1.2;
    transition: var(--transition);
}

.navbar.scrolled .brand-name {
    font-size: 1.1rem;
}

.brand-tagline {
    font-size: 0.75rem;
    line-height: 1;
    transition: var(--transition);
}

.navbar.scrolled .brand-tagline {
    font-size: 0.65rem;
}

.nav-link-modern {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    transition: var(--transition);
    color: #333 !important;
    position: relative;
    overflow: hidden;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    width: 80%;
}

.nav-link-modern:hover, .nav-link-modern.active {
    color: #0d9488 !important;
    transform: translateY(-2px);
}

.dropdown-menu-modern {
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    opacity: 0.1;
    transition: var(--transition);
}

.dropdown-item:hover::before,
.dropdown-item.active::before {
    left: 0;
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    transform: translateX(5px);
}

.btn-hover-lift {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-hover-lift::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-hover-lift:hover::before {
    left: 100%;
}

.btn-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Procedures Hero Section */
.procedures-hero {
    background: var(--gradient-procedures);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.procedures-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><path fill="white" d="M500,250c138.07,0,250,111.93,250,250S638.07,750,500,750S250,638.07,250,500S361.93,250,500,250z M500,200 c-165.69,0-300,134.31-300,300s134.31,300,300,300s300-134.31,300-300S665.69,200,500,200L500,200z"/></svg>');
    background-size: 200px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.treatment-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    display: block;
}

/* FIXED BUTTON STYLES */
.hero-actions {
    margin-top: 30px;
}

.hero-actions .btn {
    margin-right: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer !important;
}

/* View Specialties Button */
.hero-actions .btn-light {
    background: white !important;
    color: var(--procedures-primary) !important;
    border: 2px solid white !important;
}

.hero-actions .btn-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-procedures);
    transition: all 0.5s ease;
    z-index: -1;
}

.hero-actions .btn-light:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    border-color: transparent !important;
}

.hero-actions .btn-light:hover::before {
    left: 0 !important;
}

/* Free Consultation Button */
.hero-actions .btn-outline-light {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}

.hero-actions .btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: all 0.5s ease;
    z-index: -1;
}

.hero-actions .btn-outline-light:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    color: var(--procedures-primary) !important;
    border-color: white !important;
}

.hero-actions .btn-outline-light:hover::before {
    left: 0 !important;
}

/* FIXED HERO IMAGE HOVER */
.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    cursor: pointer;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hero-image:hover img {
    transform: scale(1.1) !important;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--procedures-primary);
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 5%;
}

/* Fix for text visibility */
.procedures-hero .display-3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.procedures-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-procedures-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h5 {
    color: var(--procedures-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Specialized Treatments ===== */
.specialties-section {
    background: white;
}

.treatment-card-modern {
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    border-radius: 15px;
}

.treatment-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.treatment-icon-modern {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
    transition: var(--transition);
}

.treatment-card-modern:hover .treatment-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
}

.treatment-card-modern:hover .card-shine {
    opacity: 1;
    top: -20%;
    left: -20%;
}

.treatment-card-modern .card-title {
    color: var(--procedures-dark);
    font-weight: 600;
}

.treatment-card-modern .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Make the button properly clickable and interactive */
.treatment-card-modern .btn {
    cursor: pointer !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button hover effects */
.treatment-card-modern .btn-outline-primary {
    border: 2px solid #0d9488;
    color: #0d9488;
    background: transparent;
    font-weight: 500;
}

.treatment-card-modern .btn-outline-primary:hover {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

/* Ensure the entire card is clickable area */
.treatment-card-modern {
    cursor: default;
}

/* Make sure the button stays on top of other elements */
.treatment-card-modern .card-body {
    position: relative;
    z-index: 2;
}

/* Additional hover effects for the entire card */
.treatment-card-modern:hover .btn-outline-primary {
    border-color: #0d9488;
    color: #0d9488;
}

.treatment-card-modern:hover .btn-outline-primary:hover {
    background: #0d9488;
    color: white;
}

/* Focus states for accessibility */
.treatment-card-modern .btn:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Active state */
.treatment-card-modern .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Ensure proper spacing and alignment */
.treatment-card-modern .btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Make the arrow icon transition smoothly */
.treatment-card-modern .btn i {
    transition: transform 0.3s ease;
}

.treatment-card-modern .btn:hover i {
    transform: translateX(3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .treatment-card-modern .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .treatment-card-modern .btn-sm {
        padding: 8px 20px;
    }
}

/* More Specialties Section */
.more-specialties {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.specialty-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.specialty-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-procedures-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.specialty-item:hover .specialty-icon {
    transform: scale(1.1) rotate(5deg);
}

.specialty-content h5 {
    color: var(--procedures-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.specialty-content p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.process-section {
    background: white;
}

.process-step {
    position: relative;
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-procedures);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-procedures-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.process-step h5 {
    color: var(--procedures-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section-modern {
    background: var(--gradient-procedures);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><path fill="white" d="M500,250c138.07,0,250,111.93,250,250S638.07,750,500,750S250,638.07,250,500S361.93,250,500,250z M500,200 c-165.69,0-300,134.31-300,300s134.31,300,300,300s300-134.31,300-300S665.69,200,500,200L500,200z"/></svg>');
    background-size: 200px;
    opacity: 0.1;
}

.btn-cta-modern {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
    font-weight: 600;
    padding: 12px 30px;
}

.btn-cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-procedures);
    transition: left 0.5s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-cta-modern:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-modern:hover::before {
    left: 0;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape.shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
}

.cta-shape.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 10%;
}

.cta-shape.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 5%;
}

/* Footer Styles */
.footer-modern {
    background: #1a1a1a !important;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #0d9488;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #0d9488;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: #0d9488;
    color: white;
    transform: translateY(-3px);
}

/* ======================================================
   FIXED FLOATING BUTTONS (no horizontal overflow)
   ====================================================== */
.whatsapp-float-modern,
.call-float-modern,
.back-to-top-modern {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* WhatsApp Button */
.whatsapp-float-modern {
  bottom: 20px;
  right: 15px;
  width: 55px;
  height: 55px;
  background: #25d366;
  font-size: 1.4rem;
}

.whatsapp-float-modern:hover {
  transform: scale(1.1);
}

/* Call Button */
.call-float-modern {
  bottom: 85px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: #007bff;
  font-size: 1.2rem;
}

.call-float-modern:hover {
  transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top-modern {
  bottom: 150px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--procedures-primary);
  font-size: 1.1rem;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
}

.back-to-top-modern:hover {
  background: var(--procedures-dark);
  transform: translateY(-3px);
}

/* Pulse effects (safe inside element) */
.whatsapp-pulse,
.call-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 1.6s infinite;
  transform-origin: center center;
}

.whatsapp-pulse {
  background: rgba(37, 211, 102, 0.3);
}

.call-pulse {
  background: rgba(0, 123, 255, 0.3);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* Responsive: tighter positioning for small screens */
@media (max-width: 767.98px) {
  .whatsapp-float-modern,
  .call-float-modern,
  .back-to-top-modern {
    right: 10px;
  }

  .whatsapp-float-modern {
    width: 50px;
    height: 50px;
    bottom: 15px;
  }

  .call-float-modern {
    width: 45px;
    height: 45px;
    bottom: 75px;
  }

  .back-to-top-modern {
    width: 40px;
    height: 40px;
    bottom: 135px;
  }
}

/* Prevent page-wide overflow */
html, body {
  overflow-x: hidden !important;
}
/* Procedures-specific animations */
@keyframes procedures-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.procedures-animation {
    animation: procedures-animation 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-actions {
        text-align: center;
    }
    
    .hero-actions .btn {
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .procedures-hero .display-3 {
        font-size: 2.5rem;
    }
    
    .specialty-item {
        flex-direction: column;
        text-align: center;
    }
    
    .specialty-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .procedures-hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .procedures-hero .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .procedures-hero .display-3 {
        font-size: 1.8rem;
    }
    
    .treatment-card-modern .card-body {
        padding: 20px 15px;
    }
}