/* ==========================================================================
   DESIGN SYSTEM - DR. V. V. S. CHANDRASEKHARAM PORTFOLIO
   ========================================================================== */

:root {
    /* HSL Color Palette */
    --color-teal: #2A6F6D;
    --color-teal-rgb: 42, 111, 109;
    --color-light-teal: #E0F2F1;
    --color-sage: #A5C8CA;
    --color-ivory: #FAF9F6;
    --color-gold: #D4AF37;
    --color-indigo: #1F2937;
    --color-indigo-rgb: 31, 41, 55;
    --color-text: #334155;
    --color-bg: #FCFCFA;
    --color-white: #ffffff;

    /* Fonts */
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "DM Sans", sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px -2px rgba(42, 111, 109, 0.08);
    --shadow-glow: 0 0 15px rgba(42, 111, 109, 0.2);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */

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

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Selection styles */
::-moz-selection {
    background-color: var(--color-teal);
    color: var(--color-white);
}

::selection {
    background-color: var(--color-teal);
    color: var(--color-white);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-indigo);
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-ivory);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

.relative-z-10 {
    position: relative;
    z-index: 10;
}

/* Glassmorphism utility */
.glass {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-slow);
    background-color: transparent;
}

/* Scrolled state */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px -2px rgba(31, 41, 55, 0.05);
    border-bottom: 1px solid rgba(42, 111, 109, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    order: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav-logo {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;
}

.nav-logo img {
    width: 110px;
    height: auto;
    object-fit: contain;
    opacity: 0.94;
    transition: var(--transition-smooth);
}

.nav-logo img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-teal);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-brand:hover .brand-title {
    color: var(--color-indigo);
}

.nav-brand:hover .brand-subtitle {
    color: var(--color-teal);
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    position: relative;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-teal);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-teal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Call-to-Action Button */
.btn-appointment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-indigo);
    color: var(--color-white);
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.btn-appointment:hover {
    background-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 111, 109, 0.25);
}

/* Responsive adjustment for Header Navigation */
@media (max-width: 1280px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
        letter-spacing: 0.05em;
    }

    .btn-appointment {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 1100px) {
    .brand-title {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.72rem;
        letter-spacing: 0.03em;
    }
}

.btn-appointment:hover {
    background-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 111, 109, 0.25);
}

/* Hamburger toggle menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-indigo);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mobile-toggle:hover {
    background-color: #f1f5f9;
}

.mobile-toggle svg {
    width: 26px;
    height: 26px;
}

/* Mobile navigation drawer */
.mobile-drawer {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-white);
    z-index: 99;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.mobile-drawer.open {
    height: calc(100vh - 75px);
}

.drawer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
}

.drawer-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-indigo);
}

.drawer-link:hover {
    color: var(--color-teal);
}

.btn-appointment-mobile {
    display: block;
    width: 100%;
    max-width: 300px;
    text-align: center;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    margin-top: 1.5rem;
}

.btn-appointment-mobile:hover {
    background-color: var(--color-indigo);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 0 6rem 0;
    background: linear-gradient(135deg, var(--color-ivory), #f0f7f7);
    overflow: hidden;
}

/* Abstract Background Blobs */
.hero-bg-gradients {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gradient-radial {
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(224, 242, 241, 0.4), transparent 70%);
}

.blur-blob {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 420px;
    height: 420px;
    background-color: rgba(165, 200, 202, 0.12);
    border-radius: 50%;
    filter: blur(80px);
}

.gradient-linear {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 66%;
    height: 50%;
    background: linear-gradient(to top, rgba(224, 242, 241, 0.3), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Badge Promo */
.badge-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(42, 111, 109, 0.1);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-teal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 1.5rem;
    line-height: 1.12;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-teal), var(--color-sage));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #576574;
    font-weight: 300;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 3rem;
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(42, 111, 109, 0.3);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--color-indigo);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(31, 41, 55, 0.3);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: var(--transition-smooth);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-teal);
    padding: 1rem 2.25rem;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 600;
    border: 1px solid rgba(42, 111, 109, 0.2);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: var(--color-light-teal);
    box-shadow: var(--shadow-card);
}

/* Quick Stats */
.hero-quick-stats {
    display: flex;
    gap: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-indigo);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8a99ad;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Hero Visual & Image */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
    perspective: 1200px;
}

.image-bg-effect {
    position: absolute;
    inset: 0;
    background-color: rgba(42, 111, 109, 0.05);
    border-radius: 2rem;
    transform: rotate(3deg) scale(1.04);
    z-index: 1;
}

.doctor-portrait {
    position: relative;
    border-radius: 2rem;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-xl);
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transform-origin: center center;
    animation: float-zoom 8s ease-in-out infinite alternate;
}

.image-wrapper:hover .doctor-portrait {
    transform: translateY(-10px) scale(1.04) rotate3d(0, 1, 0, 2deg);
    transition: transform 0.4s ease;
}

@keyframes float-zoom {
    0% {
        transform: translateY(0) scale(1) rotate3d(0, 1, 0, 0deg);
    }

    33% {
        transform: translateY(-10px) scale(1.02) rotate3d(0, 1, 0, 6deg);
    }

    66% {
        transform: translateY(-18px) scale(1.03) rotate3d(0, 1, 0, -6deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate3d(0, 1, 0, 0deg);
    }
}

/* Floating Card Badge */
.floating-badge-card {
    position: absolute;
    bottom: -1.5rem;
    right: -2rem;
    background-color: var(--color-white);
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 280px;
    z-index: 3;
    animation: float-badge 6s ease-in-out infinite;
}

.badge-icon-wrapper {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.badge-card-info {
    display: flex;
    flex-direction: column;
}

.badge-card-title {
    font-weight: 750;
    color: var(--color-indigo);
    font-size: 1.0625rem;
    margin-bottom: 0.15rem;
}

.badge-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.35;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
    background-color: var(--color-white);
    position: relative;
    padding: 7.5rem 0;
    overflow: hidden;
}

.about-decor-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to bottom, rgba(224, 242, 241, 0.3), transparent);
    pointer-events: none;
}

.about-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: flex-start;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-tag {
    color: var(--color-teal);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-indigo);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.title-bar {
    width: 80px;
    height: 6px;
    background-color: rgba(212, 175, 55, 0.6);
    border-radius: 50px;
}

.bio-paragraphs {
    color: #475569;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.bio-paragraphs p {
    margin-bottom: 1.5rem;
}

.bio-lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: rgba(31, 41, 55, 0.85);
    line-height: 1.7;
    position: relative;
    padding-left: 0.5rem;
}

.quote-mark {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: -1.75rem;
    left: -1rem;
    line-height: 1;
    pointer-events: none;
}

.about-credentials {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.credential-avatars {
    display: flex;
}

.avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-white);
    margin-right: -1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.bg-avatar-teal {
    background-color: var(--color-teal);
}

.bg-avatar-sage {
    background-color: var(--color-sage);
}

.bg-avatar-gold {
    background-color: var(--color-gold);
    margin-right: 0;
}

.credential-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Timeline Column */
.about-timeline {
    background-color: var(--color-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(42, 111, 109, 0.05);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.timeline-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-timeline.timeline-animation-start .timeline-heading {
    opacity: 1;
    transform: translateX(0);
}

.heading-icon {
    width: 24px;
    height: 24px;
}

.text-gold {
    color: var(--color-gold);
}

.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid rgba(42, 111, 109, 0.1);
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: -1px;
    top: var(--timeline-line-top, calc(0.25rem + 9px));
    width: 3px;
    height: var(--timeline-progress-height, 0);
    background-color: var(--color-teal);
    transform-origin: top;
    transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.25rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -2.625rem;
    top: 0.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: scale(0.6);
    opacity: 0.45;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-marker {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 12px rgba(42, 111, 109, 0.08), 0 16px 30px rgba(42, 111, 109, 0.12);
}

.timeline-item.line-grown::after {
    transform: scaleY(1);
}

.timeline-content-card>* {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.active .timeline-content-card>* {
    opacity: 1;
    transform: translateX(0);
}

.timeline-content-card>*:nth-child(1) {
    transition-delay: 0.08s;
}

.timeline-content-card>*:nth-child(2) {
    transition-delay: 0.16s;
}

.timeline-content-card>*:nth-child(3) {
    transition-delay: 0.24s;
}

.timeline-content-card>*:nth-child(4) {
    transition-delay: 0.32s;
}

.timeline-marker.bg-teal {
    background-color: var(--color-teal);
}

.timeline-marker.bg-sage {
    background-color: var(--color-sage);
}

.timeline-marker.bg-indigo {
    background-color: var(--color-indigo);
}

.timeline-content-card {
    display: flex;
    flex-direction: column;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0.25rem 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease !important;
}

.timeline-content-card:hover {
    transform: translateX(4px) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.timeline-meta-tag {
    font-size: 0.75rem;
    font-weight: 750;
    color: var(--color-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.timeline-card-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: var(--color-indigo);
}

.timeline-card-loc {
    font-size: 0.9375rem;
    color: #475569;
    margin-top: 0.15rem;
}

.badge-award-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.75rem;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.timeline-content-card:hover .badge-award-mini {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1));
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

.award-mini-icon {
    width: 13px;
    height: 13px;
}

.timeline-card-desc {
    font-size: 0.9375rem;
    color: #475569;
    margin-top: 0.35rem;
    font-weight: 300;
}

/* ==========================================================================
   EXPERTISE SECTION
   ========================================================================== */

.expertise-section {
    background-color: var(--color-white);
    padding: 7.5rem 0;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.text-center-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-top: 1.25rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.35rem;
}

.container-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.milestones-awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
}

/* Premium Standalone Card Wrappers & Hover Effects */
.awards-card-wrapper,
.milestones-card-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform, box-shadow;
}

.awards-card-wrapper:hover,
.milestones-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(42, 111, 109, 0.14), 0 0 25px rgba(212, 175, 55, 0.12);
    border-color: rgba(42, 111, 109, 0.38);
}

/* Individual Award Item Slide-From-Bottom Entry & Hover Effect */
.award-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(42, 111, 109, 0.03);
    border: 1.2px solid rgba(42, 111, 109, 0.14);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: opacity 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
    will-change: opacity, transform, box-shadow;
}

/* Revealed state for slide from bottom */
.award-card.award-card-popped,
.awards-card-wrapper.revealed .award-card,
.awards-card-wrapper.active .award-card,
.about-timeline.revealed .award-card,
.about-timeline.active .award-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Sequential Stagger Delays for Award Items */
.awards-card-wrapper .award-card:nth-child(1) {
    transition-delay: 0.12s;
}

.awards-card-wrapper .award-card:nth-child(2) {
    transition-delay: 0.28s;
}

.awards-card-wrapper .award-card:nth-child(3) {
    transition-delay: 0.44s;
}

.awards-card-wrapper .award-card:nth-child(4) {
    transition-delay: 0.60s;
}

.award-card:hover {
    transform: translateY(-4px) translateX(8px) scale(1.02) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(224, 242, 241, 0.55));
    border-color: var(--color-teal);
    box-shadow: 0 10px 28px rgba(42, 111, 109, 0.14), 0 0 18px rgba(212, 175, 55, 0.2);
}

.award-card .award-icon-box {
    font-size: 1.85rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35);
    display: inline-block;
}

.award-card:hover .award-icon-box {
    transform: scale(1.3) rotate(12deg);
}

/* ==========================================================================
   CARD INNER CONTENT POP-UP SPRING REVEAL ANIMATIONS
   ========================================================================== */
.card-title {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
    transition: opacity 0.42s ease, transform 0.48s cubic-bezier(0.175, 0.885, 0.32, 1.35);
    will-change: opacity, transform;
}

