/**
 * Medical Counseling Hero Section Styles
 * Brand: medicalcounseling.in
 * Two versions: Before Login & After Login
 */

/* ===================================
   Hero Section - Before Login
   =================================== */
.medical-hero-before-login {
    position: relative;
    min-height: 650px;
    background: var(--gradient-primary);
    padding: 80px 0 60px;
    overflow: hidden;
}

.medical-hero-before-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.medical-hero-content {
    position: relative;
    z-index: 2;
}

.medical-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--pure-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.medical-hero-badge i {
    color: var(--medical-green-light);
}

.medical-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--pure-white);
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.medical-hero-title .highlight {
    color: var(--medical-green-light);
    position: relative;
    display: inline-block;
}

.medical-hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
}

.medical-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.medical-hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--pure-white);
    font-size: 16px;
    font-weight: 500;
}

.medical-hero-feature i {
    width: 24px;
    height: 24px;
    background: var(--medical-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.medical-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.medical-hero-btn-primary {
    padding: 16px 40px;
    background: var(--pure-white);
    color: var(--medical-navy);
    border: 2px solid var(--pure-white);
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.medical-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: var(--medical-navy);
}

.medical-hero-btn-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.medical-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--pure-white);
    color: var(--pure-white);
}

.medical-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.medical-hero-stat {
    text-align: center;
}

.medical-hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--pure-white);
    display: block;
    margin-bottom: 8px;
}

.medical-hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.medical-hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.medical-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

.medical-hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.medical-hero-decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: pulse-slow 4s ease-in-out infinite;
}

.medical-hero-decoration-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -50px;
    right: -50px;
}

.medical-hero-decoration-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -30px;
    left: -30px;
    animation-delay: 1s;
}

/* ===================================
   Hero Section - After Login
   =================================== */
.medical-hero-after-login {
    position: relative;
    background: linear-gradient(135deg, #F8FAFB 0%, #E8F5F1 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.medical-hero-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.medical-hero-welcome-content {
    flex: 1;
    min-width: 300px;
}

.medical-hero-greeting {
    font-size: 14px;
    color: var(--medical-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.medical-hero-welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--medical-navy);
    margin-bottom: 12px;
}

.medical-hero-welcome-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.medical-hero-quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.medical-quick-action-card {
    background: var(--pure-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    min-width: 180px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.medical-quick-action-card:hover {
    border-color: var(--medical-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.medical-quick-action-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 20px;
}

.medical-quick-action-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--medical-navy);
    margin: 0;
}

.medical-quick-action-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.medical-hero-progress-section {
    margin-top: 32px;
    background: var(--pure-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

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

.medical-progress-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--medical-navy);
}

.medical-progress-percentage {
    font-size: 24px;
    font-weight: 700;
    color: var(--medical-green);
}

.medical-progress-bar {
    height: 12px;
    background: var(--bg-grey);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}

.medical-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    transition: width 1s ease;
}

.medical-progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.medical-progress-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.medical-progress-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.medical-progress-step-icon.completed {
    background: var(--medical-green);
    color: var(--pure-white);
}

.medical-progress-step-icon.pending {
    background: var(--bg-grey);
    color: var(--text-muted);
}

.medical-progress-step-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================================
   Animations
   =================================== */
@keyframes float {

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

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

@keyframes pulse-slow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .medical-hero-before-login {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .medical-hero-title {
        font-size: 42px;
    }

    .medical-hero-subtitle {
        font-size: 18px;
    }

    .medical-hero-stats {
        gap: 24px;
    }

    .medical-hero-stat-number {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .medical-hero-title {
        font-size: 36px;
    }

    .medical-hero-subtitle {
        font-size: 16px;
    }

    .medical-hero-features {
        flex-direction: column;
        gap: 16px;
    }

    .medical-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .medical-hero-btn-primary,
    .medical-hero-btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .medical-hero-stats {
        justify-content: space-between;
        gap: 16px;
    }

    .medical-hero-welcome-title {
        font-size: 24px;
    }

    .medical-quick-action-card {
        min-width: 100%;
    }

    .medical-progress-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .medical-hero-title {
        font-size: 28px;
    }

    .medical-hero-btn-primary,
    .medical-hero-btn-secondary {
        padding: 14px 28px;
        font-size: 15px;
    }
}