.studentlife-contact {
    --psu-blue: #002B5C;
    --psu-teal: rgba(20, 64, 110);
    --psu-gold: #00bcd4;
    --psu-white: #FFFFFF;
    max-width: 1200px;
    margin: 55px auto;
    padding: 45px 30px;
    font-family: "Tajawal", Arial, sans-serif;
    background: #FFFFFF;
}
.studentlife-contact-ar {
    --psu-blue: #002B5C;
    --psu-teal: rgba(20, 64, 110);
    --psu-gold: #00bcd4;
    --psu-white: #FFFFFF;
    direction: rtl;
    max-width: 1200px;
    margin: 55px auto;
    padding: 45px 30px;
    font-family: "Tajawal", Arial, sans-serif;
    background: #FFFFFF;
}

.contact-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    color: #FFFFFF;
    font-size: 27px;
    background: #002B5C;
    border-radius: 18px;
}

.contact-title {
    margin: 0 0 7px;
    color: #002B5C;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 800;
}

.contact-intro {
    margin: 0;
    color: #002B5C;
    font-size: 17px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
    padding: 24px 20px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 43, 92, 0.15);
    border-top: 5px solid #00bcd4;
    box-shadow: 0 6px 20px rgba(0, 43, 92, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 43, 92, 0.18);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: #FFFF;
    font-size: 19px;
    background: rgba(20, 64, 110);
    border-radius: 14px;
}

.contact-card:nth-child(2) .contact-icon {
    background: #00bcd4;
}

.contact-card:nth-child(3) .contact-icon {
    background: #002B5C;
}

.contact-card:nth-child(4) .contact-icon {
    background: rgba(20, 64, 110);
}

.contact-content {
    min-width: 0;
}

.contact-content h3 {
    margin: 0 0 10px;
    color: #002B5C;
    font-size: 18px;
    font-weight: 800;
}

.contact-content p {
    margin: 3px 0;
    color: #002B5C;
    font-size: 15px;
    line-height: 1.8;
}

.contact-content a {
    display: inline-block;
    max-width: 100%;
    color: rgba(20, 64, 110);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    direction: ltr;
    overflow-wrap: anywhere;
}

.contact-content a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

.remote-contact {
    margin-top: 24px;
    padding: 28px;
    color: #FFFFFF;
    background: #002B5C;
    border-top: 5px solid #00bcd4;
    box-shadow: 0 10px 30px rgba(0, 43, 92, 0.20);
}

.remote-contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.remote-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    color: #002B5C;
    font-size: 23px;
    background: #00bcd4;
    border-radius: 15px;
}

.remote-contact-header h3 {
    margin: 0 0 5px;
    color: #FFFFFF;
    font-size: 22px;
}

.remote-contact-header p {
    margin: 0;
    color: #FFFFFF;
    font-size: 15px;
}

.remote-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 22px;
}

.remote-contact-group {
    min-width: 0;
    padding: 20px;
    background: rgba(20, 64, 110);
    border: 1px solid #FFFFFF;
    border-radius: 14px;
}

.remote-contact-group h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    color: #FFFFFF;
    font-size: 18px;
}

.remote-contact-group>a {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin: 9px 0;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    direction: ltr;
    overflow-wrap: anywhere;
}

.remote-contact-group>a:hover {
    color: #00bcd4;
}

.phone-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    direction: ltr;
}

.phone-list a {
    padding: 11px 12px;
    color: #002B5C;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 9px;
    transition: background 0.25s ease, color 0.25s ease;
}

.phone-list a:hover {
    color: #FFFFFF;
    background: #00bcd4;
    border-color: #00bcd4;
}

@media (max-width: 1050px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .studentlife-contact {
        margin: 35px 15px;
        padding: 30px 18px;
    }

    .contact-heading,
    .remote-contact-header {
        align-items: flex-start;
    }

    .contact-grid,
    .remote-contact-grid {
        grid-template-columns: 1fr;
    }

    .phone-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    .contact-card {
        flex-direction: column;
    }

    .contact-heading-icon {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .remote-contact {
        padding: 22px 17px;
    }
}

.admission h1,
h3 {
    color: #8fe3ff;
    font-size: 18px;
    font-family: Merriweather;
    font-weight: 500;
    font-style: italic
}

:root {
    --bg: #fdfbf7;
    --text: #0f172a;
    --muted: #5c6b80;
    --blue: #204a76;
    --brand: #204a76;
    --accent: #f59e0b;
    --border: rgba(15, 23, 42, .12);
    --rose: #e11d48;
    --card-radius: 18px;
    --gap: 16px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.10);
    --focus: 0 0 0 4px rgba(225, 29, 72, 0.25);
    --navy: #204a76;
    --text-main: #09253d;
    --text-muted: #5c6b80;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Tajawal", system-ui, sans-serif;
    color: var(--text-main);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* HERO */
.animated-hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    margin: 0 auto 40px;
    box-shadow: 0 10px 30px rgba(9, 37, 61, 0.18);
    background: #000;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.sound-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

/* NAV */
.top-nav-bar.fancy {
    position: relative;
    margin-top: -28px;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.65);
}

