/*
Theme Name: Royal Dental Clinic Salem
Theme URI: https://royaldentalsalem.in
Author: Royal Dental Clinic
Author URI: https://royaldentalsalem.in
Description: Official production WordPress theme for Royal Dental Clinic & Implant Center, Salem, Tamil Nadu. Features native appointment booking system, patient contact management, Dr. M. Amudha specialist profile, comprehensive dental treatments, interactive gallery, and accessible modern clinical design.
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: royal-dental-salem
Tags: medical, clinic, dentist, appointment-booking, responsive-layout, custom-menu, translation-ready
*/



/**
 * Royal Dental Clinic Salem — Production Theme CSS
 * Clean, modern, medical-focused design system in pure Vanilla CSS.
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    --rdc-primary: #0d9488;
    --rdc-primary-hover: #0f766e;
    --rdc-primary-light: #f0fdfa;
    --rdc-primary-border: #ccfbf1;
    --rdc-secondary: #0284c7;
    --rdc-secondary-hover: #0369a1;
    --rdc-accent: #38bdf8;
    --rdc-emergency: #e11d48;
    --rdc-emergency-bg: #fff1f2;
    --rdc-dark: #0f172a;
    --rdc-dark-surface: #1e293b;
    --rdc-text-main: #1e293b;
    --rdc-text-muted: #64748b;
    --rdc-text-light: #94a3b8;
    --rdc-bg-light: #f8fafc;
    --rdc-bg-white: #ffffff;
    --rdc-border: #e2e8f0;
    --rdc-border-subtle: #f1f5f9;
    --rdc-radius-sm: 8px;
    --rdc-radius-md: 14px;
    --rdc-radius-lg: 24px;
    --rdc-radius-full: 9999px;
    --rdc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --rdc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --rdc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --rdc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --rdc-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --rdc-font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --rdc-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--rdc-font-main);
    color: var(--rdc-text-main);
    background-color: var(--rdc-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rdc-primary);
    text-decoration: none;
    transition: var(--rdc-transition);
}

a:hover {
    color: var(--rdc-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rdc-font-heading);
    color: var(--rdc-dark);
    font-weight: 700;
    line-height: 1.25;
}

/* ==========================================================================
   3. LAYOUT UTILITIES & CONTAINERS
   ========================================================================== */
.rdc-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.rdc-max-w-md {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.rdc-max-w-sm {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.rdc-section {
    padding: 80px 0;
}

.rdc-bg-white {
    background-color: var(--rdc-bg-white);
}

.rdc-bg-light {
    background-color: var(--rdc-bg-light);
}

.rdc-bg-dark {
    background-color: var(--rdc-dark);
    color: #fff;
}

.rdc-text-center {
    text-align: center;
}

.rdc-text-white {
    color: #fff !important;
}

.rdc-text-slate-300 {
    color: #cbd5e1 !important;
}

.rdc-text-muted {
    color: var(--rdc-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.rdc-mt-4 {
    margin-top: 1.5rem;
}

.rdc-rounded-img {
    border-radius: var(--rdc-radius-lg);
    width: 100%;
    object-fit: cover;
}

.rdc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Section Header */
.rdc-section-header {
    margin-bottom: 50px;
}

.rdc-section-title {
    font-size: 2.35rem;
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.rdc-section-subtitle {
    color: var(--rdc-text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Grids */
.rdc-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.rdc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rdc-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rdc-items-center {
    align-items: center;
}

.rdc-items-start {
    align-items: start;
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.rdc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--rdc-font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--rdc-radius-full);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--rdc-transition);
    text-align: center;
    line-height: 1;
}

.rdc-btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.35);
}

.rdc-btn-primary:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(13, 148, 136, 0.45);
}

.rdc-btn-secondary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.35);
}

.rdc-btn-secondary:hover {
    background: #0369a1;
    color: #fff;
    transform: translateY(-2px);
}

.rdc-btn-outline {
    background: #fff;
    border-color: var(--rdc-border);
    color: var(--rdc-dark);
}

.rdc-btn-outline:hover {
    border-color: var(--rdc-primary);
    color: var(--rdc-primary);
    background: var(--rdc-primary-light);
}

.rdc-btn-lg {
    padding: 16px 34px;
    font-size: 1.05rem;
}

.rdc-btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.rdc-btn-block {
    width: 100%;
}

