/* ========================================
   AFFILIATED DOCTORS - Specific styling
   Uses base variables from theme.css
   ======================================== */

/* Base wrapper */
.tty-doctors-wrapper {
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Decorative pattern background */
.tty-doctors-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 9%;
    width: 40%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v10m0 30v10m-20-25h10m30 0h10' stroke='%23005F5F' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='5' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='15' r='2' fill='%23005F5F'/%3E%3Ccircle cx='30' cy='45' r='2' fill='%23005F5F'/%3E%3Ccircle cx='20' cy='30' r='2' fill='%23005F5F'/%3E%3Ccircle cx='40' cy='30' r='2' fill='%23005F5F'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Direct children above pattern */
.tty-doctors-wrapper > * {
    position: relative;
    z-index: 1;
}

/* Banner section */
.tty-doctors-banner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.tty-hero-title {
    margin: 0px 0px 10px 0px;
}

.tty-doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.tty-doctors-subtitle {
    font-size: 24px;
    color: var(--tty-primary);
   margin: 0px 0px 20px 0px;
}

.tty-partner-button {
    white-space: nowrap;
    min-width: fit-content;
}

/* Container layout */
.tty-doctors-container {
    display: flex;
    gap: 40px;
}

/* Sidebar navigation */
.tty-doctors-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.tty-doctors-nav-block {
    background-color: var(--tty-bg-secondary);
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

.tty-doctors-nav-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.tty-doctors-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tty-doctors-nav-list li {
    margin-bottom: 10px;
}

.tty-doctors-nav-list a {
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    transition: var(--tty-transition-normal);
}

.tty-doctors-nav-list a:hover,
.tty-doctors-nav-list a.active {
    background: var(--tty-bg-linear-graniet);
    color: var(--tty-text-light);
}

/* Main content area */
.tty-doctors-content-main {
    flex: 1;
    margin-bottom: 40px;
    padding-bottom: 40px;
    max-width: 100%;
    overflow-x: hidden;
}

.tty-doctors-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.tty-doctors-section:last-of-type {
    border-bottom: none;
    margin-bottom: 100px;
}

.tty-doctors-section h2 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 34px;
    line-height: 1.2;
}

.tty-doctors-block {
    background-color: var(--tty-bg-secondary);
    padding: 30px;
    border-radius: 30px;
}

.tty-doctors-block h3 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 600;
}

.tty-doctors-block h4 {
    color: var(--tty-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

/* Enhanced CEO Message with LinkedIn */
.tty-ceo-message {
    background: #fff;;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.tty-ceo-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tty-primary), #00a896, var(--tty-primary));
    opacity: 0.3;
}

.tty-ceo-photo {
    flex-shrink: 0;
}

.tty-ceo-photo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--tty-primary);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tty-ceo-text p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tty-ceo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.tty-ceo-signature {
    font-weight: 600;
    font-style: normal !important;
    color: var(--tty-primary);
    margin: 0 !important;
    font-size: 14px;
}

.tty-linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #0077b5 0%, #0a66c2 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,119,181,0.2);
}

.tty-linkedin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,119,181,0.3);
    color: white !important;
}

.tty-linkedin-link i {
    font-size: 14px;
}

/* Enhanced Benefits List */
.tty-benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tty-benefits-list li {
    background: linear-gradient(135deg, var(--tty-text-light) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 16px 24px 16px 50px;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 95, 95, 0.1);
    align-items: center;
    display: flex;
}

.tty-benefits-list li i {
    position: absolute;
    left: 16px;
    color: var(--tty-primary);
    font-size: 18px;
}

/* Enhanced Comparison Container with Glassmorphism */
.tty-comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.tty-comparison-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tty-comparison-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--tty-primary), transparent);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.tty-comparison-item:hover::before {
    opacity: 0.1;
}

