:root {
    --primary-color: #199145;
    --secondary-color: #8bc643;
    --dark-color: #0d5c2c;
    --light-color: #F1F1F1;
    --accent-color: #ff6b35;
    --bg-card: #e0e0e0;
    --text-dark: #333;
}

body {
    font-family: 'Kalpurush', sans-serif;
    color: #333;
    background: url('./../images/bg_main.gif');
    background-position: center;
}

.container{
    background: #fff;
}



.bg-card{
    background: var(--bg-card) !important;
}

.bg-primary{
    background-color: var(--dark-color) !important;
}

.bg-theme{
    background-color: var(--primary-color) !important;
}


.text-default{
    color: var(--dark-color) !important;
}


.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s;
}

.top-bar a:hover {
    color: var(--light-color);
    text-decoration: underline;
}

.header-content {
    padding: 20px;
    background: var(--dark-color);
    color: white;
}

.school-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.school-info {
    color: #e9f5e9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.search-box {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar {
    background-color: var(--primary-color);
    padding: 0;
}

.navbar .nav-link {
    color: white !important;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background-color: var(--dark-color);
}

.navbar .dropdown-menu {
    background-color: var(--dark-color);
    border: none;
    border-radius: 0;
}

.navbar .dropdown-item {
    color: white;
    padding: 10px 15px;
}

.navbar .dropdown-item:hover {
    background-color: var(--primary-color);
}

.content-section {
    padding: 25px 0px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--dark-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
}


.carousel-inner{
    height: 250px;
}

.news-ticker{
    background: var(--bg-card);
    margin: 5px 0px;
}

.notice-board {
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.notice-item {
    border-left: 3px solid var(--secondary-color);
    padding-left: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.notice-item:hover {
    border-left-color: var(--accent-color);
}

.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
}

.principal-card,
.president-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.principal-img,
.president-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    margin: 0 auto 15px;
}



.table-success th,
.table-success td {
    background-color: #d1e7dd; 
}


.btn-success {
    background-color: #198754;
    border-color: #198754;
}

/* Pagination links */
.pagination .page-link {
    color: #198754;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.pagination .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
}

.map-container {
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
    max-height: 450px; 
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* footer section */

.footer {
    background-color: var(--bg-card);
    color: var(--text-dark);
    padding: 30px 0 10px;
}

.footer-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

@media (max-width: 768px) {
    .school-name {
        font-size: 1.8rem;
    }

    .header-content {
        text-align: center;
    }

    .search-box {
        margin-top: 20px;
    }
}