:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-color: #2c3e50;
    --light-text: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Navbar styling */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Card styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

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

.card-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem;
}

.card-title {
    margin-bottom: 0;
    font-weight: 600;
}

/* Button styling */
.btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

/* Form styling */
.form-control {
    border-radius: 5px;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Table styling */
.table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 500;
    border: none;
}

.table td {
    vertical-align: middle;
}

/* Event styling */
.event {
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.event p {
    line-height: 1.5;
}

/* Event carousel styling */
#eventCarousel {
    border-radius: 8px;
    overflow: hidden;
}

#eventCarousel .carousel-item {
    transition: transform .6s ease-in-out;
}

#eventCarousel .event {
    min-height: 200px;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    margin: 0;
}

#eventCarousel .carousel-control-prev,
#eventCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

#eventCarousel .carousel-control-prev {
    left: 10px;
}

#eventCarousel .carousel-control-next {
    right: 10px;
}

#eventCarousel .carousel-control-prev:hover,
#eventCarousel .carousel-control-next:hover {
    opacity: 1;
}

#eventCarousel .carousel-control-prev-icon,
#eventCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Login page styling */
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Dashboard stats */
.stats-card {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Banner styles */
.banner-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.banner-container:hover .banner-image {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

/* School images styles */
.school-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .school-image {
    transform: scale(1.05);
}

.card {
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

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

.card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* About section styles */
.about-section {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.about-section .card-title {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.about-section .card-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.about-section .lead {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.about-section p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-section strong {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
white;
}

.sidebar-card .list-group-item i {
    margin-right: 10px;
}

.stat-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .display-4 {
    font-size: 2.5rem;
}

.stat-card h2 {
    font-size: 2rem;
    font-weight: 600;
}

.stat-card h6 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Table styles */
.table-hover tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
over {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
