/* =========================================================
       ASWU MODERN HEADER + HERO
       ========================================================= */

.aswu-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f5;
}

.aswu-header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.aswu-logo-box {
    flex: 1;
    display: flex;
    align-items: center;
}

.aswu-logo-left {
    justify-content: flex-start;
}

.aswu-logo-center {
    justify-content: center;
}

.aswu-logo-right {
    justify-content: flex-end;
}

.aswu-logo-box img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}


/* ================= NAVBAR ================= */

.aswu-navbar {
    background: #0b1f3a !important;
    padding: 0;
    min-height: 72px;
    box-shadow: 0 5px 20px rgba(11, 31, 58, 0.12);
}

.aswu-brand {
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    padding: 10px 0;
}

    .aswu-brand span {
        font-size: 19px;
        font-weight: 700;
        letter-spacing: .3px;
    }

    .aswu-brand small {
        color: #b9c9dd;
        font-size: 11px;
        margin-top: 5px;
    }

.aswu-navbar .nav-item {
    margin-left: 5px;
}

.aswu-navbar .nav-link {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 25px 16px !important;
    transition: all .3s ease;
}

    .aswu-navbar .nav-link:hover {
        color: #d6a84f !important;
    }

.aswu-navbar .nav-item.active .nav-link {
    color: #d6a84f !important;
}

.aswu-login-item {
    margin-left: 15px !important;
}

.aswu-login {
    background: #d6a84f;
    border-radius: 6px;
    padding: 11px 20px !important;
    color: #0b1f3a !important;
    font-weight: 700 !important;
}

    .aswu-login:hover {
        background: #ffffff;
        color: #0b1f3a !important;
    }

    .aswu-login span {
        margin-right: 6px;
    }


/* ================= HERO ================= */

.aswu-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-image: url('../images/3.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.aswu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 23, 48, .96) 0%, rgba(11, 31, 58, .88) 42%, rgba(11, 31, 58, .35) 75%, rgba(11, 31, 58, .15) 100% );
}

.aswu-hero .container {
    position: relative;
    z-index: 2;
}

.aswu-hero-content {
    padding: 80px 0;
    max-width: 720px;
}

.aswu-hero-label {
    display: inline-block;
    color: #d6a84f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.aswu-hero h1 {
    color: #ffffff;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 22px;
}

    .aswu-hero h1 span {
        color: #d6a84f;
    }

.aswu-hero p {
    color: #e4ebf3;
    font-size: 18px;
    line-height: 1.8;
    max-width: 620px;
    margin-bottom: 35px;
}

.aswu-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.aswu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .3s ease;
}

    .aswu-btn span {
        margin-right: 9px;
    }

.aswu-btn-primary {
    background: #d6a84f;
    color: #0b1f3a !important;
}

    .aswu-btn-primary:hover {
        background: #ffffff;
        color: #0b1f3a !important;
        transform: translateY(-2px);
    }

.aswu-btn-outline {
    border: 1px solid rgba(255,255,255,.7);
    color: #ffffff !important;
    background: rgba(255,255,255,.06);
}

    .aswu-btn-outline:hover {
        background: #ffffff;
        color: #0b1f3a !important;
        transform: translateY(-2px);
    }


/* ================= MOBILE ================= */

@media (max-width: 991px) {

    .aswu-header-inner {
        min-height: 80px;
        gap: 10px;
    }

    .aswu-logo-box img {
        max-height: 65px;
    }

    .aswu-navbar {
        padding: 8px 0;
    }

        .aswu-navbar .nav-link {
            padding: 12px 10px !important;
        }

    .aswu-login-item {
        margin-left: 0 !important;
        margin-top: 5px;
    }

    .aswu-hero {
        min-height: 500px;
    }

    .aswu-hero-content {
        padding: 70px 20px;
    }

    .aswu-hero h1 {
        font-size: 45px;
    }
}