.tty-comparison-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.tty-comparison-negative {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.tty-comparison-positive {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.tty-comparison-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tty-comparison-header i {
    font-size: 30px;
}

.tty-comparison-header h3 {
    margin: 0;
    font-size: 20px;
}

.tty-comparison-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tty-comparison-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.tty-comparison-list li:nth-child(1) { animation-delay: 0.1s; }
.tty-comparison-list li:nth-child(2) { animation-delay: 0.2s; }
.tty-comparison-list li:nth-child(3) { animation-delay: 0.3s; }
.tty-comparison-list li:nth-child(4) { animation-delay: 0.4s; }
.tty-comparison-list li:nth-child(5) { animation-delay: 0.5s; }

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

.tty-comparison-list.negative li:before {
    content: "✕";
    color: #e74c3c;
    position: absolute;
    left: 2px;
    font-weight: bold;
}

.tty-comparison-list.positive li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 2px;
    font-weight: bold;
}

/* Enhanced Features Grid with Modern Cards */
.tty-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.tty-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0, 95, 95, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.tty-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tty-feature-card:hover::before {
    opacity: 1;
}

.tty-feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,95,0.15);
    border-color: var(--tty-primary);
}

.tty-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.1) 0%, rgba(0, 168, 150, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tty-feature-icon i {
color: var(--tty-primary);
}

.tty-feature-card:hover .tty-feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.15) 0%, rgba(0, 168, 150, 0.15) 100%);
}

.tty-feature-card h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 12px;
}

.tty-feature-card p {
    margin-bottom: 0;
    line-height: 1.5;
}

.tty-highlight-text {
    font-size: 20px;
    color: var(--tty-primary);
    font-weight: 600;
    text-align: center;
    margin: 30px 0 10px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.05) 0%, rgba(0, 168, 150, 0.05) 100%);
    border-radius: 12px;
    position: relative;
}

.tty-highlight-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tty-primary), transparent);
}

/* Enhanced Workflow Container */
.tty-workflow-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.tty-workflow-step {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 28px;
    border: 1px solid rgba(0, 95, 95, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tty-workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--tty-primary), #00a896, var(--tty-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tty-workflow-step:hover::before {
    transform: scaleX(1);
}

.tty-workflow-step:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--tty-primary);
}

.tty-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.tty-step-number {
    width: 50px;
    min-width: 50px;
    height: 50px;
    font-size: 22px;
    background: linear-gradient(135deg, var(--tty-primary) 0%, #00a896 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,95,95,0.3);
    transition: all 0.3s ease;
}

.tty-workflow-step:hover .tty-step-number {
    transform: scale(1.1) rotate(5deg);
}

.tty-step-header h3 {
    margin: 0;
}

/* Callout Box */
.tty-callout-box {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.1) 0%, rgba(0, 168, 150, 0.1) 100%);
    border-left: 5px solid var(--tty-primary);
    padding: 20px;
    margin: 30px 0 10px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tty-callout-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 95, 95, 0.05) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.tty-inline-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--tty-primary) 0%, #00a896 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tty-inline-button::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: left 0.6s ease;
}

.tty-inline-button:hover::before {
    left: 100%;
}

.tty-inline-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,95,95,0.3);
    color: white;
}

/* Enhanced Experts Showcase */
.tty-experts-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.tty-expert-card {
    display: flex;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(0, 95, 95, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tty-expert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tty-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.tty-expert-card:hover::after {
    transform: translateX(100%);
}

.tty-expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: var(--tty-primary);
}


.tty-expert-card:hover .tty-expert-photo img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,95,95,0.2);
}

