/* ============================================================
   CHNTC Website - Main Stylesheet
   Community Health Nurses Training College, Tamale
   Colors: Primary Green (#1a6b3c), Gold (#d4a017), White, Dark
   Layout: UDS-style with modern design touch
   ============================================================ */

:root {
    --primary: #1a6b3c;
    --primary-dark: #145230;
    --primary-light: #2a8a52;
    --secondary: #d4a017;
    --secondary-dark: #b8890f;
    --secondary-light: #f0c040;
    --accent: #e8f5e9;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark); line-height: 1.3; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--secondary);
}
.top-bar a { color: var(--secondary-light); }
.top-bar a:hover { color: var(--white); }
.top-bar .info-item { margin-right: 20px; display: inline-flex; align-items: center; gap: 5px; }
.top-bar .info-item i { color: var(--secondary); }
.top-bar-social a { color: var(--white); margin-left: 10px; font-size: 1rem; transition: var(--transition); }
.top-bar-social a:hover { color: var(--secondary); transform: translateY(-2px); }

/* ========== NAVBAR ========== */
.main-navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--transition);
}
.main-navbar.scrolled {
    box-shadow: var(--shadow-lg);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.navbar-brand .logo-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    border: 3px solid var(--secondary);
}
.navbar-brand .brand-text h5 {
    font-size: 1.05rem;
    color: var(--primary);
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
}
.navbar-brand .brand-text small {
    font-size: 0.75rem;
    color: var(--text-light);
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 16px !important;
    transition: var(--transition);
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 3px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    padding: 10px 0;
    margin-top: 5px;
    border-top: 3px solid var(--primary);
    min-width: 220px;
}
.dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: var(--accent);
    color: var(--primary);
    padding-left: 25px;
}
.dropdown-item i { width: 20px; color: var(--primary); margin-right: 5px; }

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

/* ---- 8 Slider Animation Keyframes ---- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(80px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeInRotate {
    from { opacity: 0; transform: rotate(-8deg) scale(0.9); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.08); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes flipIn {
    from { opacity: 0; transform: perspective(600px) rotateX(-80deg); }
    to { opacity: 1; transform: perspective(600px) rotateX(0); }
}
@keyframes slideUpScale {
    from { opacity: 0; transform: translateY(60px) scale(0.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Animation targets – start invisible, become visible when animated */
.hero-slider .carousel-caption .anim-element {
    opacity: 0;
}
.hero-slider .carousel-item.active .carousel-caption.animated .anim-element {
    opacity: 1;
}

/* Staggered delays for each child element */
.hero-slider .carousel-item.active .carousel-caption.animated .anim-delay-1 { animation-delay: 0.1s; }
.hero-slider .carousel-item.active .carousel-caption.animated .anim-delay-2 { animation-delay: 0.35s; }
.hero-slider .carousel-item.active .carousel-caption.animated .anim-delay-3 { animation-delay: 0.6s; }
.hero-slider .carousel-item.active .carousel-caption.animated .anim-delay-4 { animation-delay: 0.85s; }

/* Apply the selected animation class to each element */
.hero-slider .carousel-caption.animated .anim-element {
    animation-fill-mode: both;
    animation-duration: 0.8s;
}

/* Per-animation class mapping */
.hero-slider .carousel-caption.animated.anim-slideUp .anim-element        { animation-name: slideUp; }
.hero-slider .carousel-caption.animated.anim-slideLeft .anim-element      { animation-name: slideLeft; }
.hero-slider .carousel-caption.animated.anim-slideRight .anim-element     { animation-name: slideRight; }
.hero-slider .carousel-caption.animated.anim-zoomIn .anim-element         { animation-name: zoomIn; }
.hero-slider .carousel-caption.animated.anim-fadeInRotate .anim-element   { animation-name: fadeInRotate; }
.hero-slider .carousel-caption.animated.anim-bounceIn .anim-element       { animation-name: bounceIn; }
.hero-slider .carousel-caption.animated.anim-flipIn .anim-element         { animation-name: flipIn; }
.hero-slider .carousel-caption.animated.anim-slideUpScale .anim-element   { animation-name: slideUpScale; }

.hero-slider .carousel-item {
    height: 75vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,107,60,0.85) 0%, rgba(26,26,46,0.7) 100%);
}
.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10%;
    right: 10%;
    text-align: left;
    max-width: 700px;
}
.hero-slider .carousel-caption h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero-slider .carousel-caption h3 {
    color: var(--secondary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.hero-slider .carousel-caption p {
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    margin-bottom: 25px;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: transparent;
    margin: 0 5px;
}
.hero-slider .carousel-indicators .active {
    background: var(--secondary);
}
.btn-primary-custom {
    background: var(--secondary);
    color: var(--dark);
    border: 2px solid var(--secondary);
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-primary-custom:hover {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,160,23,0.3);
}
.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 30px;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ========== WELCOME SECTION ========== */
.welcome-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}
.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 15px;
}
.welcome-text { font-size: 1.05rem; color: var(--text); }
.welcome-text p { margin-bottom: 15px; }

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}
.stat-card .stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: var(--secondary);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}
.stat-card h3 {
    font-size: 2.8rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-card p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== APPLY SECTION ========== */
.apply-section {
    padding: 80px 0;
    background: var(--off-white);
    position: relative;
}
.apply-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.apply-card .apply-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.apply-card .apply-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,107,60,0.5), transparent);
}
.apply-card .apply-content {
    padding: 40px;
}
.apply-card .apply-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========== NEWS SECTION ========== */
.news-section {
    padding: 80px 0;
    background: var(--white);
}
.news-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.news-card:hover .card-img-top {
    transform: scale(1.05);
}
.news-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}
.news-card .card-img-wrapper .date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}
.news-card .card-body {
    padding: 25px;
}
.news-card .card-body .category-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.news-card .card-body h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-card .card-body h5 a { color: var(--dark); }
.news-card .card-body h5 a:hover { color: var(--primary); }
.news-card .card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}
.news-card .read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.news-card .read-more:hover { gap: 10px; color: var(--secondary); }

