:root {
    --primary: #0A74DA;
    --primary-light: #3B82F6;
    --primary-dark: #0756A4;
    --accent: #E0F2FE;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-color: #F8FAFC;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px rgba(10, 116, 218, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top right, #E0F2FE 0%, #F8FAFC 30%, #FFFFFF 100%);
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.text-primary { color: var(--primary); }
.text-warning { color: #F59E0B; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Specifics */
span { display: inline-block; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    box-shadow: 0 4px 15px rgba(10, 116, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 116, 218, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--accent);
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo i { font-size: 1.8rem; }
.logo strong { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }

.nav-actions {
    display: flex;
    gap: 16px;
}

/* Hero Section */
.hero {
    padding: 130px 0 60px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Glass Badge */
.badge-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10, 116, 218, 0.05);
    border: 1px solid rgba(10, 116, 218, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.23rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stat h4 {
    font-size: 2rem;
    color: var(--primary-dark);
}

.stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual & 3D Elements */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 30px 60px rgba(10, 116, 218, 0.08), inset 0 0 0 1px rgba(255,255,255,0.5);
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 80%);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper:hover {
    transform: scale(1.03);
}

.visual-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; width: 40%;
    background: linear-gradient(to right, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-bg-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.25) 0%, rgba(255, 255, 255, 0) 65%);
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlow 6s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 1; }
}

.hero-image {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

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

.floating-glass {
    position: absolute;
    padding: 12px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    z-index: 10;
}

.floating-glass i { color: var(--primary); }

.glass-1 { top: 10%; left: 0; animation: float 5s ease-in-out infinite 1s; }
.glass-2 { bottom: 20%; right: -20px; animation: float 7s ease-in-out infinite 2s; }
.glass-3 { bottom: 10%; left: 10%; animation: float 6s ease-in-out infinite 0.5s; }

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 32px 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #F8FAFC; /* Fallback */
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 116, 218, 0.08);
    background: white;
    border-color: rgba(10, 116, 218, 0.2);
}