.service-card-title {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.expertise-card.revealed .card-title,
.expertise-card.active .card-title,
.card-title.title-popped {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-chip {
    opacity: 0;
    transform: scale(0.38) translateY(24px);
    transition: opacity 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: opacity, transform;
}

.service-chip.chip-popped,
.service-category-card.revealed .service-chip.chip-popped,
.service-category-card.active .service-chip.chip-popped,
.expertise-card.revealed .service-chip.chip-popped,
.expertise-card.active .service-chip.chip-popped {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Fallback CSS Stagger for Service Chips */
.service-category-card.revealed .service-chip:nth-child(1),
.service-category-card.active .service-chip:nth-child(1),
.expertise-card.revealed .service-chip:nth-child(1),
.expertise-card.active .service-chip:nth-child(1) {
    transition-delay: 0.08s;
}

.service-category-card.revealed .service-chip:nth-child(2),
.service-category-card.active .service-chip:nth-child(2),
.expertise-card.revealed .service-chip:nth-child(2),
.expertise-card.active .service-chip:nth-child(2) {
    transition-delay: 0.14s;
}

.service-category-card.revealed .service-chip:nth-child(3),
.service-category-card.active .service-chip:nth-child(3),
.expertise-card.revealed .service-chip:nth-child(3),
.expertise-card.active .service-chip:nth-child(3) {
    transition-delay: 0.20s;
}

.service-category-card.revealed .service-chip:nth-child(4),
.service-category-card.active .service-chip:nth-child(4),
.expertise-card.revealed .service-chip:nth-child(4),
.expertise-card.active .service-chip:nth-child(4) {
    transition-delay: 0.26s;
}

.service-category-card.revealed .service-chip:nth-child(5),
.service-category-card.active .service-chip:nth-child(5),
.expertise-card.revealed .service-chip:nth-child(5),
.expertise-card.active .service-chip:nth-child(5) {
    transition-delay: 0.32s;
}

.service-category-card.revealed .service-chip:nth-child(6),
.service-category-card.active .service-chip:nth-child(6),
.expertise-card.revealed .service-chip:nth-child(6),
.expertise-card.active .service-chip:nth-child(6) {
    transition-delay: 0.38s;
}

/* ==========================================================================
   PREMIUM TEAL GREEN HOVER TRANSFORMATION FOR EXPERTISE & SERVICE CARDS
   ========================================================================== */

.expertise-category-block,
.expertise-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.16);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        color 0.45s ease;
    will-change: transform, background, box-shadow;
    overflow: hidden;
    z-index: 1;
}

/* Ensure inner contents sit cleanly above border tracer mask */
.expertise-category-block>*,
.expertise-card>* {
    position: relative;
    z-index: 3;
}

/* ==========================================================================
   BORDER LIGHT LINE TRACER (Strictly for Areas of Expertise Cards)
   ========================================================================== */

.expertise-category-block::before,
.expertise-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent 0deg,
            transparent 270deg,
            rgba(255, 255, 255, 0.95) 310deg,
            #D4AF37 335deg,
            #80E2DB 355deg,
            transparent 360deg);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderLightTrace 3s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Inner Background Mask to reveal 2px border beam */
.expertise-category-block::after,
.expertise-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: 18px;
    z-index: 2;
    pointer-events: none;
    transition: background 0.45s ease;
}

/* Reveal Border Light Beam Tracer on Hover */
.expertise-category-block:hover::before,
.expertise-card:hover::before {
    opacity: 1;
}

@keyframes borderLightTrace {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Category header layouts */
.expertise-category-block .category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.expertise-category-block .category-header-icon,
.expertise-card .card-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-light-teal);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.38s ease, color 0.38s ease, transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.35);
}

.expertise-category-block .category-title,
.expertise-card .card-title {
    color: var(--color-indigo);
    font-size: 1.4rem;
    font-weight: 750;
    margin: 0;
    transition: color 0.38s ease;
}

.expertise-bullets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.expertise-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: rgba(42, 111, 109, 0.04);
    border: 1px solid rgba(42, 111, 109, 0.1);
    color: #334155;
    font-weight: 550;
    font-size: 0.94rem;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.expertise-bullet-item i,
.expertise-bullet-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
    transition: color 0.35s ease, stroke 0.35s ease, transform 0.35s ease;
}

/* --------------------------------------------------------------------------
   HOVER STATE: AREAS OF EXPERTISE CARDS TURN TEAL GREEN WITH WHITE TEXT & GLOW
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   HOVER STATE: CLEAN LIGHT LUXURY CARD WITH BRAND TEAL ACCENTS
   -------------------------------------------------------------------------- */

.expertise-category-block:hover,
.expertise-card:hover {
    transform: translateY(-8px) scale(1.015);
    background: linear-gradient(180deg, #ffffff 0%, #f2faf9 100%) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

/* Header, titles & descriptions stay rich indigo & crisp slate on card hover */
.expertise-category-block:hover .category-title,
.expertise-category-block:hover h2,
.expertise-category-block:hover h3,
.expertise-category-block:hover h4,
.expertise-card:hover .card-title {
    color: var(--color-indigo) !important;
}

.expertise-category-block:hover p,
.expertise-card:hover .card-desc {
    color: #475569 !important;
}

/* Icon box transforms to solid teal badge with white icon on hover */
.expertise-category-block:hover .category-header-icon,
.expertise-card:hover .card-icon-container {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: scale(1.12) rotate(4deg);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.3) !important;
}

.expertise-category-block:hover .category-header-icon i,
.expertise-category-block:hover .category-header-icon svg,
.expertise-card:hover .card-icon-container i,
.expertise-card:hover .card-icon-container svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Inner bullet procedure pills stay clean white on card hover */
.expertise-category-block:hover .expertise-bullet-item {
    background: #ffffff !important;
    border-color: rgba(42, 111, 109, 0.22) !important;
    color: var(--color-indigo) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
}

.expertise-category-block:hover .expertise-bullet-item i,
.expertise-category-block:hover .expertise-bullet-item svg {
    color: var(--color-teal) !important;
    stroke: var(--color-teal) !important;
}

/* Individual bullet item hover turns to solid brand teal pill */
.expertise-category-block:hover .expertise-bullet-item:hover,
.expertise-bullet-item:hover {
    background: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.28) !important;
}

.expertise-category-block:hover .expertise-bullet-item:hover i,
.expertise-category-block:hover .expertise-bullet-item:hover svg,
.expertise-bullet-item:hover i,
.expertise-bullet-item:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Service Category Cards Hover (Clean White Card with Teal Accents) */
.service-category-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-teal) !important;
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.12) !important;
}

.service-category-card:hover .service-card-title {
    color: var(--color-teal) !important;
}

.service-category-card:hover .service-chip {
    background: rgba(42, 111, 109, 0.07) !important;
    color: var(--color-teal) !important;
    border-color: rgba(42, 111, 109, 0.2) !important;
}

.service-category-card:hover .service-chip:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.28);
}

/* ==========================================================================
   FLOATING SIGNATURE PILL CARDS (Matching User Reference Image)
   ========================================================================== */

.signature-floating-pill {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.14);
    border-radius: 50px;
    padding: 1.05rem 2.2rem;
    box-shadow: 0 12px 28px -4px rgba(42, 111, 109, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.signature-floating-pill span {
    font-size: 1.08rem;
    font-weight: 650;
    color: var(--color-teal);
    letter-spacing: -0.01em;
    line-height: 1.3;
    transition: color 0.35s ease;
    white-space: nowrap;
}

/* Hover state for signature floating pills */
.signature-floating-pill:hover {
    transform: translateY(-8px) scale(1.05) !important;
    background: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 20px 40px rgba(42, 111, 109, 0.28), 0 0 20px rgba(42, 111, 109, 0.18) !important;
}

.signature-floating-pill:hover span {
    color: #ffffff !important;
}

/* ==========================================================================
   RANDOM LEFT AND RIGHT SPRING SLIDE ANIMATION FOR SIGNATURE FLOATING PILLS
   ========================================================================== */

.signature-floating-pill {
    transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        opacity 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease;
    will-change: transform, opacity;
}

.signature-floating-pill.pill-slide-left:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(-240px, 20px, 0) rotate(-6deg) scale(0.8);
}

.signature-floating-pill.pill-slide-right:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(240px, 20px, 0) rotate(6deg) scale(0.8);
}

.signature-floating-pill.pill-slide-far-left:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(-320px, -15px, 0) rotate(-9deg) scale(0.75);
}

.signature-floating-pill.pill-slide-far-right:not(.pill-revealed) {
    opacity: 0;
    transform: translate3d(320px, -15px, 0) rotate(9deg) scale(0.75);
}

.signature-floating-pill.pill-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

.signature-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .signature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signature-treatment-card[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

@media (max-width: 640px) {
    .signature-cards-grid {
        grid-template-columns: 1fr;
    }
}

.signature-treatment-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    will-change: transform, box-shadow;
}

/* Gradient accent bar on top of each luxury card */
.signature-card-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-sage));
    opacity: 0.8;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.signature-treatment-card:hover .signature-card-top-accent {
    height: 6px;
    opacity: 1;
}

.signature-card-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(42, 111, 109, 0.18);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35), background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.signature-card-icon-box i,
.signature-card-icon-box svg {
    width: 26px;
    height: 26px;
}

.signature-card-badge {
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    display: inline-block;
}

.signature-card-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.65rem;
    line-height: 1.3;
    transition: color 0.35s ease;
}

.signature-card-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    transition: color 0.35s ease;
}

/* Hover effect for Signature Treatment Cards */
.signature-treatment-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--color-teal);
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.signature-treatment-card:hover .signature-card-icon-box {
    transform: scale(1.18) rotate(8deg);
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
}

.signature-treatment-card:hover .signature-card-title {
    color: var(--color-teal);
}

.signature-treatment-card:hover .signature-card-desc {
    color: #334155;
}

@media (max-width: 900px) {
    .milestones-awards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.treatment-pill-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.treatment-pill {
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(22, 108, 91, 0.08);
    font-weight: 500;
    color: var(--color-teal);
    border: 1px solid rgba(255, 255, 255, 0.75);
    transition: all 0.2s ease;
    min-width: 240px;
    max-width: 420px;
    flex: 1 1 240px;
    text-align: center;
}

.treatment-pill:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: scale(1.05);
}

.treatment-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(42, 111, 109, 0.28);
    box-shadow: 0 18px 40px rgba(42, 111, 109, 0.08);
}

.expertise-card {
    background-color: var(--color-bg);
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

.expertise-card:hover {
    border-color: var(--color-teal);
    box-shadow: 0 12px 28px rgba(42, 111, 109, 0.14);
}

.expertise-card.fade-in-left {
    transform: translateX(-70px) translateY(20px);
}

.expertise-card.fade-in-right {
    transform: translateX(70px) translateY(20px);
}

.expertise-card.fade-in-top {
    transform: translateY(-60px);
}

.expertise-card.fade-in-bottom {
    transform: translateY(60px);
}

.expertise-card.revealed {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.expertise-card>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-card.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card>*:nth-child(1) {
    transition-delay: 0.1s;
}

.expertise-card>*:nth-child(2) {
    transition-delay: 0.18s;
}

.expertise-card>*:nth-child(3) {
    transition-delay: 0.26s;
}

.expertise-card>*:nth-child(4) {
    transition-delay: 0.34s;
}

.card-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--color-light-teal);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: var(--transition-smooth);
}

