/* MEDORAM Landing Page Styles */

/* ============================================
   Variables & Base
   ============================================ */
:root {
    --medoram-primary: #0066CC;
    --medoram-teal: #00A8A8;
    --medoram-green: #10B981;
    --medoram-purple: #6B46C1;
    --medoram-orange: #F59E0B;
    --medoram-gray: #64748B;
    --medoram-dark: #0F172A;
    --medoram-light: #F8FAFC;
    --medoram-white: #FFFFFF;
}

.text-teal {
    color: var(--medoram-teal) !important;
}

.bg-teal-light {
    background-color: rgba(0, 168, 168, 0.1);
}

/* ============================================
   Global UI Elements (Buttons)
   ============================================ */
.btn-primary,
.btn-success {
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green)) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 168, 168, 0.2);
}

.btn-primary:hover,
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.35);
    color: white !important;
}

.btn-primary::before,
.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before,
.btn-success:hover::before {
    left: 100%;
}

.btn-outline-primary {
    border: 2px solid var(--medoram-teal) !important;
    color: var(--medoram-teal) !important;
    padding: 11px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
    background: var(--medoram-teal) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--medoram-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Hero Carousel Section (NEW)
   ============================================ */
.medoram-hero-carousel {
    background: linear-gradient(135deg, #E8F9F9 0%, #F0FDF4 50%, var(--medoram-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-carousel-container {
    position: relative;
    min-height: 680px;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    min-height: 680px;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    padding: 100px 0 60px;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Slide Animations */
.hero-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.hero-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.hero-slide.slide-in-left {
    animation: slideInFromLeft 0.6s ease forwards;
}

.hero-slide.slide-in-right {
    animation: slideInFromRight 0.6s ease forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-30%);
        opacity: 0;
    }

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

@keyframes slideInFromRight {
    from {
        transform: translateX(30%);
        opacity: 0;
    }

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

/* Slide Content */
.hero-slide-content {
    padding-right: 2rem;
}

/* Trust Badge (Slide 1 Special) */
.trust-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 168, 168, 0.15));
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #059669;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulseGlow 2s ease-in-out infinite;
}

.trust-badge-hero svg {
    width: 18px;
    height: 18px;
    color: #059669;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(16, 185, 129, 0.15);
    }
}

/* Slide Indicator (Slides 2 & 3) */
.slide-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 168, 0.1);
    color: var(--medoram-teal);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 168, 168, 0.2);
}

.slide-indicator svg {
    width: 16px;
    height: 16px;
}

.slide-indicator.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.2);
}

/* Carousel Title */
.hero-carousel-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--medoram-dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-carousel-title .text-gradient {
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Carousel Subtitle */
.hero-carousel-subtitle {
    font-size: 1.15rem;
    color: var(--medoram-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Hero Feature Cards */
.hero-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 168, 0.1);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.hero-feature-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(0, 168, 168, 0.25);
    box-shadow: 0 8px 24px rgba(0, 168, 168, 0.12);
    transform: translateX(5px);
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-feature-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.hero-feature-icon.green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.hero-feature-icon.teal {
    background: linear-gradient(135deg, #00A8A8, #0891B2);
}

.hero-feature-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.hero-feature-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.hero-feature-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.hero-feature-icon.gray {
    background: linear-gradient(135deg, #64748B, #475569);
}

.hero-feature-content h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.25rem;
}

.hero-feature-content p {
    font-size: 0.85rem;
    color: var(--medoram-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Hero Carousel CTAs */
.hero-carousel-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-carousel-ctas .btn {
    display: inline-flex;
    align-items: center;
}

.hero-carousel-ctas .btn svg {
    width: 18px;
    height: 18px;
}

/* Hero Slide Visual */
.hero-slide-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 25px 50px rgba(0, 168, 168, 0.2));
    animation: floatCarouselImage 5s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-3deg);
}

.hero-carousel-image:hover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

@keyframes floatCarouselImage {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-3deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-3deg) translateY(-12px);
    }
}

/* Visual Badge */
.hero-visual-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--medoram-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-visual-badge svg {
    width: 16px;
    height: 16px;
}

.hero-visual-badge.orange {
    color: #D97706;
}

.hero-visual-badge.blue {
    color: #2563EB;
}

@keyframes floatBadge {

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

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

/* Carousel Navigation Dots */
.hero-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.carousel-nav-dot {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: rgba(0, 168, 168, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.carousel-nav-dot:hover {
    background: rgba(0, 168, 168, 0.4);
}

.carousel-nav-dot.active {
    width: 60px;
    background: rgba(0, 168, 168, 0.3);
}

.carousel-nav-dot .dot-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    border-radius: 3px;
}

@keyframes dotProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Arrow Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 168, 168, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medoram-teal);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: var(--medoram-teal);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.carousel-arrow-prev {
    left: 20px;
}

.carousel-arrow-next {
    right: 20px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.375rem));
    }
}

.hero-feature-strip {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 168, 168, 0.1);
    padding: 0;
    position: relative;
    z-index: 10;
    box-shadow: none;
}

.feature-strip-scroll {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.85rem 0;
}

.feature-strip-track {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.feature-strip-track:hover {
    animation-play-state: paused;
}

.feature-strip-scroll::-webkit-scrollbar {
    display: none;
}



.feature-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 168, 168, 0.08);
    color: var(--medoram-teal);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-strip-badge svg {
    width: 14px;
    height: 14px;
}

.feature-strip-badge:hover {
    background: rgba(0, 168, 168, 0.15);
    transform: translateY(-2px);
}

.feature-strip-badge.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 168, 168, 0.15));
    border-color: rgba(16, 185, 129, 0.3);
    color: #059669;
}

