/* ============================================================
   ZUST University Theme - Main Stylesheet
   جامعة الزيتونة للعلوم والتكنولوجيا
   ============================================================ */

/* CSS Variables */
:root {
    --zust-green:       #006400;
    --zust-green-light: #2E8B57;
    --zust-green-dark:  #004d00;
    --zust-gold:        #C9A227;
    --zust-gold-light:  #e8b84b;
    --zust-dark:        #1a1a2e;
    --zust-gray:        #6c757d;
    --zust-light-bg:    #f8fdf8;
    --zust-white:       #ffffff;
    --font-arabic:      'Cairo', 'Noto Kufi Arabic', sans-serif;
    --transition:       all 0.3s ease;
    --shadow:           0 4px 20px rgba(0,100,0,0.12);
    --shadow-lg:        0 8px 40px rgba(0,100,0,0.18);
    --radius:           12px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-arabic);
    font-size: 16px;
    line-height: 1.8;
    color: var(--zust-dark);
    background: #fff;
    direction: rtl;
}

a { color: var(--zust-green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--zust-green-dark); }

img { max-width: 100%; height: auto; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-arabic);
    font-weight: 700;
    color: var(--zust-dark);
    line-height: 1.4;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.zust-topbar {
    background: var(--zust-green-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.zust-topbar a { color: rgba(255,255,255,0.85); transition: var(--transition); }
.zust-topbar a:hover { color: var(--zust-gold); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
}
.topbar-social a:hover { background: var(--zust-gold); color: #000 !important; }
.topbar-contact { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   NAVBAR — Logo RIGHT | Menu LEFT | Animated underline
   ============================================================ */

/* Base */
.zust-navbar {
    background: var(--zust-green) !important;
    padding: 0;
    min-height: 58px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    transition: box-shadow 0.35s ease;
    overflow: visible !important;
}
.zust-navbar > .container {
    min-height: 58px;
    overflow: visible;
}

/* Shrink on scroll */
.zust-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

/* Logo — right side in RTL, floats above/below navbar */
.zust-navbar .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.25s ease;
    position: relative;
    z-index: 10;
}
.zust-navbar .navbar-brand:hover { opacity: 0.88; }

.zust-navbar .navbar-logo {
    width: 140px !important;
    height: 140px !important;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease;
    display: block;
    margin-top: -41px;
    margin-bottom: -41px;
}
.zust-navbar.scrolled .navbar-logo { width: 100px !important; height: 100px !important; margin-top: -21px; margin-bottom: -21px; }
.zust-navbar .navbar-brand:hover .navbar-logo { transform: scale(1.06); }

/* Nav links — animated gold underline */
.zust-navbar .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600;
    font-size: 0.87rem;
    padding: 0.5rem 0.8rem !important;
    white-space: nowrap;
    position: relative;
    transition: color 0.25s ease;
}
.zust-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 0.8rem;
    left: 0.8rem;
    height: 2px;
    background: var(--zust-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.zust-navbar .nav-link:hover,
.zust-navbar .nav-link.active {
    color: var(--zust-gold) !important;
}
.zust-navbar .nav-link:hover::after,
.zust-navbar .nav-link.active::after {
    transform: scaleX(1);
}
/* Hide Bootstrap default caret, use custom chevron */
.zust-navbar .dropdown-toggle::after { display: none !important; }

/* Custom chevron arrow */
.zust-navbar .nav-arrow {
    font-size: 0.65rem;
    margin-right: 4px;
    transition: transform 0.25s ease;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.8;
}
.zust-navbar .nav-item.dropdown.show .nav-arrow,
.zust-navbar .nav-item.dropdown[aria-expanded="true"] .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}
/* No underline pseudo on dropdown parent links */
.zust-navbar .nav-item.dropdown .nav-link::after { display: none; }

/* Dropdown */
.zust-navbar .dropdown-menu {
    background: var(--zust-green-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.6rem 0.4rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    animation: dropDown 0.22s ease forwards;
    min-width: 200px;
}
@keyframes dropDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.zust-navbar .dropdown-item {
    color: rgba(255,255,255,0.85);
    font-size: 0.86rem;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: background 0.2s, color 0.2s, padding-right 0.2s;
}
.zust-navbar .dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: var(--zust-gold);
    padding-right: 1.3rem;
}

/* Toggler */
.zust-navbar .navbar-toggler { border-color: rgba(255,255,255,0.35); }
.zust-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile collapse animation */
#zustNav.collapsing { transition: height 0.3s ease; }
@media (max-width: 1199px) {
    .zust-navbar .navbar-nav { padding: 0.5rem 0; }
    .zust-navbar .nav-link::after { display: none; }
    .zust-navbar .nav-link:hover,
    .zust-navbar .nav-link.active {
        background: rgba(255,255,255,0.08);
        border-radius: 6px;
    }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero-carousel-wrap { position: relative; }

.carousel-img {
    width: 100%;
    height: 85vh;
    max-height: 650px;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}

.carousel-caption-custom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 10;
    padding: 0;
}

.caption-inner {
    text-align: right;
    padding: 2rem 0;
}

.caption-inner h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.caption-inner p {
    color: rgba(255,255,255,0.9);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(0,0,0,0.4);
    margin-bottom: 0;
}

.btn-gold-hero {
    background: var(--zust-gold);
    color: var(--zust-green-dark);
    border: 2px solid var(--zust-gold);
    border-radius: 50px;
    padding: 0.65rem 2rem;
    font-weight: 800;
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-gold-hero:hover { background: var(--zust-gold-light); border-color: var(--zust-gold-light); color: var(--zust-green-dark); transform: translateY(-2px); }

.btn-outline-hero {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50px;
    padding: 0.65rem 2rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-outline-hero:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: none;
}
.carousel-indicators .active { background: var(--zust-gold); width: 28px; border-radius: 5px; }

/* ============================================================
   QUICK LINKS BAR
   ============================================================ */
.quick-links-bar {
    background: var(--zust-green-dark);
    padding: 0;
    border-top: 3px solid var(--zust-gold);
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.5rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
    border-left: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    gap: 8px;
}
.quick-link-item:hover {
    background: rgba(255,255,255,0.08);
    color: var(--zust-gold);
    transform: translateY(-3px);
}

.quick-link-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.15);
}
.quick-link-item:hover .quick-link-icon {
    background: var(--zust-gold);
    color: var(--zust-green-dark);
    border-color: var(--zust-gold);
}

.quick-link-item span {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-logo {
    width: 280px;
    max-width: 100%;
    filter: drop-shadow(0 8px 25px rgba(0,100,0,0.2));
    transition: transform 0.4s ease;
}
.about-logo:hover { transform: scale(1.03) rotate(2deg); }

.about-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--zust-dark);
    margin-bottom: 0.5rem;
}
.about-title span { color: var(--zust-green); }