.top-nav-bar.fancy::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(20, 64, 110);
    z-index: -1;
    opacity: 0.95;
    border-radius: 0 0 32px 32px;
}

.top-nav-container.fancy {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 25px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.top-nav-item.fancy {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .25s ease;
    position: relative;
}

.top-nav-item.fancy:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: #ffffff;
    border-radius: 4px;
}

.top-nav-item.fancy-ar {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .25s ease;
    position: relative;
}

.top-nav-item.fancy-ar:not(:last-child)::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 20px;
    background: #ffffff;
    border-radius: 4px;
}

/* SECTIONS */
.news-section {
    margin-top: 70px;
}

.news-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1d4773;
    padding-top: 5%;
}

.section-divider.wave {
    width: 80px;
    height: 4px;
    background: #00bcd4;
    margin: 0 auto 25px;
    ;
}

.campus-intro {
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px;
}

/* NEWS CARD */
.main-news {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e0e6f0;
    transition: .3s ease;
}

.main-news:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.main-news-img {
    width: 100%;
    object-fit: cover;
    height: 270px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.button-dark {
    background-color: #ff9800;
    color: #fff;
    padding: 8px 18px;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
    border: none;
}

.button-dark:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

/* STUDENT LIFE CORE VALUES */
.life-values-section {
    padding: 85px 20px 90px;
    background: #fff;
    text-align: center;
}

.life-values-section-ar {
    padding: 85px 20px 90px;
    background: #fff;
    text-align: center;
    direction: rtl;
}

.life-values-heading {
    margin-bottom: 8px;
    color: #101010;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: .02em;
}

.life-values-subtitle {
    max-width: 720px;
    margin: 0 auto 45px;
    color: #64748b;
    font-size: 16px;
}

.life-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1220px;
    margin: 0 auto;
    direction: ltr;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.life-value-card {
    --value-color: #4f96b3;
    position: relative;
    min-height: 475px;
    padding: 32px 25px 30px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.life-value-card-ar {
    --value-color: #4f96b3;
    position: relative;
    min-height: 475px;
    padding: 32px 25px 30px;
    background: #fff;
    direction: rtl;
    transition: transform .3s ease, box-shadow .3s ease;
}

.life-value-card+.life-value-card {
    border-left: 1px solid #d9dee5;
}

.life-value-card:nth-child(2) {
    --value-color: #79a85d;
}

.life-value-card:nth-child(3) {
    --value-color: #efca16;
}

.life-value-card:nth-child(4) {
    --value-color: #7020aa;
}

.life-value-card:hover {
    z-index: 2;
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .13);
}

.life-letter {
    color: var(--value-color);
    font-family: Georgia, serif;
    font-size: clamp(88px, 9vw, 132px);
    font-weight: 800;
    line-height: .9;
}

.life-word {
    margin: 17px 0 8px;
    color: var(--value-color);
    font-family: "Tajawal", sans-serif;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 0;
}

.life-keywords {
    min-height: 58px;
    color: var(--value-color);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.life-description {
    margin-top: 18px;
    color: #20242a;
    font-size: 15px;
    line-height: 1.35;
}

.life-description strong {
    color: var(--value-color);
}

.life-icon {
    width: 54px;
    height: 54px;
    margin: 24px auto 0;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: var(--value-color);
    font-size: 23px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--value-color) 32%, transparent);
}

.life-support-areas {
    max-width: 1100px;
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(9, minmax(70px, 1fr));
    gap: 14px;
    direction: rtl;
}

.support-area {
    color: #526173;
    font-size: 11px;
    font-weight: 700;
}

.support-area i {
    width: 45px;
    height: 45px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf5fb;
    color: #14406e;
    font-size: 19px;
    transition: .25s ease;
}

.support-area:hover i {
    background: #00bcd4;
    color: #fff;
    transform: translateY(-4px);
}