.card-icon-container svg {
    width: 22px;
    height: 22px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.card-desc {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-underline {
    width: 32px;
    height: 4px;
    background-color: rgba(42, 111, 109, 0.2);
    border-radius: 50px;
    margin-top: auto;
    transition: var(--transition-slow);
}

/* Card Hover Animations */
.expertise-card:hover {
    transform: translateY(-6px);
    border-color: rgba(42, 111, 109, 0.15);
    box-shadow: var(--shadow-xl);
}

.expertise-card:hover .card-icon-container {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.expertise-card:hover .card-underline {
    width: 100%;
    background-color: var(--color-teal);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
    position: relative;
    background-color: var(--color-indigo);
    color: var(--color-white);
    padding: 6.5rem 0;
    overflow: hidden;
}

.stats-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stats-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.08;
    mix-blend-mode: overlay;
}

.stats-blob-teal {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    background-color: var(--color-teal);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
}

.stats-blob-gold {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    background-color: var(--color-gold);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.stat-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 1.25rem;
    text-align: center;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.45s ease !important;
    will-change: transform, box-shadow;
}

/* Specular Shimmer Sweep Effect */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 30%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.03) 70%,
            transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 2;
}

.stat-card:hover::before {
    left: 150%;
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(42, 111, 109, 0.18));
    border-color: rgba(165, 200, 202, 0.6) !important;
    transform: translateY(-12px) scale(1.04) !important;
    box-shadow: 0 22px 50px -10px rgba(42, 111, 109, 0.45),
        0 0 30px rgba(212, 175, 55, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 750;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.08);
    background: linear-gradient(135deg, #ffffff 30%, #a5c8ca 70%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-meta-label {
    color: var(--color-sage);
    font-size: 1.05rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 0.5rem;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover .stat-meta-label {
    color: #ffffff;
    border-color: rgba(165, 200, 202, 0.4);
}

.stat-meta-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    transition: color 0.4s ease;
}

.stat-card:hover .stat-meta-sub {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   ACADEMIC / ACHIEVEMENTS
   ========================================================================== */

.achievements-section {
    background-color: #f7fafc;
    padding: 7.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.academic-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
}

.book-card {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid rgba(42, 111, 109, 0.12);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-slow);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.book-card-watermark {
    position: absolute;
    top: 1.5rem;
    right: -1rem;
    opacity: 0.04;
    pointer-events: none;
    transition: var(--transition-slow);
}

.book-card-watermark svg {
    width: 180px;
    height: 180px;
}

.book-card:hover .book-card-watermark {
    opacity: 0.08;
}

.book-card-content {
    position: relative;
    z-index: 2;
}

.badge-featured-book {
    background-color: var(--color-gold);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 6px rgba(212, 175, 55, 0.2);
    margin-bottom: 2rem;
}

.featured-book-icon {
    width: 14px;
    height: 14px;
}

.book-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin-bottom: 1.25rem;
}

.book-desc {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.book-footer {
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    padding-top: 2rem;
    width: 100%;
}

.book-learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-teal);
}

.book-learn-more-btn:hover {
    color: var(--color-indigo);
}

.book-learn-more-btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.book-learn-more-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Publications Grid Stack */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.publication-item-card {
    background-color: var(--color-white);
    padding: 1.75rem;
    border-radius: 1rem;
    border: 2px solid rgba(42, 111, 109, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: var(--transition-smooth);
}

.publication-item-card:hover {
    border-color: rgba(42, 111, 109, 0.08);
    box-shadow: var(--shadow-card);
}

.pub-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-teal);
}

.pub-icon-box svg {
    width: 26px;
    height: 26px;
}

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

.bg-pub-sage {
    background-color: rgba(165, 200, 202, 0.18);
}

.bg-pub-gold {
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--color-gold);
}

.pub-text-box {
    display: flex;
    flex-direction: column;
}

.pub-card-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.15rem;
}

.pub-card-desc {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 300;
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */

.philosophy-section {
    position: relative;
    background-color: var(--color-indigo);
    color: var(--color-white);
    text-align: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

.philosophy-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(42, 111, 109, 0.4), var(--color-indigo), #0f172a);
    opacity: 0.85;
    pointer-events: none;
}

.philosophy-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.philosophy-quote-icon {
    width: 48px;
    height: 48px;
    color: var(--color-gold);
    opacity: 0.9;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

.philosophy-text {
    font-size: 2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    margin-bottom: 3rem;
    max-width: 900px;
    color: #F8FAFC;
    text-shadow: 0 2px 20px rgba(15, 23, 42, 0.25);
}

.philosophy-text .italic {
    font-style: italic;
    color: #E0F2F7;
    font-weight: 400;
}

.philosophy-text .text-sage {
    color: #D4F1EF;
}

.philosophy-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 2.25rem;
    width: 100%;
    max-width: 750px;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    color: var(--color-gold);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   MEDIA SECTION
   ========================================================================== */

.media-section {
    background-color: var(--color-white);
    padding: 7.5rem 0;
}

.media-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-teal);
    border-bottom: 2px solid rgba(42, 111, 109, 0.15);
    padding-bottom: 0.25rem;
}

.youtube-channel-link:hover {
    color: var(--color-indigo);
    border-color: var(--color-teal);
}

.link-icon {
    width: 16px;
    height: 16px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    display: block;
}

.video-thumbnail-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #f1f5f9;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.25rem;
    transition: var(--transition-slow);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(31, 41, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    transition: var(--transition-smooth);
}

.play-button-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition-bounce);
    padding-left: 3px;
}

.play-button-circle svg {
    width: 22px;
    height: 22px;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-card:hover .video-overlay {
    background-color: rgba(31, 41, 55, 0.15);
    backdrop-filter: blur(0px);
}

.video-card:hover .play-button-circle {
    transform: scale(1.12);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.video-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 750;
    color: var(--color-indigo);
    line-height: 1.35;
    transition: var(--transition-smooth);
}

.video-card:hover .video-title {
    color: var(--color-teal);
}

.video-desc {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-top: 0.35rem;
    font-weight: 300;
}

/* LinkedIn Connection Card */
.linkedin-connection-card {
    background-color: rgba(224, 242, 241, 0.25);
    border: 1px solid rgba(42, 111, 109, 0.08);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.linkedin-connection-card:hover {
    background-color: rgba(224, 242, 241, 0.45);
}

.linkedin-logo-box {
    background-color: var(--color-white);
    color: #0077b5;
    padding: 0.85rem;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.linkedin-logo-box svg {
    width: 28px;
    height: 28px;
}

.linkedin-card-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.75rem;
}

.linkedin-card-desc {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.linkedin-btn {
    display: block;
    width: 100%;
    background-color: #0077b5;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.25);
    transition: var(--transition-smooth);
}

.linkedin-btn:hover {
    background-color: #006097;
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.35);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    background-color: var(--color-bg);
    padding: 7.5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.locations-panel,
.booking-panel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.locations-intro {
    font-size: 0.98rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    font-weight: 400;
    min-height: 2.8rem;
}

.highlight-teal {
    color: var(--color-teal);
    font-weight: 600;
}

.locations-stack {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location-item-card {
    background-color: var(--color-white);
    border: 1px solid rgba(42, 111, 109, 0.12);
    padding: 2.25rem 2.25rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 0 0 auto;
    transition: var(--transition-smooth);
}

.location-map-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 110px;
    margin-top: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(42, 111, 109, 0.12);
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100% !important;
    flex: 1;
    min-height: 110px;
    border-radius: 1.5rem;
}

.location-item-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateX(4px);
}

.loc-icon-wrapper {
    color: var(--color-teal);
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.loc-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.location-item-card:hover .loc-icon-wrapper {
    transform: scale(1.12);
}

.loc-details {
    display: flex;
    flex-direction: column;
}

.badge-area-wrapper {
    display: flex;
    margin-bottom: 0.5rem;
}

.badge-area {
    font-size: 0.625rem;
    font-weight: 750;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.loc-hospital-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    line-height: 1.3;
}

.loc-address {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.35rem;
}

.loc-time-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f3f4f6;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-teal);
    width: 100%;
}

.time-icon {
    width: 14px;
    height: 14px;
}

/* Appointment Booking Right Panel */
.booking-panel-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.booking-card {
    position: relative;
    background-color: var(--color-teal, #2a6f6d);
    color: #ffffff;
    padding: 2.25rem 2.25rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px -10px rgba(42, 111, 109, 0.28);
    overflow: hidden;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Blurry Floating Shapes Inside Booking Card */
.glass-blob-top {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    filter: blur(50px);
}

.glass-blob-bottom {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background-color: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    filter: blur(40px);
}

.booking-content {
    position: relative;
    z-index: 2;
}

.booking-title {
    font-size: 2.2rem;
    font-weight: 750;
    font-family: var(--font-serif);
    color: #192b38 !important;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.booking-subtitle {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.booking-note-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
}

.note-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-gold, #eab308);
    flex-shrink: 0;
}

.theme-form-label {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: block;
    margin-bottom: 0.25rem !important;
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 2;
}

.theme-form-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 0.65rem !important;
    padding: 0.55rem 0.85rem 0.55rem 2.4rem !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.25s ease !important;
}

.theme-form-input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.theme-form-input:focus {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15) !important;
}

select.theme-form-input option {
    background-color: #2a6f6d;
    color: #ffffff;
}

.theme-submit-btn {
    width: 100%;
    background-color: #192b38 !important;
    color: #ffffff !important;
    font-weight: 750 !important;
    font-size: 0.92rem !important;
    padding: 0.75rem 1.25rem !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    margin-top: 0.25rem;
}

.theme-submit-btn:hover {
    background-color: #0f1c24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3) !important;
}

.booking-desc {
    color: var(--color-sage);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-weight: 300;
}

.booking-action-stack {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.booking-action-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}

.booking-action-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.action-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.action-icon-circle svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

.booking-action-link:hover .action-icon-circle {
    transform: scale(1.1);
}

.action-text-box {
    display: flex;
    flex-direction: column;
}

.action-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage);
    margin-bottom: 0.15rem;
}

.action-value {
    font-size: 1.5rem;
    font-weight: 750;
    color: var(--color-white);
}

.email-value {
    font-size: 1.25rem;
    font-weight: 500;
    word-break: break-all;
}

.booking-emergency-note {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.emergency-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.5rem;
    animation: pulse-dot 2s infinite;
}

.emergency-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
}

/* Contact Quick Cards styles */
.contact-header-section {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-quick-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.contact-quick-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--color-white);
    border-radius: 1.25rem;
    border: 1px solid rgba(42, 111, 109, 0.08);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    transition: var(--transition-bounce);
    min-width: 280px;
    width: 100%;
    max-width: 450px;
    text-align: left;
}

.contact-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(42, 111, 109, 0.15);
    border-color: rgba(42, 111, 109, 0.2);
}

.quick-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(42, 111, 109, 0.06);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-bounce);
}

.contact-quick-card:hover .quick-icon-circle {
    transform: scale(1.1);
    background-color: var(--color-teal);
    color: var(--color-white);
}

.contact-quick-card>div:not(.quick-icon-circle) {
    min-width: 100px;
    flex: 1;
}

.quick-card-tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8a99ad;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.quick-card-val {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--color-indigo);
    transition: var(--transition-smooth);
    word-break: break-all;
    overflow-wrap: anywhere;
}

.contact-quick-card:hover .quick-card-val {
    color: var(--color-teal);
}

/* Premium Form Controls inside Booking Card */
.booking-card form {
    margin-top: 1.5rem;
}

.booking-card .form-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-sage);
    display: block;
    margin-bottom: 0.4rem;
}

.booking-card .form-input {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
}

.booking-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.booking-card .form-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

/* Fix dropdown arrow/icon color in select options */
.booking-card select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255, 255, 255, 0.6)' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.15rem center;
    background-size: 1.15rem;
    padding-right: 2.75rem;
}

