/* custom.css - Modern UI Enhancements */

/* Announcements Ticker - Integrated Version */
.top-announcement {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-contact {
    font-size: 0.85rem;
    white-space: nowrap;
}
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    margin: 0 40px;
}
.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-apply-btn {
    background: var(--accent-color);
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
}
.top-apply-btn:hover {
    background: #fff;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .ticker-wrapper { display: none; }
    .top-contact { font-size: 0.75rem; }
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
}

/* Parallax Backgrounds */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 28, 60, 0.85); /* var(--primary-color) with opacity */
}
.parallax-content {
    position: relative;
    z-index: 2;
}

/* Admission Banner */
.admission-banner {
    padding: 80px 0;
    background-image: url('../images/bg-image-14.jpg'); /* Ensure fallback exists */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
.banner-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}
.banner-glass h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}
.banner-glass p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
.banner-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Animated Buttons */
.pulse-btn {
    animation: pulse-shadow 2s infinite;
}
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 180, 216, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 180, 216, 0); }
}

/* Enhancing existing Program Cards */
.program-card {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.program-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
