
/* Index Page Hero Section Styles */
.index-hero-section {
    position: relative;
    width: 100%;
    min-height: 88vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.index-hero-bg {
    position: absolute;
    top: 5px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 5px);
    object-fit: cover;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    z-index: 1;
}

.index-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
}

.index-hero-top-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 40px;
}

.index-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.index-social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.index-hero-main {
    display:flex;
}

.index-hero-left {
    max-width: 600px;
}

.index-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 6px 20px;
    margin-bottom: 30px;
}

.index-service-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #14bda7;
}

.index-service-badge span {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.index-hero-title {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0px;
}

.index-hero-buttons {
    display: flex;
    gap: 20px;
}

.index-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.index-hero-btn.download {
    background: black;
    color: white;
}

.index-hero-btn.schedule {
    background: rgba(255, 255, 255, 0.9);
    color: black;
}

.index-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.index-hero-right {
    position: relative;
}

.index-insights-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.index-insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.index-insights-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.index-insights-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #14bda7;
}

.index-insights-patient {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.index-insights-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.index-insights-patient-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.index-insights-patient-info p {
    font-size: 12px;
    color: #666;
}

.index-insights-chart {
    margin-bottom: 10px;
}

.index-chart-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.index-chart-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.index-chart-progress {
    height: 100%;
    background: linear-gradient(90deg, #14bda7 0%, #6366f1 100%);
    border-radius: 10px;
    width: 65%;
}

.index-insights-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.index-insights-unit {
    font-size: 1rem;
    color: #666;
}

.index-hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 60px;
    z-index: 10;
}

.index-hero-bottom-left {
    border-radius: 24px;
    padding: 20px 20px 0px 20px;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.index-avatars {
    display: flex;
}

.index-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.index-avatar:first-child {
    margin-left: 0;
}

.index-doctors-info p {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.index-doctors-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.index-doctors-arrow:hover {
    background: #e5e7eb;
}

.index-hero-bottom-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.index-hero-tagline {
    background: white;
    border-radius: 30px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.index-hero-features {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.index-feature-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.specialist {
    background: linear-gradient(135deg, #14bda7 0%, #001f8c 100%);
    color: white;
    width: 250px;
    height: 50px;
    padding: 0 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    gap: 6px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto; /* centers horizontally */
    margin-top:30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .index-hero-content {
        padding: 30px;
    }

    .index-hero-main {
        flex-direction: column;
        text-align: center;
    }

    .index-hero-left {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .index-hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .index-hero-buttons {
        justify-content: center;
    }

    .index-hero-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        position: absolute;
        padding: 20px;
        bottom:-20px;
    }
        .index-hero-bg {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 10px);    
         align-items: center;
         object-position: -310px center;
    }
}

@media (max-width: 576px) {
    .index-hero-title {
        font-size: 2.3rem;
    }

    .index-hero-buttons {
        flex-direction: column;
    }
    .index-hero-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}
    .index-hero-bg {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 10px);    
         align-items: center;
         object-position: -150px center;
    }

}