.booking-card select.form-input option {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.booking-card textarea.form-input {
    resize: vertical;
    min-height: 110px;
}

.booking-card .appointment-status {
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.booking-card .form-feedback-error {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.booking-card .form-feedback-success {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(224, 242, 241, 0.9));
    color: var(--color-text, #334155);
    padding: 5rem 0 2.5rem 0;
    border-top: 1px solid rgba(42, 111, 109, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(42, 111, 109, 0.08), transparent 45%);
    pointer-events: none;
}

.footer-upper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(42, 111, 109, 0.14);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-top: 0.25rem;
}

.footer-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.footer-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* or 0.5rem */
    flex-wrap: nowrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    /* or 0 */
    margin-left: 0;
    border-left: none;
    /* remove if you don't want the separator */
}

.footer-logo img {
    width: 90px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.06);
}

.footer-link {
    color: #475569;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-teal, #2a6f6d);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
    color: var(--color-teal, #2a6f6d);
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    transition: text-shadow 0.35s ease, transform 0.35s ease;
    display: inline-block;
}

.footer-brand:hover .footer-brand-title {
    text-shadow: 0 0 18px rgba(42, 111, 109, 0.4);
    transform: translateY(-1px);
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.footer-brand:hover .footer-brand-subtitle {
    color: var(--color-teal, #2a6f6d);
}

.footer-lower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-copy {
    white-space: nowrap;
    color: #475569;
    flex: 1 1 280px;
    min-width: 220px;
}

.footer-disclaimer {
    max-width: 500px;
    line-height: 1.5;
    text-align: right;
    color: #64748b;
    flex: 1 1 280px;
    min-width: 240px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

/* Reveal animations for scroll triggers */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.scroll-reveal.fade-in-bottom {
    transform: translateY(32px);
}

/* Philosophy word-by-word slide from bottom animation */
.philosophy-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-word.revealed {
    opacity: 1;
    transform: translateY(0);
}

.publication-item-card>* {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-item-card.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.publication-item-card>*:nth-child(1) {
    transition-delay: 0.42s;
}

.publication-item-card>*:nth-child(2) {
    transition-delay: 0.54s;
}

.book-card-content {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.42s;
}

.book-card.revealed .book-card-content {
    opacity: 1;
    transform: translateX(0);
}

.hero-visual.scroll-reveal.revealed {
    opacity: 1;
    animation: hero-image-entrance 0.85s ease-out both;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.typewriter-text {
    display: inline-block;
    white-space: pre-wrap;
    overflow: hidden;
    min-width: 1ch;
}

.typewriter-text::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 1.1em;
    margin-left: 0.3ch;
    background-color: currentColor;
    animation: blink-caret 1s steps(1) infinite;
}

.typewriter-text.typing-done::after {
    display: none;
}

.hero-desc.fade-in-after-type,
.hero-buttons.fade-in-after-type,
.hero-quick-stats.fade-in-after-type {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-desc.fade-in-after-type.visible,
.hero-buttons.fade-in-after-type.visible,
.hero-quick-stats.fade-in-after-type.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes blink-caret {
    50% {
        opacity: 0;
    }
}

@keyframes hero-image-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96) rotate(-3deg);
    }

    55% {
        transform: translateY(-10px) scale(1.02) rotate(1deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Entry Delay classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Custom keyframes */
@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(42, 111, 109, 0.4);
    }

    50% {
        transform: scale(1.12);
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(42, 111, 109, 0);
    }
}

@keyframes float-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.95;
        transform: scale(0.99);
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-quick-stats {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .academic-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }

    .booking-panel-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .desktop-menu {
        display: none !important;
    }

    .nav-menu {
        display: none;
    }

    .nav-logo {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-section {
        padding-top: 7.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .floating-badge-card {
        right: -0.5rem;
        bottom: -1rem;
        padding: 1rem;
        max-width: 250px;
    }

    .section-title {
        font-size: 2.15rem;
    }

    .about-timeline {
        padding: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .philosophy-text {
        font-size: 1.75rem;
    }

    .philosophy-metrics {
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .metric-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .media-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-item-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .booking-card {
        padding: 2.5rem;
        border-radius: 24px;
    }

    .action-value {
        font-size: 1.25rem;
    }

    .email-value {
        font-size: 1.1rem;
    }

    .footer-upper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-lower {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .floating-badge-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   HIGH MOTION RANDOM EXPERTISE CARD SLIDE ANIMATIONS
   ========================================================================== */
.expertise-card {
    transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.75s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform, opacity;
}

.expertise-card.motion-variant-1 {
    transform: translate3d(-180px, 90px, 0) scale(0.65) rotate(-12deg);
    opacity: 0;
}

.expertise-card.motion-variant-2 {
    transform: translate3d(180px, -100px, 0) scale(0.7) rotate(14deg);
    opacity: 0;
}

.expertise-card.motion-variant-3 {
    transform: translate3d(0, 160px, 0) scale(0.55) rotate(-8deg);
    opacity: 0;
}

.expertise-card.motion-variant-4 {
    transform: translate3d(-140px, -130px, 0) scale(1.2) rotate(10deg);
    opacity: 0;
}

.expertise-card.motion-variant-5 {
    transform: translate3d(200px, 120px, 0) scale(0.6) rotate(-15deg);
    opacity: 0;
}

.expertise-card.motion-variant-6 {
    transform: translate3d(-200px, 0, 0) scale(0.7) rotate(16deg);
    opacity: 0;
}

.expertise-card.revealed {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    opacity: 1 !important;
}

.expertise-card.revealed:hover {
    transform: translate3d(0, -8px, 0) scale(1.04) rotate(1deg) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 16px 36px rgba(42, 111, 109, 0.2) !important;
}

/* ==========================================================================
   VIBRANT SOCIAL MEDIA ICONS
   ========================================================================== */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 1.25rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-decoration: none;
}

.social-icon-btn.instagram {
    color: #e1306c;
}

.social-icon-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(225, 48, 108, 0.4);
}

.social-icon-btn.facebook {
    color: #1877f2;
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(-5deg);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.4);
}

.social-icon-btn.youtube {
    color: #ff0000;
}

.social-icon-btn.youtube:hover {
    background: #ff0000;
    color: #ffffff;
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.4);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--bg-card, #ffffff);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-teal);
}

.trust-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-indigo);
}

.trust-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(-14px, 14px, 0) scale(0.92);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: opacity, transform;
}

.trust-word.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================================================
   UNIVERSAL RANDOM HIGH-MOTION CARD SLIDE-IN SYSTEM FOR ALL PAGE CARDS
   ========================================================================== */
.expertise-card,
.stat-card,
.book-card,
.publication-item-card,
.trust-card,
.contact-quick-card,
.location-item-card,
.booking-card,
.floating-badge-card {
    transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.75s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    will-change: transform, opacity;
}

.global-card-motion-1 {
    transform: translate3d(-240px, 120px, 0) scale(0.6) rotate(-15deg);
    opacity: 0;
}

.global-card-motion-2 {
    transform: translate3d(240px, -130px, 0) scale(0.65) rotate(16deg);
    opacity: 0;
}

.global-card-motion-3 {
    transform: translate3d(-160px, -180px, 0) scale(0.7) rotate(-12deg);
    opacity: 0;
}

.global-card-motion-4 {
    transform: translate3d(170px, 190px, 0) scale(0.55) rotate(14deg);
    opacity: 0;
}

.global-card-motion-5 {
    transform: translate3d(0, 240px, 0) scale(0.5) rotate(-20deg);
    opacity: 0;
}

.global-card-motion-6 {
    transform: translate3d(0, -220px, 0) scale(0.6) rotate(18deg);
    opacity: 0;
}

.global-card-motion-7 {
    transform: translate3d(-200px, 0, 0) scale(0.65) rotate(-10deg);
    opacity: 0;
}

.global-card-motion-8 {
    transform: translate3d(220px, 0, 0) scale(0.6) rotate(12deg);
    opacity: 0;
}

/* Return to exact original position */
.card-slide-revealed {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    opacity: 1 !important;
}

/* ==========================================================================
   UNIVERSAL PREMIUM CARD HOVER INTERACTION OVERRIDES
   ========================================================================== */
.expertise-card.card-slide-revealed:hover,
.expertise-card.revealed:hover,
.publication-item-card.card-slide-revealed:hover,
.trust-card.card-slide-revealed:hover,
.contact-quick-card.card-slide-revealed:hover,
.location-item-card.card-slide-revealed:hover {
    transform: translateY(-8px) scale(1.03) rotate(0.5deg) !important;
    border-color: var(--color-teal, #2a6f6d) !important;
    box-shadow: 0 20px 40px -10px rgba(42, 111, 109, 0.25), 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   ULTRA-PREMIUM FLATPICKR CUSTOM DATE PICKER THEME
   ========================================================================== */
.flatpickr-calendar {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid rgba(42, 111, 109, 0.25) !important;
    box-shadow: 0 25px 50px -10px rgba(42, 111, 109, 0.35), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
    padding: 0.75rem !important;
    overflow: hidden !important;
    width: 315px !important;
}

.flatpickr-months {
    background: linear-gradient(135deg, #2a6f6d 0%, #1e5250 100%) !important;
    border-radius: 0.85rem 0.85rem 0 0 !important;
    padding: 0.6rem 0 !important;
    color: #ffffff !important;
}

.flatpickr-months .flatpickr-month {
    color: #ffffff !important;
    fill: #ffffff !important;
    height: 38px !important;
}

.flatpickr-current-month {
    padding-top: 0.25rem !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 750 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    background: transparent !important;
}

.flatpickr-current-month input.cur-year {
    font-weight: 750 !important;
    color: #ffffff !important;
    font-size: 1rem !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: #ffffff !important;
    color: #ffffff !important;
    padding: 0.6rem !important;
    top: 0.35rem !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--color-gold, #d4af37) !important;
    transform: scale(1.15);
}

span.flatpickr-weekday {
    color: var(--color-teal, #2a6f6d) !important;
    font-weight: 750 !important;
    font-size: 0.85rem !important;
    margin-top: 0.5rem !important;
}

.flatpickr-day {
    border-radius: 50% !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    height: 36px !important;
    line-height: 36px !important;
}

.flatpickr-day:hover {
    background: rgba(42, 111, 109, 0.15) !important;
    color: var(--color-teal) !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, #2a6f6d, #1d4e4c) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.4) !important;
}

.flatpickr-day.today {
    border-color: var(--color-gold, #d4af37) !important;
    color: #d4af37 !important;
}

.flatpickr-day.today.selected {
    background: linear-gradient(135deg, #d4af37, #b89628) !important;
    color: #ffffff !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    opacity: 0.35 !important;
}

/* ==========================================================================
   EXTRA-WIDE CONTAINER UTILITY
   ========================================================================== */
.container-wide {
    width: 80%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   CLINICAL SHOWCASE IMAGE CARDS (EXPANSIVE HORIZONTAL & GRID)
   ========================================================================== */
.clinical-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
    margin-top: 2rem;
}

.clinical-showcase-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
    background-color: #ffffff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.clinical-showcase-card.horizontal-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(42, 111, 109, 0.18);
    box-shadow: 0 25px 60px -15px rgba(42, 111, 109, 0.18), 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 992px) {
    .clinical-showcase-card.horizontal-card {
        grid-template-columns: 1fr;
    }
}

.clinical-showcase-card.horizontal-card .clinical-showcase-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    max-height: 520px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.clinical-showcase-card.horizontal-card .clinical-showcase-content {
    padding: 3rem 3.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: none;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

.clinical-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(42, 111, 109, 0.28);
    border-color: var(--color-teal);
}

.clinical-showcase-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.5s ease;
}

.clinical-showcase-card:hover .clinical-showcase-img {
    transform: scale(1.04);
}

.clinical-showcase-content {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    margin-bottom: 0.4rem;
}

.showcase-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.showcase-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: justify;
    -moz-text-align-last: justify;
    word-break: break-word;
    hyphens: auto;
}

.showcase-desc .bio-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.42s ease;
    will-change: transform, opacity;
}

.showcase-desc .bio-sentence.sentence-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ==========================================================================
   COMPREHENSIVE CARE CARD HOVER EFFECT
   ========================================================================== */
.comprehensive-care-card {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.06), rgba(165, 200, 202, 0.12));
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 1.5rem;
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease !important;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
}

.comprehensive-care-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.75s ease;
}

.comprehensive-care-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(42, 111, 109, 0.4) !important;
    box-shadow: 0 20px 45px -10px rgba(42, 111, 109, 0.22), 0 8px 20px -6px rgba(0, 0, 0, 0.08) !important;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12), rgba(165, 200, 202, 0.22)) !important;
}