.tty-expert-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.tty-expert-specialty {
    color: var(--tty-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.tty-expert-credentials {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.tty-expert-bio {
    font-style: italic;
    margin-bottom: 0;
}

.tty-experts-cta {
    text-align: center;
    margin-top: 20px;
}

/* Enhanced Experts Carousel - Based on Homepage */
.tty-doctors-experts-carousel-wrapper {
    position: relative;
    margin: 30px 0;
}

.tty-doctors-experts-carousel {
    overflow: hidden;
    position: relative;
}

.tty-doctors-experts-track {
    display: flex;
    gap: 20px;
    padding: 20px 0px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tty-doctors-block:has(.tty-doctors-experts-carousel-wrapper) {
    overflow: hidden;
}

/* Expert card content alignment for carousel */
.tty-doctors-experts-carousel-wrapper .tty-expert-photo {
    width: 145px;
    height: 145px;
    flex-shrink: 0;
    margin-bottom: 20px;
    position: relative;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-photo img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 95, 95, 0.2);
}

.tty-doctors-experts-carousel-wrapper .tty-expert-info {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--tty-header-primary);
}

.tty-doctors-experts-carousel-wrapper .tty-expert-title,
.tty-doctors-experts-carousel-wrapper .tty-expert-title p {
  color: #666;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 0px;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-specialty {
    color: #666;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-credentials {
    color: #999;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 95, 95, 0.05);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-bio {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--tty-text-secondary);
}

.tty-doctors-experts-carousel-wrapper .tty-text-button {
    color: var(--tty-text-light);
    background: linear-gradient(135deg, var(--tty-primary) 0%, var(--tty-primary-light) 100%);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 20px;
    margin-top: auto;
}

.tty-doctors-block .tty-doctors-experts-carousel-wrapper {
    position: relative;
    margin: 30px 0 0;
    padding: 0;
    max-width: 100%;
}

.tty-doctors-experts-carousel-wrapper .tty-text-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 95, 95, 0.3);
}

.tty-doctors-experts-carousel-wrapper .tty-text-button i {
    font-size: 12px;
    transition: all 0.3s ease;e;
}

.tty-doctors-experts-carousel-wrapper .tty-text-button:hover i {
    transform: translateX(3px);
}

.tty-doctors-expert-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--tty-primary);
    font-size: 18px;
}

[data-theme="dark"] .tty-doctors-expert-nav {
    background: var(--tty-bg-secondary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.tty-doctors-expert-nav:hover {
    background: var(--tty-primary);
    color: var(--tty-text-light);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
}

.tty-doctors-expert-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tty-doctors-expert-prev {
    left: -25px;
    z-index: 20;
}

.tty-doctors-expert-next {
    right: -25px;
    z-index: 20;
}
.tty-doctors-experts-carousel {
    margin: 0 auto;
    overflow: visible; /* Allow cards to be visible for smooth transition */
    position: relative;
    max-width: 100%;
}

/* Enhanced Expert Card Carousel Style */
.tty-doctors-experts-carousel-wrapper .tty-expert-card {
    flex: 0 0 262px;
    min-width: 262px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px;
    border: 1px solid rgba(0, 95, 95, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    will-change: transform, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Visibility states for carousel cards */
.tty-doctors-experts-carousel-wrapper .tty-expert-card.out-of-view {
    opacity: 0;
    transform: scale(0.9) translateZ(0);
    pointer-events: none;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-card.partial-view {
    opacity: 0.3;
    transform: scale(0.95) translateZ(0);
}

.tty-doctors-experts-carousel-wrapper .tty-expert-card:hover {
    transform: translateY(-5px) scale(1) translateZ(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--tty-primary);
    opacity: 1 !important;
}

.tty-doctors-experts-carousel-wrapper .tty-expert-card.hovering {
    opacity: 1 !important;
    transform: translateY(-5px) scale(1) translateZ(0) !important;
}

/* Dots Navigation */
.tty-doctors-experts-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.tty-doctors-expert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 95, 95, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tty-doctors-expert-dot:hover {
    background-color: rgba(0, 95, 95, 0.5);
    transform: scale(1.2);
}

.tty-doctors-expert-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--tty-primary);
}

.tty-text-button {
    color: var(--tty-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.tty-text-button:hover {
    color: #004545;
}

.tty-text-button i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.tty-text-button:hover i {
    transform: translateX(5px);
}

/* Requirements Note */
.tty-requirements-note {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid var(--tty-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tty-requirements-note h4 {
    margin-top: 0;
    color: var(--tty-primary);
    margin-bottom: 16px;
}

.tty-requirements-note ul {
    margin-bottom: 0;
    list-style: none;
    padding: 0;
}

.tty-requirements-note ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.tty-requirements-note ul li:before {
    content: "•";
    color: var(--tty-primary);
    position: absolute;
    left: 8px;
    font-weight: bold;
}

/* Contact Methods */
.tty-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tty-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.tty-contact-method i {
    color: var(--tty-primary);
    font-size: 24px;
    margin-top: 1px;
}

.tty-contact-method p {
    margin: 0;
}

/* Application Steps */
.tty-application-steps h3 {
    margin-top: 60px;
    margin-bottom: 5px !important;
}

.tty-intro-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--tty-text-primary);
}

.tty-process-steps {
    list-style: none;
    padding: 0;
}

.tty-process-steps li {
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 20px;
    border: 1px solid rgba(0, 95, 95, 0.1);
    position: relative;
    overflow: hidden;
}

.tty-process-steps li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tty-primary), #00a896, var(--tty-primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tty-process-steps li:hover::before {
    transform: scaleX(1);
}

.tty-process-steps li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,95,95,0.1);
    border-color: var(--tty-primary);
}

.tty-step-content h4 {
    color: var(--tty-primary);
    font-size: 22px;
    margin: 0 0 12px;
}

.tty-step-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.tty-step-tip {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.05) 0%, rgba(0, 168, 150, 0.05) 100%);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(0, 95, 95, 0.1);
}