.rdc-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--rdc-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rdc-badge-teal {
    background-color: var(--rdc-primary-border);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.rdc-badge-blue {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.rdc-badge-dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #5eead4;
    border: 1px solid rgba(94, 234, 212, 0.3);
}

.rdc-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--rdc-emergency);
    border-radius: 50%;
    display: inline-block;
    animation: rdcPulse 1.8s infinite;
}

.rdc-dot-green {
    background-color: #10b981;
}

@keyframes rdcPulse {
    0% { transform: scale(0.95); opacity: 0.9; box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
    100% { transform: scale(0.95); opacity: 0.9; box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================= */
.rdc-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Top Announcement Bar */
.rdc-top-bar {
    background-color: var(--rdc-dark);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rdc-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rdc-top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rdc-emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(225, 29, 72, 0.15);
    padding: 2px 10px;
    border-radius: var(--rdc-radius-full);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: #fda4af;
}

.rdc-emergency-badge a {
    color: #fff;
    font-weight: 700;
}

.rdc-divider {
    color: #475569;
}

.rdc-portal-link {
    color: #5eead4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.rdc-portal-link:hover {
    color: #fff;
}

/* Main Nav Bar */
.rdc-nav-bar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.rdc-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand */
.rdc-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rdc-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
    flex-shrink: 0;
}

.rdc-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--rdc-dark);
    display: block;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.rdc-brand-highlight {
    color: var(--rdc-primary);
}

.rdc-brand-tagline {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--rdc-text-muted);
    letter-spacing: 1px;
    display: block;
    text-transform: uppercase;
}

/* Menu List */
.rdc-main-nav {
    display: flex;
    align-items: center;
}

.rdc-menu-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.rdc-menu-list a {
    color: #334155;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 6px 0;
    position: relative;
}

.rdc-menu-list a:hover {
    color: var(--rdc-primary);
}

.rdc-nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rdc-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.rdc-hamburger-line {
    width: 24px;
    height: 2.5px;
    background-color: var(--rdc-dark);
    border-radius: 2px;
    transition: var(--rdc-transition);
}

/* Mobile Drawer */
.rdc-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
}

.rdc-mobile-drawer.open {
    display: block;
}

.rdc-mobile-drawer-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.rdc-mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--rdc-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.rdc-mobile-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
}

.rdc-mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rdc-mobile-menu-list a {
    color: var(--rdc-dark);
    font-size: 1.05rem;
    font-weight: 600;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid var(--rdc-border-subtle);
}

.rdc-mobile-drawer-footer {
    margin-top: auto;
    padding-top: 24px;
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.rdc-hero-section {
    padding: 60px 0 80px 0;
    background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.rdc-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.rdc-hero-title {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 16px 0;
}

.rdc-text-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rdc-hero-subtitle {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 580px;
}

.rdc-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.rdc-hero-metrics {
    display: flex;
    gap: 36px;
    border-top: 1px solid var(--rdc-border);
    padding-top: 24px;
}

.rdc-metric-item {
    display: flex;
    flex-direction: column;
}

.rdc-metric-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--rdc-dark);
    line-height: 1.1;
}

.rdc-metric-val.rdc-highlight {
    color: var(--rdc-primary);
}

.rdc-metric-label {
    font-size: 0.8rem;
    color: var(--rdc-text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* Right Hero Visual Card */
.rdc-hero-image-card {
    position: relative;
    border-radius: var(--rdc-radius-lg);
    overflow: hidden;
    box-shadow: var(--rdc-shadow-xl);
    border: 4px solid #fff;
    background: #fff;
}

.rdc-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.rdc-hero-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, transparent 100%);
    color: #fff;
}

.rdc-img-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.rdc-hero-img-overlay h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.rdc-hero-img-overlay p {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* ==========================================================================
   7. ABOUT SECTION & PROTOCOL
   ========================================================================== */
.rdc-about-visual {
    position: relative;
}

.rdc-floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--rdc-dark);
    color: #fff;
    padding: 18px 22px;
    border-radius: var(--rdc-radius-md);
    box-shadow: var(--rdc-shadow-lg);
    max-width: 280px;
}

.rdc-floating-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.rdc-floating-badge p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.rdc-feature-box {
    background: var(--rdc-bg-light);
    border: 1px solid var(--rdc-border);
    padding: 18px;
    border-radius: var(--rdc-radius-md);
}

.rdc-feature-box h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.rdc-feature-box p {
    font-size: 0.85rem;
    color: var(--rdc-text-muted);
}

/* ==========================================================================
   8. WHY CHOOSE US & CARDS
   ========================================================================== */
