/* ===== BEAST MODE CSS - RADIANT DENTAL ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-primary: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--text-primary);
    position: relative;
}

/* ===== ULTRA PREMIUM PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    z-index: 2;
}

.logo-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

/* 🔥 Animated Glowing Logo */
.animated-logo {
    animation: logoFloat 3s ease-in-out infinite, logoGlowPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #00f2fe);
    border-radius: 20%;
    transform-origin: center;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@keyframes logoGlowPulse {
    0% {
        filter: drop-shadow(0 0 5px #00f2fe);
    }
    50% {
        filter: drop-shadow(0 0 20px #00f2fe);
    }
    100% {
        filter: drop-shadow(0 0 5px #00f2fe);
    }
}

/* Text Logo Styling */
.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-main {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-sub {
    font-size: 1.5rem;
    font-weight: 300;
    color: #00f2fe;
    opacity: 0.8;
    animation: logoSubFade 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8)); }
}

@keyframes logoSubFade {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* Loading Bar */
.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2, #00f2fe);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out forwards, loadingShimmer 1s linear infinite;
}

@keyframes loadingProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes loadingShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Loading Text */
.loading-text {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 2px;
    animation: loadingTextPulse 1.5s ease-in-out infinite;
}

@keyframes loadingTextPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.preloader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* You can add particle.js or SVG blobs here later */
}
/* ===== 3D BACKGROUND CANVAS ===== */
#threejs-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* ===== ADVANCED PARTICLE SYSTEM ===== */
.particle-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 10s infinite linear;
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== FLOATING MEDICAL ICONS ===== */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatMedical 20s infinite linear;
}