@media (max-width: 1000px) {
    .life-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .life-value-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid #d9dee5;
    }

    .life-value-card:nth-child(4) {
        border-top: 1px solid #d9dee5;
    }

    .life-support-areas {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .life-values-grid {
        grid-template-columns: 1fr;
    }

    .life-value-card {
        min-height: auto;
    }

    .life-value-card+.life-value-card {
        border-left: 0;
        border-top: 1px solid #d9dee5;
    }

    .life-support-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DEANSHIPS */
.nav-section {
    position: relative;
    padding: 85px 20px 95px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(circle at 8% 12%, rgba(33, 150, 243, .12), transparent 27%), radial-gradient(circle at 92% 88%, rgba(20, 64, 110, .10), transparent 30%), linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
}

.nav-section::before {
    content: "";
    position: absolute;
    inset-inline-start: -80px;
    top: 70px;
    width: 190px;
    height: 190px;
    border: 34px solid rgba(33, 150, 243, .06);
    border-radius: 50%;
    pointer-events: none;
}

.nav-section .news-title {
    position: relative;
    padding-top: 0;
    margin-bottom: 16px;
}

.nav-section .campus-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 45px auto 0;
}

.nav-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(32, 74, 118, .12);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(20, 64, 110, .10);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    text-align: center;
    height: 100%;
    min-height: 255px;
}

.nav-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #00bcd4, #14406e);
}

.nav-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 45px rgba(20, 64, 110, .20);
    border-color: rgba(33, 150, 243, .55);
}

.shake-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-icon {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
    margin-top: 32px;
    border-radius: 5px;
    display: grid;
    place-items: center;
    font-size: 31px;
    color: #fff;
    background: linear-gradient(135deg, #00bcd4, #14406e);
    border: 4px solid rgba(255, 255, 255, .95);
    box-shadow: 0 8px 20px rgba(20, 64, 110, .25);
    transition: transform .35s ease;
}

.nav-card:hover .nav-icon {
    transform: rotate(-6deg) scale(1.06);
}

.nav-title {
    padding: 20px 18px 12px;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button {
    margin: auto 18px 25px;
    padding: 10px 19px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    background: #14406e;
    font-size: 14px;
    font-weight: 700;
    transition: background .3s ease, transform .3s ease;
}

.nav-button i {
    transition: transform .3s ease;
}

.nav-card:hover .nav-button {
    background: #00bcd4;
    transform: translateY(-2px);
}

.nav-card:hover .nav-button i {
    transform: translateX(-4px);
}

@media (max-width: 1050px) {
    .nav-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nav-section {
        padding: 65px 16px 75px;
    }

    .nav-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-card {
        min-height: 245px;
    }
}

/* NUMBERS */
.numbers-section {
    padding: 80px 20px;
    color: #fff;
    text-align: center;
    background: rgba(20, 64, 110);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.num-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 30px 20px;
    transition: .3s;
}

.num-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.num-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #fff;
}

.num-value {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0;
}

.num-label {
    font-size: 15px;
    opacity: .95;
}

.numbers-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-top: 5px;
}

/* SLIDER */
.campus-section {
    text-align: center;
}

.campus-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 60px;
}

.campus-slider {
    display: flex;
    gap: 15px;
    transition: transform .5s ease-in-out;
    padding: 10px;
}

.campus-slide {
    flex: 0 0 33.333%;
    background: #fff;
    text-align: center;
    padding-bottom: 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    border: 2px solid transparent;
    transition: .3s;
    ;
    overflow: hidden;
}

.campus-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.campus-slide.active {
    transform: scale(1.15);
    z-index: 2;
    opacity: 1;
    border-color: var(--blue);
}

.campus-slide.dimmed {
    opacity: .6;
    transform: scale(.9);
}

.campus-slide h3 {
    margin: 18px 16px 8px;
    color: #14406e;
    font-family: "Tajawal", sans-serif;
    font-style: normal;
    font-weight: 800;
}

.campus-slide p {
    min-height: 52px;
    margin: 0 18px 16px;
    color: #5c6b80;
}

.content-link,
.section-main-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.content-link {
    padding: 9px 17px;
    background: #14406e;
    color: #fff;
    font-size: 14px;
}

.content-link:hover {
    background: #00bcd4;
    transform: translateY(-2px);
}

.section-main-link {
    margin: 6px auto 38px;
    padding: 12px 24px;
    background: #fff;
    color: #14406e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.section-main-link:hover {
    background: #00bcd4;
    color: #fff;
    transform: translateY(-3px);
}

.campus-prev,
.campus-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    background: #fff;
    font-size: 18px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    color: #14406e;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.campus-prev {
    right: 4px;
}

.campus-next {
    left: 4px;
}

.campus-prev:hover,
.campus-next:hover {
    background: #00bcd4;
    color: #fff;
}

