:root {
    /* Color Scheme */
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary-color: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* Neutral Colors */
    --dark-color: #1f2937;
    --dark-light: #374151;
    --gray-color: #6b7280;
    --gray-light: #9ca3af;
    --light-color: #f9fafb;
    --light-dark: #f3f4f6;
    --white-color: #ffffff;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(16, 185, 129, 0.8) 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
    padding-top: 0px; /* Add padding to prevent navbar overlap */
}

/* Adjust padding for mobile devices */
@media (max-width: 991.98px) {
    body {
        padding-top: 0px; /* Reduced padding for mobile */
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    max-width: var(--container-max-width);
}

/* Utility Classes */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: var(--section-padding);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.top-bar {
    background: var(--light-color);
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--light-dark);
}

.contact-info span {
    color: var(--gray-color);
    margin-right: 20px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--white-color);
    color: var(--gray-color);
    border-radius: 50%;
    margin-left: 5px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

.main-nav {
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand:hover {
    text-decoration: none;
}

.logo-img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h4 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--dark-color);
    font-weight: 600;
}

.logo-text small {
    color: var(--gray-color);
    font-size: 0.85rem;
    display: block;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    color: var(--dark-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: var(--transition-fast);
    border-radius: 0;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);
    z-index: -1;
}

.hero-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: #f8f9fa;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.search-bar-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.search-btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    border: none;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Quick Access Links */
.quick-access-section {
    border-bottom: 1px solid #e5e7eb;
}

.quick-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.quick-link:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.divider {
    color: #9ca3af;
    font-weight: 300;
}

/* Support Services */
.support-services {
    padding: 4rem 0;
}

.support-card {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.support-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.support-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(0, 33, 71, 0.8) 0%, rgba(59, 130, 246, 0.8) 0%); */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.support-title {
    color: white;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Support card color variations
.learning-support .support-overlay {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8) 0%, rgba(248, 113, 113, 0.8) 100%);
}

.teaching-support .support-overlay {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(74, 222, 128, 0.8) 100%);
}

.research-support .support-overlay {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8) 0%, rgba(196, 131, 253, 0.8) 100%);
}

.technical-support .support-overlay {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(96, 165, 250, 0.8) 100%);
}

.wellbeing-support .support-overlay {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.8) 0%, rgba(251, 191, 36, 0.8) 100%);
}

.additional-support .support-overlay {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(52, 211, 153, 0.8) 100%);
} */

/* Content Sections */
.content-sections {
    min-height: 500px;
}

.content-wrapper {
    height: 100%;
}

.content-sections .section-title {
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.event-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-image img {
    height: 100px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.event-title {
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-description {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Book Cards */
.book-card {
    transition: all 0.3s ease;
}

.book-card:hover {
    transform: translateY(-10px);
}

.book-cover {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 3/4;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-actions {
    display: flex;
    gap: 0.5rem;
}

.book-info {
    padding: 1rem 0;
}

.book-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.book-author {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* Bottom Contact Section */
.bottom-contact-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.contact-card,
.help-card,
.social-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover,
.help-card:hover,
.social-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-title,
.help-title,
.social-title {
    margin-bottom: 1.5rem;
    color: white;
}

.contact-info a,
.help-content a {
    color: #e5e7eb;
    text-decoration: none;
}

.contact-info a:hover,
.help-content a:hover {
    color: var(--accent-color);
}

/* Social Media Buttons */
.btn-facebook {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background: #145dbf;
    border-color: #145dbf;
    color: white;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: white;
}

.btn-instagram:hover {
    opacity: 0.9;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background: #005885;
    border-color: #005885;
    color: white;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    border: 1px solid var(--light-dark);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 2rem;
}

.feature-card.yellow .feature-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.feature-card.green .feature-icon { background: linear-gradient(135deg, #10b981, #34d399); }
.feature-card.blue .feature-icon { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.feature-card.red .feature-icon { background: linear-gradient(135deg, #ef4444, #f87171); }
.feature-card.purple .feature-icon { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.feature-card.indigo .feature-icon { background: linear-gradient(135deg, #6366f1, #818cf8); }

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-description {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.feature-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-fast);
}

.feature-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

.feature-link i {
    margin-left: 5px;
    transition: var(--transition-fast);
}

/* About Section */
.about-section {
    background: var(--light-color);
    padding: 80px 0;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content {
    padding-left: 40px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-features li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Latest Arrivals Section */
.latest-arrivals {
    padding: 80px 0;
}

.filter-buttons {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--light-color);
    color: var(--gray-color);
    border: none;
    padding: 10px 25px;
    margin: 5px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.book-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.book-image {
    position: relative;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-image img {
    transform: scale(1.05);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-actions {
    display: flex;
    gap: 10px;
}

.book-actions .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.book-content {
    padding: 20px;
}

.book-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.book-author {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.book-rating {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.book-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/testimonial-pattern.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.testimonials-content {
    position: relative;
    z-index: 2;
}

.section-title.white {
    color: var(--white-color);
}

.section-title.white::after {
    background: var(--white-color);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    height: 100%;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: var(--light-color);
}

.event-card {
    background: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.event-date {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 20px;
    text-align: center;
    position: relative;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.event-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    padding: 5px;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.event-meta span {
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.event-description {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: var(--secondary-gradient);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white-color);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta.primary {
    background: var(--white-color);
    color: var(--secondary-color);
}

.btn-cta.primary:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta.secondary {
    background: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
}

.btn-cta.secondary:hover {
    background: var(--white-color);
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: var(--white-color);
}

.main-footer {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo .logo-img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--gray-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.footer-contact i {
    color: var(--primary-light);
    margin-right: 15px;
    margin-top: 2px;
    width: 20px;
}

.widget-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-light);
}

.library-hours {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-light);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.day {
    color: var(--gray-light);
}

.time {
    color: var(--white-color);
    font-weight: 500;
}

.hours-note {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-note i {
    color: var(--accent-color);
    margin-right: 5px;
}

.newsletter-signup h6 {
    margin-bottom: 10px;
    color: var(--white-color);
}

.newsletter-form .input-group {
    margin-top: 15px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-light);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
    box-shadow: none;
    color: var(--white-color);
}

.social-section {
    background: var(--dark-light);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-content h5 {
    margin-bottom: 5px;
    color: var(--white-color);
}

.social-content p {
    color: var(--gray-light);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-light);
    color: var(--white-color);
    transform: translateY(-2px);
}

.social-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.social-link.facebook:hover { background: #1877f2; }
.social-link.instagram:hover { background: #e4405f; }
.social-link.linkedin:hover { background: #0077b5; }
.social-link.youtube:hover { background: #ff0000; }
.social-link.twitter:hover { background: #1da1f2; }

.bottom-footer {
    background: var(--dark-color);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.copyright p {
    margin: 0;
    color: var(--gray-light);
}

.footer-menu {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-menu a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--primary-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white-color);
}
