/* ===== Home Page Styles ===== */

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
}
.section-header-sub {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.section-header-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-header-desc {
    max-width: 650px;
    margin: 0 auto;
    color: var(--neutral-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Hero Section */
.hero-bg-image {
    right: 0;
    left: auto;
}
.hero-blue-slant {
    left: 0;
    right: auto;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}
.hero-blue-slant--full {
    clip-path: none !important;
}
.hero-content {
    padding-inline-end: 2rem;
}
.hero-heading {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.hero-badge {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-number {
    font-size: 3rem;
    margin-bottom: 0;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

html[dir="rtl"] .hero-bg-image {
    left: 0;
    right: auto;
}
html[dir="rtl"] .hero-blue-slant {
    right: 0;
    left: auto;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
html[dir="rtl"] .hero-content {
    padding-inline-start: 2rem;
    padding-inline-end: 0;
}

@media (max-width: 992px) {
    .hero-blue-slant {
        width: 100% !important;
        clip-path: none !important;
        background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%) !important;
        opacity: 0.95;
    }
    .hero-bg-image {
        width: 100% !important;
    }
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center;
    }
    .hero-section h1 { font-size: 2.5rem !important; }
    .hero-section .btn { width: 100%; justify-content: center; }
}

/* Card Templates */
.card-img-top {
    height: 200px;
    flex-shrink: 0;
    background: var(--neutral-200);
    position: relative;
    overflow: hidden;
}
.card-body-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-title-sm {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    min-height: 2.4rem;
}
.card-text-sm {
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.btn-outline-full {
    width: 100%;
    justify-content: center;
    border: 1px solid var(--neutral-300);
}

/* Center Cards */
.center-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.center-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.center-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-700);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.center-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.center-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-900);
    font-weight: 700;
    line-height: 1.4;
}
.center-card-desc {
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.center-card-footer {
    border-top: 1px solid var(--neutral-100);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.center-card-footer a {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Center Cards Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-700);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}
.swiper-pagination-bullet-active {
    background: var(--primary-700);
}
.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}
.center-card > div:first-child {
    transition: transform 0.3s ease;
}
.swiper-slide {
    height: auto;
    display: flex;
}
.swiper-slide > div {
    width: 100%;
}

/* Doctor Cards */
.doctor-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}
.doctor-card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
    background: var(--neutral-100);
}
.doctor-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.doctor-card-body {
    padding: 1.5rem;
}
.doctor-card-name {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-900);
    font-weight: 700;
}
.doctor-card-title {
    color: var(--accent-500);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.doctor-card-specialty {
    color: var(--neutral-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}
.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
}
.doctor-card:hover img {
    transform: scale(1.05);
}

/* Publication Cards */
.publication-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.publication-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-color: var(--primary-200);
}

/* News Cards */
.news-card {
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.news-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-card-date {
    font-size: 0.8rem;
    color: var(--neutral-500);
    margin-bottom: 0.5rem;
}
.news-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-900);
    font-weight: 700;
    line-height: 1.4;
}
.news-card-excerpt {
    color: var(--neutral-600);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.news-card:hover .news-img {
    transform: scale(1.05);
}
.news-card:hover .arrow {
    transform: translateX(5px);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
}

/* Research Stats */
.research-stats {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(46, 74, 125, 0.2);
}
.research-stat-number {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.research-stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* CTA Section */
.cta-placeholder {
    width: 100%;
    aspect-ratio: 6/5;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.cta-heading {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}
.cta-text {
    font-size: 1.15rem;
    color: var(--neutral-200);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    gap: 1rem;
}