/* EVENTS */
.student-events {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.student-events-ar {
    direction: rtl;
    /* كانت ltr */
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
}

.panel {
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calendar-head button {
    border: none;
    background: #e5edf5;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
}

.month {
    font-weight: 800;
    color: var(--blue);
}

.search input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}

.list {
    max-height: 420px;
    overflow: auto;
    padding: 2px;
}

.item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: .2s;
}

.item:hover {
    background: #f1f5f9;
}

.item.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(32, 74, 118, .15);
}

.date-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e5edf5;
    color: var(--blue);
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.item-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.item-meta {
    font-size: 13px;
    color: var(--muted);
}

.hero {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

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

.details {
    padding-top: 16px;
}

.kv {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px 12px;
    font-size: 14px;
}

/* GALLERY */
.stories-slider-container {
    position: relative;
    width: 100%;
    margin: 28px auto 0;
    padding: 26px 0;
    overflow: hidden;
    background: #071a2b;
    border-top: 3px solid #00bcd4;
    border-bottom: 3px solid #00bcd4;
}

.stories-slider-container::before,
.stories-slider-container::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    z-index: 4;
    height: 13px;
    background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 32px);
    opacity: .9;
    pointer-events: none;
}

.stories-slider-container::before {
    top: 6px;
}

.stories-slider-container::after {
    bottom: 6px;
}

.stories-viewport {
    overflow: hidden;
    direction: ltr;
}

.stories-track {
    display: flex;
    width: max-content;
    gap: 20px;
    will-change: transform;
    animation: filmScroll 30s linear infinite;
}

.stories-slider-container:hover .stories-track {
    animation-play-state: paused;
}

.stories-set {
    display: flex;
    gap: 20px;
}

.story-card {
    position: relative;
    flex: 0 0 320px;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    background: #111827;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    text-align: right;
    cursor: pointer;
    direction: rtl;
}

.story-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.story-card::after {
    content: "";
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(180deg, transparent, rgba(4, 15, 26, .95));
    pointer-events: none;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.story-card:hover img {
    transform: scale(1.06);
}

.story-card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 22px;
    color: #fff;
}

.story-card h3 {
    margin: 0 0 7px;
    color: #fff;
    font-family: "Tajawal", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
}

.story-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8fe3ff;
    font-size: 13px;
    font-weight: 700;
}

.story-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: #14406e;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.story-card-link:hover .story-read-more,
.story-card-link:focus-visible .story-read-more {
    background: #00bcd4;
    color: #071a2b;
    transform: translateY(-2px);
}

.all-stories-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.all-stories-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #14406e;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: .2s ease;
}

.all-stories-btn:hover,
.all-stories-btn:focus-visible {
    background: rgba(20, 64, 110);
    border-color: #8fe3ff;
    transform: translateY(-2px);
}

@keyframes filmScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 10px));
    }
}

.mosaic {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding: 18px 50px 90px 50px;
    max-width: 1280px;
    margin: 0 auto;
}

@media(min-width:768px) {
    .mosaic {
        flex-direction: row;
        align-items: stretch;
        height: 600px;
    }

    .mosaic-big {
        flex: 1.4;
    }

    .mosaic-grid {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: var(--gap);
    }
}

.card {
    position: relative;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    background: #11182710;
    box-shadow: var(--shadow-soft);
    transition: .3s;
    outline: none;
}

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

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
    display: block;
}

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

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
}

.badge.upcoming {
    background: rgba(234, 88, 12, 0.92);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.lightbox.open {
    display: flex;
}

.lb-wrap {
    width: min(1100px, 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lb-close {
    position: absolute;
    top: -56px;
    left: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lb-frame {
    width: 100%;
    aspect-ratio: 16/10;
    ;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
}

.lb-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lb-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    pointer-events: none;
}

.lb-btn {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.80);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lb-meta {
    text-align: center;
    color: rgba(255, 255, 255, 0.90);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

/* Contact */
.contact-section {
    padding: 70px 20px;
    background: #9d9c9c30;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.contact-box {
    background: #fafafa;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: right;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}



.map-box {
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media(max-width:768px) {
    .main-news {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .main-news-img {
        height: 220px;
    }

    .animated-hero {
        height: 320px;
    }

    .campus-slide {
        flex: 0 0 80%;
    }

    .story-card {
        flex-basis: 270px;
        height: 270px;
    }

    .mosaic {
        flex-direction: column;
        height: auto;
    }

    .mosaic-big {
        height: 300px;
    }

    .mosaic-grid {
        height: 400px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    /* أفضل للموبايل */
}