/* ==============================================================================
 * AL-ESRAA UNIVERSITY - COLLEGES SECTION (كليات جامعة الاسراء)
 * MODEL 1: ROYAL 3D GLASS CARDS (كروت الزجاج الملكية ثلاثية الأبعاد)
 * Customized with Website Official Brand Gradients (Royal Navy #0c3468, Brand Cyan #00b4d8, Gold #dfa82c)
 * ============================================================================== */

:root {
    --col-navy-dark: #071e3d;
    --col-navy-mid: #0c3468;
    --col-navy-light: #154685;
    --col-cyan-brand: #00b4d8;
    --col-cyan-light: #00d2ff;
    --col-cyan-glow: rgba(0, 210, 255, 0.3);
    --col-gold: #dfa82c;
    --col-gold-light: #f3c358;
    --col-gold-glow: rgba(223, 168, 44, 0.3);
}

/* SECTION CONTAINER & HEADER */
.colleges-section-wrapper {
    position: relative;
    padding: 5rem 0 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 250, 253, 0.8) 0%, rgba(240, 245, 250, 0.45) 100%);
}

.colleges-header-badge {
    background: linear-gradient(135deg, rgba(12, 52, 104, 0.08) 0%, rgba(0, 180, 216, 0.12) 100%);
    border: 1px solid rgba(0, 180, 216, 0.25);
    color: #0c3468;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1.35rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 15px rgba(12, 52, 104, 0.05);
}

.colleges-main-title {
    font-family: 'Changa', 'Tajawal', 'Cairo', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    color: #0c3468;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}

.colleges-sub-title {
    color: #5c6b7d;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==============================================================================
 * MODEL 1: ROYAL 3D GLASS CARDS
 * ============================================================================== */
.college-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(12, 52, 104, 0.12);
    border-radius: 24px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px -10px rgba(12, 52, 104, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Brand signature top accent line */
.college-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #071e3d 0%, #0c3468 40%, #00b4d8 75%, #dfa82c 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.college-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.45);
    box-shadow: 0 20px 45px -12px rgba(12, 52, 104, 0.18), 0 0 25px rgba(0, 210, 255, 0.16);
    background: #ffffff;
}

.college-card:hover::before {
    opacity: 1;
}

.card-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.college-medallion {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(12, 52, 104, 0.08) 0%, rgba(0, 180, 216, 0.12) 100%);
    border: 1px solid rgba(0, 180, 216, 0.22);
    color: #0c3468;
    font-size: 1.65rem;
    position: relative;
    box-shadow: 0 6px 16px rgba(12, 52, 104, 0.06);
    transition: all 0.35s ease;
}

.college-card:hover .college-medallion {
    background: linear-gradient(135deg, #071e3d 0%, #0c3468 60%, #00b4d8 100%);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 24px rgba(12, 52, 104, 0.3), 0 0 15px rgba(0, 210, 255, 0.3);
    border-color: transparent;
}

.dept-counter-pill {
    background: rgba(223, 168, 44, 0.12);
    color: #9d710e;
    border: 1px solid rgba(223, 168, 44, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.college-title-ar {
    font-family: 'Changa', 'Cairo', sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    color: #0c3468;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.college-title-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #7b8a9b;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.stats-mini-strip {
    background: rgba(241, 245, 249, 0.75);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: auto;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.mini-stat-item {
    text-align: center;
}

.mini-stat-val {
    font-family: 'Changa', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #0c3468;
    line-height: 1.1;
}

.mini-stat-lbl {
    font-size: 0.7rem;
    color: #718096;
    margin-top: 0.2rem;
}

.card-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(12, 52, 104, 0.05) 0%, rgba(0, 180, 216, 0.08) 100%);
    border: 1px solid rgba(12, 52, 104, 0.14);
    color: #0c3468;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.college-card:hover .card-action-btn {
    background: linear-gradient(135deg, #071e3d 0%, #0c3468 60%, #00b4d8 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(12, 52, 104, 0.22);
}

/* Explore All Colleges Callout */
.colleges-explore-all-btn {
    background: linear-gradient(135deg, #071e3d 0%, #0c3468 60%, #0096c7 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.95rem 2.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(12, 52, 104, 0.3);
    transition: all 0.35s ease;
}

.colleges-explore-all-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 35px -5px rgba(12, 52, 104, 0.4), 0 0 20px rgba(0, 180, 216, 0.3);
    border-color: rgba(0, 210, 255, 0.6);
}
