/* ==========================================
   MEDIN - Medical Theme CSS
   Idéntico a Meden ThemeWolfs
   ========================================== */

/* CSS Variables - Colores exactos de Meden */
:root {
    --primary-color: #0c9ddb;
    --primary-dark: #0a8bc4;
    --primary-light: #e6f6fc;
    --secondary-color: #00d9a5;
    --secondary-dark: #00c494;
    --accent-color: #FF6B35;
    --dark-color: #0a1628;
    --dark-light: #1a2d4a;
    --navy-color: #0f2341;
    --text-color: #5a6a7e;
    --text-light: #8b9bb4;
    --white: #FFFFFF;
    --light-bg: #f4f9fc;
    --cream-bg: #faf8f5;
    --border-color: #e1eaf3;
    --success-color: #00d9a5;
    --error-color: #ff4757;
    --gradient-primary: linear-gradient(135deg, #0c9ddb 0%, #00d9a5 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    --gradient-hero: linear-gradient(135deg, rgba(12, 157, 219, 0.9) 0%, rgba(0, 217, 165, 0.85) 100%);
    --shadow-sm: 0 2px 10px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 5px 20px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 10px 40px rgba(10, 22, 40, 0.12);
    --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
    --shadow-card: 0 10px 50px rgba(12, 157, 219, 0.1);
    --shadow-button: 0 10px 30px rgba(12, 157, 219, 0.35);
    --border-radius: 10px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-pill: 50px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    text-align: justify;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.section-tag,
.sf-title,
.sf-subtitle,
.sf-card-title,
.sf-card-link,
.dq-section-title,
.dq-procedures-title,
.dq-mission-label,
.dq-author-name,
.dq-author-title,
.footer-info-block h4,
.team-section h2,
.team-section .section-tag {
    text-align: initial;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header containers stretch full width on large screens */
.site-header .container {
    max-width: 100%;
    padding: 0 40px;
}

@media (min-width: 1600px) {
    .site-header .container {
        padding: 0 60px;
    }
}

@media (min-width: 2000px) {
    .site-header .container {
        padding: 0 80px;
    }
}

/* ==========================================
   Preloader - Logo + Vitals Line
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0a1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(200, 164, 90, 0.4));
    animation: loaderLogoPulse 2s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(200, 164, 90, 0.4)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(200, 164, 90, 0.7)); }
}

.loader-vitals-container {
    width: 200px;
    height: 40px;
    overflow: hidden;
    position: relative;
}

.loader-vitals-svg {
    width: 300px;
    height: 40px;
    animation: vitalsScroll 2s linear infinite;
}

.vitals-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: vitalsTrace 2s linear infinite;
}

@keyframes vitalsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

@keyframes vitalsTrace {
    0% { stroke-dashoffset: 600; }
    100% { stroke-dashoffset: 0; }
}

/* ==========================================
   Buttons - Estilo exacto Meden
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn i {
    font-size: 13px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Primary Button */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    border-color: var(--dark-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(12, 157, 219, 0.4);
}

/* Secondary Button - Verde */
.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary::before {
    background: var(--primary-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--dark-color);
    border-color: var(--dark-color);
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--dark-color);
}

/* White Button */
.btn-white {
    background: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
}

.btn-white::before {
    background: var(--primary-color);
}

.btn-white:hover {
    color: var(--white);
    border-color: var(--primary-color);
}

/* Dark Button */
.btn-dark {
    background: var(--dark-color);
    color: var(--white);
    border-color: var(--dark-color);
}

.btn-dark::before {
    background: var(--primary-color);
}

.btn-dark:hover {
    border-color: var(--primary-color);
}

/* Button Sizes */
.btn-sm {
    padding: 12px 28px;
    font-size: 13px;
}

.btn-lg {
    padding: 20px 45px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* Icon Only Button */
.btn-icon {
    width: 55px;
    height: 55px;
    padding: 0;
    border-radius: 50%;
}

/* ==========================================
   Header - Estilo Meden
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.sticky {
    background: rgba(10, 22, 40, 0.88);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(200, 164, 90, 0.12);
}

.site-header.sticky .header-top {
    max-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

/* Header Top */
.header-top {
    background: transparent;
    padding: 12px 0;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 35px;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
}

.header-contact a:hover {
    color: var(--primary-color);
}

.header-contact i {
    color: var(--primary-color);
    font-size: 15px;
}

.header-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher .lang-btn {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border-radius: 4px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.language-switcher .lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher .lang-btn.active {
    color: var(--white);
    background: var(--primary-color);
}

.language-switcher .lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Mobile Language Switcher */
.mobile-lang {
    display: none;
}

@media (max-width: 991px) {
    .header-social .language-switcher {
        display: none;
    }
    
    .mobile-lang {
        display: flex;
        margin-right: 10px;
        padding-right: 10px;
        border-right: 1px solid rgba(10, 22, 40, 0.1);
    }
    
    .mobile-lang .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
        color: var(--text-color);
        background: var(--light-bg);
        border-radius: 4px;
    }
    
    .mobile-lang .lang-btn.active {
        color: var(--white);
        background: var(--primary-color);
    }
}

.header-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--white);
    font-size: 13px;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) rotate(360deg);
}

/* Main Navigation */
.main-navigation {
    padding: 18px 0;
    background: transparent;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
}

.site-header.sticky .main-navigation {
    padding: 0 !important;
    background: transparent;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-logo .logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo .logo-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 14px;
    color: var(--white);
    font-size: 26px;
    box-shadow: var(--shadow-button);
    position: relative;
}

.site-logo .logo-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
}

