.language-switcher-dropdown{
    display: flex;
    align-items: center;
    padding: 13px 0;

}
a {
    text-decoration: none;
}
[dir="rtl"]  .fa-arrow-right:before{
    content: "\f060";
}
@media (max-width: 768px) {
    .main-nav-bar {
        display: flex;
        justify-content: space-between;
    }
    .nav-container {
        margin: 0 !important;
    }
}

/* hide footer marker */
.footer-nav li::marker {
    content: "" !important;
}
.circular-card-content {
    height: 100%;
    min-height: 140px;
}
.circular-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.faculty-overlay-icon {
    position: absolute;
    right: 0px;
    top: 68%;
    transform: translateY(-50%);
    height: auto;
}
.banner-image-right {
    width: 22% !important;
}
.faculty-overlay-icon{
    width: 66%;
    top: 53% !important;
}
/* Successive Directors in branch page */
.directors-section {
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #222;
}

.director-card {
    max-width: 80%;
    margin: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    align-items: center;
}

.director-image img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
}

.director-info {
    flex: 1;
}

.director-name {
    font-size: 26px;
    font-weight: 700;
    color: #0056A6; /* your blue color */
    margin-bottom: 5px;
}

.director-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.director-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.contact-item i {
    font-size: 20px;
    color: #0056A6;
}

/* Responsive */
@media (max-width: 768px) {
    .director-card {
        flex-direction: column;
        text-align: center;
    }
    .director-info {
        text-align: center;
    }
    .contact-item {
        justify-content: center;
    }
}
.successive-deans-section.elementor-successive-deans-section{
    width: 80%;
    margin: auto !important;
    padding: 0px !important;
    overflow: visible;
    background-color: transparent;
}
/* branch section in branch page */
.branch-contact-section {
    width: 80%;
    margin: auto;
    display: flex;
    gap: 30px;
    align-items: stretch;
    padding: 40px 0;
    flex-wrap: wrap;
}

.contact-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-card h2 {
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 700;
}

.branch-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.branch-contact-item .icon {
    font-size: 22px;
    line-height: 1.2;
}

.branch-contact-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.map-box {
    flex: 2;
    padding: 25px;
    min-width: 350px;
    height: 370px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 11px;
}
.news-img {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
}
.upcoming-event-img {
    height: 100% !important;
}
.upcoming-event-btn {
    font-weight: 500 !important;
}
.heading-title h2{
    padding: 0px 20px !important;
    text-align: center !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 40px !important;
    color: #222;
}
.past-event-img {
    height: 100% !important;
}
.announcement-card-content {
    height: 100%;
    min-height: 140px;
}
.circular-title {
    background: unset !important;
    padding: 0px !important;
    border-radius: 0px !important;
}
.events-action {
    margin-top: 25px !important;
}

[dir="rtl"] .filter-select , 
[dir="rtl"] .filter-reset-btn,
[dir="rtl"] .listing-faculty-filter,
[dir="rtl"] .listing-branch-filter{
    font-family: var(--font-arabic);
    background-position: left 12px center;
}
[dir="rtl"] .breadcrumb-container .faculty-banner-content {
    margin-top: 0px;
}
[dir="rtl"] .filter-reset-btn {
    padding: 7px 24px !important;
}
[dir="rtl"] .circular-card-content {
    height: 100%;
    min-height: 140px;
}
[dir="rtl"]  .concentration-row-button {
    font-family: var(--font-arabic);
}
.announcement-card, .circular-card{
    min-height: 190px !important;
}
.news-card-content {
    min-height: 140px;
}
.news-card  .news-date {
    margin-top: auto;
}

.news-card-content.articles-card {
    min-height: 155px;
}
.single-articles-source{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-top: 12px;
}
.single-articles-source .news-date-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}
.single-page-featured-image img {
    margin: 0 auto !important;
}
.branch-view-map-btn{
    background-color: #e3e9f5 !important;
    color: #182F61 !important;
}
.branch-view-map-btn i {
    font-size: 10px;
    color: #182F61 !important;
}

/* 404 Error Page Styles */
.error-404-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.error-404-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.error-404-content {
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-404-header {
    margin-bottom: 30px;
}

.error-404-title {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-red, #9f0000);
    line-height: 1;
    margin: 0 0 20px 0;
}

.error-404-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

.error-404-message {
    margin-bottom: 40px;
}

.error-404-message p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.error-404-actions {
    margin-bottom: 50px;
}

.error-404-home-btn {
    font-size: 16px;
    padding: 14px 32px;
    display: inline-block;
}

.error-404-search {
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
}

.error-404-search-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin: 0 0 20px 0;
}

.error-404-search .search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
}

.error-404-search .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d7dae3;
    border-radius: 8px;
    font-size: 16px;
    color: #1c2434;
    background-color: #fff;
}

.error-404-search .search-field:focus {
    outline: none;
    border-color: var(--primary-red, #9f0000);
    box-shadow: 0 0 0 3px rgba(159, 0, 0, 0.1);
}

.error-404-search .search-submit {
    padding: 12px 24px;
    background-color: var(--primary-red, #9f0000);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.error-404-search .search-submit:hover {
    background-color: #7f0000;
    transform: translateY(-2px);
}

/* Responsive Styles for 404 Page */
@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 0;
        min-height: calc(100vh - 300px);
    }

    .error-404-content {
        padding: 40px 24px;
    }

    .error-404-title {
        font-size: 80px;
        margin-bottom: 16px;
    }

    .error-404-subtitle {
        font-size: 24px;
    }

    .error-404-message p {
        font-size: 16px;
    }

    .error-404-search .search-form {
        flex-direction: column;
    }

    .error-404-search .search-field,
    .error-404-search .search-submit {
        width: 100%;
    }
}