/* ========== ANNOUNCEMENTS ========== */
.announcements-section {
    padding: 80px 0;
    background: var(--off-white);
}
.announcement-card {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.announcement-card:hover {
    border-left-color: var(--primary);
    transform: translateX(5px);
}
.announcement-card h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.announcement-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ========== QUICK LINKS ========== */
.quick-links-section {
    padding: 60px 0;
    background: var(--white);
}
.quick-link-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}
.quick-link-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.quick-link-card .ql-icon {
    width: 65px;
    height: 65px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}
.quick-link-card:hover .ql-icon {
    background: var(--primary);
    color: var(--white);
}
.quick-link-card h6 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.quick-link-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
    padding: 80px 0;
    background: var(--off-white);
}
.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,107,60,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding-top: 60px;
}
.main-footer h5 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.main-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
.main-footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.main-footer a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.main-footer .footer-links {
    list-style: none;
    padding: 0;
}
.main-footer .footer-links li {
    margin-bottom: 8px;
}
.main-footer .footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.main-footer .footer-links li a i {
    color: var(--secondary);
    font-size: 0.7rem;
}
.main-footer .footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.main-footer .footer-contact p i {
    color: var(--secondary);
    margin-top: 5px;
    width: 18px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    padding-left: 0;
}
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 {
    color: var(--white);
    font-size: 2.2rem;
    position: relative;
    z-index: 1;
}
.page-header .breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 10px;
}
.page-header .breadcrumb-item a { color: var(--secondary); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ========== SIDEBAR ========== */
.sidebar-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
}
.sidebar-card h5 {
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    margin-bottom: 15px;
}
.sidebar-card .list-unstyled li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-card .list-unstyled li:last-child { border-bottom: none; }
.sidebar-card .list-unstyled li a {
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-card .list-unstyled li a:hover {
    color: var(--primary);
}
.sidebar-card .list-unstyled li a i { color: var(--secondary); }

/* ========== CONTENT PAGES ========== */
.content-section {
    padding: 60px 0;
}
.content-section h2, .content-section h3 {
    color: var(--primary);
    margin-bottom: 15px;
}
.content-section p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text);
}
.info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
.info-card:hover {
    box-shadow: var(--shadow-lg);
}
.info-card h5 { color: var(--primary); margin-bottom: 10px; }
.info-card i { color: var(--secondary); margin-right: 8px; }

/* ========== CONTACT PAGE ========== */
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    margin-bottom: 20px;
}
.contact-info-card h5 {
    color: var(--secondary);
    margin-bottom: 20px;
}
.contact-info-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contact-info-card p i {
    color: var(--secondary);
    margin-top: 3px;
}

/* ========== STAFF CARDS ========== */
.staff-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}
.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.staff-card .staff-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.staff-card .staff-photo-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--accent), var(--off-white));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}
.staff-card .staff-info {
    padding: 20px;
}
.staff-card .staff-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.staff-card .staff-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0;
}

/* ========== PROGRAMME CARDS ========== */
.programme-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}
.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.programme-card .programme-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 25px;
    text-align: center;
    color: var(--white);
}
.programme-card .programme-header h5 { color: var(--white); margin-bottom: 5px; }
.programme-card .programme-header .badge {
    background: var(--secondary);
    color: var(--dark);
    font-weight: 600;
}
.programme-card .programme-body {
    padding: 25px;
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-slider .carousel-item { height: 60vh; min-height: 400px; }
    .hero-slider .carousel-caption h1 { font-size: 2rem; }
    .hero-slider .carousel-caption { left: 5%; right: 5%; }
    .stat-card h3 { font-size: 2rem; }
}
@media (max-width: 767px) {
    .hero-slider .carousel-item { height: 50vh; min-height: 350px; }
    .hero-slider .carousel-caption h1 { font-size: 1.5rem; }
    .hero-slider .carousel-caption h3 { font-size: 1rem; }
    .hero-slider .carousel-caption p { font-size: 0.9rem; }
    .section-title h2 { font-size: 1.7rem; }
    .top-bar .info-item { margin-right: 10px; font-size: 0.78rem; }
}

/* ========== LOADING ========== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}
.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}
.spinner-border { color: var(--primary) !important; }

/* ========== MISC ========== */
.bg-accent { background: var(--accent) !important; }
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.border-primary-custom { border-color: var(--primary) !important; }
.badge-primary-custom { background: var(--primary); color: var(--white); }
.badge-secondary-custom { background: var(--secondary); color: var(--dark); }
.divider {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
    margin: 15px 0;
}