/* Hero Carousel Responsive */
@media (max-width: 1199px) {
    .hero-carousel-container {
        min-height: 600px;
    }

    .hero-carousel-track {
        min-height: 600px;
    }

    .hero-carousel-title {
        font-size: 2.5rem;
    }

    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 991px) {
    .hero-carousel-container {
        min-height: auto;
    }

    .hero-carousel-track {
        min-height: auto;
    }

    .hero-slide {
        padding: 40px 0 40px;
        /* Reduced from 80px 0 100px */
        position: absolute;
        /* CRITICAL: Keep absolute to prevent stacking */
    }

    .hero-slide.active {
        position: relative;
        /* Only active slide is relative */
    }

    .hero-slide-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 1.5rem;
        /* Reduced from 2rem */
    }

    .hero-carousel-title {
        font-size: 1.75rem;
        /* Reduced from 2.2rem */
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-carousel-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        margin-bottom: 1.5rem;
        /* Reduced from 2rem */
    }

    .trust-badge-hero,
    .slide-indicator {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        /* Reduced from 1.5rem */
    }

    .hero-feature-cards {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.75rem;
        /* Reduced from 1rem */
        margin-bottom: 1.5rem;
        /* Reduced from 2rem */
    }

    .hero-feature-card {
        text-align: left;
        padding: 0.75rem 1rem;
        /* Reduced from 1rem 1.25rem */
    }

    .hero-feature-content p {
        display: none;
        /* Hide descriptions on mobile to save space */
    }

    .hero-carousel-ctas {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .hero-slide-visual {
        margin-top: 0.5rem;
        /* Reduced from 1rem */
    }

    .hero-carousel-image {
        max-height: 280px;
        /* Reduced from 380px */
    }

    .hero-carousel-nav {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 20px 0 10px;
        /* Reduced from 30px 0 20px */
    }
}

@media (max-width: 767px) {
    .hero-slide {
        padding: 30px 0 30px;
        /* Reduced from 60px 0 80px */
        position: absolute;
        /* CRITICAL: Keep absolute to prevent stacking */
    }

    .hero-slide.active {
        position: relative;
        /* Only active slide is relative */
    }

    .hero-carousel-title {
        font-size: 1.5rem;
        /* Reduced from 1.85rem */
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-carousel-subtitle {
        font-size: 0.95rem;
        /* Reduced from 1rem */
        margin-bottom: 1rem;
    }

    .hero-feature-card {
        padding: 0.65rem 0.85rem;
        /* Reduced from 0.85rem 1rem */
    }

    .hero-feature-icon {
        width: 36px;
        /* Reduced from 40px */
        height: 36px;
        min-width: 36px;
    }

    .hero-feature-icon svg {
        width: 18px;
        /* Reduced from 20px */
        height: 18px;
    }

    .hero-feature-content h5 {
        font-size: 0.85rem;
        /* Reduced from 0.9rem */
    }

    .hero-feature-content p {
        display: none;
        /* Keep hidden on mobile */
    }

    .hero-carousel-ctas {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-carousel-ctas .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 10px 24px !important;
        font-size: 0.95rem !important;
    }

    .hero-carousel-image {
        max-height: 240px;
        /* Reduced from 320px */
    }

    .hero-visual-badge {
        bottom: 8px;
        right: 8px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .feature-strip-track {
        justify-content: flex-start;
    }

    .feature-strip-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .carousel-nav-dot {
        width: 32px;
        height: 5px;
    }

    .carousel-nav-dot.active {
        width: 48px;
    }
}

/* Dark Theme - Hero Carousel */
body.dark-theme .medoram-hero-carousel {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

body.dark-theme .hero-carousel-title {
    color: #F8FAFC;
}

body.dark-theme .hero-carousel-subtitle {
    color: #94A3B8;
}

body.dark-theme .trust-badge-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 168, 168, 0.2));
    border-color: rgba(16, 185, 129, 0.5);
}

body.dark-theme .slide-indicator {
    background: rgba(0, 168, 168, 0.15);
    border-color: rgba(0, 168, 168, 0.3);
}

body.dark-theme .slide-indicator.blue {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

body.dark-theme .hero-feature-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(0, 168, 168, 0.15);
}

body.dark-theme .hero-feature-card:hover {
    background: rgba(51, 65, 85, 0.9);
    border-color: rgba(0, 168, 168, 0.3);
}

body.dark-theme .hero-feature-content h5 {
    color: #F8FAFC;
}

body.dark-theme .hero-feature-content p {
    color: #94A3B8;
}

body.dark-theme .hero-visual-badge {
    background: #1E293B;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-theme .carousel-arrow {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 168, 168, 0.3);
}

body.dark-theme .carousel-arrow:hover {
    background: var(--medoram-teal);
}

body.dark-theme .hero-feature-strip {
    background: rgba(15, 23, 42, 0.95);
    border-top-color: rgba(0, 168, 168, 0.15);
}

body.dark-theme .feature-strip-badge {
    background: rgba(0, 168, 168, 0.12);
}

body.dark-theme .feature-strip-badge:hover {
    background: rgba(0, 168, 168, 0.2);
}

body.dark-theme .feature-strip-badge.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 168, 168, 0.2));
    border-color: rgba(16, 185, 129, 0.4);
}

/* ============================================
   Hero Section (Legacy - keeping for compatibility)
   ============================================ */
.medoram-hero {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0fdf4 50%, var(--medoram-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--medoram-dark);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--medoram-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-ctas .btn-primary {
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-ctas .btn-primary::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;
}

.hero-ctas .btn-primary:hover::before {
    left: 100%;
}

.hero-ctas .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.35);
}

.hero-ctas .btn-outline-primary {
    border: 2px solid var(--medoram-teal);
    color: var(--medoram-teal);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
}

.hero-ctas .btn-outline-primary:hover {
    background: var(--medoram-teal);
    color: white;
}

.hero-roles {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-roles span {
    display: inline-flex;
    align-items: center;
}

.hero-roles span i,
.hero-roles span svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
}

.role-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medoram-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.role-link svg {
    width: 18px;
    height: 18px;
}

.hero-visual {
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 168, 168, 0.2));
    animation: floatHero 5s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-3deg);
    border-radius: 16px;
}

.hero-image:hover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