@keyframes floatMedical {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    5% { opacity: 0.1; }
    95% { opacity: 0.1; }
    100% { 
        transform: translateY(-100vh) translateX(200px) rotate(360deg) scale(1.5);
        opacity: 0;
    }
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* ===== HERO SECTION WITH 3D QR ===== */
.hero-section {
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content {
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.qr-container {
    position: relative;
    margin-bottom: 30px;
}

.qr-wrapper {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.qr-code {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    transform-style: preserve-3d;
    animation: qrFloat 4s ease-in-out infinite;
}

@keyframes qrFloat {
    0%, 100% { transform: rotateY(0deg) translateY(0px); }
    25% { transform: rotateY(5deg) translateY(-10px); }
    50% { transform: rotateY(0deg) translateY(-20px); }
    75% { transform: rotateY(-5deg) translateY(-10px); }
}

.qr-inner {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #667eea;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.qr-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: qrShimmer 3s linear infinite;
}

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

.qr-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

.ring-1 {
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.7s;
}

.ring-3 {
    width: 240px;
    height: 240px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1.4s;
}

@keyframes ringPulse {
    0% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.qr-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

.scan-text {
    margin-top: 20px;
}

.scan-primary {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.scan-secondary {
    display: block;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== HEARTBEAT ANIMATION ===== */
.heartbeat-container {
    margin-top: 30px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heartbeat-line {
    position: absolute;
    width: 100%;
    height: 60px;
    opacity: 0.7;
}

.heartbeat-svg {
    width: 100%;
    height: 100%;
}

.heartbeat-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: heartbeatDraw 3s ease-in-out infinite;
}

@keyframes heartbeatDraw {
    0% { stroke-dashoffset: 1000; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1000; }
}

.heart-icon {
    font-size: 2rem;
    color: #ff6b6b;
    animation: heartPump 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #ff6b6b);
}

@keyframes heartPump {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.15); }
}

/* ===== DOCTOR SECTION WITH ADVANCED 3D EFFECTS ===== */
.doctor-section {
    margin-bottom: 50px;
}

..doctor-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
    transition: var(--transition);
    animation: doctorCardFloat 1.5s ease-out;
}

@keyframes doctorCardFloat {
    from { opacity: 0; transform: translateY(80px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 100px;
    height: 100px;
    background: rgba(102, 126, 234, 0.3);
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.orb-2 {
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 254, 0.3);
    bottom: -10px;
    left: -10px;
    animation-delay: 2s;
}

.orb-3 {
    width: 60px;
    height: 60px;
    background: rgba(245, 87, 108, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
    75% { transform: translate(-20px, 20px) rotate(270deg); }
}

.doctor-avatar {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.avatar-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 4px;
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #667eea;
    backdrop-filter: blur(10px);
}

.doctor-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.doctor-name {
    margin-bottom: 15px;
}

.name-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.doctor-credentials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.credential {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.separator {
    color: var(--text-secondary);
    font-weight: 300;
}

.doctor-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.tagline {
    position: relative;
    margin-top: 20px;
}

.tagline-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #00f2fe;
    font-weight: 300;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
    animation: taglineGlow 2s ease-in-out infinite alternate;
}

@keyframes taglineGlow {
    from { text-shadow: 0 0 20px rgba(0, 242, 254, 0.5); }
    to { text-shadow: 0 0 30px rgba(0, 242, 254, 0.8); }
}

.tagline-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe, transparent);
    margin: 10px auto 0;
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { transform: scaleX(0.8); opacity: 0.6; }
    50% { transform: scaleX(1.2); opacity: 1; }
}

/* ===== BEAST MODE LINK BUTTONS ===== */
.links-section {
    margin-bottom: 50px;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-btn {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.link-btn:hover {
    transform: translateY(-8px) scale(1.02);
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    gap: 20px;
    transition: var(--transition);
}

.btn-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.btn-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0.7;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: var(--border-radius);
}

/* Individual Button Styles */
.instagram-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(255, 77, 77, 0.2));
    box-shadow: 0 20px 40px rgba(225, 48, 108, 0.3);
}

.instagram-btn:hover .btn-icon {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.facebook-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(66, 103, 178, 0.2), rgba(59, 89, 152, 0.2));
    box-shadow: 0 20px 40px rgba(66, 103, 178, 0.3);
}

.facebook-btn:hover .btn-icon {
    background: linear-gradient(135deg, #4267B2, #3b5998);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.whatsapp-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(34, 193, 95, 0.2));
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover .btn-icon {
    background: linear-gradient(135deg, #25d366, #22c15f);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.location-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2), rgba(251, 188, 5, 0.2));
    box-shadow: 0 20px 40px rgba(234, 67, 53, 0.3);
}

.location-btn:hover .btn-icon {
    background: linear-gradient(135deg, #ea4335, #fbbc05);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.appointment-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.appointment-btn:hover .btn-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.website-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.2));
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.3);
}

.website-btn:hover .btn-icon {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.reviews-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
}

.reviews-btn:hover .btn-icon {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.blog-btn:hover .btn-bg {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(233, 30, 99, 0.2));
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
}

.blog-btn:hover .btn-icon {
    background: linear-gradient(135deg, #9c27b0, #e91e63);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.link-btn:hover .btn-arrow {
    transform: translateX(10px);
    opacity: 1;
}

.link-btn:hover .btn-text {
    transform: translateX(5px);
}

/* ===== ADVANCED CONTACT CARD ===== */
.contact-section {
    margin-bottom: 50px;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: contactShimmer 8s linear infinite;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.contact-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.contact-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 0 auto;
    border-radius: 2px;
    animation: dividerGlow 2s ease-in-out infinite alternate;
}

@keyframes dividerGlow {
    from { box-shadow: 0 0 10px rgba(0, 242, 254, 0.5); }
    to { box-shadow: 0 0 20px rgba(0, 242, 254, 0.8); }
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #00f2fe;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--accent-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.phone-link {
    color: #00f2fe;
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ===== ULTRA PREMIUM WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #22c15f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappFloat 3s ease-in-out infinite;
}

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

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    font-size: 1.8rem;
    color: white;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(37, 211, 102, 0.5);
    border-radius: 50%;
    animation: whatsappPulse 2s ease-in-out infinite;
}

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

.whatsapp-ripple {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsappRipple 2s ease-in-out infinite 1s;
}

@keyframes whatsappRipple {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== CURSOR TRAIL EFFECT ===== */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    opacity: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
    .main-container {
        padding: 15px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .qr-inner {
        font-size: 3rem;
    }
    
    .name-highlight {
        font-size: 1.5rem;
    }
    
    .btn-content {
        padding: 18px 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (min-width: 768px) {
    .main-container {
        max-width: 500px;
    }
    
    .links-container {
        gap: 25px;
    }
    
    .btn-content {
        padding: 25px 30px;
    }
}

@media (min-width: 1024px) {
    .main-container {
        max-width: 600px;
    }
    
    .qr-code {
        width: 160px;
        height: 160px;
    }
    
    .qr-inner {
        font-size: 5rem;
    }
}

/* ===== ANIMATION CLASSES FOR AOS ===== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .preloader,
    .particle-system,
    .floating-elements,
    .whatsapp-float,
    .cursor-trail,
    #threejs-canvas {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ===== ADDITIONAL BEAST MODE ENHANCEMENTS ===== */
.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.link-btn:hover::before {
    left: 100%;
}

/* Glitch effect for special buttons */
.appointment-btn:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { transform: translateY(-8px) scale(1.02); }
    10% { transform: translateY(-8px) scale(1.02) skew(1deg); }
    20% { transform: translateY(-8px) scale(1.02) skew(-1deg); }
    30% { transform: translateY(-8px) scale(1.02) skew(1deg); }
    40% { transform: translateY(-8px) scale(1.02) skew(-1deg); }
    50% { transform: translateY(-8px) scale(1.02) skew(0deg); }
}

/* Ultra smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styles */
::selection {
    background: rgba(0, 242, 254, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(0, 242, 254, 0.3);
    color: white;
}ent: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.phone-link {
    color: #00f2fe;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

/* ===== ULTRA PREMIUM WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    font-size: 1.8rem;
    color: white;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    border-radius: 50%;
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    animation: whatsappRipple 2s ease-in-out infinite 1s;
}

@keyframes whatsappRipple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== CURSOR TRAIL EFFECT ===== */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .main-container {
        padding: 15px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    .qr-inner {
        font-size: 3rem;
    }
    
    .name-highlight {
        font-size: 1.6rem;
    }
    
    .doctor-card {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-items {
        gap: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .qr-inner {
        font-size: 2.5rem;
    }
    
    .name-highlight {
        font-size: 1.4rem;
    }
    
    .doctor-credentials {
        flex-direction: column;
        gap: 5px;
    }
    
    .credential {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
    
    .links-container {
        gap: 15px;
    }
    
    .link-btn {
        padding: 18px 20px;
    }
    
    .btn-text {
        font-size: 1rem;
    }
    
    .btn-icon {
        font-size: 1.3rem;
        width: 35px;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION STYLES ===== */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.03);
        --glass-border: rgba(255, 255, 255, 0.08);
        --text-secondary: rgba(255, 255, 255, 0.7);
    }
}
