/*
 Theme Name:   dentalClinicTheme

 Theme URI:    http://example.com/twenty-fifteen-child/

 Description:  Twenty Nineteen Child Theme

 Author:       Sukla Manna

 Author URI:   http://example.com

 Template:     twentynineteen

 Version:      1.0.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready

 Text Domain:  dentalClinicTheme

*/        
        
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
    --clinic-blue-dark: #003d52;
    --clinic-blue-main: #1b5e91;
    --clinic-cyan: #00aeef;
    --clinic-hero-overlay: rgba(0, 61, 82, 0.8);

    /* Chatbot UI Design Colors */
    --bot-primary: #2563EB;
    --bot-bg: #F1F5F9;
    --bot-accent: #FACC15;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Animation System */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    14%,
    42% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Nav & Zen Header Styling */
.nav-item {
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clinic-blue-dark);
    transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Action Buttons */
.btn-book-now {
    background-color: var(--clinic-blue-dark);
    color: white;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 13px;
    transition: var(--transition-smooth);
    border: 2px solid var(--clinic-blue-dark);
}

.btn-book-now:hover {
    background-color: var(--clinic-blue-main);
    border-color: var(--clinic-blue-main);
    transform: translateY(-2px);
}

.btn-call-now {
    background-color: transparent;
    color: var(--clinic-blue-dark);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 13px;
    border: 2px solid var(--clinic-blue-dark);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

.btn-call-now:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Card System */
.card-component {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-component:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 61, 82, 0.15);
}

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

/* Chatbot Interface */
#chat-window {
    height: 600px;
    max-height: 85vh;
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: bottom right;
    background: var(--bot-bg);
    border-radius: 24px;
}

.chat-header {
    background: var(--bot-primary);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px 24px 0 0;
}

.chat-messages {
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-msg {
    background: white;
    color: #1e293b;
    border-radius: 18px 18px 18px 4px;
    padding: 12px 16px;
    font-size: 14px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    max-width: 85%;
}

.user-msg {
    background: var(--bot-primary);
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 16px;
    font-size: 14px;
    align-self: flex-end;
    max-width: 85%;
}

.bot-option-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 10px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.bot-option-btn:hover {
    border-color: var(--bot-primary);
    color: var(--bot-primary);
}

.bot-option-btn.accent {
    background: var(--bot-accent);
    border: none;
    font-weight: 800;
    color: #000;
}

.pulse-btn {
    animation: heartBeat 3s infinite;
}

/* Infrastructure components */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #2563EB;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* SPA Layout & Utilities - PRESERVED FOR ANIMATIONS */
.page-view {
    animation: fadeInUp 0.6s ease;
}

.section-padding {
    padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 7rem 4rem;
    }
}

.video-container {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px -12px rgba(0, 61, 82, 0.4);
    background: #000;
    position: relative;
}

.form-input {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 12px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--clinic-blue-dark);
    box-shadow: 0 0 0 3px rgba(0, 61, 82, 0.1);
}

#theme-picker {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 150;
    width: 180px;
    margin-top: 8px;
}

.text-theme-dark {
    color: var(--clinic-blue-dark);
}

.text-theme-accent {
    color: var(--clinic-cyan);
}




.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn {
    background-color: #25d366;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.disclaimer-box {
    background-color: #fffbeb;
    border-left: 4px solid #f59e0b;
}