:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #f39c12;
    --text-color: #333;
    --admin-bg-color: #f0f4f8;
    --admin-card-bg: #ffffff;
    --admin-form-bg: #e6eef8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
    display: flex;
    align-items: center;
}

.nav-link {
    color: rgba(255,255,255,.8) !important;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
    background-color: var(--secondary-color);
    border-radius: 4px;
}

.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 20px;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    margin-top: 40px;
}

.card {
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.staff-card {
    text-align: center;
}

.staff-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.notice-card {
    border-left: 4px solid var(--accent-color);
}

.notice-date {
    color: var(--secondary-color);
    font-weight: bold;
}

.gallery-item {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.admin-panel {
    display: none;
    background-color: var(--admin-bg-color);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.admin-form {
    background-color: var(--admin-form-bg);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.admin-form .card {
    background-color: var(--admin-card-bg);
}

.btn-admin {
    background-color: var(--secondary-color);
    color: white;
    margin-right: 10px;
}

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

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.contact-info {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.attachment {
    margin-top: 10px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.attachment a {
    color: var(--secondary-color);
    text-decoration: none;
}

.attachment a:hover {
    text-decoration: underline;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.btn-delete:hover {
    background-color: #c0392b;
}

.file-preview {
    margin-top: 10px;
    max-height: 150px;
    overflow: hidden;
}

.file-preview img {
    max-width: 100%;
    max-height: 150px;
}

/* Admin panel specific styles */
.nav-tabs .nav-link {
    color: var(--primary-color) !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin-right: 15px;
}

.nav-tabs .nav-link.active {
    color: var(--secondary-color) !important;
    border-bottom: 2px solid var(--secondary-color) !important;
    font-weight: bold;
}

.nav-tabs .nav-link:hover {
    border-bottom: 2px solid var(--accent-color) !important;
}

.tab-content {
    background-color: var(--admin-card-bg);
    padding: 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(41, 128, 185, 0.25);
}

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

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
/* Message section styles */
.message-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
}

.message-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.message-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.message-content p {
    margin-bottom: 15px;
}

.message-content strong {
    color: var(--primary-color);
}

/* Responsive adjustments for message sections */
@media (max-width: 768px) {
    .message-image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .message-title {
        text-align: center;
        width: 100%;
    }
}

/* Notifications card styles */
.notifications-card {
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notifications-card .card-header {
    border-radius: 5px 5px 0 0 !important;
}

.notification-item {
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none !important;
}

.notification-item h6 {
    color: var(--primary-color);
    font-weight: 600;
}

.notification-item small {
    font-size: 0.75rem;
}

/* Responsive adjustments for notifications */
@media (max-width: 768px) {
    .notifications-card {
        margin-top: 20px;
    }
}