/* ==========================================================================
   TOOTH MEDIC FAMILY DENTAL CARE - MODERN LUXURY CLINIC DESIGN SYSTEM
   ========================================================================== */

:root {
    --color-primary: #2A6F6D;
    --color-primary-dark: #194847;
    --color-primary-light: #4A8F8D;
    --color-secondary: #0ea5e9;
    --color-accent: #d4af37;
    --color-teal-light: #e0f2f1;
    --color-dark: #0f172a;
    --color-indigo: #192b38;
    --color-slate: #334155;
    --color-muted: #64748b;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gold: #d97706;
    --color-cream: #fdfbf7;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(42, 111, 109, 0.14);
    --shadow-glow: 0 0 25px rgba(42, 111, 109, 0.25);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-slate);
    background-color: #fafbfc;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    font-weight: 800;
    line-height: 1.25;
}

.serif-font {
    font-family: var(--font-heading);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-primary);
    border: 1.5px solid rgba(42, 111, 109, 0.25);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.75rem auto;
}

.section-header h2 {
    font-size: clamp(2.2rem, 3.5vw, 2.9rem);
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 100%);
    color: var(--color-white);
    padding: 0.9rem 1.85rem;
    border-radius: 14px;
    font-weight: 750;
    font-size: 0.96rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.3);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(42, 111, 109, 0.45);
    color: var(--color-white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1.5px solid rgba(42, 111, 109, 0.3);
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    font-weight: 750;
    font-size: 0.96rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(42, 111, 109, 0.06);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    color: var(--color-primary-dark);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(42, 111, 109, 0.12);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

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

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand-text-box h3 {
    font-size: 1.18rem;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.2;
}

.brand-text-box span {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-slate);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 5.5rem 0 5rem 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(42, 111, 109, 0.08) 0%, transparent 60%),
                #ffffff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 4.5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Hero Entrance Animations */
.hero-badge-anim {
    opacity: 0;
    transform: translateY(-16px);
    animation: heroFadeDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

/* Typewriter cursor */
.hero-title-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    background: var(--color-primary);
    margin-left: 3px;
    animation: cursorBlink 0.75s step-end infinite;
    vertical-align: text-bottom;
    border-radius: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* After-title: each element hides until JS adds .item-revealed */
.hero-desc-anim,
.hero-actions-anim,
.hero-stats-anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc-anim.item-revealed,
.hero-actions-anim.item-revealed,
.hero-stats-anim.item-revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-visual-anim {
    opacity: 0;
    transform: translateX(35px) scale(0.96);
    animation: heroVisualEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
}

@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroVisualEntrance {
    from {
        opacity: 0;
        transform: translateX(35px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Shimmer on Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 40%, var(--color-gold) 75%, var(--color-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradientShine 6s linear infinite;
}

@keyframes gradientShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-floating-pill {
    animation: floatingPill 4s ease-in-out infinite;
}

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

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(42, 111, 109, 0.15);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 850;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-item p {
    font-size: 0.88rem;
    color: var(--color-muted);
    font-weight: 650;
}

.hero-visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
    border: 3px solid #ffffff;
    background: #ffffff;
}

.hero-visual-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-visual-card:hover img {
    transform: scale(1.03);
}

.hero-floating-pill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(42, 111, 109, 0.2);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.pill-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   ABOUT CLINIC SECTION
   ========================================================================== */
.about-section {
    padding: 5.5rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-highlights-list {
    list-style: none;
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--color-slate);
}

.about-highlights-list li i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.about-image-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   SPECIALISTS SECTION
   ========================================================================== */
.doctors-section {
    padding: 5.5rem 0;
    background: #f8fafc;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.doctor-profile-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 24px;
    padding: 2.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2.75rem;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.doctor-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.18);
    border-color: var(--color-primary);
}

.doctor-avatar-circle {
    width: 280px;
    height: 290px;
    border-radius: 24px;
    border: 4px solid var(--color-primary);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 12px 30px rgba(42, 111, 109, 0.22);
}

.doctor-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.doctor-title-box h3 {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.doctor-designation {
    color: var(--color-primary);
    font-weight: 750;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.doctor-credentials {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.doctor-bio {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.doctor-specialties-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.specialty-tag {
    background: #f0fdfa;
    color: var(--color-primary);
    border: 1px solid rgba(42, 111, 109, 0.2);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

/* ==========================================================================
   DEPARTMENTS / CLINICAL SERVICES SECTION
   ========================================================================== */
.departments-section {
    padding: 5.5rem 0;
    background: #ffffff;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.department-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.14);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.16);
    border-color: var(--color-primary);
}

.dept-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-teal-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.35rem;
    transition: transform 0.3s ease;
}

.department-card:hover .dept-icon-circle {
    transform: scale(1.1) rotate(-5deg);
}

.department-card h4 {
    font-size: 1.22rem;
    margin-bottom: 0.65rem;
}

.department-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.65;
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE
   ========================================================================== */
.facilities-section {
    padding: 5.5rem 0;
    background: #f8fafc;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.facility-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 18px;
    padding: 1.85rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12);
    border-color: var(--color-primary);
}

.facility-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem auto;
}

.facility-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.facility-card p {
    font-size: 0.88rem;
    color: var(--color-muted);
}

/* ==========================================================================
   CONTACT & APPOINTMENT SECTION
   ========================================================================== */
.contact-section {
    padding: 5.5rem 0;
    background: #ffffff;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
}

.clinic-info-panel {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.clinic-info-panel h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--color-indigo);
}

.contact-detail-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #334155;
}

.contact-detail-row i {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.hours-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hours-table td {
    padding: 0.65rem 0;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 750;
    color: var(--color-primary);
}

.booking-form-panel {
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 22px;
    padding: 2.75rem;
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.35);
    position: relative;
    overflow: hidden;
}

.booking-form-panel h3 {
    color: #ffedd5;
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
}

.booking-form-panel p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(0, 0, 0, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease;
}

.form-control:focus {
    border-color: #ffffff;
    background-color: rgba(0, 0, 0, 0.24);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 0.95rem;
    background-color: #192b38;
    color: #ffffff;
    font-weight: 750;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    background-color: #0f1c25;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    padding: 4rem 0 2rem 0;
    font-size: 0.92rem;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #0f172a;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul a {
    color: #475569;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col ul a:hover {
    color: #01b6af;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-layout-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .doctor-profile-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .doctor-avatar-circle {
        margin: 0 auto;
    }

    .doctor-specialties-tags {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   SCROLL REVEAL & INTERACTIVE CARD ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.fade-in-left {
    transform: translateX(-40px) translateY(10px);
}

.scroll-reveal.fade-in-right {
    transform: translateX(40px) translateY(10px);
}

.scroll-reveal.fade-in-top {
    transform: translateY(-30px);
}

.scroll-reveal.zoom-in {
    transform: scale(0.92) translateY(20px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }
.delay-350 { transition-delay: 0.35s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Interactive Hover Animations on Cards */
.department-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.department-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.18) !important;
    border-color: var(--color-primary) !important;
}

.facility-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.facility-card:hover {
    transform: translateY(-7px) scale(1.015) !important;
    box-shadow: 0 18px 40px rgba(42, 111, 109, 0.15) !important;
    border-color: var(--color-primary) !important;
}

.doctor-profile-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.doctor-profile-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 25px 55px rgba(42, 111, 109, 0.18) !important;
}

.clinic-info-panel, .booking-form-panel {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease !important;
}
.clinic-info-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.14) !important;
}
.booking-form-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px -8px rgba(42, 111, 109, 0.45) !important;
}

