/* Root Variables */
:root {
    /* Primary Brand Colors */
    --primary-blue: #124f90;
    --secondary-blue: #232F58;
    --accent-red: #ce122d;
    
    /* Rigicon Logo Colors */
    --rigicon-logo-blue: #195090;
    --rigicon-logo-red: #ce0e2d;
    
    /* Extended Brand Palette */
    --premier-blue: #1B358A;
    --dark-blue: #112657;
    --light-blue: #D1D9F0;
    
    /* Background Colors */
    --background-soft: #e8eef5;
    --background-white: #ffffff;
    --light-gray: #F5F5F5;
    
    /* Text Colors */
    --text-color: #232F58;
    --text-muted: #5a6c84;
    --text-light: #8a8a8a;
    
    /* Functional Colors */
    --shadow-light: rgba(0, 0, 0, 0.04);
    --shadow-medium: rgba(0, 0, 0, 0.06);
    --shadow-strong: rgba(0, 0, 0, 0.08);
    
    /* Interactive States */
    --hover-blue: #0f4080;
    --focus-outline: #ffbf47;
    --border-color: #e8ecf1;
    --border-hover: var(--primary-blue);
}

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

/* UIkit override for em elements */
em {
    color: inherit !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-soft);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary-blue);
}

.problem-section h1,
.problem-section h2,
.problem-section h3,
.problem-section h4,
.problem-section h5,
.problem-section h6,
.why-rigicon h1,
.why-rigicon h2,
.why-rigicon h3,
.why-rigicon h4,
.why-rigicon h5,
.why-rigicon h6,
.faqs-section h1,
.faqs-section h2,
.faqs-section h3,
.faqs-section h4,
.faqs-section h5,
.faqs-section h6,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.cta-section h5,
.cta-section h6,
.discover-section h1,
.discover-section h2,
.discover-section h3,
.discover-section h4,
.discover-section h5,
.discover-section h6 {
    color: #232f58 !important;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

.problem-section p,
.why-rigicon p,
.faqs-section p,
.cta-section p,
.discover-section p {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212121;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-blue);
}

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

/* Container */
.patient-p-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.patient-p-btn-primary,
.patient-p-btn-secondary,
.patient-p-btn-outline {
    display: inline-block;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.patient-p-btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.patient-p-btn-primary:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.patient-p-btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.patient-p-btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}



/* Rigicon AI Chat Button Specific Styles */
.btn-rigiai {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    display: inline-block;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-rigiai:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-rigiai .rigiai-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(18, 79, 144, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 0.875rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-rigiai:hover .rigiai-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.patient-p-btn-outline {
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    font-weight: 600;
}

.patient-p-btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

    .patient-p-btn-large {
        padding: 16px 32px;
        font-size: 1.125rem;
    }

    .start-chat-button {
        padding: 14px 28px;
        font-size: 1.1rem;
    }

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.patient-p-primary-nav {
    display: flex;
    gap: 30px;
}

.patient-p-primary-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.patient-p-primary-nav a:hover {
    color: var(--primary-blue);
}

.header-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Mobile Navigation */
.patient-p-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    transition: right 0.3s ease;
}

.patient-p-mobile-nav.active {
    right: 0;
}

.patient-p-mobile-nav-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.patient-p-mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    margin-bottom: 30px;
}

.patient-p-mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.patient-p-mobile-nav nav a {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.patient-p-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--background-white) 100%);
    padding: 60px 0 80px 0;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-left {
    flex: 0.65;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px var(--shadow-strong);
    margin: 20px 0 30px 0;
}

.hero-right {
    flex: 0.35;
    display: flex;
    align-items: flex-start;
}

.hero-chat-widget {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--background-white) 100%);
    padding: 0;
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

