/* Medical Dark Theme - Premium Slate & Teal */
:root {
    --medical-primary: #00bfa6;
    --medical-secondary: #009688;
    --medical-background: #0F172A;
    --medical-surface: #1E293B;
    --medical-surface-highlight: #334155;
    --medical-text-primary: #F8FAFC;
    --medical-text-secondary: #94A3B8;
    --medical-text-ternary: #64748B;
    --medical-border: #334155;
    --medical-error: #EF4444;
    --medical-success: #10B981;
    --medical-header-bg: #1E293B;
    --medical-button-text: #ffffff;
    --medical-placeholder: #64748B;
    --medical-light-blue: #e3f2fd;
    --medical-light-green: #a5d6a7;

    /* Legacies/Fallbacks mapped to new palette */
    --medical-light: var(--medical-surface);
    --medical-lighter: var(--medical-surface-highlight);
    --medical-dark: var(--medical-secondary);
    --medical-slate: var(--medical-text-secondary);
    --medical-gray: var(--medical-text-ternary);
}

/* Global Typography & Reset */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--medical-text-primary);
    background-color: var(--medical-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--medical-text-primary);
}

.text-muted {
    color: var(--medical-text-ternary) !important;
}

.text-secondary {
    color: var(--medical-text-secondary) !important;
}

/* Override Bootstrap Utilities for Dark Theme */
.bg-white {
    background-color: var(--medical-background) !important;
}

.bg-light {
    background-color: var(--medical-surface) !important;
}

.border {
    border-color: var(--medical-surface-highlight) !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4) !important;
} 
.logo{width:52px}
.logo img{max-width:100%}
/* Hero Section - Enhanced Medical Design */
.hero-section-medical {
    background: radial-gradient(circle at top right, var(--medical-surface) 0%, var(--medical-background) 100%);
    position: relative;
    overflow: hidden;
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Animated Background Shapes */
.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: floatShape 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 251, 241, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 10%;
    animation: floatShape 25s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.hero-section-medical .container {
    position: relative;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--medical-surface);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 3s ease-in-out infinite;
    border: 1px solid var(--medical-surface-highlight);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--medical-primary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.badge-text {
    color: var(--medical-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Hero Typography */
.hero-title {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--medical-text-secondary);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--medical-surface);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--medical-text-secondary);
    font-weight: 500;
    border: 1px solid var(--medical-surface-highlight);
}

.trust-item i {
    font-size: 1.2rem;
}

/* Enhanced Navbar */
.navbar-custom {
    transition: all 0.4s ease;
    padding: 20px 0;
    z-index: 10000 !important;
}

.navbar-custom.scrolled {
    background: var(--medical-surface) !important;
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--medical-surface-highlight);
}

.navbar-nav .nav-link {
    color: var(--medical-slate) !important;
    margin: 0 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--medical-primary) !important;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-card {
    background: var(--medical-surface);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid var(--medical-surface-highlight);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 191, 166, 0.15);
    border-color: var(--medical-primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--medical-primary) 0%, var(--medical-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

.bg-medical-dark {
    background-color: var(--medical-secondary) !important;
    background: var(--medical-secondary) !important;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--medical-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--medical-text-ternary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced Button */
.shadow-medical {
    box-shadow: 0 8px 24px rgba(0, 191, 166, 0.4) !important;
}

/* Hero Image Section */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.phone-mockup-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 191, 166, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-phone {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 80px rgba(20, 184, 166, 0.25));
    position: relative;
    z-index: 1;
    border-radius: 40px;
}

/* Enhanced Floating Cards */
.floating-card {
    position: absolute;
    background: var(--medical-surface);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: floatCard 4s ease-in-out infinite;
    border: 1px solid var(--medical-surface-highlight);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.floating-card-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.floating-1 {
    top: 30%;
    left: -8%;
    animation-delay: 0s;
    z-index: 5;
}

.floating-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
    z-index: 5;
}

.floating-3 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

.floating-4 {
    bottom: 5%;
    right: -8%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
}

/* Medical Buttons */
.btn-medical {
    background: var(--medical-primary);
    color: var(--medical-button-text);
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 191, 166, 0.3);
}

.btn-medical:hover {
    background: var(--medical-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 166, 0.4);
    color: var(--medical-button-text);
}

.btn-outline-medical {
    background: transparent;
    color: var(--medical-primary);
    border: 2px solid var(--medical-primary);
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-medical:hover {
    background: var(--medical-primary);
    color: white;
    border-color: var(--medical-primary);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.2);
}