.active-card {
    background: white;
    box-shadow: 0 20px 40px rgba(10, 116, 218, 0.08);
    border-color: rgba(10, 116, 218, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.service-link {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Specialist Section */
.specialist {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.specialist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.doc-image-wrapper {
    position: relative;
    border-radius: 30px;
    padding-bottom: 40px;
}

.doc-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.doc-glass-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.doc-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.doc-name { font-size: 1.2rem; }
.doc-role { font-size: 0.9rem; color: var(--text-muted); }

.doc-rating {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.swipe-btn {
    width: 100%;
    justify-content: center;
}

.specialist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.specialist-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.specialist-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.specialist-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.specialist-highlights i {
    font-size: 1.2rem;
}

/* Chatbot Area */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
}

.chatbot-icon {
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(10, 116, 218, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.chatbot-icon:hover {
    transform: scale(1.1);
}

.bot-avatar {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.chatbot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    border-radius: 50%;
    z-index: 1;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(1.5); opacity: 0; }
}

.chatbot-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.chatbot-popup.active {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.chat-header h4 { margin: 0; font-size: 1.1rem; }
.close-chat {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.chat-body { padding: 24px 20px; }

.bot-greeting { text-align: center; margin-bottom: 24px; }
.bot-3d-orb {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #60A5FA, #3B82F6, #1D4ED8);
    border-radius: 50%;
    margin: 0 auto 16px auto;
    box-shadow: inset 5px 5px 15px rgba(255,255,255,0.6), inset -5px -5px 15px rgba(0,0,0,0.2), 0 10px 20px rgba(59, 130, 246, 0.3);
}

.bot-greeting h5 { font-size: 1.2rem; margin-bottom: 8px; }
.bot-greeting p { font-size: 0.9rem; color: var(--text-muted); }

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.chat-chip {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.chat-chip:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.chat-input-area {
    padding: 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: white;
    display: flex;
    gap: 12px;
}

.chat-input-area input {
    flex: 1;
    border: none;
    background: #F1F5F9;
    padding: 12px 16px;
    border-radius: 20px;
    outline: none;
    font-family: inherit;
}

.send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.send-btn:hover { background: var(--primary-dark); }

/* Floating Conversion Buttons */
.floating-conversion {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 998;
}

.conversion-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease backwards;
}

.whatsapp-btn {
    background: #25D366;
}

.call-sticky-btn {
    background: var(--primary);
}

.conversion-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: white;
}

/* Tooltips */
.tooltip-parent {
    position: relative;
}

.tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.tooltip-parent:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(20px);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animation-delay-100 { transition-delay: 100ms; }
.animation-delay-200 { transition-delay: 200ms; }
.animation-delay-300 { transition-delay: 300ms; }
.animation-delay-400 { transition-delay: 400ms; }
.animation-delay-500 { transition-delay: 500ms; }

/* Subtle scale hover for images/cards */
.image-scale-hover img, .image-scale-hover .ri-image-line {
    transition: transform 0.5s ease;
}

.image-scale-hover:hover img, .image-scale-hover:hover .ri-image-line {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-container, .specialist-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; margin-bottom: -10px; position: relative; z-index: 1; }
    .hero-content { position: relative; z-index: 2; }
    .hero { padding: 110px 0 50px 0; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .trust-stats { justify-content: center; flex-wrap: wrap; }
    .nav-links, .nav-actions .btn-outline { display: none; }
}

@media (max-width: 768px) {
    /* Navbar Mobile Premium Styling */
    .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: none !important;
        transition: background 0.3s ease, backdrop-filter 0.3s ease;
    }
    
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    
    .nav-container {
        padding: 0 24px !important;
    }
    
    .logo {
        font-weight: 800 !important;
        font-size: 1.45rem !important;
        white-space: nowrap !important;
        letter-spacing: -0.5px;
        color: white !important;
        text-shadow: 0 1px 4px rgba(0,0,0,0.4);
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }
    
    .navbar.scrolled .logo {
        color: var(--text-main) !important;
        text-shadow: none;
    }
    
    .logo span {
        color: white !important;
        transition: color 0.3s ease;
    }
    
    .navbar.scrolled .logo span {
        color: var(--text-main) !important;
    }
    
    .logo strong {
        color: #93C5FD !important;
        transition: color 0.3s ease;
    }
    
    .navbar.scrolled .logo strong {
        color: var(--primary) !important;
    }
    
    .logo i {
        font-size: 1.4rem !important;
        color: white !important;
        transition: color 0.3s ease;
    }
    
    .navbar.scrolled .logo i {
        color: var(--primary) !important;
    }
    
    .nav-actions .btn-primary {
        background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%) !important;
        border-radius: 50px !important;
        box-shadow: 0 4px 12px rgba(10, 116, 218, 0.15) !important;
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        transition: all 0.3s ease;
    }
    
    .nav-actions .btn-primary:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(10, 116, 218, 0.25) !important;
    }

    .specialist-highlights { grid-template-columns: 1fr; }
    .chatbot-popup { width: calc(100vw - 40px); right: 20px; bottom: 100px; }
    .floating-conversion { display: none; }
    
    .hero { padding: 0 0 40px 0; overflow: hidden; }
    .badge-glass { margin-bottom: 16px; margin-top: 10px; }
    .hero-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; gap: 16px; margin-bottom: 30px; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-visual {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        margin-bottom: -60px;
    }

    .visual-wrapper {
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        position: relative;
    }
    
    .visual-wrapper::after {
        content: '';
        display: block;
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 140px;
        background: linear-gradient(rgba(0,0,0,0.5), transparent);
        z-index: 1;
        pointer-events: none;
    }
    
    .hero-image {
        max-height: none;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        display: block;
        border-radius: 0;
        box-shadow: none;
        -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
        mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
    }
    
    .floating-glass {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .glass-1 { top: 22%; left: 20px; z-index: 2; }
    .glass-2 { bottom: 25%; right: 20px; z-index: 2; }
    .glass-3 { bottom: 8%; left: 20px; z-index: 2; }
    
    .trust-stats { gap: 20px; }
    .stat { flex: 1 1 40%; }
    .stat h4 { font-size: 1.5rem; }
}