/* ElevenLabs widget specific styles */
.hero-chat-widget elevenlabs-convai {
    width: 100% !important;
    height: 100% !important;
    min-height: 650px !important;
    position: relative !important;
    display: block !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.hero-chat-widget elevenlabs-convai iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 650px !important;
    border: none !important;
    border-radius: 12px !important;
    background: white !important;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rigicon-ai-icon {
    width: 1em;
    height: 1em;
    fill: #232F58;
    flex-shrink: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary-blue);
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.trust-indicators i {
    color: var(--primary-blue);
}

/* Hero Button Styles */
.hero-button-primary,
.hero-button-secondary {
    display: inline-block;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.hero-button-primary {
    background-color: var(--primary-blue);
    color: white;
}

.hero-button-primary:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

.hero-button-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.hero-button-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Problem Section */
.problem-section {
    padding: 50px 0 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-blue);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Aligned sections styling */
.problem-section .patient-p-container,
.treatment-process .patient-p-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.problem-section .section-title,
.treatment-process .section-title {
    text-align: center;
}

.problem-section p,
.treatment-process p {
    text-align: left;
}

.patient-p-problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.patient-p-problem-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 30px 80px;
    box-shadow: 0 4px 14px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.patient-p-problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.problem-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 14px var(--shadow-light);
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.patient-p-problem-card:hover .problem-image img {
    transform: scale(1.05);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.patient-p-problem-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-p-problem-card .patient-p-btn-outline {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.patient-p-problem-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.problem-learn {
    color: var(--text-color);
    font-size: 0.875rem;
}

.note {
    background-color: #E3DCB2;
    color: #000000;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 15px;
}

/* Process Section */
.treatment-process {
    padding: 80px 0;
    background-color: var(--background-soft);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.process-step {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 14px var(--shadow-light);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.patient-p-step-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 14px var(--shadow-light);
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    font-size: 1.5rem;
    color: white;
}

.process-step h3 {
    margin-bottom: 15px;
}

.step-expect-content {
    margin-top: 15px;
}

.step-expect-content p {
    color: var(--text-color);
    font-size: 0.875rem;
}

.step-expect-btn {
    display: inline-block;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.step-expect-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

.step-expect-btn i {
    transition: transform 0.3s ease;
}


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


/* Why Rigicon Section */
.why-rigicon {
    padding: 80px 0;
    background-color: var(--background-soft);
}

.patient-p-why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.patient-p-why-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 14px var(--shadow-light);
    display: grid;
    grid-template-rows: auto minmax(72px, auto) 1fr;
    gap: 15px;
    position: relative;
    min-height: 450px;
    transition: all 0.3s ease;
}

.patient-p-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.patient-p-why-card:hover .patient-ipp-timeline-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 20px 50px rgba(18, 79, 144, 0.5);
}

.patient-p-why-card h3 {
    margin: 0;
    color: var(--secondary-blue);
    line-height: 1.3;
    display: flex;
    align-items: center;
    min-height: 72px;
}

/* Fix sup tag issues in h3 titles */
.patient-p-why-card h3 sup {
    font-size: 0.6em;
    line-height: 0;
    vertical-align: super;
    margin-left: 2px;
}

.patient-p-why-card p {
    margin: 0;
    align-self: start;
}

.patient-p-why-card .why-image {
    /* Image stays in first grid row */
    margin: 0;
}

.why-image {
    width: 100%;
    aspect-ratio: 1920/1279;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--background-soft);
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.why-card:hover .why-image img {
    transform: scale(1.05);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
}

.why-card h3 {
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-block;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.read-more-btn:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateX(5px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.clinical-evidence-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* FAQs Section */
.faqs-section {
    padding: 80px 0;
    background-color: white;
}

.faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-soft);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--secondary-blue);
    list-style: none;
    transition: background-color 0.3s ease;
    outline: none;
}

.faq-item summary:focus {
    background-color: var(--light-gray);
    outline: none;
    box-shadow: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background-color: var(--light-gray);
}

.faq-item[open] summary {
    border-bottom: none;
}

.faq-item summary i:first-child {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.faq-item summary i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-content {
    padding: 20px 30px 30px;
    color: var(--text-muted);
}

.faq-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--background-white) 100%);
}

.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.cta-card {
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.cta-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px var(--shadow-light);
}

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

.cta-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: white;
}

.cta-card h3 {
    margin-bottom: 20px;
}

.cta-card h4 {
    margin: 20px 0 10px;
    color: var(--secondary-blue);
}

.cta-card ul {
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Rigicon AI Section */
.rigiai-section {
    padding: 80px 0;
    background-color: var(--secondary-blue);
    color: white;
}

.rigiai-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.rigiai-text {
    flex: 1;
    text-align: left;
}

.rigiai-image {
    flex: 1;
    height: 400px;
}

.rigiai-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 28px var(--shadow-strong);
}

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

.rigiai-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.rigiai-section h2 {
    color: white;
    margin: 0;
}