.about-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(to left, var(--zust-green), var(--zust-gold));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.about-text-wrap p { color: #555; font-size: 0.97rem; line-height: 1.9; }

.about-stats-mini {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--zust-light-bg);
    border-radius: var(--radius);
    border-right: 4px solid var(--zust-green);
}
.stat-mini { text-align: center; }
.stat-mini .num {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--zust-green);
    line-height: 1;
}
.stat-mini .lbl {
    display: block;
    font-size: 0.78rem;
    color: var(--zust-gray);
    margin-top: 3px;
}

/* ============================================================
   SECTION HEADER LINE
   ============================================================ */
.section-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
    position: relative;
}
.section-header-line::before {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 80px;
    height: 2px;
    background: var(--zust-green);
}
.section-header-line h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--zust-dark);
    margin: 0;
}
.section-header-line h2 i { color: var(--zust-green); }

.bg-section-alt { background: #f5faf5; }

/* Buttons */
.btn-more {
    background: var(--zust-green);
    color: #fff;
    border-radius: 50px;
    padding: 0.45rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    transition: var(--transition);
    display: inline-block;
}
.btn-more:hover { background: var(--zust-green-dark); color: #fff; transform: translateY(-2px); }

.btn-more-sm {
    background: transparent;
    color: var(--zust-green);
    border: 1.5px solid var(--zust-green);
    border-radius: 50px;
    padding: 0.3rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    transition: var(--transition);
}
.btn-more-sm:hover { background: var(--zust-green); color: #fff; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-featured {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    height: 100%;
}
.news-featured-img { position: relative; overflow: hidden; }
.news-featured-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-featured:hover .news-featured-img img { transform: scale(1.04); }
.news-featured-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    padding: 1rem;
}
.news-featured-body { padding: 1.5rem; }
.news-featured-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.news-featured-body h3 a { color: var(--zust-dark); }
.news-featured-body h3 a:hover { color: var(--zust-green); }
.news-featured-body p { color: #666; font-size: 0.9rem; line-height: 1.7; }

.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    transition: var(--transition);
}
.news-list-item:hover { border-color: var(--zust-green); box-shadow: 0 3px 12px rgba(0,100,0,0.1); }
.news-list-img img {
    width: 80px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.news-list-body { flex: 1; }
.news-list-body h4 { font-size: 0.88rem; font-weight: 700; margin: 4px 0 0; line-height: 1.4; }
.news-list-body h4 a { color: var(--zust-dark); }
.news-list-body h4 a:hover { color: var(--zust-green); }
.news-date { font-size: 0.75rem; color: var(--zust-gray); }
.news-date i { color: var(--zust-green); }

/* ============================================================
   TESTIMONIALS V2
   ============================================================ */
.testimonial-card-v2 {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--zust-green);
    position: relative;
    height: 100%;
}
.tc-icon {
    font-size: 2.5rem;
    color: var(--zust-green);
    opacity: 0.15;
    margin-bottom: 0.75rem;
    line-height: 1;
}
.testimonial-card-v2 p { font-size: 0.93rem; line-height: 1.85; color: #555; font-style: italic; }
.tc-author { margin-top: 1.25rem; padding-top: 0.75rem; border-top: 1px solid #eee; }
.tc-author strong { display: block; font-size: 0.95rem; color: var(--zust-dark); }
.tc-author span { font-size: 0.8rem; color: var(--zust-green); }

/* ============================================================
   COLLEGES SECTION
   ============================================================ */
.colleges-section {
    overflow: hidden;
}
.colleges-header {
    background: var(--zust-green);
    padding: 1.5rem 2rem;
    text-align: center;
}
.colleges-header h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}
.colleges-header h2 i { color: var(--zust-gold); }

.college-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.college-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.7);
}
.college-card:hover img { transform: scale(1.08); filter: brightness(0.5); }