.btn-white {
    background: var(--medical-surface);
    color: var(--medical-primary);
    border: 1px solid var(--medical-surface-highlight);
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--medical-surface-highlight);
    color: var(--medical-primary);
    transform: translateY(-2px);
}

/* Feature Cards - Medical Style */
.feature-card-medical {
    background: var(--medical-surface);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--medical-surface-highlight);
    height: 100%;
}

.feature-card-medical:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--medical-primary);
}

.icon-wrapper-medical {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medical-primary) 0%, var(--medical-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.25);
}

.icon-wrapper-medical i {
    font-size: 2rem;
    color: white;
}

/* App Mockup Wrapper */
.app-mockup-wrapper {
    text-align: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.app-mockup-wrapper img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(20, 184, 166, 0.15));
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #64748b;
}

/* How It Works Steps */
.step-card-medical {
    background: var(--medical-surface);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid var(--medical-surface-highlight);
    transition: all 0.3s ease;
}

.step-card-medical:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--medical-primary);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--medical-primary) 0%, var(--medical-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--medical-surface-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-icon i {
    font-size: 3rem;
    color: var(--medical-primary);
}

/* Testimonial Cards */
.testimonial-card-medical {
    background: var(--medical-surface);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--medical-surface-highlight);
    height: 100%;
    transition: all 0.3s ease;
}

.step-card-medical:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.12);
    border-color: var(--medical-lighter);
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medical-primary) 0%, var(--medical-secondary) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section-medical {
    background: linear-gradient(135deg, var(--medical-primary) 0%, var(--medical-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-medical::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section-medical::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section-medical .container {
    position: relative;
    z-index: 1;
}

/* Stats Row */
.stats-row h3 {
    font-size: 2.5rem;
}

/* Section Spacing */
.features-section,
.app-feature-section,
.how-it-works-section,
.testimonials-section {
    position: relative;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section-medical {
        min-height: auto;
    }

    .floating-card {
        display: none;
    }

    .stats-row {
        margin-top: 2rem !important;
    }

    .app-mockup-wrapper {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section-medical h1 {
        font-size: 2.5rem;
    }

    .step-card-medical,
    .feature-card-medical,
    .testimonial-card-medical {
        margin-bottom: 1.5rem;
    }
}

/* Footer Styles */
.footer-medical {
    background: var(--medical-surface);
    border-top: 1px solid var(--medical-surface-highlight);
}

.footer-links {
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--medical-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--medical-primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--medical-surface-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medical-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--medical-primary);
    color: white;
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 1.2rem;
}

/* UI Utilities */
.fw-600 {
    font-weight: 600 !important;
}

.smaller {
    font-size: 0.75rem !important;
}

.icon-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Legal Content Styles */
.legal-content h3 {
    color: var(--medical-text-primary);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--medical-text-secondary);
}

.legal-content .badge {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legal-content h3.text-dark {
    color: var(--medical-text-primary) !important;
}

/* Custom Scroll Invitations */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--medical-primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}


/* Hero Banner Responsive Styles */
@media (max-width: 991px) {
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .trust-badges {
        gap: 10px;
    }

    .trust-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .floating-card {
        display: none;
    }

    .phone-mockup-container {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 12px 24px !important;
        font-size: 0.95rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-stats .row {
        gap: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon i {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .shape {
        opacity: 0.2;
    }
}


/* Hero Banner Responsive Styles */
@media (max-width: 991px) {
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .trust-badges {
        gap: 10px;
    }

    .trust-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .floating-card {
        display: none;
    }

    .phone-mockup-container {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 12px 24px !important;
        font-size: 0.95rem;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-stats .row {
        gap: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon i {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .shape {
        opacity: 0.2;
    }
}

/* Process Steps Vertical */
.process-step-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num-circle {
    width: 50px;
    height: 50px;
    background: var(--medical-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
    z-index: 2;
}

.step-line {
    width: 2px;
    background: var(--medical-lighter);
    flex-grow: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}

.post-img-hover {
    transition: transform 0.5s ease;
}

.post-title-link:hover {
    color: var(--medical-primary) !important;
}

.feature-card-medical:hover .post-img-hover {
    transform: scale(1.05);
}

.upload-dropzone {
    transition: all 0.3s ease;
}

.upload-dropzone:hover {
    background: var(--medical-lighter) !important;
    border-color: var(--medical-primary) !important;
}