@media (max-width: 575px) {

    .aswu-header {
        padding: 10px 0;
    }

    .aswu-header-inner {
        gap: 5px;
    }

    .aswu-logo-box img {
        max-height: 50px;
    }

    .aswu-brand {
        margin-right: 15px;
    }

        .aswu-brand span {
            font-size: 16px;
        }

    .aswu-hero {
        min-height: 500px;
        background-position: center;
    }

        .aswu-hero h1 {
            font-size: 38px;
        }

        .aswu-hero p {
            font-size: 16px;
        }

    .aswu-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .aswu-btn {
        width: 100%;
    }
}
/* =========================================================
   UNIVERSITY LEADERSHIP
   ========================================================= */

.aswu-leadership {
    background: #ffffff;
    padding: 85px 0 75px;
}

.aswu-section-heading {
    margin-bottom: 45px;
}

.aswu-section-label {
    display: inline-block;
    color: #d6a84f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.aswu-section-heading h2 {
    color: #0b1f3a;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.aswu-section-heading p {
    color: #718096;
    font-size: 15px;
    margin-bottom: 0;
}


/* Leadership Card */

.aswu-leader-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    text-align: center;
    border: 1px solid #e8edf3;
    box-shadow: 0 10px 35px rgba(11, 31, 58, .08);
    transition: all .35s ease;
}

    .aswu-leader-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 45px rgba(11, 31, 58, .14);
    }

.aswu-leader-image {
    height: 260px;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

    .aswu-leader-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform .4s ease;
    }


.aswu-leader-content {
    padding: 25px 20px 27px;
}

.aswu-leader-role {
    color: #d6a84f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.aswu-leader-content h3 {
    color: #0b1f3a;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 7px;
}

.aswu-leader-content p {
    color: #718096;
    font-size: 14px;
    margin: 0;
}


/* Mobile */

@media (max-width: 767px) {

    .aswu-leadership {
        padding: 60px 0 50px;
    }

    .aswu-section-heading h2 {
        font-size: 30px;
    }

    .aswu-leader-image {
        height: 240px;
    }
}

/* =========================================================
   ASWAN UNIVERSITY ACADEMIC STAFF PORTAL
   ========================================================= */
.aswu-faculties {
    background: #f4f5f7;
    padding: 90px 0;
}


/* Header */

.aswu-faculty-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.aswu-faculty-eyebrow {
    display: block;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-align:center!important;
}

.aswu-faculty-header h2 {
    color: #111827;
    font-size: 30px;
    font-weight: 500;
    margin: 0;
}

.aswu-faculty-header-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #d5d9df;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}


/* =========================================================
   SLIDER
   ========================================================= */

.aswu-faculty-slider {
    position: relative;
}

    .aswu-faculty-slider .owl-stage {
        display: flex;
    }

    .aswu-faculty-slider .owl-item {
        display: flex;
    }

        .aswu-faculty-slider .owl-item > div {
            width: 100%;
        }


/* =========================================
   FACULTY CARDS - PREMIUM DESIGN
========================================= */

/* =========================================
   MINIMAL FACULTY CARD
========================================= */

.aswu-faculty-card {
    position: relative;
    min-height: 230px;
    margin: 8px 5px 20px;
    padding: 35px 28px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(15, 42, 71, 0.06);
    transition: all 0.4s ease;
}


    /* =========================================
   HOVER IMAGE
========================================= */

    .aswu-faculty-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("../images/faculties/faculty.jpg");
        background-size: cover;
        background-position: center;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 0.4s ease, transform 0.6s ease;
    }


    /* Dark / Blue overlay */
    .aswu-faculty-card > * {
        position: relative;
        z-index: 2;
    }
    .aswu-faculty-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(8, 32, 60, 0.60), rgba(19, 67, 125, 0.45) );
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }


    /* =========================================
   CARD CONTENT
========================================= */

    .aswu-faculty-card > * {
        position: relative;
        z-index: 2;
        transition: all 0.4s ease;
    }


/* Faculty Name */
.aswu-faculty-btn {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #102a43;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: color 0.4s ease;
}