@keyframes floatHero {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-3deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-3deg) translateY(-10px);
    }
}

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

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

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

    .hero-ctas {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   Audience Section
   ============================================ */
.audience-section {
    padding: 80px 0;
    background: var(--medoram-white);
}

.audience-card {
    background: var(--medoram-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.audience-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.audience-card:hover {
    background: var(--medoram-white);
    box-shadow: 0 10px 30px rgba(0, 168, 168, 0.12);
    border-color: rgba(0, 168, 168, 0.2);
    transform: translateY(-5px);
}

.audience-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.audience-icon svg {
    width: 28px;
    height: 28px;
    color: var(--medoram-teal);
}

.audience-card h4 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
}

.audience-card p {
    color: var(--medoram-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Pillars Section (Functional Medicine)
   ============================================ */
.pillars-section {
    padding: 80px 0;
    background: var(--medoram-white);
    overflow: hidden;
}

.pillars-carousel {
    display: flex;
    overflow: hidden;
    padding: 1rem 0 2rem;
    position: relative;
    width: 100%;
}

.pillars-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollPillars 40s linear infinite;
}

.pillars-carousel:hover .pillars-track {
    animation-play-state: paused;
}

@keyframes scrollPillars {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.75rem));
    }
}

.pillar-card {
    flex: 0 0 200px;
    background: var(--medoram-light);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 168, 168, 0.1),
            transparent);
    transition: left 0.6s ease;
}

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

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 168, 0.15);
}

.pillar-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--medoram-white);
}

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

.pillar-card h5 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.pillar-card p {
    color: var(--medoram-gray);
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Dark theme for pillars */
body.dark-theme .pillars-section {
    background: #0F172A;
}

body.dark-theme .pillar-card {
    background: #1E293B;
}

body.dark-theme .pillar-card:hover {
    background: #334155;
}

body.dark-theme .pillar-image {
    background: #0F172A;
}

body.dark-theme .pillar-card h5 {
    color: #F8FAFC;
}

body.dark-theme .pillar-card p {
    color: #94A3B8;
}

@media (max-width: 767px) {
    .pillar-card {
        flex: 0 0 160px;
    }

    .pillar-image {
        width: 110px;
        height: 110px;
    }
}

/* ============================================
   How It Works Section
   ============================================ */
.how-section {
    padding: 80px 0;
    background: var(--medoram-light);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.step-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 168, 168, 0.15);
    margin-bottom: 0.5rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.step-content h4 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--medoram-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--medoram-teal), var(--medoram-green));
    align-self: center;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .step-item {
        max-width: 100%;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--medoram-white);
}

.feature-card-new {
    background: var(--medoram-light);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card-new.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.feature-card-new:hover {
    background: var(--medoram-white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-card-new.featured {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(0, 168, 168, 0.2);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.feature-icon-new {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon-new svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-icon-new.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.feature-icon-new.green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.feature-icon-new.teal {
    background: linear-gradient(135deg, #00A8A8, #0891B2);
}

.feature-icon-new.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.feature-icon-new.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.feature-icon-new.gray {
    background: linear-gradient(135deg, #64748B, #475569);
}

.feature-card-new h4 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
}

.feature-card-new p {
    color: var(--medoram-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Forms Section
   ============================================ */
.forms-section {
    padding: 80px 0;
    background: var(--medoram-light);
}

.form-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--medoram-white);
    border-radius: 10px;
    font-weight: 500;
    color: var(--medoram-dark);
    transition: all 0.3s ease;
}

.form-category:hover {
    background: rgba(0, 168, 168, 0.08);
    transform: translateX(5px);
}

.form-category svg {
    width: 20px;
    height: 20px;
    color: var(--medoram-teal);
}

.form-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-pill {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(16, 185, 129, 0.1));
    color: var(--medoram-teal);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.forms-visual {
    display: flex;
    justify-content: center;
}

.forms-preview-image {
    max-width: 100%;
    max-height: 550px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 168, 168, 0.15));
    animation: floatForms 5s ease-in-out infinite;
    transform: perspective(1000px) rotateY(5deg);
}

.forms-preview-image:hover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

@keyframes floatForms {

    0%,
    100% {
        transform: perspective(1000px) rotateY(5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(5deg) translateY(-12px);
    }
}

.form-preview-card {
    background: var(--medoram-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.form-preview-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.form-preview-title {
    font-weight: 700;
    color: var(--medoram-dark);
}

.form-preview-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--medoram-light);
    border-radius: 12px;
    text-align: center;
}

.form-preview-chart svg {
    width: 64px;
    height: 64px;
    color: var(--medoram-teal);
    margin-bottom: 1rem;
}

.form-preview-chart span {
    color: var(--medoram-gray);
    font-size: 0.9rem;
}

/* ============================================
   Marketplace Section
   ============================================ */
.marketplace-section {
    padding: 80px 0;
    background: var(--medoram-white);
}

.marketplace-card {
    background: var(--medoram-light);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
}

.marketplace-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 1.5rem;
}

.marketplace-card h4 svg {
    width: 24px;
    height: 24px;
    color: var(--medoram-teal);
}

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

.marketplace-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #E2E8F0;
    color: var(--medoram-gray);
}

.marketplace-list li:last-child {
    border-bottom: none;
}

.marketplace-list li svg {
    width: 18px;
    height: 18px;
    color: var(--medoram-green);
}

/* ============================================
   Security Section
   ============================================ */
.security-section {
    padding: 80px 0;
    background: var(--medoram-light);
}

.security-badge {
    background: var(--medoram-white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.security-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 168, 168, 0.15),
            transparent);
    transition: left 0.8s ease;
}

.security-badge:hover::before {
    left: 100%;
}

.security-badge.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.security-badge:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.security-badge>svg {
    width: 48px;
    height: 48px;
    color: var(--medoram-teal);
    margin-bottom: 1rem;
}

.security-badge h5 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
}

.security-badge p {
    color: var(--medoram-gray);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Mobile Section
   ============================================ */
.mobile-section {
    padding: 80px 0;
    background: var(--medoram-white);
}

.mobile-features h5 {
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.75rem;
}

.mobile-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-features li {
    padding: 0.4rem 0;
    color: var(--medoram-gray);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.25rem;
}

.mobile-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--medoram-green);
    font-weight: 700;
}

