/* 
    White Stone Dental Clinic - Main Stylesheet
    Author: Antigravity AI
    Design Philosophy: Premium, Clinical yet Welcoming, High-Tech
*/

:root {
    --primary: #1A56A8;
    --secondary: #2E80E3;
    --accent: #47C85C;
    --whatsapp: #25D366;
    --call: #1A56A8;
    --dark: #102B54;
    --light-bg: #F4F8FD;
    --white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748b;
    --radius-lg: 32px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 20px 50px -20px rgba(26, 86, 168, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body { 
    background-color: var(--white); 
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Refinement */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Hero Section */
.hero-bg {
    background-image: linear-gradient(rgba(20, 61, 120, 0.8), rgba(26, 79, 148, 0.7)), url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
}

/* Buttons */
.btn-primary {
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 128, 227, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 128, 227, 0.4);
    background: #1e70d6;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Stats */
.stat-item h3 {
    font-size: 2.5rem;
    line-height: 1;
}

.stat-item p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Trust Section */
.trust-container {
    background-image: linear-gradient(to right, rgba(26, 86, 168, 0.95), rgba(26, 86, 168, 0.7), transparent), url('images/trust-section-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    overflow: hidden;
    height: 520px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-premium);
}

.trust-list-item {
    display: flex;
    items-center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.trust-list-item:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: rgba(71, 200, 92, 0.2);
    border: 1px solid rgba(71, 200, 92, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.trust-item-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* Vertical Floating Social/Contact Bar */
.sticky-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sticky-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.sticky-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.sticky-btn.wa { background: var(--whatsapp); }
.sticky-btn.phone { background: var(--call); }

/* Smooth Transitions & Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Before-After Slider Interaction */
.slider-input {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    z-index: 50;
    width: 100%;
    height: 100%;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 1000px;
    background: transparent;
    cursor: ew-resize;
}

.after-image {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.1s ease-out;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}
/* Classy Animations & Transitions */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient-flow {
    animation: gradientFlow 6s ease infinite;
}

/* Glassmorphism Variants */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Premium Button Refinement */
.btn-classy {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-classy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-classy:hover::after {
    left: 100%;
}

/* Premium Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-in-up { animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-float { animation: float 5s ease-in-out infinite; }

/* Section Specific Refinements */
.invisalign-card {
    transition: var(--transition);
}

.invisalign-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow-premium);
}

/* Base Adjustments */
img {
    max-width: 100%;
    height: auto;
}

.line-height-none {
    line-height: normal;
}