/* Faculty Staff Count */
.aswu-faculty-staff {
    margin-top: 12px;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.4s ease;
}


/* =========================================
   HOVER
========================================= */

.aswu-faculty-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(15, 42, 71, 0.18);
}


    .aswu-faculty-card:hover::before {
        opacity: 1;
        transform: scale(1);
    }


    .aswu-faculty-card:hover::after {
        opacity: 1;
    }


    .aswu-faculty-card:hover .aswu-faculty-btn {
        color: #ffffff;
    }


    .aswu-faculty-card:hover .aswu-faculty-staff {
        color: rgba(255, 255, 255, 0.88);
    }


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .aswu-faculty-card {
        min-height: 210px;
        padding: 30px 22px;
    }

    .aswu-faculty-btn {
        font-size: 17px;
    }

    .aswu-faculty-staff {
        font-size: 13px;
    }
}


/* Gold bottom line */

.aswu-faculty-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #d6a84f;
    transition: width .35s ease;
}

.aswu-faculty-card:hover::after {
    width: 100%;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.aswu-slider-controls {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.aswu-slider-prev,
.aswu-slider-next {
    width: 42px;
    height: 42px;
    border: 1px solid #cdd2d9;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

    .aswu-slider-prev:hover,
    .aswu-slider-next:hover {
        background: #0b1f3a;
        border-color: #0b1f3a;
        color: #ffffff;
    }


/* Dots */

.aswu-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .aswu-slider-dots .owl-dot {
        width: 7px;
        height: 7px;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 50%;
        background: #cbd0d7 !important;
        transition: all .3s ease;
    }

        .aswu-slider-dots .owl-dot.active {
            width: 22px;
            border-radius: 10px;
            background: #d6a84f !important;
        }


/* Hide default Owl navigation */

.aswu-faculty-slider .owl-nav {
    display: none !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {

    .aswu-faculty-card {
        min-height: 265px;
        padding: 24px 22px 22px;
        border-radius: 16px;
    }

    .aswu-faculty-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-top: 16px;
    }

    .aswu-faculty-btn {
        font-size: 16px;
    }
}
/* =========================
   FACULTY SEARCH
========================= */

.aswu-faculty-search {
    display: flex;
    justify-content: center;
    margin: 0 auto 35px;
}

.aswu-search-box {
    position: relative;
    width: 100%;
    max-width: 650px;
}

.aswu-faculty-search-input {
    width: 100%;
    height: 58px;
    padding: 0 55px 0 50px;
    border: 1px solid #e1e6ed;
    border-radius: 30px;
    background: #ffffff;
    color: #1f2937;
    font-size: 16px;
    outline: none;
    box-shadow: 0 8px 25px rgba(15, 42, 71, 0.08);
    transition: all 0.3s ease;
}

    .aswu-faculty-search-input:focus {
        border-color: #13437d;
        box-shadow: 0 10px 30px rgba(19, 67, 125, 0.15);
    }

.aswu-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    z-index: 2;
}

.aswu-search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f1f3f6;
    color: #555;
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
}

    .aswu-search-clear:hover {
        background: #13437d;
        color: #fff;
    }

@media (max-width: 576px) {

    .aswu-faculty-search {
        margin-bottom: 25px;
    }

    .aswu-faculty-search-input {
        height: 52px;
        font-size: 14px;
        padding-left: 45px;
    }

    .aswu-search-icon {
        left: 16px;
        font-size: 18px;
    }
}
/* Prevent horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.aswu-faculty-section {
    max-width: 100%;
    overflow-x: hidden;
}

.aswu-faculty-slider {
    max-width: 100%;
    overflow: hidden;
}

.owl-stage-outer {
    overflow: hidden;
}
.aswu-faculty-header {
    display: flex;
    justify-content: center;
    text-align: center;
}

    .aswu-faculty-header > div {
        text-align: center;
    }

.aswu-faculty-eyebrow {
    display: block;
    text-align: center;
}

.aswu-faculty-header h2 {
    text-align: center;
}
/* ===== Faculty Card Hover - Final Fix ===== */

.aswu-faculty-card {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    background: #fff !important;
}

    /* Image */
    .aswu-faculty-card::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background-image: url("../images/faculties/faculty.jpg");
        background-size: cover;
        background-position: center;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.4s ease;
    }

    /* Overlay */
    .aswu-faculty-card::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background: rgba(5, 25, 50, 0.85) !important;
        opacity: 0;
        z-index: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    /* Hover image and overlay */
    .aswu-faculty-card:hover::before {
        opacity: 1 !important;
    }

    .aswu-faculty-card:hover::after {
        opacity: 1 !important;
    }

    /* Faculty button */
    .aswu-faculty-card input.aswu-faculty-btn {
        position: relative !important;
        z-index: 2 !important;
        display: block;
        width: 100%;
        color: #102a43 !important;
        background: transparent !important;
        border: none !important;
        font-size: 19px;
        font-weight: 600;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    /* Staff count */
    .aswu-faculty-card .aswu-faculty-staff {
        position: relative !important;
        z-index: 2 !important;
        color: #718096 !important;
        transition: color 0.3s ease;
    }

    /* White text on hover */
    .aswu-faculty-card:hover input.aswu-faculty-btn,
    .aswu-faculty-card:hover .aswu-faculty-staff {
        color: #fff !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    }

/* ================= FOOTER ================= */

.site-footer {
    background: #292f36;
    padding: 20px 25px;
    border-top: 4px solid #0d8587;
    width: 100%;
    box-sizing: border-box;
}

    .site-footer .row {
        min-height: 100px;
    }

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 200px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Footer Text */
.footer-content {
    text-align: center;
    padding: 10px 20px;
    overflow-wrap: anywhere;
}

    .footer-content p {
        margin: 0;
        color: #ffffff;
        line-height: 1.8;
    }

.footer-rights {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px !important;
}

.footer-project {
    font-size: 14px;
}

.footer-project-code {
    font-size: 13px;
    color: #bfc8d1 !important;
}

/* Tablet */
@media (max-width: 991px) {

    .site-footer {
        padding: 20px 15px;
    }

    .footer-logo-img {
        width: 170px;
    }

    .footer-content {
        padding: 15px 10px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .site-footer {
        padding: 25px 15px;
    }

        .site-footer .row {
            min-height: auto;
        }

    .footer-logo {
        margin-bottom: 15px;
    }

    .footer-logo-img {
        width: 150px;
    }

    .footer-content {
        padding: 5px 0;
    }

    .footer-rights {
        font-size: 15px;
    }

    .footer-project {
        font-size: 13px;
    }

    .footer-project-code {
        font-size: 12px;
        line-height: 1.7;
    }
}

/* ===================== UNIVERSITY LEADERSHIP ===================== */

.aswu-leadership {
    padding: 80px 0;
    background: #f5f8fc;
    overflow: hidden;
}

    /* Section Heading */

    .aswu-leadership .aswu-section-heading {
        margin-bottom: 45px;
    }

    .aswu-leadership .aswu-section-label {
        display: inline-block;
        color: #d39b38;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .aswu-leadership .aswu-section-heading h2 {
        color: #0f2a47;
        font-size: 34px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .aswu-leadership .aswu-section-heading p {
        color: #68788c;
        font-size: 16px;
        margin-bottom: 0;
    }

/* Main Feature Card */

.aswu-leader-feature {
    display: flex;
    flex-direction: row-reverse; /* الصورة يمين والكلام شمال */
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e2eaf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 42, 71, 0.07);
    max-width: 1100px;
    margin: 0 auto;
    direction: ltr;
}

/* Image */

.aswu-leader-feature-image {
    width: 38%;
    min-width: 300px;
    background: #eaf0f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
}

    .aswu-leader-feature-image img {
        display: block;
        width: 100%;
        max-width: 340px;
        height: 390px;
        object-fit: cover;
        object-position: center top;
        border-radius: 14px;
        box-shadow: 0 8px 25px rgba(15, 42, 71, 0.12);
    }

/* Content */

.aswu-leader-feature-content {
    flex: 1;
    padding: 45px 50px;
    text-align: left;
    align-self: center;
}

.aswu-leader-feature-label {
    display: inline-block;
    color: #c18b2f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.aswu-leader-feature-content h3 {
    color: #0f2a47;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}

.aswu-leader-main-role {
    color: #52749b;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 22px;
}

.aswu-leader-divider {
    width: 65px;
    height: 3px;
    background: #d39b38;
    border-radius: 5px;
    margin-bottom: 25px;
}

/* Positions */

.aswu-leader-positions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.aswu-leader-position {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.aswu-position-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #edf3f9;
    color: #174c7d;
    font-size: 18px;
}

.aswu-leader-position p {
    color: #334b63;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    margin: 5px 0 0;
}

.aswu-leader-description {
    color: #758397;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 991px) {

    .aswu-leader-feature-image {
        width: 35%;
        min-width: 250px;
        padding: 25px;
    }

        .aswu-leader-feature-image img {
            height: 330px;
        }

    .aswu-leader-feature-content {
        padding: 35px 30px;
    }

        .aswu-leader-feature-content h3 {
            font-size: 25px;
        }
}

@media (max-width: 767px) {

    .aswu-leadership {
        padding: 55px 0;
    }

        .aswu-leadership .aswu-section-heading h2 {
            font-size: 27px;
        }

    .aswu-leader-feature {
        flex-direction: column;
    }

    .aswu-leader-feature-image {
        width: 100%;
        min-width: 0;
        padding: 25px 20px;
    }

        .aswu-leader-feature-image img {
            width: 100%;
            max-width: 280px;
            height: 300px;
            object-fit: cover;
        }

    .aswu-leader-feature-content {
        padding: 30px 25px;
        text-align: center;
    }

        .aswu-leader-feature-content h3 {
            font-size: 24px;
        }

    .aswu-leader-main-role {
        font-size: 16px;
    }

    .aswu-leader-divider {
        margin: 0 auto 25px;
    }

    .aswu-leader-position {
        text-align: left;
    }

    .aswu-leader-description {
        text-align: left;
    }
}

@media (max-width: 400px) {

    .aswu-leader-feature-content {
        padding: 25px 18px;
    }

        .aswu-leader-feature-content h3 {
            font-size: 21px;
        }

    .aswu-leader-feature-image img {
        height: 260px;
    }
}

/* =========================================
   ASWAN UNIVERSITY - PRESIDENT SECTION
========================================= */

.aswu-leadership {
    padding: 65px 0 75px;
    background: #f5f8fc;
    overflow: hidden;
}

    /* Section Heading */

    .aswu-leadership .aswu-section-heading {
        margin-bottom: 35px;
    }

    .aswu-leadership .aswu-section-label {
        display: inline-block;
        color: #c99a36;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .aswu-leadership .aswu-section-heading h2 {
        color: #102e50;
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .aswu-leadership .aswu-section-heading p {
        color: #69788c;
        font-size: 17px;
        margin: 0;
    }

/* Main Card */

.aswu-president {
    position: relative;
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: stretch;
    max-width: 1200px;
    min-height: 490px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e0e8f1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 42, 71, 0.08);
}

/* LEFT CONTENT */

.aswu-president-content {
    position: relative;
    z-index: 2;
    width: 52%;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: linear-gradient( 135deg, #ffffff 0%, #f8fbff 100% );
}

.aswu-president-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c99a36;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

    .aswu-president-label::after {
        content: "";
        width: 45px;
        height: 2px;
        background: #c99a36;
        display: inline-block;
    }

.aswu-president-content h3 {
    color: #102e50;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
}

.aswu-president-content h4 {
    color: #52769c;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 24px;
}

/* Positions */

.aswu-president-positions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.aswu-president-position {
    display: flex;
    align-items: center;
    gap: 13px;
}

.aswu-president-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf2fc;
    color: #174d7e;
    border-radius: 10px;
    font-size: 18px;
}

    .aswu-president-icon.gold {
        background: #fbf4e8;
        color: #b98222;
    }

.aswu-president-position p {
    color: #263f5b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

/* Description */

.aswu-president-line {
    width: 150px;
    height: 3px;
    background: #c99a36;
    margin: 3px 0 18px;
}

.aswu-president-description {
    color: #758397;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 22px;
}

/* Button */

.aswu-president-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    align-self: flex-start;
    padding: 15px 24px;
    background: #103c69;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #174b7c;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

    .aswu-president-button:hover {
        background: #c99a36;
        border-color: #c99a36;
        color: #ffffff !important;
        transform: translateY(-2px);
    }

    .aswu-president-button i {
        transition: transform 0.3s ease;
    }

    .aswu-president-button:hover i {
        transform: translateX(5px);
    }

/* RIGHT IMAGE */

.aswu-president-photo {
    position: relative;
    width: 48%;
    min-height: 490px;
    overflow: hidden;
    background: #e8eef6;
    isolation: isolate;
}

    .aswu-president-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 20%;
        display: block;
        z-index: -2;
    }

    /* Blue curved bottom */

    .aswu-president-photo::after {
        content: "";
        position: absolute;
        z-index: 0;
        bottom: -1px;
        right: -1px;
        width: 100%;
        height: 32%;
        background: #103c69;
        clip-path: polygon( 100% 0, 100% 100%, 0 100%, 0 85%, 35% 75%, 65% 45% );
        border-bottom: 5px solid #c99a36;
        pointer-events: none;
    }

/* Bottom University Label */

.aswu-president-photo-bottom {
    position: absolute;
    z-index: 2;
    bottom: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: right;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .aswu-president {
        min-height: 430px;
    }

    .aswu-president-content {
        width: 55%;
        padding: 30px 25px;
    }

    .aswu-president-photo {
        width: 45%;
        min-height: 430px;
    }

    .aswu-president-content h3 {
        font-size: 25px;
    }

    .aswu-president-content h4 {
        font-size: 17px;
    }

    .aswu-president-position p {
        font-size: 14px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .aswu-leadership {
        padding: 45px 0;
    }

        .aswu-leadership .aswu-section-heading h2 {
            font-size: 27px;
        }

        .aswu-leadership .aswu-section-heading p {
            font-size: 14px;
        }

    .aswu-president {
        flex-direction: column-reverse;
        border-radius: 14px;
    }

    /* Image appears above text on mobile */

    .aswu-president-photo {
        width: 100%;
        min-height: 0;
        height: 350px;
    }

        .aswu-president-photo img {
            object-position: center 20%;
        }

        .aswu-president-photo::after {
            height: 22%;
        }

    .aswu-president-content {
        width: 100%;
        padding: 30px 22px;
        text-align: left;
    }

        .aswu-president-content h3 {
            font-size: 25px;
        }

        .aswu-president-content h4 {
            font-size: 17px;
        }

    .aswu-president-position p {
        font-size: 14px;
    }

    .aswu-president-description {
        font-size: 14px;
    }

    .aswu-president-button {
        align-self: stretch;
        justify-content: center;
    }
}

/* SMALL MOBILE */

@media (max-width: 400px) {

    .aswu-president-photo {
        height: 290px;
    }

    .aswu-president-content {
        padding: 25px 17px;
    }

        .aswu-president-content h3 {
            font-size: 22px;
        }

        .aswu-president-content h4 {
            font-size: 16px;
        }
}
/* تغيير لون Avatar من الأخضر إلى الأزرق */

.staff-card img.avatar,
.staff-card .avatar,
.staff-card .staff-avatar,
.staff-card .default-avatar {
    background-color: #1677D2 !important;
    border-color: #D8E8F8 !important;
}

    /* لو الأفاتار عبارة عن أيقونة */

    .staff-card .avatar i,
    .staff-card .staff-avatar i {
        color: #1677D2 !important;
    }