.rdc-card {
    background-color: #fff;
    padding: 32px 28px;
    border-radius: var(--rdc-radius-md);
    border: 1px solid var(--rdc-border);
    box-shadow: var(--rdc-shadow-sm);
    transition: var(--rdc-transition);
}

.rdc-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--rdc-shadow-lg);
    border-color: var(--rdc-primary-border);
}

.rdc-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--rdc-radius-md);
    background-color: var(--rdc-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.rdc-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.rdc-card-desc {
    font-size: 0.92rem;
    color: var(--rdc-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   9. TREATMENTS CARDS
   ========================================================================== */
.rdc-treatment-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-md);
    padding: 24px;
    transition: var(--rdc-transition);
    display: flex;
    flex-direction: column;
}

.rdc-treatment-card:hover {
    border-color: var(--rdc-primary);
    transform: translateY(-3px);
    box-shadow: var(--rdc-shadow-md);
}

.rdc-treatment-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.rdc-treatment-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.rdc-treatment-desc {
    font-size: 0.85rem;
    color: var(--rdc-text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
    flex-grow: 1;
}

.rdc-treatment-cost {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
    background: var(--rdc-primary-light);
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 12px;
}

.rdc-treatment-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rdc-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Dedicated Treatment Detail Card (on /treatments page) */
.rdc-treatment-detail-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-lg);
    padding: 32px;
    box-shadow: var(--rdc-shadow-sm);
    transition: var(--rdc-transition);
}

.rdc-treatment-detail-card:hover {
    box-shadow: var(--rdc-shadow-md);
    border-color: var(--rdc-primary);
}

.rdc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.rdc-treat-big-icon {
    font-size: 38px;
}

.rdc-price-badge {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #ccfbf1;
    padding: 6px 12px;
    border-radius: var(--rdc-radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.rdc-treat-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rdc-primary);
    margin-top: -4px;
    margin-bottom: 12px;
}

.rdc-bullet-list {
    list-style: none;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rdc-bullet-list li {
    font-size: 0.88rem;
    color: #334155;
    position: relative;
    padding-left: 20px;
}

.rdc-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rdc-primary);
    font-weight: 800;
}

.rdc-card-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--rdc-border-subtle);
    padding-top: 18px;
    margin-top: 18px;
}

.rdc-link-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
}

.rdc-link-text:hover {
    color: var(--rdc-primary);
}

/* ==========================================================================
   10. DOCTOR SPOTLIGHT: DR. M. AMUDHA
   ========================================================================== */
.rdc-doctor-spotlight-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-lg);
    padding: 40px;
    box-shadow: var(--rdc-shadow-md);
}

.rdc-doctor-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
}

.rdc-doctor-avatar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rdc-doctor-avatar-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: var(--rdc-shadow-md);
    margin-bottom: 14px;
}

.rdc-doctor-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: var(--rdc-radius-full);
}

.rdc-doctor-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--rdc-border-subtle);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.rdc-doctor-name {
    font-size: 2rem;
    color: var(--rdc-dark);
}

.rdc-doctor-quals {
    font-size: 0.95rem;
    color: var(--rdc-primary);
    font-weight: 700;
    margin-top: 4px;
}

.rdc-exp-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--rdc-radius-full);
}

.rdc-doctor-designation {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.rdc-doctor-bio {
    color: var(--rdc-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rdc-doctor-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.rdc-highlight-tag {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}

.rdc-doctor-action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rdc-doctor-note {
    font-size: 0.8rem;
    color: var(--rdc-text-muted);
}

/* Dedicated Doctor Profile Card (for /doctors page) */
.rdc-doctor-profile-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-lg);
    padding: 40px;
    box-shadow: var(--rdc-shadow-sm);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
}

.rdc-doc-avatar-large {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: var(--rdc-shadow-md);
    margin: 0 auto 12px auto;
}

.rdc-doc-status-online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: var(--rdc-radius-full);
}

.rdc-doc-tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.rdc-exp-badge {
    background: #f1f5f9;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--rdc-radius-full);
}

.rdc-doc-name-large {
    font-size: 2.2rem;
    color: var(--rdc-dark);
}

.rdc-doc-degrees {
    font-size: 1rem;
    color: var(--rdc-primary);
    margin: 4px 0 8px 0;
}

.rdc-doc-location {
    font-size: 0.85rem;
    color: var(--rdc-text-muted);
    margin-bottom: 14px;
}

.rdc-doc-summary-text p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.rdc-doc-specializations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 18px 0 24px 0;
}

.rdc-spec-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.rdc-doc-cta-box {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid var(--rdc-border-subtle);
    padding-top: 20px;
}

