/* ========================================
   Enhanced VytalAI HMS - Inter Font & Modern Design
   ENTIRE APPLICATION (Landing + Admin)
   ======================================== */

/* Apply Inter font globally */
* {
    font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Inter Fallback', system-ui, arial, sans-serif !important;
}

/* ========================================
   Enhanced Header
   ======================================== */

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.navbar {
    padding: 1.25rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.navbar-brand:hover img {
    transform: scale(1.08);
}

.nav-link {
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    padding: 0.75rem 1.25rem !important;
    color: #02015A;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #4F46F3);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.language-menu {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.language-menu .nav-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(79, 70, 243, 0.08));
}

/* ========================================
   Modern Pricing Cards
   ======================================== */

.pricing-plan-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-plan-card:hover {
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
    transform: translateY(-8px);
}

.pricing-plan-card.featured {
    border: 2px solid #0066CC;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.15);
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
}

.pricing-plan-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03), rgba(0, 169, 165, 0.03));
    pointer-events: none;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

.pricing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.pricing-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 1s ease;
}

.pricing-plan-card:hover .pricing-shimmer {
    left: 100%;
}

.pricing-corner-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066CC, #4A90E2);
    opacity: 0.05;
    border-bottom-left-radius: 24px;
}

/* ========================================
   Enhanced Backgrounds
   ======================================== */

.bg-gradient-primary {
    background: linear-gradient(135deg, #ECE8FF 0%, #F8F9FA 50%, #ECE8FF 100%);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #4F46F3 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(0, 102, 204, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-mesh-gradient {
    background:
        radial-gradient(at 0% 0%, rgba(0, 102, 204, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(0, 169, 165, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(74, 144, 226, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(0, 102, 204, 0.1) 0px, transparent 50%);
}

/* ========================================
   New Sections
   ======================================== */

.trust-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.trust-badge-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
}

.trust-badge-item img {
    max-height: 50px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-badge-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.how-it-works-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F4F8 100%);
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
    position: relative;
    z-index: 2;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, transparent);
    z-index: 1;
}

.step-card:last-child::after {
    display: none;
}

.testimonial-card-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.testimonial-card-modern:hover {
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.testimonial-avatar-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #0066CC;
    object-fit: cover;
}

.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #4F46F3 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.integration-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

/* ========================================
   Enhanced Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Inter Fallback', system-ui, arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #6C757D;
}

/* ========================================
   Enhanced Buttons
   ======================================== */

.btn-modern {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-gradient:hover {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* ========================================
   Responsive Enhancements
   ======================================== */

@media (max-width: 991px) {
    .pricing-plan-card.featured {
        transform: scale(1);
    }

    .step-card::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .display-1 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.125rem;
    }
}


/* ========================================
   Rotating Element Animation
   ======================================== */

@keyframes animation-7 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.keyframe5 {
    position: relative !important;
    animation-name: animation-7 !important;
    animation-duration: 90s !important;
    animation-iteration-count: infinite !important;
    animation-direction: alternate !important;
    animation-timing-function: cubic-bezier(0.59, 0.59, 1, 1) !important;
}

/* ========================================
   Interactive Works Section
   ======================================== */

.interactive-works-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.work-card {
    position: relative;
    width: 180px;
    height: 400px;
    border-radius: 90px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.work-card:hover {
    width: 400px;
    height: 400px;
    border-radius: 20px;
    z-index: 10;
}

.work-card-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(79, 70, 243, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.work-card-detail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    z-index: 1;
    overflow-y: auto;
}

.work-card:hover .work-card-preview {
    opacity: 0;
}

.work-card:hover .work-card-detail {
    opacity: 1;
    transform: translateY(0);
}

.step-badge {
    width: 60px;
    height: 60px;
    background: white;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-badge-detail {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.work-card-preview h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.work-card:hover .work-card-preview h4 {
    writing-mode: horizontal-tb;
    font-size: 1.25rem;
}

.work-card-detail h4 {
    color: #02015A;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.work-card-detail p {
    color: #6C757D;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

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

    .work-card {
        width: 400px;
        height: 400px;
        border-radius: 20px;
    }

    .work-card-preview h4 {
        writing-mode: horizontal-tb;
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .work-card {
        width: 100%;
        max-width: 400px;
        height: 350px;
    }
}


/* ========================================
   Pricing Card Adjustments
   ======================================== */

.pricing-plan-features {
    padding-top: 1.5rem !important;
    margin-top: 1rem !important;
}

.pricing-plan-features li {
    padding: 0.4rem 0 !important;
}

.active-check {
    padding-bottom: 0.5rem !important;
}


/* ========================================
   Global Page Enhancements
   ======================================== */

/* Page Headers */
.page-header,
.inner-banner {
    background: linear-gradient(135deg, #ECE8FF 0%, #F8F9FA 100%);
    padding: 100px 0 60px;
    position: relative;
}

.page-header h1,
.inner-banner h1 {
    color: #02015A;
    font-weight: 800;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

/* Forms */
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    border-color: transparent;
}

/* Section Backgrounds */
section {
    position: relative;
}

.bg-light {
    background: #ECE8FF !important;
}

/* Links */
a {
    color: #3b82f6;
    transition: all 0.3s ease;
}

a:hover {
    color: #4F46F3;
}

/* Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 4px;
    border: 2px solid #e0e0e0;
    color: #02015A;
    font-weight: 600;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    border-color: transparent;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    border-color: transparent;
}

/* Tables */
.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    color: white;
    font-weight: 600;
    border: none;
}

/* Badges */
.badge {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

/* Hospital Cards */
.hospital-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.hospital-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

/* About Section */
.about-section {
    background: white;
}

.about-section img {
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #3b82f6, #4F46F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