.app-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--medoram-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: var(--medoram-teal);
    color: white;
    transform: translateY(-2px);
}

.app-badge svg {
    width: 20px;
    height: 20px;
}

.mobile-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    background: linear-gradient(135deg, var(--medoram-light), #E2E8F0);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup svg {
    color: var(--medoram-teal);
}

.app-mockup-image {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 25px 50px rgba(0, 168, 168, 0.2));
    animation: floatPhone 4s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-5deg);
}

.app-mockup-image:hover {
    animation-play-state: paused;
    transform: perspective(1000px) rotateY(0deg) scale(1.03);
}

@keyframes floatPhone {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-15px);
    }
}

/* ============================================
   Redesigned Final CTA Section
   ============================================ */
.cta-section-new {
    padding: 100px 0;
    background-color: var(--medoram-light);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

body.dark-theme .cta-section-new {
    background-color: #020617;
}

.cta-section-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 168, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-theme .cta-wrapper {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 168, 168, 0.1);
    color: var(--medoram-teal);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 168, 168, 0.2);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--medoram-dark) !important;
    line-height: 1.2;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.dark-theme .cta-title {
    color: white !important;
}

.cta-title .highlight {
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.2rem;
    color: var(--medoram-gray) !important;
    margin-bottom: 40px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.dark-theme .cta-description {
    color: #94A3B8 !important;
}

.cta-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-actions .btn-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px !important;
}

.cta-actions .btn-outline-primary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px !important;
}

.cta-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

body.dark-theme .cta-stats {
    border-left-color: rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 168, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medoram-teal);
    flex-shrink: 0;
}