.comprehensive-care-card:hover::before {
    left: 100%;
}

/* ==========================================================================
   NEW SECTIONS: ACADEMIC AWARDS, ADVANCED TRAINING, EXPERTISE, SERVICES & SIGNATURE
   ========================================================================== */

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.award-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.award-icon-box {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(42, 111, 109, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin: 0 0 0.15rem 0;
}

/* Advanced Training Section */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.training-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.training-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-teal), #1f5351);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-indigo);
    line-height: 1.5;
    margin: 0;
}

/* Expertise Categories Stack */
.expertise-categories-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expertise-category-block {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.expertise-category-block:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(42, 111, 109, 0.3);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(42, 111, 109, 0.1);
}

.category-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-indigo);
    margin: 0;
}

.expertise-bullets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem 1.5rem;
}

.expertise-bullet-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.expertise-bullet-item svg {
    color: var(--color-teal);
    flex-shrink: 0;
}

/* (Duplicate services grid styles removed for clean specificity) */

.service-chip {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.05rem;
    border-radius: 999px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    border: 1px solid rgba(42, 111, 109, 0.18);
    box-shadow: inset 0 0 0 0 rgba(42, 111, 109, 0.1);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.service-chip:hover {
    transform: translateY(-2px);
    background: var(--color-teal);
    color: #ffffff;
    border-color: rgba(42, 111, 109, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

@keyframes cardFloatIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-category-card {
    animation: cardFloatIn 0.85s ease forwards;
}

/* Signature Treatments Grid */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.signature-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.signature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-teal);
}

.signature-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.signature-card-title {
    font-size: 0.98rem;
    font-weight: 650;
    color: var(--color-indigo);
    margin: 0;
}

/* Why Patients Choose Trust Cards & Tagline Banner */
.trust-card {
    background: #ffffff;
    border: 1px solid rgba(42, 111, 109, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.trust-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.tagline-banner {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--color-teal), #184846);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.tagline-text {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.tagline-text span {
    color: #a8d8d8;
}

/* ==========================================================================
   SIGNATURE TREATMENTS 3-COLUMN EQUAL GRID LAYOUT (MATCHING IMAGE 1)
   ========================================================================== */

#signature-treatments {
    background: transparent !important;
}

#signature-treatments .services-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

#signature-treatments .services-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-teal);
    border-radius: 2px;
}

.signature-flex-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.25rem;
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
}

.signature-pill-item {
    background: #ffffff !important;
    padding: 0 1.25rem !important;
    height: 52px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.06) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    color: var(--color-teal) !important;
    border: 1px solid rgba(42, 111, 109, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: max-content !important;
    text-align: center !important;
    line-height: 1 !important;
}

.signature-pill-item * {
    white-space: nowrap !important;
}

.signature-pill-item:hover {
    background-color: var(--color-teal) !important;
    color: #ffffff !important;
    transform: scale(1.05) translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(42, 111, 109, 0.22) !important;
    border-color: var(--color-teal) !important;
}

@media (max-width: 768px) {
    .signature-flex-list {
        gap: 0.85rem 0.85rem;
    }

    .signature-pill-item {
        height: 46px !important;
        padding: 0 1rem !important;
        font-size: 0.82rem !important;
    }
}

/* Directional Reveal Animations (Left, Right, Bottom, Top) */
.reveal-left,
.reveal-right,
.reveal-bottom,
.reveal-top {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

/* Extreme High-Motion Entry Variants (Pure Slide & Reveal, Crisp & Sharp) */
.motion-variant-1 {
    transform: perspective(1000px) translateY(350px) scale(0.65) rotate(-15deg) rotateX(30deg);
    opacity: 0;
}

.motion-variant-2 {
    transform: perspective(1000px) translateX(-450px) scale(0.65) rotate(20deg) rotateY(-35deg);
    opacity: 0;
}

.motion-variant-3 {
    transform: perspective(1000px) translateX(450px) scale(0.65) rotate(-20deg) rotateY(35deg);
    opacity: 0;
}

.motion-variant-4 {
    transform: perspective(1000px) translateY(-350px) scale(0.65) rotate(15deg) rotateX(-30deg);
    opacity: 0;
}

.motion-variant-5 {
    transform: perspective(1000px) translateY(300px) translateX(-300px) scale(0.65) rotate(-25deg);
    opacity: 0;
}

.motion-variant-6 {
    transform: perspective(1000px) translateY(300px) translateX(300px) scale(0.65) rotate(25deg);
    opacity: 0;
}

.slide-from-right {
    transform: perspective(1000px) translateX(500px) scale(0.65) rotate(25deg) rotateY(-40deg);
    opacity: 0;
}

.slide-from-down-left {
    transform: perspective(1000px) translateY(350px) translateX(-400px) scale(0.65) rotate(-25deg) rotateY(40deg);
    opacity: 0;
}

.motion-variant-1.revealed,
.motion-variant-2.revealed,
.motion-variant-3.revealed,
.motion-variant-4.revealed,
.motion-variant-5.revealed,
.motion-variant-6.revealed,
.motion-variant-1.active,
.motion-variant-2.active,
.motion-variant-3.active,
.motion-variant-4.active,
.motion-variant-5.active,
.motion-variant-6.active,
.slide-from-right.revealed,
.slide-from-right.active,
.slide-from-down-left.revealed,
.slide-from-down-left.active {
    opacity: 1 !important;
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1) rotate(0deg) rotateX(0deg) rotateY(0deg) !important;
    transition: opacity 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.35), transform 0.95s cubic-bezier(0.175, 0.885, 0.32, 1.35) !important;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-bottom {
    transform: translateY(40px);
}

.reveal-top {
    transform: translateY(-40px);
}

/* Service Category Cards Dynamic Left/Right Slide Entrance */
.service-category-card.slide-left {
    opacity: 0 !important;
    transform: translateX(-150px) translateY(0) !important;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease !important;
    will-change: transform, opacity;
}

.service-category-card.slide-right {
    opacity: 0 !important;
    transform: translateX(150px) translateY(0) !important;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.85s ease !important;
    will-change: transform, opacity;
}

.service-category-card.slide-left.slide-active,
.service-category-card.slide-right.slide-active {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

.reveal-left.revealed,
.reveal-right.revealed,
.reveal-bottom.revealed,
.reveal-top.revealed,
.reveal-left.active,
.reveal-right.active,
.reveal-bottom.active,
.reveal-top.active {
    opacity: 1;
    transform: translate(0);
}

/* Staggered Delay Classes */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* ==========================================================================
   WORD REVEAL ANIMATION - SLIDE UP FROM BELOW
   ========================================================================== */

.word-reveal {
    display: inline-block;
    margin-right: 0.25em;
    white-space: nowrap;
}

.word-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: wordRevealUp 0.6s ease-out forwards;
}

@keyframes wordRevealUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger delays for word reveal animation */
.word-reveal.delay-word-0 {
    animation-delay: 0s;
}

.word-reveal.delay-word-1 {
    animation-delay: 0.05s;
}

.word-reveal.delay-word-2 {
    animation-delay: 0.1s;
}

.word-reveal.delay-word-3 {
    animation-delay: 0.15s;
}

.word-reveal.delay-word-4 {
    animation-delay: 0.2s;
}

.word-reveal.delay-word-5 {
    animation-delay: 0.25s;
}

.word-reveal.delay-word-6 {
    animation-delay: 0.3s;
}

.word-reveal.delay-word-7 {
    animation-delay: 0.35s;
}

.word-reveal.delay-word-8 {
    animation-delay: 0.4s;
}

.word-reveal.delay-word-9 {
    animation-delay: 0.45s;
}

.word-reveal.delay-word-10 {
    animation-delay: 0.5s;
}

.word-reveal.delay-word-11 {
    animation-delay: 0.55s;
}

.word-reveal.delay-word-12 {
    animation-delay: 0.6s;
}

.word-reveal.delay-word-13 {
    animation-delay: 0.65s;
}

.word-reveal.delay-word-14 {
    animation-delay: 0.7s;
}

.word-reveal.delay-word-15 {
    animation-delay: 0.75s;
}

.word-reveal.delay-word-16 {
    animation-delay: 0.8s;
}

.word-reveal.delay-word-17 {
    animation-delay: 0.85s;
}

.word-reveal.delay-word-18 {
    animation-delay: 0.9s;
}

.word-reveal.delay-word-19 {
    animation-delay: 0.95s;
}

.word-reveal.delay-word-20 {
    animation-delay: 1.0s;
}

/* Generate more delay classes for longer text */
.word-reveal.delay-word-21 {
    animation-delay: 1.05s;
}

.word-reveal.delay-word-22 {
    animation-delay: 1.1s;
}

.word-reveal.delay-word-23 {
    animation-delay: 1.15s;
}

.word-reveal.delay-word-24 {
    animation-delay: 1.2s;
}

.word-reveal.delay-word-25 {
    animation-delay: 1.25s;
}

.word-reveal.delay-word-26 {
    animation-delay: 1.3s;
}

.word-reveal.delay-word-27 {
    animation-delay: 1.35s;
}

.word-reveal.delay-word-28 {
    animation-delay: 1.4s;
}

.word-reveal.delay-word-29 {
    animation-delay: 1.45s;
}

.word-reveal.delay-word-30 {
    animation-delay: 1.5s;
}

.word-reveal.delay-word-31 {
    animation-delay: 1.55s;
}

.word-reveal.delay-word-32 {
    animation-delay: 1.6s;
}

.word-reveal.delay-word-33 {
    animation-delay: 1.65s;
}

.word-reveal.delay-word-34 {
    animation-delay: 1.7s;
}

.word-reveal.delay-word-35 {
    animation-delay: 1.75s;
}

.word-reveal.delay-word-36 {
    animation-delay: 1.8s;
}

.word-reveal.delay-word-37 {
    animation-delay: 1.85s;
}

.word-reveal.delay-word-38 {
    animation-delay: 1.9s;
}

.word-reveal.delay-word-39 {
    animation-delay: 1.95s;
}

.word-reveal.delay-word-40 {
    animation-delay: 2.0s;
}

.word-reveal.delay-word-41 {
    animation-delay: 2.05s;
}

.word-reveal.delay-word-42 {
    animation-delay: 2.1s;
}

.word-reveal.delay-word-43 {
    animation-delay: 2.15s;
}

.word-reveal.delay-word-44 {
    animation-delay: 2.2s;
}

.word-reveal.delay-word-45 {
    animation-delay: 2.25s;
}

.word-reveal.delay-word-46 {
    animation-delay: 2.3s;
}

.word-reveal.delay-word-47 {
    animation-delay: 2.35s;
}

.word-reveal.delay-word-48 {
    animation-delay: 2.4s;
}

.word-reveal.delay-word-49 {
    animation-delay: 2.45s;
}

.word-reveal.delay-word-50 {
    animation-delay: 2.5s;
}

/* ==========================================================================
   PREMIUM SERVICES OFFERED SECTION
   ========================================================================== */

.services-section {
    position: relative;
    overflow: hidden;
}

/* Decorative ambient blobs behind the section */
.services-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Grid container */
.services-offered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    align-items: stretch;
}

/* Individual premium card */
.service-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
    cursor: default;
}

