/* Faculty hero – matches engineering reference layout */
section#hero.faculty-hero,
#wrap section#hero.faculty-hero {
    min-height: 700px;
    isolation: isolate;
    position: relative;
    background-color: #fff !important;
    overflow: hidden;
}
section#hero.faculty-hero .faculty-hero__container,
#wrap section#hero.faculty-hero .faculty-hero__container {
    z-index: 10;
    min-height: 700px;
    position: relative;
    max-width: 1320px;
}
section#hero.faculty-hero .faculty-hero__container > .row,
#wrap section#hero.faculty-hero .faculty-hero__container > .row {
    width: 100%;
    position: relative;
    z-index: 11;
}
section#hero.faculty-hero .faculty-hero__bg-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 50%, #e8f4ff 100%);
    z-index: 0;
}
section#hero.faculty-hero .faculty-hero__blob {
    border-radius: 50%;
    filter: blur(64px);
    z-index: 1;
    pointer-events: none;
}
section#hero.faculty-hero .faculty-hero__blob--top {
    top: 5rem;
    right: 0;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.55) 0%, transparent 100%);
    animation: faculty-hero-pulse 4s ease-in-out infinite;
}
section#hero.faculty-hero .faculty-hero__blob--bottom {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(239, 246, 255, 0.75) 0%, transparent 100%);
}
section#hero.faculty-hero .faculty-hero__shape {
    border: 2px solid #dbeafe;
    z-index: 2;
    pointer-events: none;
}
section#hero.faculty-hero .faculty-hero__shape--square {
    top: 25%;
    right: 5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    transform: rotate(12deg);
    opacity: 0.35;
}
section#hero.faculty-hero .faculty-hero__shape--circle {
    bottom: 33%;
    right: 10rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border-color: #bfdbfe;
    opacity: 0.25;
}
section#hero.faculty-hero .faculty-hero__badge {
    background: #eff6ff !important;
    border: 1px solid #dbeafe !important;
}
section#hero.faculty-hero .faculty-hero__badge-icon {
    font-size: 14px !important;
    color: #2563eb !important;
    line-height: 1;
}
section#hero.faculty-hero .faculty-hero__badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb !important;
    letter-spacing: 0.08em;
}
section#hero.faculty-hero h1.faculty-hero__title {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #111827;
}
section#hero.faculty-hero h1 .faculty-hero__title-brand {
    display: block;
    color: #2563eb !important;
    font-weight: 800;
    -webkit-text-fill-color: #2563eb !important;
}
section#hero.faculty-hero h1 .faculty-hero__title-gradient {
    display: block;
    background: linear-gradient(90deg, #2563eb 0%, #0891b2 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 800;
}
section#hero.faculty-hero .faculty-hero__lead {
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
    color: #4b5563 !important;
    max-width: 36rem;
}
section#hero.faculty-hero .faculty-hero__actions {
    gap: 1rem;
}
section#hero.faculty-hero a.faculty-hero__btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
section#hero.faculty-hero a.faculty-hero__btn--primary {
    background-color: #2563eb !important;
    border: 2px solid #2563eb !important;
    color: #fff !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25);
}
section#hero.faculty-hero a.faculty-hero__btn--primary:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}
section#hero.faculty-hero a.faculty-hero__btn--outline {
    background-color: #fff !important;
    border: 2px solid #2563eb !important;
    color: #2563eb !important;
}
section#hero.faculty-hero a.faculty-hero__btn--outline:hover {
    background-color: #eff6ff !important;
    color: #2563eb !important;
}
section#hero.faculty-hero .faculty-hero__media {
    max-width: 32rem;
    margin: 0 auto;
}
section#hero.faculty-hero .faculty-hero__media-glow {
    inset: -1rem;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.5) 0%, transparent 100%);
    border-radius: 1.5rem;
    filter: blur(32px);
    z-index: 0;
}
section#hero.faculty-hero .faculty-hero__media-frame {
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
section#hero.faculty-hero .faculty-hero__media-img {
    height: 480px;
    object-fit: cover;
    display: block;
}
section#hero.faculty-hero .faculty-hero__media-overlay {
    background: linear-gradient(to top, rgba(30, 58, 138, 0.2) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
section#hero.faculty-hero .faculty-hero__stat-card {
    bottom: -1.5rem;
    left: -1.5rem;
    z-index: 3;
    border-color: #f3f4f6 !important;
    min-width: 220px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}
section#hero.faculty-hero .faculty-hero__stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}
section#hero.faculty-hero .faculty-hero__stat-icon .material-icons {
    font-size: 22px !important;
    color: #fff !important;
}
section#hero.faculty-hero .faculty-hero__stat-value {
    font-size: 1.5rem;
    color: #111827 !important;
    line-height: 1.2;
}
section#hero.faculty-hero .faculty-hero__stat-label {
    font-size: 12px;
    color: #6b7280 !important;
}
@keyframes faculty-hero-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
@media (min-width: 768px) {
    section#hero.faculty-hero h1.faculty-hero__title { font-size: 3rem; }
    section#hero.faculty-hero .faculty-hero__lead { font-size: 1.125rem; }
}
@media (min-width: 992px) {
    section#hero.faculty-hero h1.faculty-hero__title { font-size: 3.75rem; }
    section#hero.faculty-hero .faculty-hero__lead { font-size: 1.25rem; }
}
@media (min-width: 1200px) {
    section#hero.faculty-hero h1.faculty-hero__title { font-size: 4.5rem; }
}
@media (max-width: 991px) {
    section#hero.faculty-hero,
    section#hero.faculty-hero .faculty-hero__container { min-height: auto; padding-bottom: 20px; }
    section#hero.faculty-hero .faculty-hero__blob--top { width: 320px; height: 320px; }
    section#hero.faculty-hero .faculty-hero__shape--square,
    section#hero.faculty-hero .faculty-hero__shape--circle { display: none; }
}
@media (max-width: 767px) {
    section#hero.faculty-hero h1.faculty-hero__title { font-size: 1.75rem; }
    section#hero.faculty-hero a.faculty-hero__btn { width: 100%; text-align: center; }
    section#hero.faculty-hero .faculty-hero__media {
        max-width: 100%;
        margin-top: 0.5rem;
    }
    section#hero.faculty-hero .faculty-hero__media-img {
        height: 280px;
    }
    section#hero.faculty-hero .faculty-hero__stat-card {
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        min-width: 200px;
    }
    section#hero.faculty-hero[dir="rtl"] .faculty-hero__stat-card {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

/* RTL (Arabic) */
section#hero.faculty-hero[dir="rtl"] .faculty-hero__stat-card {
    left: auto;
    right: -1.5rem;
}
section#hero.faculty-hero[dir="rtl"] .faculty-hero__shape--square {
    right: auto;
    left: 5rem;
}
section#hero.faculty-hero[dir="rtl"] .faculty-hero__shape--circle {
    right: auto;
    left: 10rem;
}
section#hero.faculty-hero[dir="rtl"] .faculty-hero__blob--top {
    right: auto;
    left: 0;
}
section#hero.faculty-hero[dir="rtl"] h1.faculty-hero__title,
section#hero.faculty-hero[dir="rtl"] .faculty-hero__lead {
    text-align: right;
}