.stat-info h6 {
    color: var(--medoram-dark) !important;
    font-weight: 700;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

body.dark-theme .stat-info h6 {
    color: white !important;
}

.stat-info p {
    color: var(--medoram-gray) !important;
    font-size: 0.9rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

body.dark-theme .stat-info p {
    color: #64748B !important;
}

@media (max-width: 991px) {
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-stats {
        padding-left: 0;
        border-left: none;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cta-wrapper {
        padding: 40px;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .cta-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-stats {
        flex-direction: column;
    }
}

.cta-buttons .btn {
    width: 100%;
    max-width: 280px;
}

/* ============================================
   Animation Classes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ============================================
   Theme Toggle Button
   ============================================ */
.theme-toggle-btn {
    background: var(--medoram-light);
    border: 2px solid #E2E8F0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--medoram-teal);
    border-color: var(--medoram-teal);
}

.theme-toggle-btn:hover svg {
    color: white;
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    color: var(--medoram-dark);
    transition: all 0.3s ease;
}

/* Light theme: show sun, hide moon */
.theme-icon-dark {
    display: none;
}

.theme-icon-light {
    display: block;
}

/* Dark theme: show moon, hide sun */
body.dark-theme .theme-icon-dark {
    display: block;
}

body.dark-theme .theme-icon-light {
    display: none;
}

/* ============================================
   Dark Theme Overrides
   ============================================ */
body.dark-theme {
    --medoram-dark: #F8FAFC;
    --medoram-light: #1E293B;
    --medoram-white: #0F172A;
    --medoram-gray: #94A3B8;
}

/* Header Dark */
body.dark-theme .landing-header {
    background: #0F172A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-theme .landing-header .nav-link {
    color: #E2E8F0;
}

body.dark-theme .landing-header .nav-link:hover {
    color: var(--medoram-teal);
}

body.dark-theme .navbar-toggler-icon {
    filter: invert(1);
}

body.dark-theme .theme-toggle-btn {
    background: #334155;
    border-color: #475569;
}

body.dark-theme .theme-toggle-btn svg {
    color: #F1F5F9;
}

/* Hero Dark */
body.dark-theme .medoram-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

body.dark-theme .hero-title {
    color: #F8FAFC;
}

body.dark-theme .hero-subtitle {
    color: #94A3B8;
}

body.dark-theme .hero-ctas .btn-outline-primary {
    border-color: var(--medoram-teal);
    color: var(--medoram-teal);
}

body.dark-theme .role-link {
    color: #94A3B8;
}

/* Sections Dark */
body.dark-theme .audience-section,
body.dark-theme .features-section,
body.dark-theme .marketplace-section,
body.dark-theme .mobile-section {
    background: #0F172A;
}

body.dark-theme .how-section,
body.dark-theme .forms-section,
body.dark-theme .security-section {
    background: #1E293B;
}

body.dark-theme .section-header h2 {
    color: #F8FAFC;
}

body.dark-theme .section-subtitle {
    color: #94A3B8;
}

/* Cards Dark */
body.dark-theme .audience-card,
body.dark-theme .feature-card-new,
body.dark-theme .marketplace-card {
    background: #1E293B;
}

body.dark-theme .audience-card:hover,
body.dark-theme .feature-card-new:hover {
    background: #334155;
    box-shadow: 0 10px 30px rgba(0, 168, 168, 0.15);
}

body.dark-theme .audience-card h4,
body.dark-theme .feature-card-new h4,
body.dark-theme .marketplace-card h4 {
    color: #F8FAFC;
}

body.dark-theme .audience-card p,
body.dark-theme .feature-card-new p {
    color: #94A3B8;
}

body.dark-theme .feature-card-new.featured {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(16, 185, 129, 0.1));
    border-color: rgba(0, 168, 168, 0.3);
}

/* Steps Dark */
body.dark-theme .step-number {
    color: rgba(0, 168, 168, 0.25);
}

body.dark-theme .step-content h4 {
    color: #F8FAFC;
}

body.dark-theme .step-content p {
    color: #94A3B8;
}

/* Forms Dark */
body.dark-theme .form-category {
    background: #0F172A;
    color: #F8FAFC;
}

body.dark-theme .form-category:hover {
    background: rgba(0, 168, 168, 0.15);
}

body.dark-theme .form-preview-card {
    background: #0F172A;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

body.dark-theme .form-preview-header {
    border-bottom-color: #334155;
}

body.dark-theme .form-preview-title {
    color: #F8FAFC;
}

body.dark-theme .form-preview-chart {
    background: #1E293B;
}

body.dark-theme .badge-pill {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.2), rgba(16, 185, 129, 0.2));
}

/* Marketplace Dark */
body.dark-theme .marketplace-list li {
    border-bottom-color: #334155;
    color: #94A3B8;
}

/* Security Dark */
body.dark-theme .security-badge {
    background: #0F172A;
}

body.dark-theme .security-badge:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-theme .security-badge h5 {
    color: #F8FAFC;
}

body.dark-theme .security-badge p {
    color: #94A3B8;
}

/* Mobile Dark */
body.dark-theme .mobile-features h5 {
    color: #F8FAFC;
}

body.dark-theme .mobile-features li {
    color: #94A3B8;
}

body.dark-theme .phone-mockup {
    background: linear-gradient(135deg, #1E293B, #334155);
}

/* Footer Dark */
body.dark-theme .landing-footer {
    background: #0F172A;
}

body.dark-theme .sub-footer {
    background: #020617;
}

/* Logo Switching */
body.dark-theme .for-light {
    display: none !important;
}

body.dark-theme .for-dark {
    display: block !important;
}

.for-dark {
    display: none;
}

/* ============================================
   Dark Theme - Common Page Elements
   ============================================ */

/* Page body */
body.dark-theme {
    background-color: #0F172A;
}

/* Bootstrap cards */
body.dark-theme .card {
    background: #1E293B;
    border-color: #334155;
}

body.dark-theme .card-title,
body.dark-theme .card h1,
body.dark-theme .card h2,
body.dark-theme .card h3,
body.dark-theme .card h4,
body.dark-theme .card h5,
body.dark-theme .card h6 {
    color: #F8FAFC;
}

body.dark-theme .card-text,
body.dark-theme .card p {
    color: #94A3B8;
}

/* Sections */
body.dark-theme section {
    background-color: #0F172A;
}

body.dark-theme section.py-5,
body.dark-theme .container {
    color: #E2E8F0;
}

/* Background classes */
body.dark-theme .bg-light {
    background-color: #1E293B !important;
}

body.dark-theme .bg-white {
    background-color: #0F172A !important;
}

/* Text colors */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme .fw-bold {
    color: #F8FAFC;
}

body.dark-theme p,
body.dark-theme .lead,
body.dark-theme .text-muted {
    color: #94A3B8 !important;
}

body.dark-theme .small,
body.dark-theme small {
    color: #94A3B8;
}

/* Forms */
body.dark-theme .form-control {
    background-color: #1E293B;
    border-color: #475569;
    color: #F8FAFC;
}

body.dark-theme .form-control:focus {
    background-color: #334155;
    border-color: var(--medoram-teal);
    color: #F8FAFC;
}

body.dark-theme .form-label {
    color: #E2E8F0;
}

body.dark-theme .form-control::placeholder {
    color: #64748B;
}

/* Pricing page */
body.dark-theme .price-option {
    background: #0F172A;
    border-color: #475569 !important;
}

body.dark-theme .price-option:hover {
    border-color: var(--medoram-teal) !important;
}

body.dark-theme .alert-info {
    background-color: rgba(0, 168, 168, 0.15);
    border-color: rgba(0, 168, 168, 0.3);
    color: #67E8F9;
}

/* Hero section full (About, Contact) */
body.dark-theme .hero-section-full {
    background-color: #0F172A;
}

/* Shadow adjustments */
body.dark-theme .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3) !important;
}

/* Links */
body.dark-theme a:not(.btn):not(.nav-link):not(.navbar-brand) {
    color: var(--medoram-teal);
}

body.dark-theme a:not(.btn):not(.nav-link):not(.navbar-brand):hover {
    color: #2DD4BF;
}

/* Contact Page - Override inline styles */
body.dark-theme .card[style*="background:rgba(255,255,255"],
body.dark-theme .card[style*="background: rgba(255,255,255"] {
    background: #1E293B !important;
}

body.dark-theme section[style*="background: linear-gradient"] {
    background: #0F172A !important;
}

body.dark-theme .card .card-body h3,
body.dark-theme .card .card-body h5 {
    color: #F8FAFC !important;
}

body.dark-theme .card .card-body p {
    color: #CBD5E1 !important;
}

body.dark-theme .d-flex .div h5 {
    color: #F8FAFC;
}

/* OurValues cards on About page */
.OurValues .card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.OurValues .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(0, 168, 168, 0.15),
            transparent);
    transition: left 0.8s ease;
}

.OurValues .card:hover::before {
    left: 100%;
}

.OurValues .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 168, 0.15);
}

body.dark-theme .OurValues .card {
    background: #1E293B !important;
}

body.dark-theme .OurValues .card-title {
    color: #F8FAFC !important;
}

body.dark-theme .OurValues .card-text {
    color: #94A3B8 !important;
}

/* Pricing page specific */
body.dark-theme .border-success {
    border-color: #10B981 !important;
}

body.dark-theme .small[style*="color: #555"] {
    color: #94A3B8 !important;
}

/* Map section on Contact page */
body.dark-theme .card iframe {
    filter: invert(0.9) hue-rotate(180deg);
}

/* Global Dark Mode Fixes for #4c3c79 color found in landing.css */
body.dark-theme [style*="color: #4c3c79"],
body.dark-theme [style*="color:#4c3c79"],
body.dark-theme section h2,
body.dark-theme .section-title,
body.dark-theme .text-center>h2,
body.dark-theme h2.section-title,
body.dark-theme .doctor-card .doctor-name,
body.dark-theme .doctor-card h5,
body.dark-theme .stat-card h3,
body.dark-theme .testimonials h2,
body.dark-theme .testimonials h5,
body.dark-theme .OurValues h4,
body.dark-theme .faq-section .accordion-button:not(.collapsed),
body.dark-theme .hero-section-full h1,
body.dark-theme .hero-section-full p,
body.dark-theme .trust-badges {
    color: var(--medoram-teal) !important;
}