.site-logo .logo-name {
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-secondary);
    letter-spacing: -0.5px;
}

.site-header.sticky .site-logo .logo-name {
    color: var(--white);
}

/* Logo Image */
.site-logo .logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo .site-logo-img {
    height: 110px;
    width: auto;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.4s ease;
    margin: -30px 0;
}

.site-logo .site-logo-text {
    font-family: var(--font-secondary, 'Playfair Display', serif);
    font-size: 26px;
    font-weight: 700;
    color: #c8a45a;
    letter-spacing: 1.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, #c8a45a 0%, #e6c97a 50%, #c8a45a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: font-size 0.4s ease, letter-spacing 0.3s ease;
}

.site-header.sticky .site-logo .site-logo-text {
    background: linear-gradient(135deg, #c8a45a 0%, #e6c97a 50%, #c8a45a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-header.sticky .site-logo .site-logo-img {
    height: 36px !important;
    margin: -2px 0 !important;
}

.site-header.sticky .site-logo .site-logo-text {
    font-size: 16px !important;
    letter-spacing: 0.5px;
}

.site-header.sticky .site-logo .logo-link {
    gap: 6px;
}

.site-header.sticky .nav-right .btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
}

.site-header.sticky .nav-right .btn i {
    font-size: 11px;
}

/* Active section highlighting - scroll spy */
.nav-menu .bmc-nav-list li.bmc-active > a {
    color: #0c9ddb !important;
}
.nav-menu .bmc-nav-list li.bmc-active > a::after {
    width: 100% !important;
}

/* Page-based active highlighting */
.nav-menu .bmc-nav-list li.page-active > a {
    color: #0c9ddb !important;
}
.nav-menu .bmc-nav-list li.page-active > a::after {
    width: 100% !important;
}

/* ===== BMC Navigation Menu (New) ===== */
.nav-menu .bmc-nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: gap 0.3s ease;
}

.nav-menu .bmc-nav-list li {
    position: relative;
    list-style: none;
}

.nav-menu .bmc-nav-list li a {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu .bmc-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0c9ddb;
    transition: width 0.3s ease;
}

.nav-menu .bmc-nav-list li a:hover {
    color: #0c9ddb !important;
}

.nav-menu .bmc-nav-list li a:hover::after {
    width: 100%;
}

.nav-menu .bmc-nav-list li.bmc-active > a {
    color: #0c9ddb !important;
}

.nav-menu .bmc-nav-list li.bmc-active > a::after {
    width: 100%;
}

/* Sticky overrides for new nav */
.site-header.sticky .nav-menu .bmc-nav-list {
    gap: 20px !important;
}

.site-header.sticky .nav-menu .bmc-nav-list li a {
    font-size: 12px !important;
    padding: 4px 0 !important;
}

/* Nav Right Button */
.nav-right .btn {
    padding: 14px 30px;
    transition: padding 0.3s ease, font-size 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.site-header.sticky .mobile-menu-toggle span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-bg);
}

.mobile-menu-header .site-logo .logo-name {
    color: var(--dark-color);
}

.mobile-menu-close {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 18px;
    color: var(--white);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--dark-color);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 25px;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 16px;
}

.mobile-nav-menu li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-menu-content .btn {
    margin-top: 25px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Section Styles - Meden Style
   ========================================== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.section-tag.center {
    justify-content: center;
}

.section-tag .tag-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 12px;
    position: relative;
}

.section-tag .tag-icon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: -2px;
    right: -2px;
}

.section-tag .tag-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 46px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.section-title.white {
    color: var(--white);
}

.section-subtitle,
.section-desc {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 30px;
}

.section-header.text-center {
    text-align: center;
}

.section-header.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   Hero Section - Estilo exacto Meden con Background Image
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    overflow: hidden;
}

/* Hero Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 22, 40, 0.95) 0%, 
        rgba(10, 22, 40, 0.85) 40%,
        rgba(10, 22, 40, 0.6) 70%,
        rgba(10, 22, 40, 0.4) 100%);
    z-index: -1;
}

/* Animated Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shapes .shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -200px;
    right: -200px;
    animation: float-slow 15s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -100px;
    left: -100px;
    animation: float-slow 12s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 40%;
    left: 40%;
    animation: float-slow 10s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(0, -30px) rotate(0deg); }
    75% { transform: translate(-20px, -20px) rotate(-5deg); }
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    color: var(--white);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(12, 157, 219, 0.2);
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 25px;
    border: 1px solid rgba(12, 157, 219, 0.3);
}

.hero-tag i {
    color: var(--primary-color);
}

.hero-tag span {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 62px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Hero Bottom Row - Help Box + Video Button */
.hero-bottom-row {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Hero Help Box */
.hero-help-box {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.help-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(12, 157, 219, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(12, 157, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(12, 157, 219, 0); }
}

.help-content .help-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.help-content .help-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: block;
}

.help-content .help-phone:hover {
    color: var(--primary-color);
}

/* Hero Image Side */
.hero-image-wrapper {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Opening Hours Card */
.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 3;
}

.opening-hours-card {
    bottom: 100px;
    left: -80px;
    min-width: 300px;
    animation: slide-up 1s ease-out 0.5s both;
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.opening-hours-card h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.opening-hours-card h4 i {
    color: var(--primary-color);
    font-size: 22px;
}

.opening-hours-card ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.opening-hours-card ul li:last-child {
    border-bottom: none;
}

.opening-hours-card ul li span:first-child {
    color: var(--dark-color);
    font-weight: 500;
}

.opening-hours-card ul li span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

.opening-hours-card .btn {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
}

/* Video Play Button - Estilo Meden con Pulso */
.video-play-btn {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
}

/* Video Button en línea (dentro de botones) */
.video-play-btn.inline {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
}

.video-play-btn .play-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.video-play-btn .play-icon i {
    margin-left: 4px;
}

.video-play-btn:hover .play-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    animation: none;
}

/* Animación de Pulso */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(12, 157, 219, 0.5), var(--shadow-lg);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(12, 157, 219, 0), var(--shadow-lg);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(12, 157, 219, 0), var(--shadow-lg);
    }
}

