/* ============================================
   Facilities Page Styles
   ============================================ */

.fac-hero {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.fac-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: fac-pulse 8s ease-in-out infinite;
}
.fac-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,80,214,0.18) 0%, transparent 60%);
    border-radius: 50%;
    animation: fac-pulse 10s ease-in-out infinite reverse;
}
@keyframes fac-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 0.8; }
}
.fac-hero .hero-content { position: relative; z-index: 10; }
.fac-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.fac-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}

.fac-section { padding: 80px 0; }
.fac-section.alt { background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%); }

.fac-section .badge {
    display: inline-block;
    background: linear-gradient(135deg, #31287e, #1a1556);
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.fac-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 18px;
    line-height: 1.22;
}
.fac-section h2 .accent {
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.fac-section p {
    font-size: 16px;
    line-height: 1.85;
    color: #5a5a72;
    margin-bottom: 16px;
}
.fac-image {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.18);
}
.fac-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}
.fac-image:hover img { transform: scale(1.05); }

/* Stats row */
.fac-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 30px;
}
.fac-stat {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow: 0 14px 32px rgba(49, 40, 126, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.fac-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(49, 40, 126, 0.18);
}
.fac-stat .stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 22px rgba(49, 40, 126, 0.28);
}
.fac-stat h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #1a1556;
    margin: 0 0 4px;
}
.fac-stat p {
    font-size: 13px;
    color: #5a5a72;
    margin: 0;
    line-height: 1.4;
}

/* Feature cards grid (Facilities list) */
.fac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.fac-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 26px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow: 0 14px 32px rgba(49, 40, 126, 0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.fac-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c1, #31287e), var(--c2, #5b50d6));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.fac-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(49, 40, 126, 0.18);
}
.fac-card:hover::before { transform: scaleX(1); }
.fac-card .fac-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c1, #31287e), var(--c2, #5b50d6));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    box-shadow: 0 10px 22px var(--c-shadow, rgba(49, 40, 126, 0.28));
}
.fac-card h4 {
    font-family: "Catamaran", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 8px;
}
.fac-card p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #5a5a72;
    margin: 0;
}

.fac-card.c-1 { --c1: #10b981; --c2: #34d399; --c-shadow: rgba(16, 185, 129, 0.35); }
.fac-card.c-2 { --c1: #3b82f6; --c2: #60a5fa; --c-shadow: rgba(59, 130, 246, 0.35); }
.fac-card.c-3 { --c1: #8b5cf6; --c2: #a78bfa; --c-shadow: rgba(139, 92, 246, 0.35); }
.fac-card.c-4 { --c1: #f59e0b; --c2: #fbbf24; --c-shadow: rgba(245, 158, 11, 0.38); }
.fac-card.c-5 { --c1: #ec4899; --c2: #f472b6; --c-shadow: rgba(236, 72, 153, 0.35); }
.fac-card.c-6 { --c1: #06b6d4; --c2: #22d3ee; --c-shadow: rgba(6, 182, 212, 0.35); }

/* Auditorium callout */
.fac-callout {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #fff;
    border-radius: 24px;
    padding: 44px 38px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 16px;
}
.fac-callout::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 60%);
    pointer-events: none;
}
.fac-callout h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 12px;
    position: relative;
}
.fac-callout p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 991px) {
    .fac-grid   { grid-template-columns: repeat(2, 1fr); }
    .fac-stats  { grid-template-columns: repeat(2, 1fr); }
    .fac-section h2 { font-size: 1.8rem; }
}

@media (max-width: 575px) {
    .fac-hero { height: 360px; }
    .fac-hero h1 { font-size: 2.2rem; }
    .fac-grid   { grid-template-columns: 1fr; }
    .fac-stats  { grid-template-columns: 1fr; }
    .fac-callout { padding: 30px 22px; border-radius: 18px; }
}
