

/* color code */
/* #00086e
#bf252b */

/*---------------------------End carousel------------------------------ */

/* button css */
/* CSS */
.button-16 {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    cursor: pointer;
    font-family: arial, sans-serif;
    font-size: 14px;
    height: 36px;
    line-height: 27px;
    min-width: 54px;
    padding: 0 16px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: pre;
    border-radius: 10px;
    margin-top: 20px;
}

.button-16:hover {
    border-color: #dadce0;
    box-shadow: rgba(0, 0, 0, .1) 0 1px 1px;
    color: #202124;
}

.button-16:focus {
    border-color: #4285f4;
    outline: none;
}

/* notification strip css */
.strip-container {
    position: relative;
    height: 50px;
    overflow: hidden;
}

.strip {
    position: relative;
    width: 100%;
    height: 50px;
    background-color: #bf252b;
    font-size: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.notification-container {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    animation: notification-animation 30s linear infinite;
}

.notification {
    padding: 0 10px;
    color: #ffffff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.notification-container:hover {
    animation-play-state: paused;
}

@keyframes notification-animation {
    0% {
        transform: translateX(100%);
    }

    40% {
        transform: translateX(-90%);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* ========================= about css ============================== */

.about-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px
}

.about-box h2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-box h3 {
    font-size: 24px;
    margin-top: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-box p {
    margin-top: 40px;
    margin-right: 30px;
    margin-left: 30px;
    font-size: 18px;
    line-height: 1.5;
    text-align: justify
}

.school-image {
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
    /* to hide the image overflow if it goes outside the container */
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    width: 90%;
    /* added width to the container for better positioning of the image */
    margin: 0 auto;
}

.school-image img {
    display: block;
    width: 100%;
    /* changed to 100% to fill the container */
    height: auto;
    border-radius: 5px;
    /* added border radius to the image for a rounded effect */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* added box shadow to the image as well */
}

.about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    /* Add padding to the top and bottom */
}

.about-logo img {
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
}



/* ==========================Administrators css============================== */
.administration-section {
    padding: 50px 0;
    background-color: #f7f7f7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container h2 {
    font-size: 24px;
    margin-top: 5px;
    font-weight: bold;
    margin-bottom: 20px;
}

.admin-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.admin-image {
    margin: 0 20px 50px;
    text-align: center;
}

.admin-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 2%;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;

}

.admin-image input[type="file"] {
    display: none;
}

.admin-image p {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
}

.admin-text {
    margin-top: 50px;
    text-align: justify;
}

.admin-text p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.admin-image img {
    transition: all 0.5s ease;
}

.admin-image img:hover {
    transform: scale(1.05);
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}




/* =========================staff css============================= */

.card-body {
    padding: 10px;
    text-align: center;
}

.card-body h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 16px;
    margin-bottom: 10px;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}



/* =========================handbook css============================= */
.custom-card {
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-card:hover {
    transform: scale(1.05);
}

/* Style for the custom card body */
.custom-card-body {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Style for the custom card title */
.custom-card-title {
    font-size: 20px;
    margin: 15px 0;
    background-color: #000;
    color: #fff;
    border-radius: 40px 0 40px 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    margin: 5px;
    padding: 10px;
}

/* Style for the custom card text */
.custom-card-text {
    font-size: 16px;
    margin-bottom: auto;
}

/* Style for the custom card icon */
.custom-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    height: 100px;
}

/* Style for the custom card link */
.custom-card-link {
    display: block;
    width: 40%;
    background-color: #686868;
    color: #fff;
    text-align: center;
    padding: 5px 0px;
    border-radius: 30px;
    transition: all 0.3s ease;
    transition: transform 0.3s ease;
    margin: 15px auto;
    font-weight: bold;
}

.custom-card-link:hover {
    background-color: #bf252b;
    text-decoration: none;
    transform: scale(1.2);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
}


/* =========================rules css============================= */

.about-box .accordion li {
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 5px;
    margin: 5px;
}

.about-box .accordion li:hover {
    font-size: 2.2rem;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    transform: translate(5px, -5px);
    border-radius: 10px;
}

.accordion li {
    font-size: 26px;
    /* or any other size you prefer */
    text-align: justify;
}

/* =========================toppers css============================= */

/* Accordion styles */
.accordion-button:focus {
    box-shadow: none;
}

.accordion-item {
    margin-bottom: 1rem;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

/* Card styles */
.card {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Pagination styles */
.pagination {
    margin-top: 4rem;

}

.page-item.active .page-link {
    background-color: #212529;
    border-color: #f1f1f1;
}

.page-link {
    color: #333;
}

.page-link:hover {
    text-decoration: none;
    background-color: #eee;
    border-color: #ddd;
}

/* =========================toppers css============================= */


.container {
    text-align: center;
}

h2 {
    margin-top: 22px;
    font-size: 3em;
    color: #444;
    text-shadow: 2px 2px #eee;
    transition: all 0.3s ease;
    cursor: pointer;
}

h2:hover {
    text-shadow: 4px 4px #eee;
    transform: scale(1.05);
}

.card-img-top {
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.card-img-top:hover {
    width: 110%;
    /* height: 110%; */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .card-img-top {
        height: 400px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: none;
    padding: 20px;
    border: none;
    width: auto;
    height: auto;
    box-shadow: none;
    animation-name: animatetop;
    animation-duration: 0.4s;
}



/* Add Animation */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
        box-shadow: none;
    }

    /* Start from top and no shadow */
    to {
        top: 0;
        opacity: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    /* End at center and add shadow */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}