/* Pulso blanco para fondo oscuro */
.video-play-btn.light .play-icon {
    animation: pulse-ring-light 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring-light {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6), var(--shadow-lg);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0), var(--shadow-lg);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), var(--shadow-lg);
    }
}

.video-play-btn.light:hover .play-icon {
    animation: none;
}

/* Hero Stats */
.hero-stats {
    margin-top: 80px;
    padding: 50px 40px;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 30px;
    border-right: 2px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

/* Circular Progress */
.stat-circle {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 4;
}

.circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0, 100;
    animation: progress-animation 2s ease-out forwards;
}

.circular-chart.green .circle {
    stroke: var(--secondary-color);
}

@keyframes progress-animation {
    to { stroke-dasharray: var(--progress, 98), 100; }
}

.stat-circle .stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), #ff8f5a);
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.stat-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 14px;
    color: var(--text-light);
}

.stat-content .stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

/* Rating Stars */
.rating-item .rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}

.rating-item .rating-stars i {
    color: #ffc107;
    font-size: 20px;
}

.rating-item .stat-content h3 {
    font-size: 16px;
}

.rating-item .stat-content p strong {
    font-size: 24px;
    color: var(--dark-color);
}

/* ==========================================
   Hero Carousel Section
   ========================================== */
.hero-carousel-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--dark-color);
}

/* Dynamic Glow Effect */
.hero-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(12, 157, 219, 0.15),
        rgba(12, 157, 219, 0.05) 40%,
        transparent 70%
    );
}

.hero-carousel-section:hover .hero-glow-effect {
    opacity: 1;
}

/* Longevity Particles Canvas */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* 3D DNA Background Canvas */
.hero-dna-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

/* 3D Interactive Model in Slides */
.slide-3d-model {
    position: relative;
    width: 100%;
    max-width: calc(500px * var(--model-scale, 1));
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-model-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
    border-radius: var(--border-radius-xl);
    background: radial-gradient(circle at center, rgba(39, 170, 225, 0.1) 0%, transparent 70%);
}

.slide-model-canvas:active {
    cursor: grabbing;
}

/* Glow effect around 3D model */
.slide-3d-model::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(12, 157, 219, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* 3D Model Responsive */
@media (max-width: 991px) {
    .slide-3d-model {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-dna-canvas {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .slide-3d-model {
        max-width: 300px;
        aspect-ratio: 1;
    }
    
    .hero-dna-canvas {
        opacity: 0.4;
    }
    
    .slide-3d-model::before {
        inset: -10px;
    }
}

/* Global Hero Background Image */
.hero-global-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Slide Base */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.hero-slide.exiting {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.slide-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 22, 40, 0.85) 0%, 
        rgba(10, 22, 40, 0.6) 50%,
        rgba(10, 22, 40, 0.3) 100%);
}

/* Full Background Image */
.slide-fullbg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-fullbg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 22, 40, 0.9) 0%, 
        rgba(10, 22, 40, 0.6) 50%,
        rgba(10, 22, 40, 0.3) 100%);
}

/* Slide Content Container */
.slide-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    height: 100vh;
    padding: 120px 0;
    z-index: 2;
}

/* Image Positions */
.slide-content.image-left {
    grid-template-columns: 1fr 1fr;
}

.slide-content.image-left .slide-text {
    order: 2;
}

.slide-content.image-left .slide-image {
    order: 1;
}

.slide-content.image-right {
    grid-template-columns: 1fr 1fr;
}

.slide-content.image-center {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.slide-content.image-center .slide-text {
    max-width: 800px;
}

.slide-content.image-center .slide-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
    z-index: -1;
    width: 60%;
    max-width: 600px;
}

.slide-content.image-full {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

/* Slide Text */
.slide-text {
    color: var(--white);
}

/* Animation Item - Initial State (hidden) */
.animate-item {
    opacity: 0;
    transform: translateY(40px);
}

/* Animation Item - Visible State */
.hero-slide.active .animate-item {
    animation: slideUp 0.8s ease forwards;
}

.hero-slide.active .animate-item[data-delay="0"] {
    animation-delay: 0.1s;
}
.hero-slide.active .animate-item[data-delay="200"] {
    animation-delay: 0.3s;
}
.hero-slide.active .animate-item[data-delay="300"] {
    animation-delay: 0.4s;
}
.hero-slide.active .animate-item[data-delay="400"] {
    animation-delay: 0.5s;
}
.hero-slide.active .animate-item[data-delay="600"] {
    animation-delay: 0.7s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Exit Animation */
.hero-slide.exiting {
    animation: fadeOutSlide 0.6s ease forwards;
}

.hero-slide.exiting .animate-item {
    animation: slideOut 0.4s ease forwards !important;
}

@keyframes fadeOutSlide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes slideOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Slide Tag */
.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(12, 157, 219, 0.2);
    padding: 12px 24px;
    border-radius: var(--border-radius-pill);
    margin-bottom: 25px;
    border: 1px solid rgba(12, 157, 219, 0.3);
    backdrop-filter: blur(5px);
}

.slide-tag i {
    color: var(--primary-color);
    font-size: 16px;
}

.slide-tag span {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Slide Title */
.slide-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    color: #c8a45a;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-title span {
    color: #e6c97a;
    position: relative;
}

.slide-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
}

