/* ===========================================
   SHARED ANIMATIONS
   =========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================================
   SHARED HERO SECTION STYLES (NON-HOMEPAGE)
   =========================================== */

/* Hero Base Styles */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(32, 178, 170, 0.1), rgba(255, 107, 107, 0.15));
    transform: skewX(-15deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-highlight {
    color: #20b2aa;
    position: relative;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.hero-image-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(32, 178, 170, 0.3);
    position: relative;
    overflow: hidden;
}

/* Hero Stats (for pages that have them) */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #20b2aa;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }
}

/* ===========================================
   JOURNEY/STEP CARD STYLES
   =========================================== */

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #20b2aa;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #20b2aa, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1rem 0;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
}

/* ===========================================
   CONTACT/CTA SECTION STYLES
   =========================================== */

/* Contact Section (used on sports injury pages + minimally-invasive-surgery) */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #20b2aa, #17a2b8);
    color: white;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

/* CTA Section (used on joint replacement pages) */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #20b2aa, #17a2b8);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===========================================
   CONDITION CARD STYLES
   =========================================== */

.condition-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    animation: fadeInUp 0.6s ease forwards;
}

.condition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.condition-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #20b2aa, #ff6b6b);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.condition-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.condition-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff6b6b;
}

.condition-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===========================================
   TREATMENT CARD STYLES
   =========================================== */

.treatment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
    animation: fadeInUp 0.6s ease forwards;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.treatment-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #20b2aa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.treatment-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.treatment-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===========================================
   TREATMENT APPROACH COMPONENT
   =========================================== */

.treatment-approach {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #20b2aa;
}

.treatment-approach h4 {
    color: #20b2aa;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treatment-approach p {
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
}