/* Base Styles */
:root {
    --primary-color: #304674;
    --secondary-color: #ff6b6b;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --white-color: #fff;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
/* 	padding-bottom: 1rem; */
	margin-bottom: 0;
/*     margin-bottom: 1rem; */
}

p {
	padding-bottom: 1rem;
	margin-bottom: 0;	
/*     margin-bottom: 1rem; */
/* 	text-align: justify; */
}

/* img {
    max-width: 100% !important;
    height: auto !important;
} */

/* Header Top - SMANJENA VISINA */
.site-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.3rem 0;
    font-size: 0.85rem;
}

.site-header a {
    color: var(--white-color);
}

.site-header a:hover {
    color: var(--secondary-color);
}

.social-icon {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icon-item {
    margin-left: 1rem;
}

.social-icon-link {
    color: var(--white-color);
    font-size: 1rem;
}

.social-icon-link:hover {
    color: var(--secondary-color);
}

/* Navigation - POVEĆAN LOGO I TEKST */
.navbar {
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.5rem 0;
    margin-right: 1rem;
}

.navbar-brand img {
    max-height: 50px;
    margin-right: 1rem;
    width: auto;
}

.navbar-brand span {
    display: block;
    line-height: 1.3;
    font-size: 1.3rem;
}

.navbar-brand small {
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.75rem 1rem !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
}

/* Custom Button */
.custom-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn.custom-border-btn {
    background-color: transparent;
    color: var(--primary-color);
}

.btn.custom-border-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Hero Section */
.hero-slider {
    position: relative;
    margin-bottom: 40px;
}

.hero-slider .carousel-item {
    height: 50vh; /* 80vh */
    min-height: 500px;
}

.hero-slider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.6);
}

.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}

.hero-slider h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-slider .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-slider .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    background-color: #304674;
    border-color: #304674;
}

.hero-slider .btn:hover {
    background-color: #233556;
    border-color: #233556;
}

/* Indikatori */
.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(255,255,255,0.5);
    border: none;
}

.hero-slider .carousel-indicators button.active {
    background-color: #304674;
}

/* Section Padding */
.section-padding {
    padding: 3rem 0; /* 5rem 0 */
}

/* Aktuelnosti Section */
.news-thumb {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-thumb:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Subtle "Read More" link */
.news-thumb .custom-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.news-thumb .custom-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: none;
    box-shadow: none;
}

/* Ili još suptilnija verzija sa tekstualnim linkom */

.news-thumb .read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.news-thumb .read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.news-thumb .read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-thumb .read-more:hover i {
    transform: translateX(3px);
}


.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-info {
    padding: 1.5rem;
}

.news-date {
    display: block;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.news-title-link {
    color: var(--dark-color);
}

.news-title-link:hover {
    color: var(--primary-color);
}

/* News Category Label - Updated version */
/* .news-category {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    min-width: 100px;
    text-align: center;
} */

.news-category {
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Different colors for different categories */
.news-category[data-category="pozorište"] {
    background-color: #8e24aa; /* Purple for theater */
}

.news-category[data-category="izložba"] {
    background-color: #1e88e5; /* Blue for exhibitions */
}

.news-category[data-category="film"] {
    background-color: #e53935; /* Red for films */
}

.news-category[data-category="književnost"] {
    background-color: #43a047; /* Green for literature */
}

.news-category[data-category="muzika"] {
    background-color: #546e7a; /* Orange for music #fb8c00 */
} 

.news-category[data-category="radionica"] {
    background-color: #546e7a; /* Blue-gray for workshops */
}

.news-thumb:hover .news-category {
    transform: translateY(-3px);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.3);
}

/* Programs Section */
.program-thumb {
    padding: 2rem 1rem;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.program-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.program-thumb h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Events Calendar */
.event-calendar {
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem;
    text-align: center;
}

.calendar-body {
    position: relative;
    padding: 1rem;
    overflow: visible;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    position: relative;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 500;
    margin-bottom: 1rem;
}

.calendar-days div {
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.empty-day {
    visibility: hidden;
}

/* Event Date Styles - Updated */
.event-date {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.2;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
}

.event-day {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    cursor: pointer; /* Change to hand cursor */
    position: relative; /* For tooltip positioning */	
}

.event-day:hover {
    background-color: #233556; /* Darker shade on hover */
}

.event-day:hover .event-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Event Tooltip Styles - Final Version */
.event-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    z-index: 1000;
    min-width: 200px;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center;
    pointer-events: none; /* Prevent tooltip from interfering with hover */
}

/* Adjust tooltip position for edge cases */
.event-day:nth-child(7n+1) .event-tooltip,
.event-day:nth-child(7n+2) .event-tooltip {
    left: -30px;
    transform: translateX(0);
}

.event-day:nth-child(7n+6) .event-tooltip,
.event-day:nth-child(7n+7) .event-tooltip {
    left: auto;
    right: -30px;
    transform: translateX(0);
}

.event-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-color) transparent transparent transparent;
}