/* Slide Description */
.slide-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 550px;
}

.slide-content.image-center .slide-desc {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Slide Buttons */
.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slide-content.image-center .slide-buttons {
    justify-content: center;
}

/* Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(12, 157, 219, 0.4);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* Outline Light Button */
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 14px 35px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
}

/* Slide Image */
.slide-image {
    position: relative;
    --image-scale: 1;
}

.slide-image .image-wrapper {
    position: relative;
    transition: transform 0.3s ease;
    transform: scale(var(--image-scale, 1));
}

.slide-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

/* Full background image scale */
.slide-fullbg {
    --image-scale: 1;
    background-size: calc(100% * var(--image-scale, 1));
}

/* Image Glow Effect */
.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(12, 157, 219, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* Parallax Tilt Effect */
[data-tilt] {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Carousel Dots - Hidden */
.carousel-dots {
    display: none !important;
}

.carousel-dots .dot {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots .dot.active {
    background: var(--primary-color);
}

.carousel-dots .dot .dot-progress {
    display: none;
}

.carousel-dots .dot.active .dot-progress {
    display: none;
}

@keyframes progress-bar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Carousel Responsive */
@media (max-width: 1200px) {
    .slide-content {
        gap: 50px;
    }
    
    .slide-title {
        font-size: clamp(36px, 5vw, 56px);
    }
}

@media (max-width: 991px) {
    .slide-content {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 140px 0 100px;
    }
    
    .slide-content .slide-text,
    .slide-content .slide-image {
        order: unset !important;
    }
    
    .slide-image {
        display: none;
    }
    
    .slide-content.image-center .slide-image {
        display: block;
    }
    
    .slide-desc {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .slide-buttons {
        justify-content: center;
    }
    
    .carousel-nav {
        padding: 0 20px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: clamp(32px, 7vw, 42px);
    }
    
    .slide-desc {
        font-size: 16px;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-dots {
        bottom: 30px;
    }
    
    .carousel-dots .dot {
        width: 35px;
        height: 4px;
    }
}

/* ==========================================
   About Section - Meden Style Enhanced
   ========================================== */
.about-section {
    padding: 120px 0;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

/* Soft Glow Background */
.about-soft-glow {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(39, 170, 225, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glow-pulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image-wrapper {
    position: relative;
}

/* Parallax Container */
[data-parallax-container] {
    perspective: 1000px;
}

.about-image-main {
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: transform 0.3s ease;
}

.about-image-main::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    transition: all 0.4s ease;
}

.about-image-main:hover::before {
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
}

.about-image-main img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-main:hover img {
    transform: scale(1.05);
}

/* Secondary Image with Enhanced Floating */
.about-image-secondary {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 280px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-secondary:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-image-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image-secondary:hover img {
    transform: scale(1.08);
}

/* Floating Animations */
.floating-element {
    animation: floating 4s ease-in-out infinite;
}

.floating-element-alt {
    animation: floating-alt 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-12px) translateX(3px); }
    50% { transform: translateY(-8px) translateX(-3px); }
    75% { transform: translateY(-15px) translateX(2px); }
}

@keyframes floating-alt {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(10px) translateX(-5px); }
    50% { transform: translateY(6px) translateX(4px); }
    75% { transform: translateY(12px) translateX(-3px); }
}

/* Experience Badge with Glassmorphism */
.experience-badge {
    position: absolute;
    top: 40px;
    left: -40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 20px 50px rgba(39, 170, 225, 0.35);
    animation: floating-alt 4s ease-in-out infinite, gradient-shift 5s ease infinite;
    z-index: 10;
}

/* Glassmorphism Effect */
.glass-effect {
    background: linear-gradient(135deg, rgba(39, 170, 225, 0.9), rgba(0, 166, 156, 0.85)) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.experience-badge .number {
    font-size: 56px;
    font-weight: 700;
    display: block;
    line-height: 1;
    font-family: var(--font-secondary);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.experience-badge .text {
    font-size: 14px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* About Features - Vision/Mission Cards */
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 35px 0;
}

.feature-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    cursor: default;
}

.feature-item.feature-card:hover {
    background: #e8f4fc;
    box-shadow: 0 25px 60px rgba(39, 170, 225, 0.18);
    transform: translateY(-10px);
    border-color: rgba(39, 170, 225, 0.25);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 14px;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon,
.feature-item.feature-card:hover .feature-icon {
    background: var(--secondary-color);
    animation: icon-bounce 0.6s ease;
    transform: scale(1.1);
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1.1); }
    30% { transform: scale(1.25); }
    50% { transform: scale(1.05); }
    70% { transform: scale(1.15); }
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.feature-item.feature-card:hover .feature-content h4 {
    color: var(--primary-color);
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Description Enhanced */
.about-content-col .section-desc {
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* About Highlights with SVG Checkmarks */
.about-highlights {
    margin-bottom: 35px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 20px;
}

.highlight-item .check-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item .check-circle {
    stroke-dasharray: 63;
    stroke-dashoffset: 63;
    transition: stroke-dashoffset 0.8s ease;
}

.highlight-item .check-mark {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    transition: stroke-dashoffset 0.5s ease 0.3s;
}

.highlight-item.animated .check-circle {
    stroke-dashoffset: 0;
}

.highlight-item.animated .check-mark {
    stroke-dashoffset: 0;
}

.highlight-item span {
    font-size: 16px;
    color: var(--dark-color);
    font-weight: 500;
}

/* Animated Button */
.btn-animated {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    white-space: nowrap;
    padding: 14px 34px;
    border-radius: 50px;
    min-width: 220px;
    justify-content: center;
    flex-wrap: nowrap;
}

.btn-animated .btn-text {
    position: relative;
    z-index: 2;
    white-space: nowrap;
    display: inline-block;
}

.btn-animated .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-animated .btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    transition: width 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.btn-animated:hover .btn-fill {
    width: 100%;
}

.btn-animated:hover .btn-icon {
    transform: translateX(5px);
}

.btn-animated:hover {
    border-color: var(--secondary-color);
}

/* Featured Doctor */
.featured-doctor {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 2px solid var(--border-color);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.featured-doctor:hover {
    opacity: 1;
}

.featured-doctor .doctor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    position: relative;
}

.featured-doctor .doctor-image::before {
    content: '';
    position: absolute;
    inset: -6px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.featured-doctor .doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-doctor:hover .doctor-image img {
    transform: scale(1.1);
}

.featured-doctor .doctor-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
}

.featured-doctor .doctor-info span {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ==========================================
   Services Section - Meden Style
   ========================================== */
.services-section {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.services-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.85;
}

.services-bg-shape {
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(12, 157, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.services-section .container {
    position: relative;
    z-index: 3;
}

/* When background image is present, use light text */
.services-section:has(.services-bg-image) .section-title,
.services-section:has(.services-bg-image) .section-subtitle,
.services-section:has(.services-bg-image) .section-tag .tag-text {
    color: var(--white);
}

.services-section:has(.services-bg-image) .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.services-section:has(.services-bg-image) .section-tag .tag-icon {
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent, rgba(12, 157, 219, 0.03), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    top: -50%;
    left: -50%;
}

.service-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border-radius: 50%;
    font-size: 40px;
    transition: var(--transition);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.3;
    animation: spin 15s linear infinite;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-icon.blue {
    background: rgba(12, 157, 219, 0.1);
    color: var(--primary-color);
}

.service-icon.green {
    background: rgba(0, 217, 165, 0.1);
    color: var(--secondary-color);
}

.service-icon.orange {
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-color);
}

.service-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8B5CF6;
}

.service-icon.pink {
    background: rgba(236, 72, 153, 0.1);
    color: #EC4899;
}

.service-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-link {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.service-card:hover .service-link {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(45deg);
}

/* ==========================================
   Bento Grid Services
   ========================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.bento-item {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 35px 30px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(12, 157, 219, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(60px);
}

.bento-item.col-span-2 {
    grid-column: span 2;
}

.bento-item.row-span-2 {
    grid-row: span 2;
    min-height: 580px;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(12, 157, 219, 0.25);
    border-color: rgba(12, 157, 219, 0.3);
}

/* Border Beam Effect */
.border-beam {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: conic-gradient(
        from var(--beam-angle, 0deg),
        transparent 0deg,
        transparent 60deg,
        rgba(12, 157, 219, 0.8) 90deg,
        rgba(0, 200, 255, 1) 120deg,
        rgba(12, 157, 219, 0.8) 150deg,
        transparent 180deg,
        transparent 360deg
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item.featured .border-beam {
    animation: borderBeam 4s linear infinite;
}

.bento-item.featured:hover .border-beam {
    opacity: 1;
}

@keyframes borderBeam {
    0% {
        --beam-angle: 0deg;
    }
    100% {
        --beam-angle: 360deg;
    }
}

/* Register the custom property for animation */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Bento Content */
.bento-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(12, 157, 219, 0.15), rgba(0, 200, 255, 0.1));
    border-radius: 16px;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--primary-color), #00c8ff);
    color: white;
    box-shadow: 0 10px 30px rgba(12, 157, 219, 0.4);
}

.bento-item.row-span-2 .bento-icon {
    width: 90px;
    height: 90px;
    font-size: 36px;
}

.bento-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.bento-item.col-span-2 .bento-title,
.bento-item.row-span-2 .bento-title {
    font-size: 28px;
}

.bento-excerpt {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bento-item.row-span-2 .bento-excerpt {
    font-size: 16px;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    margin-top: auto;
}

.bento-link i {
    transition: transform 0.3s ease;
}

.bento-link:hover {
    color: var(--primary-dark);
}

.bento-link:hover i {
    transform: translateX(5px);
}

/* Bento Background Image */
.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.bento-item:hover .bento-bg {
    opacity: 0.15;
}

/* Bento Hover Glow */
.bento-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(12, 157, 219, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.bento-item:hover .bento-glow {
    opacity: 1;
}

/* Featured Bento Item */
.bento-item.featured {
    background: linear-gradient(145deg, #0a1628 0%, #16213e 100%);
    border-color: rgba(12, 157, 219, 0.3);
}

.bento-item.featured .bento-title {
    color: #fff;
}

.bento-item.featured .bento-excerpt {
    color: rgba(255, 255, 255, 0.7);
}

.bento-item.featured .bento-link {
    color: var(--primary-color);
}

.bento-item.featured .bento-bg {
    opacity: 0.15;
}

.bento-item.featured:hover .bento-bg {
    opacity: 0.25;
}

/* Bento Grid Responsive */
@media (max-width: 1199px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item.col-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-item.row-span-2 {
        min-height: 350px;
    }
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works-section {
    padding: 120px 0;
    background: var(--white);
}

/* How Header */
.how-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: start;
}

/* Steps Cards Grid */
.steps-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.step-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px 30px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
}

.step-number-bg {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 100px;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    font-family: var(--font-secondary);
    opacity: 0.5;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.step-desc {
    font-size: 14px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* Consultation Card - New Style */
.consultation-card {
    background: var(--dark-color);
    border-radius: var(--border-radius-xl);
    padding: 35px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
}

.consultation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.consultation-header h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.consultation-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 24px;
}

.consultation-features {
    margin-bottom: 25px;
}

.consultation-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--white);
}

.consultation-features li i {
    color: var(--primary-color);
    font-size: 16px;
}

.consultation-card .btn {
    width: 100%;
}

.consultation-bg-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    opacity: 0.15;
    z-index: 0;
}

.consultation-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Medical Team Section - Awwwards Level
   ========================================== */

/* Section Container */
.med-team {
    --team-bg-color: #f8fafc;
    --team-accent: #0891b2;
    --team-accent-light: #06b6d4;
    --team-text-primary: #0f172a;
    --team-text-secondary: #64748b;
    --team-text-muted: #94a3b8;
    
    position: relative;
    padding: 140px 0 160px;
    background-color: var(--team-bg-color);
    overflow: hidden;
}

/* Background Image (Customizer) */
.med-team__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    filter: grayscale(100%);
}

/* Container */
.med-team__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ========== HEADER ========== */
.med-team__header {
    max-width: 680px;
    margin-bottom: 80px;
}

.med-team__header-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.med-team__header-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Label with line */
.med-team__label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--team-accent);
    margin-bottom: 24px;
}

.med-team__label-line {
    width: 40px;
    height: 1px;
    background: var(--team-accent);
}

/* Title */
.med-team__title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--team-text-primary);
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.med-team__title-accent {
    display: block;
    color: var(--team-accent);
    font-style: italic;
    font-weight: 500;
}

/* Description */
.med-team__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--team-text-secondary);
    margin: 0;
    max-width: 520px;
}

/* ========== GRID ========== */
.med-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ========== CARD ========== */
.med-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: 
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(0, 0, 0, 0.04);
}

.med-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Idle breathing animation */
.med-card.is-visible {
    animation: cardBreathing 4s ease-in-out infinite;
    animation-delay: var(--breathing-delay, 0s);
}

@keyframes cardBreathing {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 
            0 1px 2px rgba(0, 0, 0, 0.04),
            0 4px 16px rgba(0, 0, 0, 0.04);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 
            0 4px 8px rgba(0, 0, 0, 0.06),
            0 8px 24px rgba(0, 0, 0, 0.06);
    }
}

/* Hover state */
.med-card:hover {
    animation: none;
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04);
}