/* ==========================================================================
   11. GALLERY & LIGHTBOX
   ========================================================================== */
.rdc-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.rdc-tab-btn {
    background: #fff;
    border: 1px solid var(--rdc-border);
    color: #475569;
    padding: 10px 22px;
    border-radius: var(--rdc-radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--rdc-transition);
}

.rdc-tab-btn.active, .rdc-tab-btn:hover {
    background: var(--rdc-primary);
    color: #fff;
    border-color: var(--rdc-primary);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.rdc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rdc-gallery-thumb {
    position: relative;
    border-radius: var(--rdc-radius-md);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    background-color: #f1f5f9;
}

.rdc-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.rdc-gallery-thumb:hover img {
    transform: scale(1.06);
}

.rdc-gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    opacity: 0;
    transition: var(--rdc-transition);
}

.rdc-gallery-thumb:hover .rdc-gallery-caption {
    opacity: 1;
}

.rdc-cap-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #5eead4;
    text-transform: uppercase;
    background: rgba(13, 148, 136, 0.4);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 4px;
}

.rdc-gallery-caption h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.rdc-gallery-caption p {
    font-size: 0.75rem;
    color: #cbd5e1;
}

/* Lightbox Modal */
.rdc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rdc-lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    border-radius: var(--rdc-radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.rdc-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}

.rdc-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rdc-transition);
}

.rdc-lightbox-close:hover {
    background: #fff;
    color: var(--rdc-dark);
}

/* ==========================================================================
   12. TESTIMONIALS (DARK SECTION)
   ========================================================================== */
.rdc-review-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rdc-radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rdc-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.rdc-review-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.rdc-reviewer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
}

.rdc-reviewer strong {
    color: #fff;
    font-size: 0.95rem;
}

.rdc-reviewer span {
    color: #5eead4;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */
.rdc-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rdc-accordion-item {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-md);
    overflow: hidden;
}

.rdc-accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--rdc-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--rdc-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--rdc-transition);
}

.rdc-accordion-trigger:hover {
    color: var(--rdc-primary);
}

.rdc-accordion-arrow {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.rdc-accordion-item.open .rdc-accordion-arrow {
    transform: rotate(180deg);
    color: var(--rdc-primary);
}

.rdc-accordion-panel {
    display: none;
    padding: 0 24px 20px 24px;
    color: var(--rdc-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid var(--rdc-border-subtle);
}

.rdc-accordion-item.open .rdc-accordion-panel {
    display: block;
}

/* ==========================================================================
   14. FORMS & INPUTS (BOOKING & CONTACT)
   ========================================================================== */
.rdc-booking-card, .rdc-contact-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-lg);
    padding: 36px;
    box-shadow: var(--rdc-shadow-lg);
}

.rdc-form-header {
    margin-bottom: 24px;
}

.rdc-form-title {
    font-size: 1.65rem;
    margin-top: 8px;
    margin-bottom: 6px;
}

.rdc-form-subtitle {
    color: var(--rdc-text-muted);
    font-size: 0.9rem;
}

.rdc-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rdc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.rdc-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rdc-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.rdc-required {
    color: var(--rdc-emergency);
}

.rdc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.rdc-input-icon {
    position: absolute;
    left: 14px;
    pointer-events: none;
    font-size: 16px;
    color: #94a3b8;
}

.rdc-input, .rdc-textarea, .rdc-select {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--rdc-border);
    border-radius: var(--rdc-radius-sm);
    font-family: var(--rdc-font-main);
    font-size: 0.92rem;
    color: var(--rdc-dark);
    background-color: #fff;
    transition: var(--rdc-transition);
}

.rdc-textarea {
    padding: 12px 14px;
    resize: vertical;
}

