/* Healthcare Hero */
.health-hero {
    background: linear-gradient(135deg, 
        rgba(16, 36, 64, 0.95) 0%, 
        rgba(32, 58, 96, 0.92) 100%),
        url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?auto=format&fit=crop&w=1920') center/cover;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.health-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.health-hero .hero-content {
    position: relative;
    z-index: 2;
}

.health-hero .hero-content h1 .highlight {
    color: #10b981;
    position: relative;
    display: inline-block;
    animation: healthGlow 2s ease-in-out infinite alternate;
}

@keyframes healthGlow {
    from {
        text-shadow: 0 0 10px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(16, 185, 129, 0.8), 0 0 25px rgba(16, 185, 129, 0.5);
    }
}

.health-hero .hero-tagline .highlight {
    color: #3b82f6;
    font-weight: 700;
}

.health-hero .cta-button {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.health-hero .cta-button::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: 0.5s;
    z-index: -1;
}

.health-hero .cta-button:hover::before {
    left: 100%;
}

.health-hero .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #20c997, #4f8ef7);
}

/* Animated Medical Background Elements */
.health-viz {
    position: absolute;
    z-index: 1;
}

.health-viz-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
}

.health-viz-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s infinite ease-in-out reverse;
}

.health-viz-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Medical Icons Animation */
.medical-icon {
    display: inline-block;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(5deg); }
    66% { transform: translateY(10px) rotate(-5deg); }
}

/* Sectors Section */
.health-sectors-section {
    padding: 100px 0;
    background: #0a0a1a;
    position: relative;
    overflow: hidden;
}

.health-sectors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.sector-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.sector-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
}

.sector-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.sector-card:hover::after {
    transform: scaleX(1);
}

.sector-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #10b981;
    position: relative;
    display: inline-block;
}

.sector-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.pharmacy-sector .sector-icon {
    color: #3b82f6;
}

.pharmacy-sector .sector-icon::after {
    background: rgba(59, 130, 246, 0.1);
}

.dental-sector .sector-icon {
    color: #a855f7;
}

.dental-sector .sector-icon::after {
    background: rgba(168, 85, 247, 0.1);
}

.sector-card h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.sector-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #10b981;
    transition: width 0.3s ease;
}

.sector-card:hover h3::after {
    width: 100%;
}

.sector-description {
    color: #b0b0c0;
    line-height: 1.7;
    margin-bottom: 30px;
}

.sector-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

.result-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 5px;
    line-height: 1.3;
}

.pharmacy-sector .result-value { color: #3b82f6; }
.dental-sector .result-value { color: #a855f7; }

.result-label {
    color: #8a8aa0;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Problems Section */
.health-problems-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    position: relative;
}

.health-problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.problems-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    backdrop-filter: blur(10px);
}

.tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 25px 30px;
    background: none;
    border: none;
    color: #b0b0c0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.tab-content {
    padding: 50px;
}

.tab-pane {
    display: none;
    animation: healthFadeIn 0.5s ease;
}

@keyframes healthFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-pane.active {
    display: block;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 30px;
}

.problem-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #10b981, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-item:hover::before {
    opacity: 1;
}

.problem-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.problem-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

#pharmacy .problem-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

#dental .problem-icon {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.problem-content h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.problem-content p {
    color: #b0b0c0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.problem-impact {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-label {
    color: #8a8aa0;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.impact-value {
    color: #ef4444;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Solutions Section */
.health-solutions-section {
    padding: 100px 0;
    background: #0a0a1a;
    position: relative;
}

.health-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
}

.solutions-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    backdrop-filter: blur(10px);
}

.solution-tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-tab-btn {
    flex: 1;
    padding: 25px 30px;
    background: none;
    border: none;
    color: #b0b0c0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
}

.solution-tab-btn:hover::before {
    left: 100%;
}

.solution-tab-btn:hover {
    color: #ffffff;
}

.solution-tab-btn.active {
    color: white;
}

.solution-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.solution-content {
    padding: 50px;
}

.solution-pane {
    display: none;
    animation: healthFadeIn 0.5s ease;
}

.solution-pane.active {
    display: block;
}

.solution-header {
    text-align: center;
    margin-bottom: 60px;
}

.solution-header h3 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-subtitle {
    color: #b0b0c0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

#pharmacy-solution .feature-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

#dental-solution .feature-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: #10b981;
    position: relative;
    display: inline-block;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    z-index: -1;
}

#pharmacy-solution .feature-icon {
    color: #3b82f6;
}

#pharmacy-solution .feature-icon::after {
    background: rgba(59, 130, 246, 0.1);
}

#dental-solution .feature-icon {
    color: #a855f7;
}

#dental-solution .feature-icon::after {
    background: rgba(168, 85, 247, 0.1);
}

.feature-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.feature-card p {
    color: #b0b0c0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.feature-result {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-label {
    color: #8a8aa0;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.result-value {
    color: #ef4444;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Analytics Showcase */
.health-analytics-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    position: relative;
}

.health-analytics-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.health-analytics-showcase .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.health-analytics-showcase .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.health-analytics-showcase .section-subtitle {
    color: #b0b0c0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.analytics-demo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.analytics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.analytics-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.analytics-item:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.analytics-item h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-item h4 i {
    color: #10b981;
}

.analytics-item p {
    color: #b0b0c0;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Integration Section */
.health-integration-section {
    padding: 100px 0;
    background: #0a0a1a;
    position: relative;
}

.health-integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.integration-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.integration-group:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.integration-group h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.integration-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.integration-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateX(10px);
}

.integration-item i {
    font-size: 1.8rem;
    color: #10b981;
    width: 40px;
    text-align: center;
}

.integration-item span {
    color: #b0b0c0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .sectors-grid,
    .problem-list,
    .solution-features,
    .integration-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .health-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tab-buttons,
    .solution-tab-buttons {
        flex-direction: column;
    }
    
    .tab-content,
    .solution-content {
        padding: 30px;
    }
    
    .analytics-demo {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .health-hero {
        min-height: 70vh;
    }
    
    .health-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .sector-results {
        grid-template-columns: 1fr;
    }
    
    .problem-item,
    .feature-card,
    .integration-group {
        padding: 25px;
    }
    
    .analytics-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .health-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .solution-header h3 {
        font-size: 1.8rem;
    }
    
    .health-analytics-showcase .section-title {
        font-size: 2rem;
    }
}

.health-hero .hero-subtitle {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    font-size: 1.4rem;
    color: #b0e0ff;
    margin-bottom: 2rem;
}

/* Medical Statistics Animation */
.statistics-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
    text-align: center;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}