/* ========== CARD VISUAL ========== */
.med-card__visual {
    position: relative;
    overflow: hidden;
}

.med-card__image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.med-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%) contrast(1.05);
    transition: 
        filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.med-card:hover .med-card__image {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.04);
}

/* Subtle overlay for depth */
.med-card__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 70%,
        rgba(0, 0, 0, 0.03) 100%
    );
    pointer-events: none;
}

/* Accent line animation */
.med-card__accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--team-accent), var(--team-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.med-card:hover .med-card__accent {
    transform: scaleX(1);
}

/* ========== CARD CONTENT ========== */
.med-card__content {
    padding: 24px;
}

/* Specialty */
.med-card__specialty {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--team-accent);
    margin-bottom: 8px;
    transition: letter-spacing 0.4s ease;
}

.med-card:hover .med-card__specialty {
    letter-spacing: 2.5px;
}

/* Name */
.med-card__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--team-text-primary);
    margin: 0 0 4px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.med-card:hover .med-card__name {
    color: var(--team-accent);
}

/* Position/Role */
.med-card__position {
    display: block;
    font-size: 13px;
    color: var(--team-text-muted);
    margin-bottom: 12px;
}

/* Bio */
.med-card__bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--team-text-secondary);
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: 
        opacity 0.4s ease 0.1s,
        transform 0.4s ease 0.1s;
}

