/* ===========================================
   JAGIROAD COLLEGE LIBRARY MODERN WEBSITE
   =========================================== */
/* ========== DROPDOWN FIX - GUARANTEED TO WORK ========== */

/* Desktop Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 5px;
    min-width: 220px;
    padding: 10px 0;
    margin-top: 5px;
    display: none;
    z-index: 1000;
    list-style: none;
}

.dropdown.show .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 25px;
    border-left-color: #3498db;
}

.dropdown-item i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: 20px;
    background: rgba(0,0,0,0.03);
}

.mobile-dropdown.show .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
}

.mobile-submenu a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.mobile-submenu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.mobile-arrow {
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s;
}

.mobile-dropdown.show .mobile-arrow {
    transform: rotate(180deg);
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s;
    overflow-y: auto;
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2c3e50;
    color: white;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu > li {
    border-bottom: 1px solid #eee;
}

.mobile-menu > li > a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
}

.mobile-menu > li > a:hover {
    background: #f8f9fa;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
}

/* Test indicator */
.js-test {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #27ae60;
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 9999;
    display: none;
}
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --gray-color: #95a5a6;
    --light-gray: #ecf0f1;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.admin-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 36px;
    color: var(--secondary-color);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 12px;
    color: var(--gray-color);
    margin: 0;
}

/* Navigation Menu */
.nav-container {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--secondary-color);
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 5px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--light-gray);
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
    padding-left: 25px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-icon {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--light-gray);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.show {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.mobile-logo i {
    font-size: 24px;
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-close:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.mobile-menu > li {
    margin: 0;
}

.mobile-menu > li > a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.mobile-menu > li > a:hover {
    background: var(--light-gray);
    color: var(--secondary-color);
}

.mobile-menu > li > a i:first-child {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
    font-weight: 500;
}

.mobile-dropdown-toggle i:first-child {
    margin-right: 10px;
}

.mobile-dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding-left: 30px;
    margin: 0;
    display: none;
    background: rgba(0,0,0,0.02);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    margin: 0;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.mobile-submenu a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 20px;
}

.mobile-submenu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transform: translateX(calc(100% - 50px));
    transition: var(--transition);
    min-width: 50px;
    overflow: hidden;
}

.fab-btn:hover {
    transform: translateX(0);
    min-width: 200px;
}

.fab-btn.hs { background: #3498db; }
.fab-btn.ug { background: #2ecc71; }
.fab-btn.pg { background: #9b59b6; }
.fab-btn.caution { background: #e74c3c; }

.fab-btn i {
    font-size: 20px;
    min-width: 20px;
}

/* Hero Slider */
.hero-slider {
    margin-top: 0;
}

.slider-item {
    height: 500px;
}

.slider-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
}

.slider-content {
    color: white;
    max-width: 600px;
}

.slider-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.slider-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

/* About & Notice Section */
.about-notice-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.header-line {
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

.header-line.center {
    margin: 0 auto;
}

.about-card, .notice-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.about-content {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-more:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.notice-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.view-all {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.notice-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.notice-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.notice-item:hover {
    background: var(--light-gray);
}

.notice-item.new {
    border-left: 4px solid var(--accent-color);
}

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.date-day {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.date-month {
    font-size: 14px;
    color: var(--gray-color);
}

.date-year {
    font-size: 12px;
    color: var(--gray-color);
}

.notice-content {
    flex: 1;
}

.new-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 5px;
}

.notice-title {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.notice-title:hover {
    color: var(--secondary-color);
}

/* Collection Section */
.collection-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header.center {
    text-align: center;
}

.collection-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.collection-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
}

.collection-info {
    padding: 20px;
}

.collection-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Quick Links & Activities */
.links-activities-section {
    padding: 80px 0;
    background: white;
}

.quick-links-card,
.activities-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: 100%;
}

.quick-links-card h3,
.activities-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    background: var(--light-gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

.quick-link-item:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

.link-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.quick-link-item span {
    font-weight: 500;
    text-align: center;
}

.activity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.activity-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.view-full {
    color: white;
    font-size: 24px;
    transition: var(--transition);
}

.view-full:hover {
    color: var(--secondary-color);
}

.activity-info {
    padding: 20px;
}

.activity-desc {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.activity-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
}

.partner-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.partner-logo:hover .partner-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: white;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo i {
    font-size: 40px;
    color: var(--secondary-color);
}

.footer-logo h3 {
    font-size: 20px;
    margin: 0 0 5px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--light-gray);
}

.contact-item p {
    margin: 0;
    color: #ccc;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    margin: 5px 0;
    color: #ccc;
    font-size: 14px;
}

.powered-by {
    font-size: 12px;
}

.powered-by a {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-container {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .slider-title {
        font-size: 36px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .announcement-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .slider-item {
        height: 400px;
    }
    
    .slider-title {
        font-size: 28px;
    }
    
    .floating-actions {
        bottom: 10px;
        right: 10px;
    }
    
    .fab-btn {
        padding: 10px 15px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .quick-links-card,
    .activities-card {
        height:100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .slider-item {
        height: 300px;
    }
    
    .slider-title {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .notice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mobile-nav {
        width: 100%;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.p-3 {
    padding: 1rem !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Print Styles */
@media print {
    .announcement-bar,
    .main-header,
    .floating-actions,
    .back-to-top,
    .footer-bottom {
        display: none !important;
    }
}