/* Adjust arrow position for edge cases */
.event-day:nth-child(7n+1) .event-tooltip::after,
.event-day:nth-child(7n+2) .event-tooltip::after {
    left: 20px;
}

.event-day:nth-child(7n+6) .event-tooltip::after,
.event-day:nth-child(7n+7) .event-tooltip::after {
    left: auto;
    right: 20px;
}

/* Upcoming Events */
.upcoming-events {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.event-list {
    margin-top: 1.5rem;
}

.event-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.event-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.event-date {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.event-info h4 a {
    color: var(--dark-color);
}

.event-info h4 a:hover {
    color: var(--primary-color);
}

.event-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
}

.gallery-item {
    padding: 0.5rem;
}

.gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.gallery-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(78, 42, 132, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-link:hover::after {
    opacity: 1;
}

.gallery-link img {
    transition: all 0.5s ease;
}

.gallery-link:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact-info {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 30px;
}

.day {
    font-weight: 500;
    min-width: 150px;
}

.time {
    color: var(--gray-color);
	padding-left:10px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 42, 132, 0.25);
    outline: none;
}

.contact-form button {
    width: 100%;
}

/* Map Section */
.map-section {
    position: relative;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3rem 0 1.5rem;
}

.site-footer-title {
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    column-count: 1;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.site-footer-link {
    color: var(--white-color);
}

.site-footer-link:hover {
    color: var(--secondary-color);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

/* Desktop meni sa hover efektima */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        position: relative;
        margin: 0 0.25rem;
    }
    
    .navbar-nav .nav-item:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 0;
    }
}

/* Optimizacija za rezolucije ispod 1200px */
@media (max-width: 1199.98px) {
    .navbar-brand {
        max-width: 240px;
        margin-right: 0;
    }
    
    .navbar-collapse {
        flex-basis: auto;
    }
    
    .navbar-nav {
        margin-left: auto;
        padding-right: 0;
    }
    
    .navbar-brand span,
    .navbar-brand small {
        white-space: normal;
    }
}