.med-card:hover .med-card__bio {
    opacity: 1;
    transform: translateY(0);
}

/* ========== EMPTY STATE ========== */
.med-team__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    color: var(--team-text-muted);
    font-size: 16px;
}

/* ========== SCROLL OUT ANIMATION ========== */
.med-card.is-leaving {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing-section {
    padding: 120px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card:hover {
    border-color: transparent;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover * {
    position: relative;
    z-index: 1;
}

.pricing-card:hover .plan-name,
.pricing-card:hover .plan-price,
.pricing-card:hover .pricing-features li,
.pricing-card:hover .pricing-features li i {
    color: var(--white);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 35px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 2px dashed var(--border-color);
}

.plan-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}

.plan-price .currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

.plan-price .amount {
    font-size: 64px;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    font-family: var(--font-secondary);
}

.plan-price .period {
    font-size: 16px;
    color: var(--text-light);
    align-self: flex-end;
    margin-bottom: 12px;
}

.pricing-card:hover .plan-price .currency,
.pricing-card:hover .plan-price .amount,
.pricing-card:hover .plan-price .period {
    color: var(--white);
}

.pricing-features ul {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pricing-features ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.pricing-features ul li i {
    color: var(--secondary-color);
    font-size: 14px;
    transition: var(--transition);
}

.pricing-footer {
    margin-top: 35px;
}

.pricing-footer .btn {
    width: 100%;
}

.pricing-card:hover .pricing-footer .btn {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Support Banner */
.support-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--gradient-primary);
    padding: 30px 45px;
    border-radius: var(--border-radius-lg);
    margin-top: 60px;
    max-width: 450px;
    box-shadow: var(--shadow-button);
}

.support-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
    animation: pulse-ring 2s infinite;
}

.support-content h4 {
    font-size: 20px;
    color: var(--white);
    font-weight: 600;
}

.support-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   Discount Section
   ========================================== */
.discount-section {
    position: relative;
    padding: 120px 0 0;
    overflow: hidden;
    min-height: 700px;
}

/* Parallax Background */
.discount-bg.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.discount-bg.parallax-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    will-change: transform;
}