body.dark-theme .faq-section .accordion-body,
body.dark-theme .faq-section .accordion-button.collapsed {
    color: #E2E8F0 !important;
}

body.dark-theme .landing-footer {
    background: #0F172A !important;
    /* Dark slate instead of purple */
}

body.dark-theme .sub-footer {
    background: #020617 !important;
}

body.dark-theme .hero-section-full .btn-success {
    background: linear-gradient(135deg, var(--medoram-green), var(--medoram-teal)) !important;
}

/* Header & Footer Harmony */
.landing-header {
    background: rgba(248, 250, 252, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.landing-footer {
    background: var(--medoram-dark) !important;
    color: #F8FAFC !important;
    padding-top: 80px;
}

.sub-footer {
    background: #020617 !important;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-title {
    color: var(--medoram-teal) !important;
}

.footer-desc,
.footer-links a,
.footer-contact li,
.sub-footer p {
    color: #94A3B8 !important;
}

.footer-links a:hover {
    color: var(--medoram-green) !important;
}

/* Dark Theme Adjustments */
body.dark-theme .landing-header {
    background: rgba(15, 23, 42, 0.9) !important;
    border-bottom-color: rgba(51, 65, 85, 0.5);
}

.landing-header .navbar-nav {
    align-items: center !important;
}

body.dark-theme .landing-header .nav-link {
    color: #F8FAFC !important;
}

body.dark-theme .landing-header .nav-link:hover {
    color: var(--medoram-teal) !important;
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: rgba(0, 168, 168, 0.1);
    border: 1px solid rgba(0, 168, 168, 0.2);
    color: var(--medoram-teal);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.theme-toggle-btn:hover {
    background: var(--medoram-teal);
    color: white;
    transform: rotate(15deg);
}

/* ============================================
   Dark Theme - Form Elements
   ============================================ */

/* Form labels */
body.dark-theme label,
body.dark-theme .form-label,
body.dark-theme .form-check-label {
    color: #E2E8F0 !important;
}

/* Form inputs and selects */
body.dark-theme .form-control,
body.dark-theme .form-select {
    background-color: #1E293B;
    border-color: #475569;
    color: #F8FAFC;
}

body.dark-theme .form-control:focus,
body.dark-theme .form-select:focus {
    background-color: #1E293B;
    border-color: var(--medoram-teal);
    color: #F8FAFC;
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 168, 0.25);
}

body.dark-theme .form-control::placeholder {
    color: #64748B;
}

/* Card header and spans */
body.dark-theme .card-header {
    background-color: #1E293B;
    border-bottom-color: #475569;
}

body.dark-theme .card-header span {
    color: #94A3B8;
}

/* Stepwizard */
body.dark-theme .stepwizard-step p {
    color: #94A3B8;
}

body.dark-theme .stepwizard-step .btn-light {
    background-color: #334155;
    border-color: #475569;
    color: #94A3B8;
}

body.dark-theme .stepwizard-step .btn-light.disabled {
    background-color: #1E293B;
    border-color: #334155;
    color: #64748B;
}

/* All text within cards */
body.dark-theme .card span,
body.dark-theme .card small,
body.dark-theme .card label {
    color: #CBD5E1;
}

/* Checkbox appearance */
body.dark-theme .form-check-input {
    background-color: #334155;
    border-color: #475569;
}

body.dark-theme .form-check-input:checked {
    background-color: var(--medoram-teal);
    border-color: var(--medoram-teal);
}

/* Lead and general text */
body.dark-theme .lead {
    color: #94A3B8 !important;
}

/* Text muted fix */
body.dark-theme .text-muted,
body.dark-theme .form-text {
    color: #64748B !important;
}

/* Alerts in dark mode */
body.dark-theme .alert-info {
    background-color: rgba(0, 168, 168, 0.15);
    border-color: rgba(0, 168, 168, 0.3);
    color: #7DD3FC;
}

body.dark-theme .alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #FCA5A5;
}

/* Button link text */
body.dark-theme .btn-link {
    color: var(--medoram-teal);
}

/* Outline buttons */
body.dark-theme .btn-outline-secondary {
    border-color: #475569;
    color: #94A3B8;
}

body.dark-theme .btn-outline-secondary:hover {
    background-color: #334155;
    border-color: #64748B;
    color: #F8FAFC;
}

/* Progress bar background */
body.dark-theme .progress {
    background-color: #334155;
}

/* Hero section text for other pages */
body.dark-theme .hero-section-full .text-white,
body.dark-theme .hero-inner p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Pricing page specific elements */
body.dark-theme .pricing-header {
    color: #F8FAFC;
}

body.dark-theme .pricing-amount {
    color: #F8FAFC;
}

/* Contact page form */
body.dark-theme textarea.form-control {
    background-color: #1E293B;
    border-color: #475569;
    color: #F8FAFC;
}

/* Legal document page */
body.dark-theme .legal-content,
body.dark-theme .legal-document {
    color: #E2E8F0;
}

/* ============================================
   Platform & Discovery Section (#community)
   ============================================ */
#community {
    color: var(--medoram-dark);
}

#community .list-unstyled span {
    color: var(--medoram-dark);
}

#community h2,
#community h4 {
    color: var(--medoram-dark);
}

body.dark-theme #community {
    background-color: #0F172A !important;
}

body.dark-theme #community .bg-white {
    background-color: #1E293B !important;
    border-color: #334155 !important;
}

body.dark-theme #community h2,
body.dark-theme #community h4 {
    color: #F8FAFC !important;
}

body.dark-theme #community .text-muted {
    color: #94A3B8 !important;
}