/* Animated teal accent bar on top edge */
.service-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: linear-gradient(90deg, var(--color-teal), #4ECDC4, var(--color-gold));
    border-radius: 18px 18px 0 0;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(42, 111, 109, 0.3);
    box-shadow: 0 8px 28px rgba(42, 111, 109, 0.12);
}

.service-category-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Card top row: icon + title perfectly aligned */
.service-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
    min-height: 52px;
}

/* Premium gradient icon badge */
.service-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1) 0%, rgba(42, 111, 109, 0.04) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: all 0.35s ease;
}

.service-card-icon i {
    font-size: 1.25rem;
    transition: transform 0.35s ease;
}

.service-category-card:hover .service-card-icon {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #ffffff;
    transform: scale(1.05) rotate(-4deg);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.25);
}

.service-category-card:hover .service-card-icon i {
    color: #ffffff;
    transform: rotate(4deg);
}

/* Clean Card title */
.service-card-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-indigo);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    padding: 0;
    transition: color 0.3s ease;
}

.service-category-card:hover .service-card-title {
    color: var(--color-teal);
}

/* Chips container aligned smoothly */
.service-chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 0.55rem;
    padding-top: 0.5rem;
    border-top: none;
    flex-grow: 1;
}

/* Individual chip — premium pill style */
.service-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.825rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
    color: #2f706e;
    background: rgba(42, 111, 109, 0.07);
    border: 1px solid rgba(42, 111, 109, 0.12);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    line-height: 1.2;
    transition: all 0.25s ease;
    cursor: default;
}

.service-chip:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.22);
}

/* Responsive breakpoints */
@media (width: 20000px) {
    .services-offered-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .services-offered-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-category-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .service-card-title {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PREMIUM ADVANCED TRAINING SECTION (ELEGANT 2-COLUMN DESIGN)
   ========================================================================== */

.training-section {
    padding: 5.5rem 0;
    background: #FAF9F6;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent blur */
.training-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(42, 111, 109, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.training-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Spacious 2-column grid */
.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

/* Individual Card */
/* ==========================================================================
   ULTRA-PREMIUM ADVANCED TRAINING CARDS
   ========================================================================== */

.training-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 252, 251, 0.6), rgba(255, 255, 255, 0.9));
    position: relative;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: 1fr;
    }
}

.training-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 20px;
    padding: 2.25rem 2.25rem 2.25rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Gradient accent ray on top of each card */
.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-gold), var(--color-sage));
    opacity: 0.85;
    transition: height 0.35s ease, opacity 0.35s ease;
}

.training-card:hover::before {
    height: 6px;
    opacity: 1;
}

.training-card-icon-box {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.1), rgba(212, 175, 55, 0.12));
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.training-card-icon-box svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    transition: transform 0.4s ease, stroke 0.4s ease;
}

.training-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-category {
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.09);
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
    display: inline-block;
    align-self: flex-start;
}

.training-card-title {
    font-size: 1.25rem;
    font-weight: 750;
    color: var(--color-indigo);
    line-height: 1.3;
    margin-bottom: 0.65rem;
    transition: color 0.35s ease;
}

.training-card-desc {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.15rem;
    transition: color 0.35s ease;
}

.training-badge-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-teal);
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        background 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}

.training-badge-pill .pill-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

/* Hover state for Training Cards */
.training-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--color-teal);
    box-shadow: 0 20px 42px rgba(42, 111, 109, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.training-card:hover .training-card-icon-box {
    transform: scale(1.18) rotate(-6deg);
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    box-shadow: 0 8px 22px rgba(42, 111, 109, 0.3);
}

.training-card:hover .training-card-icon-box svg {
    stroke: #ffffff;
    transform: rotate(6deg);
}

.training-card:hover .training-card-title {
    color: var(--color-teal);
}

.training-card:hover .training-badge-pill {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.28) !important;
}

.training-card:hover .training-badge-pill .pill-icon {
    stroke: #ffffff !important;
}

/* Training Card Random Slide Keyframes/Classes */
.training-card.training-slide-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82);
}

.training-card.training-slide-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82);
}

.training-card.training-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78);
}

.training-card.training-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78);
}

.training-card.revealed,
.training-card.active,
.training-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   WORD-BY-WORD SLIDE FROM BOTTOM REVEAL ANIMATION
   ========================================================================== */

.bio-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.25),
        opacity 0.45s ease;
    will-change: transform, opacity;
}

.bio-word.word-revealed,
.bio-paragraphs.revealed .bio-word,
.about-bio.revealed .bio-word,
.comprehensive-scope-box.revealed .bio-word {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ==========================================================================
   CLINICAL PRACTICE SHOWCASE CARD (FULL HEIGHT LEFT IMAGE FILL)
   ========================================================================== */

.clinical-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    align-items: stretch;
}

.clinical-showcase-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-top-left-radius: 24px !important;
    border-bottom-left-radius: 24px !important;
}

.clinical-showcase-content {
    padding: 3.5rem 3.5rem 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* ==========================================================================
   SIGNATURE FLOATING PILLS SILKY-SMOOTH SLIDE ANIMATION (NO POP, NO JUMP)
   ========================================================================== */

.signature-floating-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-teal);
    cursor: pointer;
    will-change: transform, opacity;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.75s ease-out,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}

.signature-floating-pill:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 26px rgba(42, 111, 109, 0.25) !important;
}

/* Silky Smooth Off-Screen Left/Right Slide Variants (Pure Translation, No Scale, No Rotation) */
.signature-floating-pill:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(180px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-top-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-140px, -20px, 0) !important;
}

.signature-floating-pill.pill-slide-top-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(140px, -20px, 0) !important;
}

.signature-floating-pill.pill-slide-bottom-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-220px, 20px, 0) !important;
}

.signature-floating-pill.pill-slide-bottom-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(220px, 20px, 0) !important;
}

.signature-floating-pill.pill-slide-far-left:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(-260px, 0, 0) !important;
}

.signature-floating-pill.pill-slide-far-right:not(.pill-revealed) {
    opacity: 0 !important;
    transform: translate3d(260px, 0, 0) !important;
}

.signature-floating-pill.pill-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ==========================================================================
   SERVICE CHIP INTERACTIVE DESCRIPTION PANEL & ACTIVE CHIP STYLING
   ========================================================================== */

.service-chip {
    cursor: pointer !important;
}

.service-chip.active {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    border-color: var(--color-teal) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.3) !important;
}

.service-description-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.25);
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    animation: servicePanelSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.service-description-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-teal), var(--color-gold));
}

.close-description-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(42, 111, 109, 0.08);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-indigo);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.close-description-btn:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: rotate(90deg);
}

.service-description-tag {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal);
    margin-bottom: 0.4rem;
    display: inline-block;
}

.service-description-title {
    font-size: 1.45rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-description-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 860px;
}

.service-description-action {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes servicePanelSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   IN-CARD CHIP DESCRIPTION DRAWER
   ========================================================================== */

.card-chip-drawer {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.08), rgba(245, 252, 251, 0.95));
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    border-radius: 14px;
    position: relative;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    animation: drawerSlideDown 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.card-chip-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.card-chip-drawer-title {
    font-size: 0.95rem;
    font-weight: 750;
    color: var(--color-indigo);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-chip-drawer-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-teal);
}

.card-chip-drawer-close {
    background: rgba(42, 111, 109, 0.12);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--color-indigo);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-chip-drawer-close:hover {
    background: var(--color-teal);
    color: #ffffff;
}

.card-chip-drawer-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 0.75rem 0;
}

.card-chip-drawer-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-chip-drawer-action:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

@keyframes drawerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }
}

@media (max-width: 640px) {
    .training-card {
        padding: 1.5rem 1.25rem;
        gap: 1rem;
    }

    .training-card-icon-box {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .training-card-icon-box svg {
        width: 22px;
        height: 22px;
    }

    .training-card-title {
        font-size: 1.1rem;
    }

    .training-card-desc {
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   HIGH-MOTION RANDOM HORIZONTAL SPRING SLIDE FOR EXPERTISE & SERVICES
   ========================================================================== */
.expertise-category-block,
.expertise-card,
.service-category-card {
    transition: transform 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        opacity 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.35),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        background 0.45s ease;
    will-change: transform, opacity;
}

.expertise-category-block.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.slide-from-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82);
}

.expertise-category-block.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.slide-from-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82);
}

.expertise-category-block.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-far-left:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78);
}

.expertise-category-block.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.expertise-card.expertise-slide-far-right:not(.revealed):not(.active):not(.is-visible),
.service-category-card.service-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78);
}

.expertise-category-block.revealed,
.expertise-category-block.active,
.expertise-category-block.is-visible,
.expertise-card.revealed,
.expertise-card.active,
.expertise-card.is-visible,
.service-category-card.revealed,
.service-category-card.active,
.service-category-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   RANDOM LEFT AND RIGHT SPRING SLIDE FOR SERVICE CHIPS & PROCEDURE CARDS
   ========================================================================== */

.service-chip,
.treatment-pill,
.expertise-bullet-pill,
.training-badge-pill {
    transition: transform 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        opacity 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    will-change: transform, opacity;
}

/* Service Chips Pop Animation Override */
.service-chip:not(.chip-popped) {
    opacity: 0 !important;
    transform: scale(0.3) translate3d(0, 20px, 0) !important;
}

.service-chip.chip-slide-left:not(.chip-popped),
.service-chip.chip-slide-right:not(.chip-popped),
.service-chip.chip-slide-far-left:not(.chip-popped),
.service-chip.chip-slide-far-right:not(.chip-popped) {
    opacity: 0 !important;
    transform: scale(0.3) translate3d(0, 20px, 0) !important;
}

.treatment-pill.chip-slide-left:not(.chip-popped),
.expertise-bullet-pill.chip-slide-left:not(.chip-popped),
.training-badge-pill.chip-slide-left:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(-80px, 14px, 0) rotate(-4deg) scale(0.82);
}

.treatment-pill.chip-slide-right:not(.chip-popped),
.expertise-bullet-pill.chip-slide-right:not(.chip-popped),
.training-badge-pill.chip-slide-right:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(80px, 14px, 0) rotate(4deg) scale(0.82);
}

.treatment-pill.chip-slide-far-left:not(.chip-popped),
.expertise-bullet-pill.chip-slide-far-left:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(-120px, -12px, 0) rotate(-7deg) scale(0.78);
}

.treatment-pill.chip-slide-far-right:not(.chip-popped),
.expertise-bullet-pill.chip-slide-far-right:not(.chip-popped) {
    opacity: 0;
    transform: translate3d(120px, -12px, 0) rotate(7deg) scale(0.78);
}

.service-chip.chip-popped {
    opacity: 1 !important;
    transform: scale(1) translate3d(0, 0, 0) !important;
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.45),
        opacity 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease !important;
}