.college-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 1rem;
    background: linear-gradient(transparent 30%, rgba(0,50,0,0.85));
    text-align: center;
    transition: var(--transition);
}
.college-overlay h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}
.college-overlay span {
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
    display: block;
}
.btn-college-more {
    background: var(--zust-gold);
    color: var(--zust-green-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 1.2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    border: none;
}
.college-card:hover .btn-college-more { opacity: 1; transform: translateY(0); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, #0d2b0d, var(--zust-green-dark));
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201,162,39,0.12), transparent 70%);
    border-radius: 50%;
}
.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin: 0; }

.btn-cta-register {
    display: inline-block;
    background: var(--zust-gold);
    color: var(--zust-green-dark);
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 800;
    font-family: var(--font-arabic);
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}
.btn-cta-register:hover { background: var(--zust-gold-light); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(201,162,39,0.4); color: var(--zust-green-dark); }

/* ============================================================
   SECTION TITLES (keep for other pages)
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--zust-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
}
.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--zust-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to left, var(--zust-green), var(--zust-gold));
    border-radius: 2px;
}
.section-title p {
    color: var(--zust-gray);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.zust-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.zust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.zust-card .card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.zust-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.zust-card:hover .card-img-wrap img { transform: scale(1.06); }
.zust-card .card-body { padding: 1.5rem; }
.zust-card .card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--zust-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}
.zust-card .card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.zust-card .card-title a { color: var(--zust-dark); }
.zust-card .card-title a:hover { color: var(--zust-green); }
.zust-card .card-excerpt { color: var(--zust-gray); font-size: 0.9rem; line-height: 1.7; }

/* Team Card */
.team-card {
    text-align: center;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    background: #fff;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .team-img-wrap { position: relative; overflow: hidden; }
.team-card .team-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-card .team-body { padding: 1.25rem; }
.team-card .team-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-card .team-role {
    font-size: 0.85rem;
    color: var(--zust-green);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section { background: var(--zust-green); padding: 3.5rem 0; }
.stat-box { text-align: center; color: #fff; }
.stat-box .stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--zust-gold);
    display: block;
    line-height: 1;
}
.stat-box .stat-text { font-size: 1rem; color: rgba(255,255,255,0.85); margin-top: 6px; font-weight: 500; }
.stat-box .stat-icon { font-size: 2.5rem; color: rgba(255,255,255,0.3); margin-bottom: 0.75rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--zust-light-bg);
    border-radius: var(--radius);
    padding: 2rem;
    border-right: 4px solid var(--zust-green);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: var(--zust-green);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card .testimonial-text { font-size: 1rem; line-height: 1.9; color: #444; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .author-name { font-weight: 700; font-size: 0.95rem; color: var(--zust-dark); }
.testimonial-card .author-title { font-size: 0.8rem; color: var(--zust-green); }

/* ============================================================
   PAGE HEADER (Breadcrumb Banner)
   ============================================================ */
.page-header-band {
    background: linear-gradient(135deg, var(--zust-green-dark), var(--zust-green));
    padding: 3rem 0;
    color: #fff;
    margin-bottom: 3rem;
}
.page-header-band h1 { color: #fff; font-size: 2rem; margin: 0; }
.page-header-band .breadcrumb { background: none; padding: 0; margin: 0.5rem 0 0; }
.page-header-band .breadcrumb-item, .page-header-band .breadcrumb-item a { color: rgba(255,255,255,0.75); }
.page-header-band .breadcrumb-item.active { color: var(--zust-gold); }
.page-header-band .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.bg-light-green { background: var(--zust-light-bg); }

/* Buttons */
.btn-zust {
    background: var(--zust-green);
    color: #fff;
    border: 2px solid var(--zust-green);
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-zust:hover { background: var(--zust-green-dark); border-color: var(--zust-green-dark); color: #fff; transform: translateY(-2px); }
.btn-zust-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 700;
    font-family: var(--font-arabic);
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-zust-outline:hover { background: #fff; color: var(--zust-green-dark); border-color: #fff; }
.btn-gold {
    background: var(--zust-gold);
    color: var(--zust-green-dark);
    border: 2px solid var(--zust-gold);
    border-radius: 50px;
    padding: 0.7rem 2rem;
    font-weight: 800;
    font-family: var(--font-arabic);
    transition: var(--transition);
}
.btn-gold:hover { background: var(--zust-gold-light); border-color: var(--zust-gold-light); color: var(--zust-green-dark); transform: translateY(-2px); }

/* ============================================================
   TEAM / FACULTY CARD
   ============================================================ */
.team-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-img-wrap { overflow: hidden; }
.team-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }

.team-body a { color: var(--zust-dark); text-decoration: none; }
.team-body a:hover { color: var(--zust-green); }

/* ============================================================
   ADVERTISEMENT ITEM
   ============================================================ */
.adv-item {
    transition: var(--transition);
}
.adv-item:hover {
    border-color: var(--zust-green) !important;
    box-shadow: 0 3px 12px rgba(0,100,0,0.1);
    transform: translateX(-4px);
}
.adv-item h5 a:hover { color: var(--zust-green) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.zust-footer {
    background: var(--zust-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}
.footer-brand { display: flex; align-items: center; }
.zust-footer h5 {
    color: var(--zust-gold);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255,255,255,0.08);
}
.zust-footer p { font-size: 0.9rem; line-height: 1.9; }
.zust-footer ul { list-style: none; padding: 0; margin: 0; }
.zust-footer ul li { margin-bottom: 0.5rem; }
.zust-footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: var(--transition); }
.zust-footer ul li a::before { content: '← '; opacity: 0.5; }
.zust-footer ul li a:hover { color: var(--zust-gold); padding-right: 5px; }
.zust-footer .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.75rem; font-size: 0.9rem; }
.zust-footer .contact-item i { color: var(--zust-gold); margin-top: 4px; flex-shrink: 0; }
.zust-footer .social-links { display: flex; gap: 10px; margin-top: 1rem; }
.zust-footer .social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.zust-footer .social-links a:hover { background: var(--zust-green); color: #fff; transform: translateY(-3px); }
.zust-footer-bar {
    background: rgba(0,0,0,0.3);
    margin-top: 3rem;
    padding: 1rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.about-feature-item .feat-icon {
    width: 50px; height: 50px;
    background: rgba(0,100,0,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--zust-green);
    font-size: 1.25rem;
    flex-shrink: 0;
}
.about-feature-item h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.about-feature-item p { font-size: 0.88rem; color: var(--zust-gray); margin: 0; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 .error-num { font-size: 8rem; font-weight: 900; color: var(--zust-green); opacity: 0.15; line-height: 1; }

/* ============================================================
   SEARCH
   ============================================================ */
.search-header { background: var(--zust-light-bg); padding: 2rem 0; margin-bottom: 2rem; }
.search-form-wrap .input-group input { border-radius: 0; border-left: none; direction: rtl; }
.search-form-wrap .input-group .btn { border-radius: 0; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-content img { border-radius: var(--radius); max-width: 100%; }
.single-content h2,h3,h4 { margin-top: 2rem; }
.post-meta { color: var(--zust-gray); font-size: 0.88rem; }
.post-meta span { margin-inline-end: 1.25rem; }
.post-meta i { color: var(--zust-green); margin-inline-end: 4px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.zust-pagination { display: flex; justify-content: center; margin-top: 3rem; gap: 6px; }
.zust-pagination a, .zust-pagination span {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #ddd;
    font-weight: 600;
    color: var(--zust-dark);
    transition: var(--transition);
}
.zust-pagination a:hover, .zust-pagination .current {
    background: var(--zust-green);
    border-color: var(--zust-green);
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .carousel-img { height: 65vh; min-height: 320px; }
    .caption-inner h1 { font-size: 1.6rem; }
    .caption-inner p { font-size: 1rem; }
    .college-card img { height: 200px; }
    .btn-college-more { opacity: 1; transform: translateY(0); }
    .quick-link-item { padding: 1rem 0.25rem; }
    .quick-link-icon { width: 44px; height: 44px; font-size: 1.1rem; }
    .quick-link-item span { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    .carousel-img { height: 55vh; }
    .section-pad { padding: 3rem 0; }
    .zust-navbar .navbar-logo { width: 90px !important; height: 90px !important; margin-top: -16px; margin-bottom: -16px; }
    .colleges-header h2 { font-size: 1.4rem; }
    .about-logo { width: 180px; }
    .about-stats-mini { gap: 1rem; }
}

@media (max-width: 576px) {
    .carousel-img { height: 45vh; min-height: 280px; }
    .caption-inner h1 { font-size: 1.3rem; }
    .caption-inner p { font-size: 0.88rem; }
    .stat-box .stat-num { font-size: 2rem; }
    .college-card img { height: 160px; }
    .college-overlay h4 { font-size: 0.82rem; }
}

/* Loading animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