/* Mobilni meni */
@media (max-width: 991.98px) {
    .navbar-brand {
        max-width: none;
        margin-right: auto;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .dropdown-menu {
        background-color: rgba(0,0,0,0.05);
        border: none;
        margin: 0.5rem 0 0 1rem;
        padding: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 1.5rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-slider h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider .lead {
        font-size: 1.2rem;
    }
    
    .hero-slider .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-slider h1 {
        font-size: 1.8rem;
    }
    
    .site-header p {
        margin-bottom: 0.5rem;
    }
    
    .social-icon {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
    
    .social-icon-item {
        margin-left: 0;
        margin-right: 1rem;
    }
    
    /* Footer columns */
    .footer-links {
        column-count: 1;
    }
    
    .navbar-brand {
        max-width: 160px;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
    
    .navbar-brand small {
        font-size: 0.6rem;
    }
}

/* Notification Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.notification {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.5s ease-out forwards;
    transform: translateX(120%);
}

.notification.success {
    background-color: #28a745;
    border-left: 5px solid #218838;
}

.notification.error {
    background-color: #dc3545;
    border-left: 5px solid #c82333;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 15px;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
    }
}

.notification.hide {
    animation: slideOut 0.5s ease-in forwards;
}

/* Calendar Actions Styles */
.calendar-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Expanded Events Styles */
.event-list.expanded {
    max-height: none;
    overflow: visible;
}

.event-list.expanded .event-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#show-all-events.hidden {
    display: none;
}
div:has(table){
	padding:5px 0 5px 0;
}
ul:not(.social-icon), ol {
    margin: 20px 0 !important;
    padding-left: 40px !important;
}
ul.dropdown-menu{
    margin: 10px 0 !important;
/*     padding-left: 10px !important; */
	padding:8px 4px 8px 8px !important;
}
table {
    border-collapse: separate !important;
    border-spacing: 0 !important; /* Eliminiše razmak između ćelija */
    padding: 1rem 0 !important;
}

table th,
table td {
    border-width: 1px 1px 0 0 !important;
/*     border-right: none !important;
    border-bottom: none !important; */
}

table td:first-child,
table th:first-child {
    border-left-width: 1px !important;
}

table td:last-child,
table th:last-child {
    border-right-width: 1px !important;
}

table tr:last-child td {
    border-right-width: 1px !important;
	border-bottom-width: 1px !important;
}

        .mission-vision {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 40px;
        }
        
        .mission-vision h3 {
            color: #304674;
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }
        
        .mission-vision h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: #ff6b6b;
        }
		
        .info-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 25px;
            margin-bottom: 30px;
            height: 100%;
            transition: all 0.3s ease;
        }
        
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .info-card h3 {
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }
        
        .info-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
        }
        
        .info-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        
        .info-table tr:nth-child(even) {
            background-color: #f6f6f6;
        }
        
        .info-table th, .info-table td {
            padding: 12px 15px;
            text-align: left;
            vertical-align: top;
            border: none;
        }
        
        .info-table th {
            color: var(--primary-color);
            font-weight: 500;
            width: 30%;
        }
        
        .info-table td {
            color: var(--dark-color);
        }

        .art-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .art-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }
        
        .art-card img {
            height: 220px;
            object-fit: cover;
            width: 100%;
        }
        
        .art-card-body {
            padding: 2rem;
        }

        .artist-card {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .artist-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid var(--primary-color);
            margin: 0 auto 1rem;
        }

.service-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.membership-card {
    border-left: 5px solid #304674;
    transition: all 0.3s ease;
    height: 100%;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.membership-card .card-header {
    background-color: #304674;
    color: white;
}		

        .library-feature {
            display: flex;
            margin-bottom: 2rem;
        }
        
        .library-feature-icon {
            flex-shrink: 0;
            width: 60px;
            height: 60px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-right: 1.5rem;
        }
        
        .library-feature-content h4 {
            margin-bottom: 0.5rem;
        }
		
		.section-card {
            background-color: var(--white-color);
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
            border-left: 4px solid var(--primary-color);
        }
		
        .art-quote {
            background-color: var(--primary-color);
            color: white;
            padding: 2.5rem;
            border-radius: 10px;
            position: relative;
        }
        
        .art-quote::before {
            content: '"';
            font-size: 5rem;
            position: absolute;
            top: 0;
            left: 2rem;
            opacity: 0.2;
            font-family: serif;
        }
        
        .art-quote p {
            font-size: 1.2rem;
            font-style: italic;
            position: relative;
        }
        
        .art-quote .author {
            font-weight: bold;
            margin-top: 0.5rem;
            font-style: normal;
        }		
		
        .visitor-testimonial {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border-left: 4px solid #4e73df;
        }
        .testimonial-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }
figure {
    position: relative;
    display: inline-block; /* Wraps tightly around the image */
    margin: 0 0 20px 0; /* Remove default figure margins */
}
figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: white;
    padding: 2px 8px;
    font-size: 14px;
    line-height: 1.2;
}
