/* css/pages.css */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 88vh;
    background: linear-gradient(135deg, #1B4D8E 0%, #133970 50%, #0F2D5A 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero/hero-1.png') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
}

.hero-slide-2::before {
    background: url('../assets/images/gallery/graduation.png') center/cover no-repeat;
    opacity: 0.14;
}

.hero-slide-3::before {
    background: url('../assets/images/hero/hero-2.png') center/cover no-repeat;
    opacity: 0.14;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(245,166,35,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46,204,113,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.2);
    border: 1px solid rgba(245,166,35,0.4);
    color: #FFBF50;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-title span {
    color: var(--secondary);
    position: relative;
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}

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

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-img-wrap {
    position: relative;
    display: inline-block;
}

.hero-img-main {
    width: 100%;
    max-width: 460px;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-badge {
    position: absolute;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.hero-badge-1 {
    bottom: 25px;
    left: -20px;
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-badge-2 {
    top: 25px;
    right: -20px;
    animation: floatBadge 3s ease-in-out infinite 1.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Animations Trigger Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}
.animation-delay-1 { animation-delay: 0.2s; }
.animation-delay-2 { animation-delay: 0.4s; }
.animation-delay-3 { animation-delay: 0.6s; }
.animation-delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Classes (Handled by JS) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Gallery Hover Overlay */
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(27, 77, 142, 0.85), transparent 70%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: #ffffff;
    transition: opacity 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Academic Stage Highlight Box */
.stage-feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.stage-feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #475569;
}
.stage-feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-dark);
    font-size: 0.85rem;
}

/* Event & News Card */
.event-card, .news-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.event-card:hover, .news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #ffffff;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* Facility Card */
.facility-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.facility-card img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

/* Career Position Card */
.job-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.job-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--secondary);
}