body.dark-theme #community .list-unstyled span {
    color: #E2E8F0 !important;
}

/* Discovery Section Visuals */
.discovery-visual {
    position: relative;
    padding: 1rem;
}

.discovery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.discovery-visual:hover .discovery-image {
    transform: scale(1.02);
}

.discovery-floating-card {
    position: absolute;
    bottom: 5%;
    right: -5%;
    width: 280px;
    z-index: 2;
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

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

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

body.dark-theme .discovery-floating-card {
    background-color: #1E293B !important;
    border-color: #334155 !important;
    color: #F8FAFC !important;
}

@media (max-width: 991px) {
    .discovery-floating-card {
        position: static;
        width: 100%;
        margin-top: 1.5rem;
        animation: none;
    }

    .discovery-visual {
        padding: 0;
    }
}

/* ============================================
   Mobile App Badges
   ============================================ */
.app-store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 170px;
}

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

.badge-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.badge-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.badge-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.app-store-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 168, 168, 0.4);
    border-color: var(--medoram-teal);
    background: #050505;
}

/* Dark theme overrides if needed, but badges usually stay dark */
body.dark-theme .app-store-badge {
    border-color: rgba(255, 255, 255, 0.15);
    background: #111;
}

body.dark-theme .app-store-badge:hover {
    background: #000;
}

@media (max-width: 575px) {
    .app-store-badge {
        min-width: 150px;
        padding: 6px 12px;
    }

    .badge-logo {
        height: 28px;
    }

    .badge-title {
        font-size: 1rem;
    }

    .badge-subtitle {
        font-size: 0.6rem;
    }
}

/* ============================================
   Dark Theme - Bootstrap Badge Overrides
   ============================================ */

body.dark-theme .bg-success {
    background-color: #10B981 !important;
    color: #FFFFFF !important;
}

body.dark-theme .bg-primary {
    background-color: var(--medoram-teal) !important;
    color: #FFFFFF !important;
}

body.dark-theme .bg-warning {
    background-color: #F59E0B !important;
    color: #1E293B !important;
}

body.dark-theme .bg-info {
    background-color: #06B6D4 !important;
    color: #FFFFFF !important;
}

body.dark-theme .bg-danger {
    background-color: #EF4444 !important;
    color: #FFFFFF !important;
}

/* ============================================
   FEATURES PAGES
   ============================================ */

/* Features Hero Section */
.features-hero-section {
    background: linear-gradient(135deg, #E8F9F9 0%, #F0FDF4 50%, var(--medoram-light) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.features-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 168, 0.1);
    color: var(--medoram-teal);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 168, 0.2);
}

.features-hero-badge svg {
    width: 18px;
    height: 18px;
}

.features-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--medoram-dark);
    line-height: 1.2;
}

.features-hero-subtitle {
    font-size: 1.25rem;
    color: var(--medoram-gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid Section */
.features-grid-section {
    background: #FFFFFF;
}

.feature-card-overview {
    display: block;
    background: #FFFFFF;
    border: 2px solid rgba(0, 168, 168, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 168, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card-overview:hover::before {
    left: 100%;
}

.feature-card-overview:hover {
    transform: translateY(-8px);
    border-color: var(--medoram-teal);
    box-shadow: 0 20px 60px rgba(0, 168, 168, 0.2);
}

.feature-card-overview.featured {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(0, 168, 168, 0.3);
}

.feature-card-overview .feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card-overview:hover .feature-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card-icon.teal {
    background: linear-gradient(135deg, #00A8A8, #0891B2);
}

.feature-card-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.feature-card-icon.green {
    background: linear-gradient(135deg, #10B981, #059669);
}

.feature-card-icon.orange {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.feature-card-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.feature-card-icon.gray {
    background: linear-gradient(135deg, #64748B, #475569);
}

.feature-card-overview h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.75rem;
}

.feature-card-overview p {
    font-size: 0.95rem;
    color: var(--medoram-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-card-arrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(0, 168, 168, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--medoram-teal);
    white-space: nowrap;
}

.feature-card-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--medoram-teal);
    transition: transform 0.3s ease;
}

.feature-card-overview:hover .feature-card-arrow {
    background: var(--medoram-teal);
    color: white;
}


.feature-card-overview:hover .feature-card-arrow svg {
    color: white;
    transform: translateX(4px);
}

/* Features CTA Section */
.features-cta-section {
    background: #FFFFFF;
}

.features-cta-box {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.05), rgba(16, 185, 129, 0.05));
    border: 2px solid rgba(0, 168, 168, 0.15);
    border-radius: 24px;
    padding: 3rem;
}

.features-cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--medoram-dark);
}

.features-cta-box p {
    font-size: 1.1rem;
    color: var(--medoram-gray);
}

/* Feature Detail Pages */
.feature-detail-hero {
    background: linear-gradient(135deg, #E8F9F9 0%, #F0FDF4 50%, var(--medoram-light) 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.feature-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--medoram-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-detail-back:hover {
    gap: 12px;
    color: var(--medoram-green);
}

.feature-detail-back svg {
    width: 20px;
    height: 20px;
}

.feature-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-detail-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

/* Feature Detail Icon Color Variants */
.feature-detail-icon.teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.feature-detail-icon.orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.feature-detail-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.feature-detail-icon.green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.feature-detail-icon.purple {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}

.feature-detail-icon.gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.3);
}

.feature-detail-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--medoram-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.feature-detail-subtitle {
    font-size: 1.25rem;
    color: var(--medoram-gray);
    line-height: 1.7;
    max-width: 700px;
}

/* Feature Content Sections */
.feature-content-section {
    padding: 80px 0;
}

.feature-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 1.5rem;
}

.feature-section-text {
    font-size: 1.1rem;
    color: var(--medoram-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Feature Benefits */
.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(0, 168, 168, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 168, 168, 0.1);
    transition: all 0.3s ease;
}

.feature-benefit-item:hover {
    background: rgba(0, 168, 168, 0.08);
    border-color: rgba(0, 168, 168, 0.2);
    transform: translateX(8px);
}

.feature-benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-benefit-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
}