.rigiai-section p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.rigiai-features {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.rigiai-features h3 {
    color: white;
    margin-bottom: 20px;
}

.rigiai-features ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.rigiai-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rigiai-features i {
    color: var(--light-blue);
}

.rigiai-privacy {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.rigiai-privacy i {
    font-size: 1.5rem;
    color: var(--light-blue);
}

.rigiai-availability {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 20px;
}

/* Discover Section */
.discover-section {
    padding: 60px 0;
    background-color: white;
}

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

/* Patient Education Resources - 2 column layout */
.education-resources-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

/* Increase image height for education resources */
.education-resources-grid .discover-image {
    height: 250px;
}

.discover-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px var(--shadow-light);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.discover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.discover-image {
    width: 100%;
    aspect-ratio: 1920/1279;
    overflow: hidden;
}

.discover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.discover-card:hover .discover-image img {
    transform: scale(1.05);
}

.discover-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.discover-title {
    color: var(--secondary-blue);
    margin-bottom: 10px;
}

.discover-description {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.learn-more-button {
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-block;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
}

/* Rigicon Talks Container */
.rigicon-talks-container {
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 8px 32px var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.rigicon-talks-container:hover {
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.rigicon-talks-container .section-subtitle {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 1.75rem;
}

.rigicon-talks-container .section-description {
    margin-bottom: 35px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Rigicon Talks Platform Cards */
.rigicon-talks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 0;
}

.talks-platform-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(18, 79, 144, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

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

.talks-platform-card:hover::before {
    left: 100%;
}

.talks-platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(18, 79, 144, 0.15);
    border-color: var(--light-blue);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.talks-platform-card:hover .platform-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.platform-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-blue);
    transition: color 0.3s ease;
}

.talks-platform-card:hover .platform-name {
    color: var(--primary-blue);
}

/* Platform specific colors */
.talks-platform-card.youtube .platform-icon {
    color: #FF0000;
}

.talks-platform-card.youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.15);
}

.talks-platform-card.spotify .platform-icon {
    color: #1DB954;
}

.talks-platform-card.spotify:hover {
    border-color: #1DB954;
    box-shadow: 0 12px 35px rgba(29, 185, 84, 0.15);
}

.talks-platform-card.apple .platform-icon {
    color: #000000;
}

.talks-platform-card.apple:hover {
    border-color: #666666;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.talks-platform-card.tiktok .platform-icon {
    color: #000000;
}

.talks-platform-card.tiktok:hover {
    border-color: #ff0050;
    box-shadow: 0 12px 35px rgba(255, 0, 80, 0.15);
}

/* Disclaimer Section */
.disclaimer-section {
    margin-top: 40px;
    padding: 30px;
    background-color: #FBF8F1;
    border-radius: 16px;
    text-align: left;
}

.disclaimer-section .section-subtitle {
    text-align: left !important;
    margin-bottom: 20px;
}

.disclaimer-text {
    color: #000000 !important;
    font-size: 0.875rem;
    margin: 0 0 15px 0;
    text-align: left;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: #194f90;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}



.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-subnav {
    display: flex;
    gap: 20px;
}

.footer-subnav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-subnav a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 15px;
    order: -1;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

.copyright {
    opacity: 0.6;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .patient-p-page-nav-box {
        padding: 25px 30px;
        margin: 0;
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-p-nav-pill {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .patient-p-primary-nav {
        display: none;
    }
    
    .header-controls {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        flex-direction: column;
        gap: 20px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-image {
        width: 100%;
        height: 300px;
        margin: 15px 0 20px 0;
    }

    .hero-right {
        width: 100%;
        max-width: none;
    }

    .hero-chat-widget {
        width: 100% !important;
        margin: 0 !important;
        max-width: none !important;
    }
    
    .problem-cards,
    .process-steps,
    .timeline-items,
    .why-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .cta-cards {
        grid-template-columns: 1fr;
    }
    
    .rigiai-content {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }
    
    .rigiai-text {
        text-align: center;
    }
    
    .rigiai-image {
        width: 100%;
        max-width: 500px;
        height: 350px;
        margin: 0 auto;
    }
    
    .discover-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep education resources at 2 columns for tablet */
    .education-resources-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .rigicon-talks-container {
        margin: 40px 0;
        padding: 30px;
    }
    
    .rigicon-talks-container .section-subtitle {
        font-size: 1.5rem;
    }
    
    .rigicon-talks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .patient-p-on-this-page {
        padding: 30px 0;
    }
    
    .patient-p-page-nav-box {
        padding: 20px 25px;
        margin: 0;
        border-radius: 16px;
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-p-page-nav-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .patient-p-page-nav {
        gap: 10px;
    }
    
    .patient-p-nav-pill {
        font-size: 0.85rem;
        padding: 8px 16px;
        border-radius: 20px;
    }
    
    .patient-p-container {
        padding: 0 15px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-left {
        gap: 20px;
    }

    .hero-button-primary,
    .hero-button-secondary {
        align-self: flex-start;
        text-align: left;
        justify-content: flex-start;
        width: auto !important;
        max-width: 100%;
    }

    .cta-btn {
        align-self: flex-start;
        text-align: left;
        justify-content: flex-start;
    }

    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rigicon-talks-container {
        margin: 30px 0;
        padding: 25px 20px;
    }
    
    .rigicon-talks-container .section-subtitle {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .rigicon-talks-container .section-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .problem-cards,
    .process-steps,
    .timeline-items,
    .why-cards,
    .discover-grid {
        grid-template-columns: 1fr;
    }
    
    /* Make education resources single column on mobile */
    .education-resources-grid {
        grid-template-columns: 1fr !important;
    }
    
    .rigicon-talks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .talks-platform-card {
        padding: 25px 20px;
        min-height: 120px;
    }
    
    .platform-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-subnav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
        order: 0;
        margin-bottom: 10px;
    }
    
    .patient-p-btn-large {
        width: 100%;
        justify-content: center;
    }

    .start-chat-button {
        width: 100%;
        justify-content: center;
        margin-top: auto;
        align-self: stretch;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .patient-p-page-nav-box {
        padding: 15px 20px;
        margin: 0;
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-p-page-nav {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .patient-p-nav-pill {
        font-size: 0.8rem;
        padding: 6px 14px;
        min-width: 140px;
        justify-content: center;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .problem-card,
    .process-step,
    .timeline-item,
    .why-card {
        padding: 20px;
    }
    
    .cta-card {
        padding: 30px 20px;
    }
    
    .faq-item summary {
        padding: 15px 20px;
    }
    
    .faq-content {
        padding: 0 20px 20px;
    }

    .start-chat-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Sup styling for trademarks */
sup {
    top: -.15em !important;
    font-size: 75% !important;
}

/* Sup2 styling for references (no top positioning) */
sup.sup2, .sup2 {
    font-size: 75% !important;
    top: -5px !important;
}

/* Sup3 styling for disclaimer (higher positioning) */
sup.sup3, .sup3 {
    font-size: 75% !important;
    top: -4px !important;
}

/* Start Chat Button Specific Styles */
.start-chat-button {
    background: linear-gradient(90deg, #F36C6C 0%, #A14EF6 50%, #3A6CF6 100%);
    color: white;
    display: inline-block;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    margin-top: auto;
    align-self: flex-start;
}

.start-chat-button .ai-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: filter 0.3s ease;
}

.start-chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Video Questions Accordion */
.video-questions-section {
    margin-top: 15px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.video-questions-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--background-soft);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.video-questions-toggle:hover {
    background-color: #e8eef5;
}

.video-questions-toggle.active {
    background-color: var(--primary-blue);
    color: white;
}

.video-questions-toggle span {
    font-size: 1rem;
    font-weight: 600;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-questions-toggle.active .toggle-icon {
    background-color: white;
}

.toggle-icon i {
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.video-questions-toggle.active .toggle-icon i {
    color: var(--primary-blue);
}

.video-questions-content {
    display: none;
    background-color: white;
}

.video-questions-table-container {
    padding: 20px;
}

.video-questions-table-container h4 {
    color: var(--secondary-blue);
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.video-questions-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.video-questions-table th,
.video-questions-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.video-questions-table th {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-questions-table th:last-child {
    width: 60px;
    text-align: center;
}

.play-cell {
    width: 60px;
    text-align: center;
    padding: 12px 8px !important;
}

.play-cell i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.video-questions-table tr:hover .play-cell i {
    color: var(--accent-blue);
    transform: scale(1.1);
}

.video-questions-table td {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.video-questions-table td:first-child {
    font-weight: 600;
    color: var(--primary-blue);
    width: 80px;
    text-align: center;
    background-color: var(--background-soft);
}

.video-questions-table tr:nth-child(even) {
    background-color: var(--background-soft);
}

.video-questions-table tr:hover {
    background-color: #f0f4f8;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.video-questions-table tr {
    transition: all 0.2s ease;
}

/* Responsive Table */
@media (max-width: 768px) {
    .video-questions-table-container {
        padding: 15px;
    }

    .video-questions-table {
        font-size: 0.85rem;
    }

    .video-questions-table th,
    .video-questions-table td {
        padding: 8px 10px;
    }

    .video-questions-table td:first-child {
        width: 60px;
        font-size: 0.8rem;
    }

    .video-questions-table th:last-child,
    .play-cell {
        width: 45px;
    }

    .play-cell i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-questions-table-container h4 {
        font-size: 1.1rem;
    }

    .video-questions-table {
        font-size: 0.8rem;
    }

    .video-questions-table th,
    .video-questions-table td {
        padding: 6px 8px;
    }

    .video-questions-toggle {
        padding: 14px 16px;
    }

    .video-questions-toggle span {
        font-size: 0.9rem;
    }

    .toggle-icon {
        width: 28px;
        height: 28px;
    }
}

/* Homepage On This Page Navigation */
.patient-p-on-this-page {
    padding: 40px 0;
    background-color: white;
}

.patient-p-page-nav-box {
    background-color: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f5f5f5;
    width: 100%;
}

.patient-p-page-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.patient-p-page-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.patient-p-nav-pill {
    display: inline-block;
    align-items: center;
    padding: 12px 24px;
    background-color: #f8f6f1;
    color: var(--secondary-blue);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #e8e6e1;
}

.patient-p-nav-pill:hover {
    background-color: #f0ede6;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.patient-p-nav-pill:active {
    transform: translateY(0);
}

/* Accessibility */
/* Focus outline kaldırıldı - kullanıcı isteği */
/*
:focus {
    outline: 3px solid var(--focus-outline);
    outline-offset: 3px;
}
*/

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: 0% 0;
    }
}

/* Patient Counselor Dropnav Styles */
.patient-counselor-dropnav {
    position: relative;
    display: inline-block;
    overflow: visible;
}

/* Drop Parent Icon Styles */
.patient-counselor-dropnav [uk-drop-parent-icon] {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.patient-counselor-dropnav .uk-open [uk-drop-parent-icon] {
    transform: rotate(180deg);
}

.patient-counselor-dropnav .uk-dropdown {
    background-color: white;
    border: 2px solid #cf0e2e;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(207, 14, 46, 0.15);
    min-width: 280px;
    padding: 8px 0;
    z-index: 9999;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.patient-counselor-dropnav .uk-dropdown-nav li a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    line-height: 1.4;
}

.patient-counselor-dropnav .uk-dropdown-nav li a:hover {
    background: linear-gradient(90deg, transparent 0%, rgba(248, 249, 250, 0.5) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: slideRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    color: #cf0e2e;
    transform: translateX(-4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.patient-counselor-dropnav .uk-dropdown-nav li a strong {
    color: #cf0e2e;
    font-weight: 600;
}

.patient-counselor-dropnav .uk-dropdown-nav li a small {
    color: #666;
    font-size: 0.85em;
    font-weight: 400;
}

/* Mobile Patient Counselor Dropnav */
.patient-counselor-dropnav-mobile {
    position: relative;
    width: 100%;
    overflow: visible;
}

/* Mobile Drop Parent Icon Styles */
.patient-counselor-dropnav-mobile [uk-drop-parent-icon] {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.patient-counselor-dropnav-mobile .uk-open [uk-drop-parent-icon] {
    transform: rotate(180deg);
}

.patient-counselor-dropnav-mobile .uk-dropdown {
    background-color: white;
    border: 2px solid #cf0e2e;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(207, 14, 46, 0.15);
    min-width: 280px;
    padding: 8px 0;
    width: 100%;
    max-width: 320px;
    z-index: 9999;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.patient-counselor-dropnav-mobile .uk-dropdown-nav li a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s ease;
    line-height: 1.4;
}

.patient-counselor-dropnav-mobile .uk-dropdown-nav li a:hover {
    background: linear-gradient(90deg, transparent 0%, rgba(248, 249, 250, 0.5) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: slideRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    color: #cf0e2e;
    transform: translateX(-4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.patient-counselor-dropnav-mobile .uk-dropdown-nav li a strong {
    color: #cf0e2e;
    font-weight: 600;
}

.patient-counselor-dropnav-mobile .uk-dropdown-nav li a small {
    color: #666;
    font-size: 0.85em;
    font-weight: 400;
}

/* CTA Schedule Dropnav Styles */
.cta-schedule-dropnav {
    position: relative;
    display: inline-block;
    overflow: visible;
}

/* Drop Parent Icon Styles for CTA */
.cta-schedule-dropnav [uk-drop-parent-icon] {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-schedule-dropnav .uk-open [uk-drop-parent-icon] {
    transform: rotate(180deg);
}

.cta-schedule-dropnav .uk-dropdown {
    background-color: white;
    border: 2px solid var(--primary-blue);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-strong);
    min-width: 320px;
    padding: 8px 0;
    z-index: 9999;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.cta-schedule-dropnav .uk-dropdown-nav li a {
    color: var(--text-color);
    padding: 14px 24px;
    text-decoration: none;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.cta-schedule-dropnav .uk-dropdown-nav li a:hover {
    background: linear-gradient(90deg, transparent 0%, rgba(209, 217, 240, 0.3) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    animation: slideRight 0.3s ease forwards;
    color: var(--primary-blue);
    transform: translateX(-8px);
}

.cta-schedule-dropnav .uk-dropdown-nav li a strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.cta-schedule-dropnav .uk-dropdown-nav li a small {
    color: var(--text-muted);
    font-size: 0.85em;
    font-weight: 400;
}

/* Mobile adjustments for CTA dropnav */
@media (max-width: 768px) {
    .cta-schedule-dropnav .uk-dropdown {
        min-width: 280px;
        max-width: 320px;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* IPP Page Specific Styles */

/* On This Page Navigation */
.patient-ipp-on-this-page {
    padding: 30px 0;
    background-color: white;
}

.patient-ipp-page-nav-box {
    background-color: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f5f5f5;
    width: 100%;
}

.patient-ipp-page-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    text-align: center;
}

.patient-ipp-page-nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.patient-ipp-nav-pill {
    display: inline-block;
    align-items: center;
    padding: 12px 24px;
    background-color: #f8f6f1;
    color: var(--secondary-blue);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #e8e6e1;
}

.patient-ipp-nav-pill:hover {
    background-color: #f0ede6;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.patient-ipp-nav-pill:active {
    transform: translateY(0);
}

/* Self-Check Section */
.patient-ipp-self-check-section {
    padding: 40px 0 60px 0;
    background-color: white;
}

.patient-ipp-self-check-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.patient-ipp-self-check-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 14px var(--shadow-light);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    transition: all 0.3s ease;
}

.patient-ipp-self-check-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.patient-ipp-check-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.patient-ipp-check-image {
    width: 100%;
    aspect-ratio: 1920/1279;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--background-soft);
}

.patient-ipp-check-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.patient-ipp-self-check-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-ipp-self-check-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

/* How It Works Section */
.patient-ipp-how-it-works-section {
    padding: 60px 0;
    background-color: var(--background-soft);
}

.patient-ipp-how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.patient-ipp-step-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 14px var(--shadow-light);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.patient-ipp-step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.patient-ipp-step-image {
    width: 100%;
    aspect-ratio: 1920/1279;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: var(--background-soft);
}

.patient-ipp-step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.patient-ipp-step-image:hover img {
    transform: scale(1.05);
}

.patient-ipp-step-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-ipp-step-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.patient-ipp-technical-note {
    text-align: center;
    margin-top: 20px;
}

.patient-ipp-technical-note p {
    color: #999999;
    font-style: italic;
    font-size: 0.875rem;
}

.patient-ipp-technical-note p em {
    color: #999999 !important;
    font-style: italic;
}

/* Timeline Section */
.patient-ipp-timeline-section {
    padding: 40px 0;
    background-color: var(--background-soft);
}

.patient-ipp-timeline-section .patient-p-container {
    background-color: white;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.patient-ipp-timeline-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.patient-ipp-timeline-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 14px var(--shadow-light);
    text-align: center;
    transition: all 0.3s ease;
}

.patient-ipp-timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.patient-ipp-timeline-card:hover .patient-ipp-timeline-icon {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 20px 50px rgba(18, 79, 144, 0.5);
}

.patient-ipp-timeline-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(18, 79, 144, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.patient-ipp-timeline-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffffff20, transparent);
    border-radius: 50%;
    z-index: -1;
}

.patient-ipp-timeline-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 40px rgba(18, 79, 144, 0.4);
}

.patient-ipp-timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.patient-ipp-timeline-icon i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.patient-ipp-timeline-icon:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.patient-ipp-timeline-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-ipp-timeline-card p {
    color: var(--text-muted);
    text-align: left;
}

.patient-ipp-risks-section {
    background-color: var(--background-soft);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
}

.patient-ipp-risks-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-ipp-risks-section p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.patient-ipp-recovery-note {
    font-style: italic;
    font-size: 0.875rem;
}

.patient-ipp-recovery-note em {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Why Infla10 Section */
.patient-ipp-why-infla10-section {
    padding: 40px 0;
    background-color: var(--background-soft);
}

.patient-ipp-model-comparison {
    margin-top: 40px;
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 28px var(--shadow-medium);
}

.patient-ipp-model-comparison h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-blue);
}

.patient-ipp-model-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.patient-ipp-model-image {
    position: sticky;
    top: 20px;
}

.patient-ipp-model-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-medium);
    transition: transform 0.3s ease;
}

.patient-ipp-model-image img:hover {
    transform: scale(1.02);
}

.patient-ipp-model-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.patient-ipp-model-card {
    background-color: var(--background-soft);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.patient-ipp-model-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.patient-ipp-model-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.patient-ipp-model-card ul {
    list-style: none;
    padding: 0;
}

.patient-ipp-model-card li {
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.patient-ipp-model-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.patient-ipp-reference-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* FAQs Section */
.patient-ipp-faqs-section {
    padding: 60px 0;
    background-color: white;
}

.patient-ipp-faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.patient-ipp-faq-item {
    background-color: var(--background-soft);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.patient-ipp-faq-item summary {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--secondary-blue);
    list-style: none;
    transition: background-color 0.3s ease;
    outline: none;
}

.patient-ipp-faq-item summary:focus {
    background-color: var(--light-gray);
    outline: none;
    box-shadow: none;
}

.patient-ipp-faq-item summary::-webkit-details-marker {
    display: none;
}

.patient-ipp-faq-item summary:hover {
    background-color: var(--light-gray);
}

.patient-ipp-faq-item[open] summary {
    border-bottom: none;
}

.patient-ipp-faq-item summary i:first-child {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.patient-ipp-faq-item summary i:last-child {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.patient-ipp-faq-content {
    padding: 20px 30px 30px;
    color: var(--text-muted);
}

.patient-ipp-faq-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

/* Video Section */
.patient-ipp-video-section {
    padding: 20px 0 40px 0;
    background-color: var(--background-soft);
}

.patient-ipp-video-section .patient-p-container {
    background-color: white;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.patient-ipp-video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.patient-ipp-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.patient-ipp-video-single {
    display: flex;
    justify-content: center;
}

.patient-ipp-video-single .patient-ipp-video-box {
    max-width: 600px;
    width: 100%;
}

.patient-ipp-video-box {
    background-color: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 14px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.patient-ipp-video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.patient-ipp-video-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.patient-ipp-video-content a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.patient-ipp-video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--background-soft);
    border-radius: 16px;
}

.patient-ipp-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.patient-ipp-video-box:hover .patient-ipp-video-thumbnail img {
    transform: scale(1.05);
}

.patient-ipp-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(18, 79, 144, 0.2) 0%, rgba(206, 18, 45, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.patient-ipp-video-box:hover .patient-ipp-video-overlay {
    opacity: 1;
}

.patient-ipp-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.patient-ipp-video-box:hover .patient-ipp-video-play-btn {
    background-color: var(--primary-blue);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.patient-ipp-video-title {
    padding: 15px 25px 10px;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-blue);
    line-height: 1.4;
    text-align: left;
}

.patient-ipp-video-box:hover .patient-ipp-video-title {
    color: var(--primary-blue);
}

/* CTA Section */
.patient-ipp-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--background-white) 100%);
}

.patient-ipp-privacy-assurance {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
}

.patient-ipp-privacy-assurance p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Design for IPP Sections */
@media (max-width: 1024px) {
    .patient-ipp-page-nav-box {
        padding: 25px 30px;
        margin: 0;
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-ipp-page-nav {
        gap: 12px;
    }
    
    .patient-ipp-nav-pill {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    .patient-ipp-self-check-cards,
    .patient-ipp-how-it-works-steps,
    .patient-ipp-timeline-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .patient-ipp-video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    .patient-ipp-video-box {
        min-height: auto;
    }

    .patient-ipp-video-title {
        font-size: 1rem;
        padding: 15px 20px 10px;
    }

    .video-questions-section {
        margin-top: 10px;
    }
    
    .patient-ipp-video-section .patient-p-container,
    .patient-ipp-timeline-section .patient-p-container {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .patient-ipp-model-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .patient-ipp-model-image {
        position: static;
    }
    
    .patient-ipp-model-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .patient-ipp-on-this-page {
        padding: 20px 0;
    }
    
    .patient-ipp-page-nav-box {
        padding: 20px 25px;
        margin: 0;
        border-radius: 16px;
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-ipp-page-nav-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .patient-ipp-page-nav {
        gap: 8px;
    }
    
    .patient-ipp-nav-pill {
        font-size: 0.85rem;
        padding: 8px 14px;
        border-radius: 20px;
    }
    
    .patient-ipp-self-check-cards,
    .patient-ipp-how-it-works-steps,
    .patient-ipp-timeline-cards {
        grid-template-columns: 1fr;
    }
    
    .patient-ipp-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .patient-ipp-video-title {
        font-size: 1rem;
        padding: 20px;
    }
    
    .patient-ipp-video-section .patient-p-container,
    .patient-ipp-timeline-section .patient-p-container {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .patient-ipp-model-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .patient-ipp-model-image {
        order: -1;
    }
    
    .patient-ipp-model-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .patient-ipp-self-check-card,
    .patient-ipp-step-card,
    .patient-ipp-timeline-card {
        padding: 20px;
    }
    
    .patient-ipp-model-comparison {
        padding: 30px 20px;
    }
    
    .patient-ipp-faq-item summary {
        padding: 15px 20px;
    }
    
    .patient-ipp-faq-content {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .patient-ipp-page-nav-box {
        padding: 15px 20px;
        margin: 0;
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .patient-ipp-page-nav {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .patient-ipp-nav-pill {
        font-size: 0.8rem;
        padding: 6px 14px;
        min-width: 120px;
        justify-content: center;
    }
    
    .patient-ipp-self-check-card,
    .patient-ipp-step-card {
        min-height: auto;
    }
    
    .patient-ipp-check-image,
    .patient-ipp-step-image {
        height: 150px;
    }

    .patient-ipp-video-title {
        font-size: 0.95rem;
        padding: 15px 20px 10px;
        line-height: 1.3;
    }

    .video-questions-section {
        margin-top: 10px;
    }

    .video-questions-toggle {
        padding: 12px 16px;
    }

    .video-questions-toggle span {
        font-size: 0.9rem;
    }

    .toggle-icon {
        width: 26px;
        height: 26px;
    }
    
    .patient-ipp-video-title {
        font-size: 0.95rem;
        padding: 15px;
        line-height: 1.3;
    }
    
    .patient-ipp-video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .patient-ipp-video-section .patient-p-container,
    .patient-ipp-timeline-section .patient-p-container {
        padding: 25px 15px;
        margin: 0 10px;
        border-radius: 16px;
    }

    .patient-ipp-model-card {
        padding: 20px;
    }
}

/* Tablet specific styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-content {
        flex-direction: row !important;
        gap: 40px !important;
        text-align: left !important;
    }

    .hero-left {
        flex: 1 !important;
        flex-direction: column;
        gap: 20px;
    }

    .hero-right {
        flex: 1 !important;
        display: flex;
        align-items: flex-start;
    }

    .hero-text {
        text-align: left;
    }

    .hero-image {
        margin: 20px 0 30px 0;
    }
}

/* Video Lightbox Styles */
.video-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    max-height: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
}

.video-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.video-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-lightbox-close:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.video-lightbox-player {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

#video-player-container {
    width: 100%;
    height: 100%;
    background: #000;
}

#video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-lightbox-content {
        width: 95%;
        height: 85vh;
        max-height: 600px;
    }

    .video-lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .video-lightbox-content {
        width: 98%;
        height: 80vh;
        max-height: 500px;
    }
}

/* CustomGPT Widget Container */
.customgpt-widget-container {
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    background: #d9e0f3;
    padding: 20px;
    margin: 20px auto;
    max-width: 1440px;
    transition: all 0.3s ease;
}

.customgpt-widget-container:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .hero {
        padding: 60px 0 120px 0;
    }

    .customgpt-widget-container {
        padding: 30px;
        margin: 30px auto;
    }
}



/* Problem Section Styles */
.problem-section {
    padding: 50px 0 80px 0;
    background-color: white;
}

.problem-section-box {
    background-color: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.patient-p-problem-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .patient-p-problem-cards {
        grid-template-columns: 1fr;
    }
    
    .problem-section-box {
        padding: 30px 20px;
        margin: 0 10px;
    }
}

.patient-p-problem-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px 30px 80px;
    box-shadow: 0 4px 14px var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.patient-p-problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.problem-image {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 14px var(--shadow-light);
    position: relative;
}

@media (min-width: 768px) {
    .problem-image {
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .problem-image {
        height: 380px;
    }
}

.problem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-red);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.patient-p-problem-card:hover .problem-image img {
    transform: scale(1.05);
}

.patient-p-problem-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.patient-p-problem-card .patient-p-btn-outline {
    position: absolute;
    bottom: 30px;
    left: 30px;
}

.patient-p-problem-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Print Styles */
@media print {
    .header,
    .patient-p-mobile-nav,
    .hero-actions,
    .patient-p-btn-primary,
    .patient-p-btn-secondary,
    .patient-p-btn-outline,
    .rigiai-section,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .patient-p-container {
        max-width: 100%;
    }
}

/* Comparison Table Styles - Modern UI/UX Enhanced */
#comparison.patient-ipp-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(18, 79, 144, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    background: var(--background-white);
    position: relative;
}

.comparison-table-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-red) 100%);
    border-radius: 12px 12px 0 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--background-white);
    font-size: 15px;
    min-width: 700px;
    position: relative;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(232, 236, 241, 0.6);
    vertical-align: top;
    transition: all 0.2s ease;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--background-soft) 0%, #f8fafb 100%);
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid rgba(18, 79, 144, 0.1);
    position: sticky;
    top: 0;
    z-index: 2;
    font-size: 16px;
}

.comparison-table th.feature-column {
    width: 28%;
    min-width: 140px;
    position: relative;
}

.comparison-table th.feature-column::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-blue) 30%, var(--primary-blue) 70%, transparent 100%);
}

.comparison-table th.product-column {
    width: 36%;
    min-width: 220px;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    font-size: 17px;
}

.comparison-table th.product-column::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.comparison-table tbody tr {
    position: relative;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(18, 79, 144, 0.02) 0%, rgba(232, 236, 241, 0.3) 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(18, 79, 144, 0.08);
}

.comparison-table tbody tr:hover .feature-cell {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    font-weight: 700;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.feature-cell {
    background: linear-gradient(135deg, var(--background-soft) 0%, #e8eef5 100%);
    color: var(--text-color);
    font-weight: 600;
    border-right: 2px solid rgba(18, 79, 144, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.feature-cell strong {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-cell strong::before {
    content: '▶';
    color: var(--primary-blue);
    font-size: 12px;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover .feature-cell strong::before {
    content: '▶';
    color: white;
    transform: rotate(90deg);
}

.detail-cell {
    color: var(--text-color);
    line-height: 1.6;
    border-right: 1px solid rgba(232, 236, 241, 0.4);
    position: relative;
    font-size: 14px;
}

.detail-cell:last-child {
    border-right: none;
}

/* Add visual indicators for better/worse features */
.comparison-table tbody tr:nth-child(2) .detail-cell:nth-child(2)::after,
.comparison-table tbody tr:nth-child(4) .detail-cell:nth-child(2)::after {
    content: '★';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fbbf24;
    font-size: 16px;
}

.comparison-table tbody tr:nth-child(2) .detail-cell:nth-child(3)::after,
.comparison-table tbody tr:nth-child(6) .detail-cell:nth-child(3)::after {
    content: '★';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fbbf24;
    font-size: 16px;
}

/* Add stars to Lifetime Warranty row (last row) */
.comparison-table tbody tr:last-child .detail-cell::after {
    content: '★';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fbbf24;
    font-size: 16px;
}

/* Comparison Note */
.comparison-note {
    margin-top: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(18, 79, 144, 0.05) 0%, rgba(232, 236, 241, 0.15) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.comparison-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-red) 100%);
}

.comparison-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comparison-note i {
    color: var(--primary-blue);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.comparison-note strong {
    color: var(--primary-blue);
}

/* Responsive design for comparison table */
@media (max-width: 768px) {
    #comparison.patient-ipp-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .comparison-table-wrapper {
        margin: 20px -20px;
        border-radius: 8px;
        box-shadow: 0 2px 12px rgba(18, 79, 144, 0.1);
    }
    
    .comparison-table {
        font-size: 14px;
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 16px 20px;
    }
    
    .comparison-table th.feature-column {
        width: 32%;
        min-width: 120px;
    }
    
    .comparison-table th.product-column {
        width: 34%;
        min-width: 180px;
        font-size: 15px;
    }
    
    .detail-cell {
        font-size: 13px;
    }
    
    .comparison-note {
        margin: 20px -20px 0;
        border-radius: 0;
        padding: 16px 20px;
    }
    
    .comparison-note p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #comparison.patient-ipp-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .comparison-table {
        min-width: 520px;
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 14px 16px;
    }
    
    .comparison-table th.product-column {
        font-size: 14px;
    }
    
    .detail-cell {
        font-size: 12px;
    }
    
    .comparison-note p {
        font-size: 13px;
        flex-direction: column;
        gap: 8px;
    }
    
    .comparison-note i {
        align-self: flex-start;
    }
}

/* Pending Activation Notice */
.pending-activation-notice {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    text-align: center;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.notice-content i {
    color: #d97706;
    font-size: 1.25rem;
}

.notice-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #92400e;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Rigicon AI Pending Notice */
.rigiai-pending-notice {
    margin: 20px 0;
    padding: 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    text-align: center;
}

.rigiai-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.rigiai-notice-content i {
    color: #d97706;
    font-size: 1.25rem;
}

.rigiai-notice-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #92400e;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