.tty-step-tip i {
    background: linear-gradient(135deg, var(--tty-primary) 0%, #00a896 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    margin-top: 2px;
}

.tty-step-tip p {
    margin: 0;
    font-size: 15px;
    font-style: italic;
}

/* Doctor Quote */
.tty-doctor-quote {
    margin-top: 40px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.tty-quote-bubble {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.05) 0%, rgba(0, 168, 150, 0.05) 100%);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.tty-quote-bubble:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: rgba(0, 95, 95, 0.05) transparent;
}

.tty-quote-bubble p {
    font-style: italic;
    margin: 0;
    position: relative;
    padding-left: 25px;
}

.tty-quote-bubble p:before {
    content: '"';
    font-size: 50px;
    color: rgba(0, 95, 95, 0.2);
    position: absolute;
    left: 0;
    top: -15px;
    line-height: 1;
}

.tty-quote-bubble p::after {
    font-size: 50px;
    color: rgba(0, 95, 95, 0.2);
    position: absolute;
    right: 0;
    bottom: -45px;
    line-height: 1;
    content: '"';
}

.tty-quote-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-left: 20px;
    gap: 15px;
}

.tty-author-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--tty-primary);
    object-fit: cover;
}

.tty-author-info p {
    margin: 0;
}

.tty-author-info .tty-expert-credentials {
    font-size: 12px;
    margin-bottom: 10px !important;
}

.tty-joined-date {
    font-size: 14px;
    color: #666;
}

.tty-doctor-quote .tty-author-info {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/* Application CTA */
.tty-application-cta {
    text-align: center;
    margin-top: 50px;
}

.tty-apply-button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--tty-primary) 0%, #00a896 100%);
    color: var(--tty-text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 8px 30px rgba(0, 95, 95, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tty-apply-button-large::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: left 0.6s ease;
}

.tty-apply-button-large:hover::before {
    left: 100%;
}

.tty-apply-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 95, 95, 0.4);
    color: var(--tty-text-light);
}

.tty-apply-button-large i {
    transition: all 0.3s ease;
}

.tty-apply-button-large i {
    transition: all 0.3s ease;
}

.tty-apply-button-large:hover i {
    transform: translateX(3px);
}

/* Pulse animation for apply button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Specific overrides */
#section-apart {
    margin-top: 20px;
}