.discount-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 22, 40, 0.6) 0%, 
        rgba(10, 22, 40, 0.75) 50%,
        rgba(10, 22, 40, 0.85) 100%);
}

.discount-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    position: relative;
    z-index: 2;
}

/* Left Column - Image */
.discount-image-col {
    position: relative;
    align-self: end;
}

.discount-image {
    position: relative;
}

.discount-image img {
    max-width: 100%;
    max-height: 550px;
    width: auto;
    position: relative;
    z-index: 2;
    display: block;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.4));
}

/* Support Card */
.support-card {
    position: absolute;
    bottom: 80px;
    left: -30px;
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    box-shadow: var(--shadow-xl);
}

.support-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 24px;
}

.support-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}

.support-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* Right Column - Content */
.discount-content {
    color: var(--white);
    padding-bottom: 120px;
}

.discount-content .section-tag.light .tag-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.discount-content .section-tag.light .tag-text {
    color: var(--white);
}

/* Progress Bars with Percentage */
.discount-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.discount-stat {
    width: 100%;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stat-header .stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.stat-header .stat-percentage {
    background: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
}

.stat-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-desc {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.8;
}

.discount-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ==========================================
   Testimonials Section - Slider
   ========================================== */
.testimonials-section {
    padding: 120px 0;
    background: var(--light-bg);
}

/* Header Row - Two Column Layout */
.testimonials-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.testimonials-header-content {
    flex: 1;
    max-width: 600px;
}

.testimonials-header-content .section-title {
    margin-bottom: 20px;
}

.testimonials-header-content .section-desc {
    color: var(--text-color);
    line-height: 1.8;
}

/* Satisfaction Card - Teal Box */
.satisfaction-card {
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 50px;
    text-align: center;
    min-width: 320px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.satisfaction-percentage {
    margin-bottom: 10px;
}

.percentage-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    font-family: var(--font-secondary);
}

.satisfaction-label {
    font-size: 18px;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 25px;
}

.satisfaction-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
}

.satisfaction-avatars .avatar-item {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--white);
    margin-left: -15px;
    transition: var(--transition);
}

.satisfaction-avatars .avatar-item:first-child {
    margin-left: 0;
}

.satisfaction-avatars .avatar-item:hover {
    transform: scale(1.1);
    z-index: 2;
}

.satisfaction-avatars .avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials Slider */
.testimonials-slider-wrapper {
    position: relative;
    margin-bottom: 60px;
}

.testimonials-swiper {
    padding: 20px 10px 60px;
    margin: -20px -10px;
}

.testimonials-swiper .swiper-slide {
    height: auto;
}

/* Testimonial Card V2 */
.testimonial-card-v2 {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px 30px;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.testimonial-card-v2:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    margin-bottom: 15px;
}

.testimonial-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

/* Slider Navigation */
.swiper-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Swiper Styles */
.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

/* Testimonials Stats */
.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 50px;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.testi-stat {
    text-align: center;
    padding: 0 15px;
    border-right: 2px solid var(--border-color);
}

.testi-stat:last-child {
    border-right: none;
}

.testi-stat .stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

.testi-stat .stat-text {
    font-size: 14px;
    color: var(--text-color);
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.faq-image {
    position: relative;
}

.faq-image img {
    border-radius: var(--border-radius-xl);
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.faq-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: 20px;
    left: 20px;
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius-xl);
    z-index: -1;
}

/* Accordion */
.faq-accordion {
    margin-top: 35px;
}

.accordion-item {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover,
.accordion-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
}

.accordion-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
    transition: var(--transition);
}

.accordion-item.active .accordion-header h4 {
    color: var(--white);
}

.accordion-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    background: var(--white);
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.accordion-item.active .accordion-content {
    padding: 25px 28px;
    max-height: 250px;
}

.accordion-content p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

/* ==========================================
   Appointment Section
   ========================================== */
.appointment-section {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.appointment-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.appointment-shape {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.appointment-content {
    color: var(--white);
}

.appointment-content .section-tag .tag-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.appointment-content .section-tag .tag-icon::before {
    background: var(--accent-color);
}

.appointment-content .section-tag .tag-text {
    color: var(--white);
}

.appointment-content .section-title {
    color: var(--white);
}

.appointment-content .section-desc {
    color: rgba(255, 255, 255, 0.85);
}

.feedback-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 18px 30px;
    border-radius: var(--border-radius-pill);
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.feedback-note i {
    color: #ffc107;
    font-size: 18px;
}

.feedback-note span {
    font-size: 15px;
    font-weight: 500;
}

/* Appointment Form */
.appointment-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-xl);
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 22px 18px 55px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    color: var(--dark-color);
    transition: var(--transition);
    background: var(--white);
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 157, 219, 0.1);
}

.form-group i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 17px;
}

.form-group textarea + i {
    top: 22px;
    transform: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

/* Call Banner */
.call-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: 60px;
    max-width: 420px;
    border-left: 5px solid var(--primary-color);
}

.call-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 26px;
    flex-shrink: 0;
}

