/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 14px;
    display: none;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-info span,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i,
.top-bar-right i {
    font-size: 12px;
    opacity: 0.8;
}

/* =========================================
   Page Header
   ========================================= */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-background {
    position: absolute;
    inset: 0;
}

.header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 95, 60, 0.8), rgba(15, 95, 60, 0.6));
}

.header-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-yellow);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.page-title {
    font-family: 'Amiri', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   Introduction Section
   ========================================= */
.intro-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-label {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.bismillah {
    font-family: 'Amiri', serif;
    font-size: 24px;
    color: #888;
    margin-bottom: 30px;
    text-align: right;
    direction: rtl;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 30px;
}

.intro-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* =========================================
   Senior Scholars Section
   ========================================= */
.senior-scholars-section {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.senior-scholars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.senior-scholar-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    background: var(--bg-light);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.senior-scholar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.scholar-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.scholar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scholar-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-yellow);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.scholar-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scholar-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.scholar-title {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.scholar-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.specialty {
    background: var(--primary-green);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.scholar-bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.scholar-credentials {
    margin-bottom: 25px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.credential i {
    color: var(--primary-green);
    font-size: 16px;
    width: 20px;
}

.scholar-contact {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info span {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--primary-green);
    font-size: 12px;
    width: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* =========================================
   Department Heads Section
   ========================================= */
.department-heads-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.department-heads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.scholar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.scholar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.scholar-card .scholar-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.scholar-card .scholar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.scholar-card:hover .scholar-image img {
    transform: scale(1.05);
}

.department-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-green);
    color: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.scholar-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.scholar-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.scholar-position {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

.scholar-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.expertise-tag {
    background: rgba(15, 95, 60, 0.1);
    color: var(--primary-green);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.scholar-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.scholar-contact {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.scholar-contact .contact-info span {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: #fff;
}

/* =========================================
   Qualifications Section
   ========================================= */
.qualifications-section {
    padding: 100px 0;
    background: white;
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.qualification-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qualification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.qualification-card:hover::before {
    transform: scaleX(1);
}

.qualification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: white;
}

.qualification-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.qualification-card:hover .qualification-icon {
    background: var(--secondary-yellow);
    color: var(--text-dark);
}

.qualification-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.qualification-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.qualification-list {
    list-style: none;
    text-align: left;
}

.qualification-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.qualification-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 16px;
}

/* =========================================
   Scholars CTA Section
   ========================================= */
.scholars-cta-section {
    padding: 80px 20px;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.scholars-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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.1'%3E%3Cpath d='M30 30l15-15v30l-15-15zm-15 0l-15 15V15l15 15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--secondary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--secondary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(246, 199, 68, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 992px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text p {
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .senior-scholar-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .scholar-image {
        max-width: 250px;
        margin: 0 auto;
    }

}