.rdc-input:focus, .rdc-textarea:focus, .rdc-select:focus {
    outline: none;
    border-color: var(--rdc-primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.rdc-form-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid var(--rdc-border);
    padding: 12px 14px;
    border-radius: var(--rdc-radius-sm);
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.rdc-form-info-note svg {
    color: var(--rdc-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Alert Feedback Banner */
.rdc-alert-notice {
    padding: 16px 20px;
    border-radius: var(--rdc-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}

.rdc-alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.rdc-alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* Button Spinner */
.rdc-btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: rdcSpin 0.7s linear infinite;
    display: inline-block;
}

@keyframes rdcSpin {
    to { transform: rotate(360deg); }
}

/* Booking Promo Side Card */
.rdc-booking-promo {
    padding-right: 20px;
}

.rdc-feature-checklist {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rdc-check-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rdc-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rdc-check-item strong {
    font-size: 0.95rem;
    color: var(--rdc-dark);
    display: block;
}

.rdc-check-item p {
    font-size: 0.85rem;
    color: var(--rdc-text-muted);
}

.rdc-urgent-box {
    background: var(--rdc-emergency-bg);
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: var(--rdc-radius-md);
    padding: 20px;
}

.rdc-urgent-box h4 {
    color: #9f1239;
    font-size: 1rem;
    margin-bottom: 6px;
}

.rdc-urgent-box p {
    color: #881337;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.rdc-urgent-call {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--rdc-emergency);
}

/* Location Card & Map */
.rdc-location-card {
    background: #fff;
    border: 1px solid var(--rdc-border);
    border-radius: var(--rdc-radius-lg);
    padding: 32px;
    box-shadow: var(--rdc-shadow-sm);
}

.rdc-coord-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.rdc-coord-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.rdc-coord-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--rdc-dark);
}

.rdc-coord-item p {
    font-size: 0.85rem;
    color: var(--rdc-text-muted);
    margin-top: 2px;
}

.rdc-map-wrapper {
    margin-top: 20px;
    border-radius: var(--rdc-radius-md);
    overflow: hidden;
    border: 1px solid var(--rdc-border);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.rdc-site-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding-top: 70px;
    padding-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rdc-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 50px;
}

.rdc-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rdc-footer-brand .rdc-brand-name {
    color: #fff;
}

.rdc-footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.rdc-cert-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rdc-cert-badges .rdc-badge-pill {
    background: rgba(13, 148, 136, 0.15);
    color: #5eead4;
    border: 1px solid rgba(13, 148, 136, 0.3);
    width: fit-content;
    font-size: 0.75rem;
}

.rdc-footer-heading {
    color: #5eead4;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.rdc-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rdc-footer-links a {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.rdc-footer-links a:hover {
    color: #5eead4;
}

.rdc-hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.rdc-hours-item {
    display: flex;
    flex-direction: column;
}

.rdc-hours-item .rdc-day {
    color: #fff;
    font-weight: 600;
}

.rdc-emergency-box {
    margin-top: 18px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.3);
    padding: 14px;
    border-radius: var(--rdc-radius-sm);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rdc-emergency-box strong {
    color: #fda4af;
    font-size: 0.85rem;
    display: block;
}

.rdc-emergency-box p {
    font-size: 0.75rem;
    color: #cbd5e1;
    margin: 2px 0 6px 0;
}

.rdc-emergency-tel {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.rdc-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.85rem;
}

.rdc-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rdc-contact-item a {
    color: #cbd5e1;
}

.rdc-contact-item a:hover {
    color: #5eead4;
}

/* Footer Bottom */
.rdc-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 0.8rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.rdc-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   16. PAGE HEADER (INNER PAGES)
   ========================================================================== */
.rdc-page-header {
    background: linear-gradient(180deg, var(--rdc-dark) 0%, #1e293b 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.rdc-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.rdc-page-subtitle {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

/* ==========================================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .rdc-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rdc-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .rdc-hero-actions {
        justify-content: center;
    }
    .rdc-hero-metrics {
        justify-content: center;
    }
    .rdc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .rdc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rdc-doctor-grid, .rdc-doctor-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rdc-doctor-title-bar {
        justify-content: center;
    }
    .rdc-doctor-highlights {
        justify-content: center;
    }
    .rdc-doctor-action {
        justify-content: center;
    }
    .rdc-doc-cta-box {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .rdc-main-nav, .rdc-nav-cta .rdc-btn-nav {
        display: none;
    }
    .rdc-mobile-toggle {
        display: flex;
    }
    .rdc-hero-title {
        font-size: 2.25rem;
    }
    .rdc-section-title {
        font-size: 1.85rem;
    }
    .rdc-grid-2, .rdc-grid-3, .rdc-grid-4 {
        grid-template-columns: 1fr;
    }
    .rdc-form-grid {
        grid-template-columns: 1fr;
    }
    .rdc-footer-grid {
        grid-template-columns: 1fr;
    }
    .rdc-gallery-grid {
        grid-template-columns: 1fr;
    }
    .rdc-doc-specializations-grid {
        grid-template-columns: 1fr;
    }
    .rdc-top-left .rdc-location-text, .rdc-top-left .rdc-hours-text, .rdc-top-left .rdc-divider {
        display: none;
    }
}
