/* Projects Page styles */
.page-header {
    background: linear-gradient(rgba(0, 96, 100, 0.8), rgba(0, 54, 58, 0.8)), url('../images/ui/hero-bg-1.jpg') center/cover no-repeat;
    padding: 120px 0 150px;
    color: rgb(255, 255, 255);
    text-align: center;
    position: relative;
}

/* Custom Wave Fill for Projects Page */
.page-header .wave-bottom .shape-fill {
    fill: #fdfdfd;
}

/* ============================================
   FEATURED REHABILITATION SECTION
   ============================================ */

.featured-rehab-section {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 50%, #0891b2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.featured-rehab-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.featured-rehab-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.featured-rehab-icon {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
    }
}

.featured-rehab-icon i {
    font-size: 4rem;
    color: white;
}

.featured-rehab-text {
    color: white;
}

.featured-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-rehab-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fbbf24;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 15px 30px;
    border-radius: 15px;
    display: inline-block;
    border: 3px solid #f59e0b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-rehab-text .lead {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 600px;
}

.featured-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    border-left: 4px solid #f59e0b;
}

.featured-highlight i {
    color: #f59e0b;
    font-size: 1.5rem;
}

.featured-highlight span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Rehab Info Cards */
.rehab-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.rehab-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.rehab-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.rehab-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.rehab-card-icon i {
    font-size: 1.8rem;
    color: white;
}

.rehab-info-card h3 {
    font-size: 1.4rem;
    color: #115e59;
    margin-bottom: 1rem;
}

.rehab-info-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* CTA Button */
.rehab-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.rehab-cta .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Card in Grid */
.mission-card.featured-card {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
    position: relative;
    margin-top: 20px;
    overflow: visible;
}

.mission-card.featured-card::before {
    content: '★ Priority';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

/* Responsive */
@media (max-width: 991px) {
    .featured-rehab-content {
        flex-direction: column;
        text-align: center;
    }

    .featured-rehab-icon {
        width: 120px;
        height: 120px;
    }

    .featured-rehab-icon i {
        font-size: 3rem;
    }

    .featured-rehab-text h2 {
        font-size: 2.5rem;
    }

    .featured-rehab-text .lead {
        max-width: 100%;
    }

    .featured-highlight {
        justify-content: center;
    }

    .rehab-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-rehab-section {
        padding: 60px 0;
    }

    .featured-rehab-text h2 {
        font-size: 2rem;
    }

    .featured-rehab-text .lead {
        font-size: 1rem;
    }

    .featured-highlight {
        flex-direction: column;
        text-align: center;
    }
}