.treatment-pill.chip-popped,
.expertise-bullet-pill.chip-popped,
.training-badge-pill.chip-popped {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* ==========================================================================
   USER REQUESTED SERVICE CHIP & DESCRIPTION BOX STYLING
   ========================================================================== */

.service-chip {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #d5e3e3;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    background: #f0f7f7;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    margin: 4px;
    user-select: none;
}

.service-chip:hover,
.service-chip.active {
    background: #1f7775 !important;
    color: white !important;
    border-color: #1f7775 !important;
}

.service-chip-description {
    display: none;
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 12px;
    padding: 15px 18px;
    background: #f5fafa;
    border: 1px solid #d5e3e3;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Star Pop One-by-One Animation & Inside Carousel Buttons */
.star-pop {
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes starPop {
    0% {
        opacity: 0;
        transform: scale(0.1) translateY(14px) rotate(-20deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.35) translateY(-3px) rotate(6deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
}

.review-prev-btn:hover,
.review-next-btn:hover {
    background: var(--color-teal) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* Slide Up Animation for Review Card */
@keyframes slideUpReview {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-slide-animate {
    animation: slideUpReview 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Word-by-Word Staggered Slide Up Animation */
.word-slide {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    will-change: transform, opacity;
}

@keyframes slideWordUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Location Map Entrance Overlay & Animation */
.location-map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #f1f5f9;
}

.map-entrance-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    animation: mapIconEntrance 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.map-entrance-pin {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
}

.location-map-wrapper iframe {
    display: block;
    width: 100%;
    border: none;
    opacity: 0;
    transform: scale(1.6);
    filter: contrast(1.05);
    transition: filter 0.3s ease;
    animation: zoomOutMap 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes mapIconEntrance {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }

    30%,
    75% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

@keyframes zoomOutMap {
    0% {
        opacity: 0;
        transform: scale(1.6);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.location-map-wrapper:hover iframe {
    filter: contrast(1.1) brightness(1.02);
}

/* ==========================================================================
   SERVICES OFFERED - SLIDE ENTRANCE ANIMATIONS & SMOOTH TRANSITIONS
   ========================================================================== */

.services-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-section.services-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header Slide Down */
.services-section .text-center-wrapper {
    opacity: 0;
    transform: translateY(-35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.services-section.services-revealed .text-center-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Switcher Bar Slide Up */
.services-section .services-switcher-bar {
    opacity: 0;
    transform: translateY(35px) scale(0.95);
    transition: opacity 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s;
}

.services-section.services-revealed .services-switcher-bar {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Master Sidebar Slide-in From Left */
.services-section .master-sidebar-card {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, box-shadow 0.3s ease;
}

.services-section.services-revealed .master-sidebar-card {
    opacity: 1;
    transform: translateX(0);
}

/* Detail Panel Slide-in From Right */
.services-section .detail-panel-card {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

.services-section.services-revealed .detail-panel-card {
    opacity: 1;
    transform: translateX(0);
}

/* Detail Panel Content Update Slide Keyframes */
.detail-panel-card.slide-in-detail {
    animation: detailSlideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes detailSlideInRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mode 1 Master Item Rows - Silky Smooth Eased Slide Entrance */
.master-item-row {
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.master-item-row.slide-row-left {
    animation: slideRowSmoothLeft 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.master-item-row.slide-row-right {
    animation: slideRowSmoothRight 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideRowSmoothLeft {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(-35px, 0, 0);
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideRowSmoothRight {
    0% {
        opacity: 0;
        visibility: visible;
        transform: translate3d(35px, 0, 0);
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}

.master-item-row:hover {
    transform: translateX(8px);
}

.master-item-row.active {
    transform: translateX(10px);
}

/* Mode 2: Category Chips Slide-in From Left */
.category-chips-scroll {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 0.75s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}

.services-section.services-revealed .category-chips-scroll {
    opacity: 1;
    transform: translateX(0);
}

/* Mode 2: Category Cards - Exact Advanced Training Section Flying Slide Mechanics */
.cat-service-card {
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.cat-service-card.cat-slide-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-340px, 30px, 0) rotate(-6deg) scale(0.82) !important;
}

.cat-service-card.cat-slide-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(340px, 30px, 0) rotate(6deg) scale(0.82) !important;
}

.cat-service-card.cat-slide-far-left:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-420px, -20px, 0) rotate(-9deg) scale(0.78) !important;
}

.cat-service-card.cat-slide-far-right:not(.revealed):not(.active):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(420px, -20px, 0) rotate(9deg) scale(0.78) !important;
}

.cat-service-card.revealed,
.cat-service-card.active,
.cat-service-card.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

/* Switcher Bar */
.services-switcher-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.switcher-label {
    font-weight: 750;
    color: var(--color-indigo, #1F2937);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.switcher-label i {
    color: var(--color-teal, #2A6F6D);
    animation: spinGear 12s linear infinite;
}

@keyframes spinGear {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.switcher-toggle-pill {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 35px;
    padding: 5px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
}

.mode-toggle-btn {
    padding: 0.65rem 1.45rem;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    overflow: hidden;
}

.mode-toggle-btn.active {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.38);
    transform: translateY(-2px) scale(1.02);
}

.mode-toggle-btn:hover:not(.active) {
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-1px);
}

.mode-toggle-btn i {
    transition: transform 0.3s ease;
}

.mode-toggle-btn:hover i {
    transform: scale(1.25) rotate(-5deg);
}

/* UI MODE 1: MASTER DETAIL LAYOUT */
.master-detail-container {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 2.75rem;
    align-items: start;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .master-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Master Sidebar */
.master-sidebar-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 22px;
    padding: 1.4rem;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 690px;
    position: relative;
    transition: height 0.25s ease, box-shadow 0.3s ease;
}

.master-sidebar-card:hover {
    box-shadow: 0 16px 45px rgba(42, 111, 109, 0.12);
}

.sidebar-header-box {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(42, 111, 109, 0.12);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.75rem;
}

.sidebar-search-wrapper {
    position: relative;
    width: 100%;
}

.sidebar-search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.sidebar-search-wrapper input:focus+.search-icon,
.sidebar-search-wrapper input:not(:placeholder-shown)+.search-icon {
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-50%) scale(1.15);
}

.sidebar-search-wrapper input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.88rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.sidebar-search-wrapper input:focus {
    border-color: var(--color-teal, #2A6F6D);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(42, 111, 109, 0.14);
}

.master-scroll-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scroll-behavior: smooth;
}

.master-scroll-list::-webkit-scrollbar {
    width: 6px;
}

.master-scroll-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-teal, #2A6F6D), #64748b);
    border-radius: 6px;
}

.master-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.master-item-row:hover {
    background: #ffffff;
    border-color: rgba(42, 111, 109, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(42, 111, 109, 0.08);
}

.master-item-row.active {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.15);
    transform: translateX(6px);
}

.master-item-row .item-num-badge {
    background: #94a3b8;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.master-item-row:hover .item-num-badge {
    background: var(--color-teal, #2A6F6D);
    transform: scale(1.1);
}

.master-item-row.active .item-num-badge {
    background: var(--color-teal, #2A6F6D);
    box-shadow: 0 0 10px rgba(42, 111, 109, 0.45);
    transform: scale(1.12);
}

.master-item-row .item-tooth-icon {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.master-item-row:hover .item-tooth-icon {
    transform: scale(1.25) rotate(8deg);
}

.master-item-row .item-title-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    flex: 1;
    line-height: 1.3;
    transition: color 0.25s ease;
}

.master-item-row:hover .item-title-text {
    color: var(--color-teal, #2A6F6D);
}

.master-item-row.active .item-title-text {
    color: var(--color-indigo, #1F2937);
    font-weight: 800;
}

.master-item-row .item-chevron {
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: all 0.28s ease;
}

.master-item-row:hover .item-chevron {
    color: var(--color-teal, #2A6F6D);
    transform: translateX(3px);
}

.master-item-row.active .item-chevron {
    color: var(--color-teal, #2A6F6D);
    transform: translateX(5px) scale(1.2);
}

/* Detail Panel Card */
.detail-panel-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 22px;
    padding: 2.25rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    min-height: 690px;
    display: flex;
    flex-direction: column;
    animation: detailFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes detailFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.detail-hero-banner {
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.14) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1.5px solid rgba(42, 111, 109, 0.2);
    border-radius: 18px;
    padding: 1.85rem;
    margin-bottom: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.detail-hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.detail-hero-banner:hover::before {
    left: 140%;
}

.detail-banner-info {
    flex: 1;
    min-width: 240px;
}

.detail-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 750;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(42, 111, 109, 0.25);
}

.detail-banner-title {
    font-size: 1.75rem;
    font-weight: 850;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.detail-banner-icon {
    width: 75px;
    height: 75px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(42, 111, 109, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--color-teal, #2A6F6D);
    flex-shrink: 0;
    animation: floatIcon 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.detail-banner-icon:hover {
    transform: scale(1.1) rotate(5deg) !important;
}

/* Quick Metrics Bar */
.detail-quick-metrics {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.quick-metric-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.65rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
    transition: all 0.28s ease;
}

.quick-metric-pill:hover {
    background: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(42, 111, 109, 0.12);
}

.quick-metric-pill i {
    color: var(--color-teal, #2A6F6D);
    font-size: 1.05rem;
    transition: transform 0.25s ease;
}

.quick-metric-pill:hover i {
    transform: scale(1.2);
}

.quick-metric-pill strong {
    color: var(--color-indigo, #1F2937);
}

/* Section Sub-blocks in Detail */
.detail-section-block {
    margin-bottom: 1.6rem;
}

.detail-block-heading {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.detail-block-heading i {
    color: var(--color-teal, #2A6F6D);
    font-size: 1.1rem;
}

.detail-overview-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
}

.detail-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
}

.detail-check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: #334155;
    font-weight: 600;
    transition: transform 0.25s ease;
}

.detail-check-item:hover {
    transform: translateX(5px);
}

.detail-check-item i {
    color: #10b981;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.detail-check-item:hover i {
    transform: scale(1.3);
}

.detail-bullet-list {
    display: grid;
    gap: 0.6rem;
}

.detail-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.55;
    transition: transform 0.25s ease;
}

.detail-bullet-item:hover {
    transform: translateX(4px);
    color: var(--color-indigo, #1F2937);
}

.detail-bullet-item i {
    color: var(--color-teal, #2A6F6D);
    font-size: 0.45rem;
    margin-top: 0.5rem;
}

.detail-action-bar {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
}

.btn-detail-book {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--color-teal, #2A6F6D) 0%, #1f5654 100%);
    color: #ffffff;
    font-weight: 750;
    font-size: 0.96rem;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.3);
}

.btn-detail-book:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(42, 111, 109, 0.42);
}

.btn-detail-book i {
    transition: transform 0.3s ease;
}

.btn-detail-book:hover i {
    transform: scale(1.2) rotate(-8deg);
}

/* UI MODE 2: CATEGORY TABS & CARDS */
.category-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 0.95rem;
    padding: 0.5rem 0.2rem 1.5rem 0.2rem;
    margin: 0 auto 2.25rem auto;
    max-width: 1050px;
    overflow: visible;
}

.category-chips-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.cat-tab-chip {
    padding: 0.7rem 1.45rem;
    border-radius: 35px;
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.cat-tab-chip:hover {
    border-color: var(--color-teal, #2A6F6D);
    color: var(--color-teal, #2A6F6D);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.15);
}

.cat-tab-chip.active {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 6px 20px rgba(42, 111, 109, 0.38);
    transform: translateY(-2px) scale(1.04);
}

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.85rem;
}

.cat-service-card {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    padding: 1.65rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cat-service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-teal, #2A6F6D), var(--color-gold, #D4AF37));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cat-service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.16);
    border-color: var(--color-teal, #2A6F6D);
}

.cat-service-card:hover::after {
    opacity: 1;
}

.cat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.cat-card-num-badge {
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-teal, #2A6F6D);
    font-size: 0.8rem;
    font-weight: 850;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.cat-service-card:hover .cat-card-num-badge {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
}

.cat-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.15) 0%, rgba(42, 111, 109, 0.05) 100%);
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.35s ease;
}

.cat-service-card:hover .cat-card-icon {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    transform: scale(1.15) rotate(-6deg);
    box-shadow: 0 6px 16px rgba(42, 111, 109, 0.3);
}

.cat-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    margin-bottom: 0.65rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cat-service-card:hover .cat-card-title {
    color: var(--color-teal, #2A6F6D);
}

.cat-card-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.cat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.cat-card-btn {
    font-size: 0.9rem;
    font-weight: 750;
    color: var(--color-teal, #2A6F6D);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.25s ease;
}

.cat-service-card:hover .cat-card-btn {
    gap: 0.75rem;
    color: var(--color-indigo, #1F2937);
}

.cat-card-btn i {
    transition: transform 0.25s ease;
}

.cat-service-card:hover .cat-card-btn i {
    transform: translateX(4px);
}

/* Service Detail Modal (3D Rotation Reveal Animation) */
.service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    perspective: 1200px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-card {
    background: #ffffff;
    border-radius: 26px;
    max-width: 740px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 75px rgba(15, 23, 42, 0.35);
    transform: perspective(1200px) rotateY(-80deg) rotateX(12deg) scale(0.75);
    opacity: 0;
    transform-origin: center center;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}

.service-modal-overlay.active .service-modal-card {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1);
    opacity: 1;
}

.modal-close-icon-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(42, 111, 109, 0.22);
    background: #ffffff;
    font-size: 1.35rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
}

.modal-close-icon-btn:hover {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    border-color: var(--color-teal, #2A6F6D);
    transform: rotate(180deg) scale(1.12);
    box-shadow: 0 8px 25px rgba(42, 111, 109, 0.35);
}

/* ==========================================================================
   FAQ ACCORDION SECTION STYLING
   ========================================================================== */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 252, 251, 0.65), rgba(255, 255, 255, 0.98));
    position: relative;
    overflow: hidden;
}

.faq-container {
    max-width: 940px;
    margin: 0 auto;
}

.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1.5px solid rgba(42, 111, 109, 0.18);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-accordion-item.faq-slide-left:not(.revealed):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(-320px, 25px, 0) rotate(-4deg) scale(0.85) !important;
}

.faq-accordion-item.faq-slide-right:not(.revealed):not(.is-visible) {
    opacity: 0 !important;
    transform: translate3d(320px, 25px, 0) rotate(4deg) scale(0.85) !important;
}

.faq-accordion-item.revealed,
.faq-accordion-item.is-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1) !important;
}

.faq-accordion-item:hover {
    border-color: var(--color-teal, #2A6F6D);
    box-shadow: 0 12px 35px rgba(42, 111, 109, 0.12);
}

.faq-accordion-header {
    width: 100%;
    padding: 1.4rem 1.75rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--color-indigo, #1F2937);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.faq-accordion-item:hover .faq-question-title {
    color: var(--color-teal, #2A6F6D);
}

.faq-question-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(42, 111, 109, 0.12) 0%, rgba(42, 111, 109, 0.04) 100%);
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-question-icon {
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.3);
}

.faq-toggle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-teal, #2A6F6D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.active .faq-toggle-btn {
    transform: rotate(180deg);
    background: var(--color-teal, #2A6F6D);
    color: #ffffff;
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
    padding: 0 1.75rem;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 300px;
    opacity: 1;
    padding: 0 1.75rem 1.6rem 1.75rem;
}

.faq-answer-text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
    border-top: 1px dashed rgba(42, 111, 109, 0.15);
    padding-top: 1rem;
}

/* ==========================================================================
   PREMIUM INTERACTIVE GOOGLE MAP SECTION & ANIMATIONS
   ========================================================================== */
.contact-map-section {
    position: relative;
    opacity: 0;
    transform: translateY(45px) scale(0.97);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-map-section.active,
.contact-map-section.appeared {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.location-map-card-wrapper {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 35px -8px rgba(42, 111, 109, 0.14), 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(42, 111, 109, 0.15);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease;
    height: 320px;
}

.location-map-card-wrapper:hover {
    transform: translateY(-8px) scale(1.006);
    box-shadow: 0 25px 55px -10px rgba(42, 111, 109, 0.3), 0 0 30px rgba(42, 111, 109, 0.15);
    border-color: rgba(42, 111, 109, 0.45);
}

/* Floating Glass Overlay Badge */
.map-hover-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(42, 111, 109, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: #1f2937;
    pointer-events: none;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.location-map-card-wrapper:hover .map-hover-badge {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px rgba(42, 111, 109, 0.22);
    border-color: var(--color-teal, #2a6f6d);
}

.pulse-beacon {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-beacon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: mapBeaconPulse 1.8s infinite ease-out;
}

@keyframes mapBeaconPulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Header Icon Bounce */
.contact-map-section:hover .map-header-icon {
    animation: mapPinBounce 0.75s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite alternate;
}

@keyframes mapPinBounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

.map-directions-btn {
    transition: all 0.35s ease;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    border: 1px solid rgba(42, 111, 109, 0.15);
}

.map-directions-btn:hover {
    background: rgba(42, 111, 109, 0.18);
    border-color: var(--color-teal, #2a6f6d);
    transform: translateX(4px);
}

/* ==========================================================================
   INSTAGRAM PATIENT REEL VIDEO TESTIMONIALS
   ========================================================================== */
.insta-reel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.insta-reel-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.insta-reel-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 25px 55px rgba(225, 48, 108, 0.28);
}

.insta-reel-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.insta-reel-card:hover .insta-reel-thumb {
    transform: scale(1.06);
    filter: brightness(0.9);
}

.insta-reel-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
}

.insta-reel-header {
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insta-user-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 650;
}

.insta-icon-gradient {
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
}

.insta-play-btn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    padding-left: 3px;
}

.insta-reel-card:hover .insta-play-btn {
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow: 0 14px 32px rgba(225, 48, 108, 0.7);
}

.insta-reel-body {
    position: relative;
    z-index: 3;
    padding: 1.5rem;
    color: #ffffff;
}

.insta-patient-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
}

.insta-treatment-tag {
    font-size: 0.78rem;
    color: #fbbf24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.insta-reel-quote {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.85rem;
}

.insta-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.insta-watch-link:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

/* ==========================================================================
   REAL INSTAGRAM REELS CAROUSEL — v2
   ========================================================================== */

.reels-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 0.5rem 0 0.5rem 0;
}

.reels-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.75rem 0.25rem 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.reels-track::-webkit-scrollbar {
    display: none;
}

.reels-track.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Nav Buttons */
.reels-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    color: #1f2937;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

.reels-nav-btn:hover {
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) scale(1.08);
}

.reels-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.reels-nav-prev {
    left: 0.25rem;
}

.reels-nav-next {
    right: 0.25rem;
}

.reels-nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Individual Reel Card */
.insta-reel-card-v2 {
    flex: 0 0 200px;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
}

.insta-reel-card-v2:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(240, 148, 51, 0.5);
}

/* Thumbnail Wrapper — portrait 9:16 */
.reel-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #0f0f0f;
}

/* Instagram gradient fallback */
.reel-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #405de6 0%, #5851db 20%, #833ab4 45%, #c13584 65%, #e1306c 80%, #fd1d1d 92%, #f09433 100%);
    z-index: 1;
}

.reel-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    /* sits above gradient — becomes visible when loaded */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.reel-thumb-img.loaded {
    opacity: 1;
    /* fades in over the gradient */
}

/* Dark overlay on hover */
.insta-reel-card-v2:hover .reel-thumb-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 3;
    transition: background 0.3s ease;
}

/* Play ring */
.reel-play-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    padding-left: 3px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        border-color 0.3s ease;
}

.insta-reel-card-v2:hover .reel-play-ring {
    transform: translate(-50%, -50%) scale(1);
    background: rgba(255, 255, 255, 0.28);
    border-color: #ffffff;
}

/* REEL badge */
.reel-badge-tag {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Card footer */
.reel-card-footer {
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111;
    flex-shrink: 0;
}

.reel-insta-handle {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reel-open-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    white-space: nowrap;
}

/* Progress dots */
.reels-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.reels-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.3s ease, width 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.reels-dot.active {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .insta-reel-card-v2 {
        flex: 0 0 155px;
    }

    .reels-nav-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .insta-reel-card-v2 {
        flex: 0 0 130px;
    }
}

/* ==========================================================================
   AUTHENTIC GOOGLE REVIEWS CAROUSEL WIDGET (Matching Target Screenshot)
   ========================================================================== */

.google-reviews-section {
    padding: 4.5rem 0;
    background-color: #f8fafc;
}

.google-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.gr-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gr-overall-rating-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gr-rating-big {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.gr-stars-flex {
    display: flex;
    gap: 3px;
    color: #fbbc04;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.gr-rating-count {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* Carousel Outer Container */
.google-reviews-carousel-wrap {
    position: relative;
    padding: 0 0.25rem;
}

/* Navigation Buttons */
.gr-carousel-nav {
    position: absolute;
    top: calc(50% - 15px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
}

.gr-carousel-nav:hover {
    background: rgba(15, 23, 42, 0.92);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.gr-carousel-nav.gr-nav-prev {
    left: -18px;
}

.gr-carousel-nav.gr-nav-next {
    right: -18px;
}

.gr-carousel-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Cards Track */
.google-reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.google-reviews-track::-webkit-scrollbar {
    display: none;
}

.google-reviews-track.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}

/* Individual Review Card */
.google-review-card {
    flex: 0 0 310px;
    width: 310px;
    min-width: 310px;
    max-width: 310px;
    min-height: 240px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.4rem 1.4rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.google-review-card>div {
    width: 100%;
    box-sizing: border-box;
}

.gr-media-wrap {
    margin-top: auto;
    padding-top: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}

.google-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

/* Author Header */
.gr-author-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.gr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.gr-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.gr-author-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.gr-author-name {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gr-verified-check {
    flex-shrink: 0;
}

.gr-subline {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.google-logo-text {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: -0.02em;
}

/* Stars Row */
.gr-stars-row {
    display: flex;
    gap: 0.2rem;
    color: #fbbc04;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

/* Review Text */
.gr-review-text {
    font-size: 0.91rem;
    color: #334155;
    line-height: 1.55;
    word-break: break-word;
    margin-bottom: 0.75rem;
}

.gr-read-more-btn {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.25rem;
    display: inline;
}

.gr-read-more-btn:hover {
    text-decoration: underline;
}

/* Attached Media / Photos */
.gr-media-wrap {
    margin-top: 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}

.gr-media-single {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.gr-media-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    height: 150px;
}

.gr-media-double img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Pagination Dots */
.gr-dots-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 1.25rem;
}

.gr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.gr-dot.active {
    background: #1a73e8;
    width: 22px;
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .google-review-card {
        flex: 0 0 calc(33.333% - 0.85rem);
    }
}

@media (max-width: 900px) {
    .google-review-card {
        flex: 0 0 calc(50% - 0.65rem);
    }

    .gr-carousel-nav.gr-nav-prev {
        left: -10px;
    }

    .gr-carousel-nav.gr-nav-next {
        right: -10px;
    }
}

@media (max-width: 600px) {
    .google-review-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gr-carousel-nav {
        display: none;
    }
}

/* ==========================================================================
   CLINICAL SURGERY & OPERATORY GALLERY SECTION
   ========================================================================== */
.clinical-gallery-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #FAF9F6 0%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

.clinical-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .clinical-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .clinical-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.clinical-gallery-card {
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(42, 111, 109, 0.15);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.clinical-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(42, 111, 109, 0.2);
    border-color: var(--color-teal, #2A6F6D);
}

.clinical-gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #0f172a;
}

.clinical-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.clinical-gallery-card:hover .clinical-gallery-img {
    transform: scale(1.06);
}

.clinical-gallery-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clinical-gallery-card:hover .clinical-gallery-zoom-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-indigo, #1E293B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.clinical-gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}

.clinical-gallery-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.clinical-gallery-tag {
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-teal, #2A6F6D);
    margin-bottom: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.clinical-gallery-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.clinical-gallery-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.clinical-gallery-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.clinical-gallery-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: rgba(42, 111, 109, 0.08);
    color: #2A6F6D;
    border: 1px solid rgba(42, 111, 109, 0.12);
}

/* Lightbox Modal */
.image-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox-container {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.image-lightbox-modal.active .image-lightbox-container {
    transform: scale(1);
}

.image-lightbox-img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.image-lightbox-caption {
    padding: 1.5rem 2rem;
    background: #ffffff;
}

.image-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 10;
}

.image-lightbox-close:hover {
    background: rgba(220, 38, 38, 0.9);
}