/* VERTICAL CENTERING ENGINE */
.content-container {
    display: flex;
    justify-content: center;
    align-items: center; /* This pulls it down from the top to the center */
    min-height: 80vh;    /* Ensures enough space to feel "centered" */
    perspective: 1200px;
}

/* THE CYBER-GLASS CARD */
.glass-card {
    /* 1. DARKER/MORE CONTRASTED GLASS */
    background: rgba(255, 255, 255, 0.15); /* Slightly more opaque */
    backdrop-filter: blur(50px) saturate(180%); /* Heavier blur & color boost */
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    
    /* 2. THE GLOWING BORDER (The secret to visibility) */
    border: 1px solid rgba(255, 255, 255, 0.6); 
    border-radius: 40px;
    padding: 60px 50px;
    width: 95%;
    max-width: 550px;
    text-align: center;
    
    /* 3. DEEPER SHADOW (Lifts the card up) */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),  /* Deep drop shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.1); /* Inner glow */
    
    /* 4. ANIMATION & CENTER LOGIC */
    display: none;
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Subtle "Breathing" animation for the UI */
@keyframes cyberPulse {
    from { box-shadow: 0 0 40px rgba(255, 255, 255, 0.1); }
    to { box-shadow: 0 0 60px rgba(255, 255, 255, 0.2); }
}

/* GRADIENT TYPOGRAPHY */
.hero-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 72px; /* Larger for a "Hero" impact */
    line-height: 0.85;
    letter-spacing: -5px; /* Tight "Logo" style spacing */
    margin-bottom: 25px;
    
    /* THE STYLE: Cinematic Silver Gradient */
    background: linear-gradient(
        180deg, 
        #1a1a1a 0%,    /* Deep charcoal top */
        #4a4a4a 50%,   /* Mid-tone gray */
        #888888 100%   /* Light silver bottom */
    );
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* THE POP: Dual Layer Shadow */
    /* 1st shadow: Sharp white "Edge Light" at the top */
    /* 2nd shadow: Soft dark "Drop" at the bottom */
    filter: drop-shadow(0 2px 0px rgba(255,255,255,0.8)) 
            drop-shadow(0 15px 30px rgba(0,0,0,0.1));

    /* Smooth entrance for the text itself */
    animation: textReveal 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes textReveal {
    from { 
        opacity: 0; 
        transform: translateY(20px) skewY(2deg); 
        letter-spacing: -10px; 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) skewY(0); 
        letter-spacing: -5px; 
    }
}

/* Update the general paragraph style inside glass cards */
.glass-card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8; /* Increased for better readability */
    text-align: center; /* THE FIX: Centers the text */
    color: rgba(0, 0, 0, 0.6);
    margin: 0 auto 30px auto; /* Centers the text block itself */
    max-width: 90%; /* Prevents text from touching the edges of the glass */
}

/* Specific styling for the About/Vision headline to keep it bold */
.glass-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.glass-card p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #aaa, transparent);
}

.main-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 20px 50px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.main-btn:hover {
    transform: scale(1.05) translateY(-5px);
    background: #000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
/* INPUT POLISH (Dark Mode Inputs) */
.login-form input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #1a1a1a;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 12px;
    width: 100%;
    transition: 0.3s;
}

.login-form input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: #1a1a1a;
    outline: none;
}

/* THE LOGO STYLE */
.nav-brand {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    cursor: default;
    
    /* 1. THE METALLIC SHINE LOGIC */
    background: linear-gradient(
        to right, 
        #1a1a1a 0%, 
        #1a1a1a 40%, 
        #ffffff 50%, 
        #1a1a1a 60%, 
        #1a1a1a 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Animation: Moves the shine across the text */
    animation: logoShine 5s linear infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. THE HOVER EFFECT: Letters spread out smoothly */
.nav-brand:hover {
    letter-spacing: 6px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

/* 3. THE STATUS DOT (The Heartbeat) */
.status-dot {
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    margin-left: 8px;
    display: inline-block;
    position: relative;
}

/* The pulse ring around the dot */
.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

/* ANIMATION KEYFRAMES */
@keyframes logoShine {
    to { background-position: 200% center; }
}

@keyframes dotPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* Add this to your doctor.css */
.tooth:hover {
    border-color: #0984e3;
    background-color: #ecf0f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

/* Toast Notification */
.toast-msg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #422929;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; z-index: 2000;
}
.modal-content { width: 90%; max-width: 600px; padding: 30px; border-radius: 30px; max-height: 85vh; overflow-y: auto; background: white; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}