.call-content span {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.call-content a {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.call-content a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Blog Section
   ========================================== */
.blog-section {
    padding: 120px 0;
    background: var(--white);
}

/* Blog Slider */
.blog-slider-wrapper {
    position: relative;
    margin-top: 60px;
}

.blog-swiper {
    padding: 20px 10px 60px;
    margin: -20px -10px;
}

.blog-swiper .swiper-slide {
    height: auto;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 10px 18px;
    border-radius: var(--border-radius-pill);
    font-size: 13px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.blog-date i {
    color: var(--primary-color);
}

.blog-content {
    padding: 30px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 18px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-link i {
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--secondary-color);
}

.blog-link:hover i {
    transform: translateX(5px);
}

/* ==========================================
   Comments Section - Single Blog
   ========================================== */
.comments-area {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-family: var(--font-secondary);
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 30px;
}

.comment-list .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 30px;
    border-left: 3px solid var(--primary-color);
}

.comment-body {
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    position: relative;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.comment-author .fn {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    font-style: normal;
}

.comment-author .fn a {
    color: var(--dark-color);
}

.comment-author .fn a:hover {
    color: var(--primary-color);
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    margin-bottom: 15px;
}

.comment-metadata a {
    font-size: 13px;
    color: var(--text-light);
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-content {
    color: var(--text-color);
    line-height: 1.8;
}

.comment-content p {
    margin-bottom: 15px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.reply {
    margin-top: 15px;
}

.reply .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.reply .comment-reply-link:hover {
    color: var(--secondary-color);
}

.reply .comment-reply-link::before {
    content: '\f3e5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Comment Form */
.comment-respond {
    margin-top: 50px;
    background: var(--light-bg);
    border-radius: var(--border-radius-xl);
    padding: 40px;
}

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.comment-reply-title small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
}

.comment-reply-title small a {
    color: var(--primary-color);
}

.comment-notes {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.comment-notes .required {
    color: var(--error-color);
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.comment-form .required {
    color: var(--error-color);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 15px;
    color: var(--dark-color);
    background: var(--white);
    transition: var(--transition);
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(12, 157, 219, 0.1);
}

.comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.comment-form-cookies-consent label {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0;
    cursor: pointer;
}

.form-submit {
    margin-top: 10px;
}

.form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    padding: 16px 35px;
    border: none;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-submit .submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button);
}

/* No Comments */
.no-comments {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: var(--border-radius-lg);
    color: var(--text-color);
}

/* Comments Closed */
.comments-closed {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-style: italic;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--dark-color);
    color: var(--white);
}

.footer-main {
    padding: 30px 0;
}

.footer-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo .footer-logo-link {
    display: inline-block;
}

.footer-logo .footer-logo-img {
    height: 70px;
    width: auto;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    max-width: 500px;
    line-height: 1.6;
    margin: 0;
}

.footer-contact-row {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0;
    border-top: none;
    border-bottom: none;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact-item i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.footer-contact-item a,
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
    display: block;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

.footer-info-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info-contact .footer-social {
    justify-content: flex-start;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Location & Hours Section */
.footer-location-section {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.footer-map {
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
    height: 100%;
}

.footer-map:hover {
    transform: none;
    box-shadow: none;
}

.footer-map a {
    display: block;
    height: 100%;
}

.footer-map img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.footer-info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 40px;
}

.footer-info-block h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info-block h4 i {
    color: var(--primary-color);
    font-size: 20px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

.footer-directions-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-directions-link:hover {
    color: var(--white);
    gap: 12px;
}

.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-hours-list li:last-child {
    border-bottom: none;
}

.footer-hours-list li span:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-hours-list li.closed span:last-child {
    color: #e74c3c;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 10px;
}

.footer-bottom-inner p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ==========================================
   Back to Top
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-button);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-8px);
}

/* ==========================================
   Video Modal
   ========================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 950px;
    transform: scale(0.9);
    transition: var(--transition);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--dark-color);
    font-size: 20px;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* Smooth reveal animation */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==========================================
   Doctor Quote Section
   ========================================== */
.doctor-quote-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

/* Video Background Fixed/Parallax */
.doctor-quote-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0);
}

.doctor-quote-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
}

.doctor-quote-video-bg video.active {
    opacity: 1;
}

.doctor-quote-video-bg .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.75) 0%, rgba(12, 157, 219, 0.3) 100%);
}

.doctor-quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 157, 219, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.doctor-quote-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--border-radius-xl);
    padding: 50px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
}

/* Doctor Image */
.doctor-quote-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.doctor-quote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-quote-image:hover img {
    transform: scale(1.05);
}

.doctor-quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.doctor-quote-image:hover .doctor-quote-overlay {
    opacity: 1;
}

/* Social Icons on Hover */
.doctor-quote-social {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.doctor-quote-image:hover .doctor-quote-social {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.doctor-quote-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.doctor-quote-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
}

/* Quote Content */
.doctor-quote-content {
    position: relative;
}

.quote-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.doctor-quote-content blockquote {
    margin: 0;
    padding: 0;
}

.doctor-quote-content blockquote p {
    font-family: var(--font-secondary);
    font-size: 26px;
    line-height: 1.6;
    color: var(--white);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.doctor-quote-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.author-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.author-info span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-signature {
    width: 120px;
}

.signature-svg {
    width: 100%;
    height: auto;
    color: var(--white);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .doctor-quote-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .doctor-quote-content blockquote p {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .doctor-quote-section {
        padding: 80px 0;
    }
    
    .doctor-quote-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }
    
    .doctor-quote-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .quote-icon {
        margin: 0 auto 25px;
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .doctor-quote-content blockquote p {
        font-size: 20px;
    }
    
    .doctor-quote-author {
        flex-direction: column;
        gap: 20px;
    }
    
    .author-info h4 {
        font-size: 20px;
    }
}