.feature-benefit-content p {
    font-size: 0.95rem;
    color: var(--medoram-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Feature Screenshot */
.feature-screenshot {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 168, 168, 0.15);
    border: 1px solid rgba(0, 168, 168, 0.1);
}

.feature-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Related Features */
.related-features-section {
    background: var(--medoram-light);
    padding: 80px 0;
}

.related-feature-card {
    display: block;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 168, 168, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 168, 168, 0.15);
    border-color: var(--medoram-teal);
}

.related-feature-card .feature-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.related-feature-card .feature-card-icon svg {
    width: 24px;
    height: 24px;
}

.related-feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--medoram-dark);
    margin-bottom: 0.5rem;
}

.related-feature-card p {
    font-size: 0.9rem;
    color: var(--medoram-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Feature CTA */
.feature-detail-cta {
    background: linear-gradient(135deg, var(--medoram-teal), var(--medoram-green));
    padding: 80px 0;
    color: white;
}

.feature-detail-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.feature-detail-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.feature-detail-cta .btn-primary {
    background: white !important;
    color: var(--medoram-teal) !important;
}

.feature-detail-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .features-hero-title {
        font-size: 2.5rem;
    }

    .feature-detail-title {
        font-size: 2.25rem;
    }

    .feature-content-section {
        padding: 60px 0;
    }

    .features-cta-box {
        padding: 2rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .features-hero-section {
        padding: 100px 0 60px;
    }

    .features-hero-title {
        font-size: 2rem;
    }

    .features-hero-subtitle {
        font-size: 1rem;
    }

    .feature-card-overview {
        padding: 1.5rem;
    }

    .feature-detail-hero {
        padding: 120px 0 80px;
    }

    .feature-detail-title {
        font-size: 1.85rem;
    }

    .feature-detail-subtitle {
        font-size: 1rem;
    }

    .feature-content-section {
        padding: 40px 0;
    }

    .feature-section-title {
        font-size: 1.5rem;
    }

    .feature-section-text {
        font-size: 1rem;
    }

    .features-cta-box h2 {
        font-size: 1.5rem;
    }

    .features-cta-box p {
        font-size: 1rem;
    }
}

/* Dark Theme */
body.dark-theme .features-hero-section,
body.dark-theme .feature-detail-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
}

body.dark-theme .features-hero-title,
body.dark-theme .feature-detail-title,
body.dark-theme .feature-section-title {
    color: #F8FAFC;
}

body.dark-theme .features-hero-subtitle,
body.dark-theme .feature-detail-subtitle,
body.dark-theme .feature-section-text {
    color: #94A3B8;
}

body.dark-theme .feature-card-overview,
body.dark-theme .related-feature-card {
    background: #1E293B;
    border-color: rgba(0, 168, 168, 0.2);
}

body.dark-theme .feature-card-overview h3,
body.dark-theme .related-feature-card h4 {
    color: #F8FAFC;
}

body.dark-theme .feature-card-overview p,
body.dark-theme .related-feature-card p {
    color: #94A3B8;
}

body.dark-theme .features-grid-section,
body.dark-theme .feature-content-section {
    background: #0F172A;
}

body.dark-theme .features-cta-box {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(16, 185, 129, 0.1));
    border-color: rgba(0, 168, 168, 0.3);
}


body.dark-theme .features-cta-box h2 {
    color: #F8FAFC;
}

body.dark-theme .features-cta-box p {
    color: #94A3B8;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-section {
    background: var(--medoram-light);
    padding: 80px 0;
}

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

.faq-accordion-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 168, 168, 0.1);
}

.faq-accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-accordion-header:hover {
    background: rgba(0, 168, 168, 0.03);
}

.faq-accordion-header.active {
    background: rgba(0, 168, 168, 0.05);
    border-bottom: 1px solid rgba(0, 168, 168, 0.1);
}

.faq-accordion-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--medoram-dark);
    margin: 0;
    flex: 1;
}

.faq-accordion-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(0, 168, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-accordion-icon svg {
    width: 18px;
    height: 18px;
    color: var(--medoram-teal);
    transition: transform 0.3s ease;
}

.faq-accordion-header.active .faq-accordion-icon {
    background: var(--medoram-teal);
}

.faq-accordion-header.active .faq-accordion-icon svg {
    color: white;
    transform: rotate(180deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-accordion-content.active {
    max-height: 1000px;
}

.faq-accordion-body {
    padding: 0 2rem 1.5rem 2rem;
}

.faq-accordion-body p {
    font-size: 1rem;
    color: var(--medoram-gray);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.faq-accordion-body p:last-child {
    margin-bottom: 0;
}

.faq-accordion-body ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-accordion-body li {
    font-size: 0.95rem;
    color: var(--medoram-gray);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Dark Theme */
body.dark-theme .faq-section {
    background: #0F172A;
}

body.dark-theme .faq-accordion-item {
    background: #1E293B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark-theme .faq-accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 168, 168, 0.2);
}

body.dark-theme .faq-accordion-header h4 {
    color: #F8FAFC;
}

body.dark-theme .faq-accordion-body p,
body.dark-theme .faq-accordion-body li {
    color: #94A3B8;
}

/* Responsive */
@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-accordion-header {
        padding: 1.25rem 1.5rem;
    }

    .faq-accordion-header h4 {
        font-size: 1rem;
    }

    .faq-accordion-body {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-accordion-body p {
        font-size: 0.95rem;
    }
}

/* ============================================
   WhatsApp Floating Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(15deg);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #128C7E;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulse Animation */
@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 10px rgba(37, 211, 102, 0.1),
            0 0 0 20px rgba(37, 211, 102, 0.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

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

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* Dark Theme Support */
body.dark-theme .whatsapp-tooltip {
    background: #1E293B;
    color: #25D366;
}

body.dark-theme .whatsapp-tooltip::after {
    border-left-color: #1E293B;
}