.content-area-wrapper {
    margin-bottom: -60px;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .tty-doctors-wrapper * {
        animation: none !important;
        transition: none !important;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .tty-doctors-wrapper::before {
    opacity: 0.03;
}

[data-theme="dark"] .tty-feature-card,
[data-theme="dark"] .tty-workflow-step,
[data-theme="dark"] .tty-benefits-list li,
[data-theme="dark"] .tty-requirements-note,
[data-theme="dark"] .tty-comparison-item,
[data-theme="dark"] .tty-expert-card,
[data-theme="dark"] .tty-process-steps li {
    background-color: var(--tty-bg-tertiary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .tty-ceo-message {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.15) 0%, rgba(0, 168, 150, 0.15) 100%);
}

[data-theme="dark"] .tty-expert-credentials,
[data-theme="dark"] .tty-joined-date {
    color: #aaa;
}

[data-theme="dark"] .tty-step-tip {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.08) 0%, rgba(0, 168, 150, 0.08) 100%);
}

[data-theme="dark"] .tty-quote-bubble {
    background: linear-gradient(135deg, rgba(0, 95, 95, 0.08) 0%, rgba(0, 168, 150, 0.08) 100%);
}

/* Responsive Design */
@media (max-width: 992px) {
    .tty-doctors-container {
        flex-direction: column;
    }
    
    .tty-doctors-sidebar {
        position: relative;
        top: 0;
        flex: 1 1 auto;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .tty-doctors-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tty-comparison-container {
        grid-template-columns: 1fr;
    }
    
    .tty-features-grid {
        grid-template-columns: 1fr;
    }
    
    .tty-expert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tty-ceo-message {
        flex-direction: column;
        text-align: center;
    }
    
    .tty-ceo-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .tty-ceo-signature {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .tty-doctors-wrapper::before {
        display: none;
    }
    
    /* Banner section */
    .tty-doctors-banner {
        margin-top: 20px;
    }

    
    .tty-doctors-block .tty-doctors-experts-carousel-wrapper {
        position: relative;
        margin: 30px -15px 0;
        padding: 0;
        max-width: fit-content;
    }
    
     .tty-expert-card {
        flex: 100%;
    }
    
        /* Mobile carousel adjustments */
    .tty-doctors-expert-nav {
        display: none !important;
    }
    
    .tty-doctors-experts-carousel-wrapper {
        margin: 30px -20px 0;
        padding: 0;
    }
    
    .tty-doctors-experts-carousel {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tty-doctors-experts-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .tty-doctors-experts-track {
        padding: 20px;
        width: max-content;
    }
    
    .tty-doctors-experts-carousel-wrapper .tty-expert-card {
        flex: 0 0 262px;
        min-width: 262px;
        opacity: 1 !important;
        transform: scale(1) !important;
        visibility: visible !important;
    }
    
    .tty-doctors-experts-dots {
        display: none;
    }
    
    .tty-step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        min-width: 40px;
    }
    
    .tty-step-content h4 {
        font-size: 20px;
    }
    
    .tty-process-steps li {
        padding: 20px;
    }
    
    .tty-expert-photo img {
        width: 80px;
        height: 80px;
    }
    
    .tty-expert-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .tty-linkedin-link span {
        display: none;
    }
    
    .tty-linkedin-link {
        padding: 8px;
        border-radius: 50%;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .tty-doctors-block {
        padding: 20px 15px;
    }
    
    .tty-doctors-section h2 {
        font-size: 26px;
    }
    
    .tty-doctors-block h3 {
        font-size: 24px;
    }
    
    .tty-comparison-header i {
        font-size: 24px;
    }
    
    .tty-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .tty-workflow-step {
        padding: 20px;
    }
    
    .tty-expert-card {
        padding: 20px;
    }
    
    .tty-process-steps li {
        flex-direction: column;
        text-align: center;
    }
    
    .tty-process-steps li .tty-step-number {
        margin-bottom: -10px;
    }
    
    .tty-apply-button-large {
        font-size: 16px;
        padding: 12px 24px;
    }
}

/* Print styles */
@media print {
    .tty-doctors-sidebar,
    .tty-linkedin-link,
    .tty-text-button,
    .tty-inline-button,
    .tty-apply-button-large {
        display: none;
    }
    
    .tty-doctors-container {
        flex-direction: column;
    }
    
    .tty-doctors-wrapper::before {
        display: none;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}