/* @import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&display=swap'); */

body {
    background-color: #F5F5F5;
    font-family: 'SolaimanLipi', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    box-sizing: border-box;
}

@font-face {
    font-family: 'SolaimanLipi';
    src: url('fonts/SolaimanLipi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
    font-size: 18px;
}


/* .w-default {
    max-width: 80%;
    margin: 0 auto;
    background-color: #F5F5F5;
    box-shadow: 1px 1px 8px 0 rgb(26, 23, 22);
} */

.navbar-nav .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: gray !important;
}

.nav-item {
    font-size: 18px;
    color: white;
    font-family: 'SolaimanLipi', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.bg-color {
    background-color: green;
    color: white;
}

.primary-header-bg {
    background-color: #006A4E;
}

.heading {
    width: 100%;
}

.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

header>span {
    display: none;
}

.header-bg {
    position: relative;
    background-image: url('../image/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    z-index: 1;
    height: 200px;
}

.header-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(180, 175, 175, 0.5);
    z-index: -1;
}

.school-logo {
    max-height: 100px;
    position: absolute;
    left: 100px;
    top: 50px;
    z-index: 2;
    filter: drop-shadow(5px 5px 5px white);
}

.header-eiin {
    position: absolute;
    right: 50px;
    bottom: 10px;
    z-index: 2;
    backdrop-filter: blur(5px);
}

@media (max-width:1100px) {
    .school-logo {
        display: none;
    }
}

.dropdown-bg:hover {
    background-color: #0a4d04;
    color: white;
}

.dropdown-bg {
    font-size: 14px;
}

.principal-img {
    height: 300px;
    max-width: 90%;
    border-radius: 3px;
}

.primary-a {
    text-decoration: none;
    color: #007bff;
    &:hover {
        text-decoration: underline;
        color: red;
    }
}

.slider-img {
    height: 460px;
    object-fit: cover;
    ;
    border: 1px solid #0a4d04;
}

.news-label {
    background-color: #00695c;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-weight: bold;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    width: 180px;
}

.news-label::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 15px solid #00695c;
}

.scroll-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.school_short_description {
    text-align: justify;
    text-justify: inter-word;
}

.headline-bg {
    background-color: #D0E0DC;
}

.notice-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 5px;
    border-radius: 5px;
    &:hover {
        color: rgb(0, 0, 0);
        background-color: rgba(226, 112, 112, 0.295);
    }
}

.notice-link>h6 {
    text-align: justify;
}

.about-page-p {
    text-align: justify;
    padding-top: 20px;
}

.min-container {
    width: 96vw;
    margin: 0 auto;
    overflow-x: hidden;
}

@media (min-width: 600px) {
    .min-container {
        width: 85vw;
        margin: 0 auto;
        overflow-x: hidden;
    }
}

.footer-a {
    font-size: 17px;
    color: white;
    text-decoration: none;
    &:hover {
        color: rgba(241, 83, 21, 0.986);
    }
}

.footer-service>ul {
    list-style: none;
}

.fa-angle-double-right {
    margin-right: 10px;
}


/* for animation */

.headline-bg {
    height: 40px;
    background-color: rgba(216, 216, 216, 0.795);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.animated-div {
    white-space: nowrap;
    display: inline-block;
    margin: 10px;
    animation: badhon 20s linear infinite;
}

@keyframes badhon {
    0% {
        transform: translateX(230%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.teacher-panel-image {
    height: 250px;
    width: 250px;
    object-fit: cover;
}

.gallery-bg {
    background-color: #FFFFFF;
    overflow: hidden;
    cursor: pointer;
    &:hover {
        border: 1px solid #006A4E;
    }
}

.galler-img {
    border-radius: 5px;
}

.ie-list-margin {
    height: 100px;
    width: 100px;
    background-color: red;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100%;
}

.ie-list-margin {
    display: flex;
    flex-direction: column;
}

.list_info_span {
    color: green;
    font-weight: bold;
}


/* Smooth dropdown animation */

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}


/* Initial hidden state */

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
    margin-top: 0;
    /* override Bootstrap's spacing */
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    background-color: #fff;
    /* optional, override if needed */
    z-index: 1000;
}


/* Stylish table header */

.table-header {
    background: linear-gradient(to right, #0d6efd, #198754);
    /* Blue to green gradient */
}


/* Table body styling */

.stylish-table tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.stylish-table tbody tr:hover {
    background-color: #f1f1f1;
    transform: scale(1.01);
}


/* Table cells */

.stylish-table th,
.stylish-table td {
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
}


/* Shadow and border radius */

.stylish-table {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}


/* Stylish table header */

.table-header {
    background: linear-gradient(to right, #0d6efd, #198754);
    /* Blue to green gradient */
}


/* Table body styling */

.stylish-table tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.stylish-table tbody tr:hover {
    background-color: #f1f1f1;
    transform: scale(1.01);
}


/* Table cells */

.stylish-table th,
.stylish-table td {
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
}


/* Shadow and border radius */

.stylish-table {
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
}


/* Custom service item colors (non-Bootstrap) */

.bg-teal {
    background-color: #20c997;
}

.bg-orange {
    background-color: #fd7e14;
}

.bg-pink {
    background-color: #e83e8c;
}

.bg-indigo {
    background-color: #6610f2;
}

.bg-cyan {
    background-color: #17a2b8;
}


/* Service Box Styles */

.service-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    height: 100%;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-box i {
    font-size: 30px;
    margin-bottom: 10px;
}

.service-box span {
    font-size: 16px;
    font-weight: 500;
}

.service-box:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}

.teacher-profile .card {
    background: #ffffff;
    border-radius: 20px;
}

.teacher-profile h4 {
    font-size: 24px;
}

.teacher-profile .text-justify {
    text-align: justify;
}

.teacher-profile a {
    color: #007bff;
    text-decoration: none;
}

.teacher-profile a:hover {
    text-decoration: underline;
}

.table th,
.table td {
    vertical-align: middle;
    font-size: 14px;
}

.table a {
    text-decoration: none;
    color: #007bff;
}

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

.login-container {
    width: 350px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    text-align: center;
    margin-bottom: 20px;
}

.logo-placeholder img {
    max-width: 100%;
    height: auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f4f8;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #007bff;
    /* Bootstrap primary blue */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-group select:focus {
    border-color: #007bff;
    /* Bootstrap primary blue */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f4f8;
    box-sizing: border-box;
    appearance: none;
}

.login-button {
    width: 100%;
    padding: 10px;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.login-button:hover {
    background-color: #0056b3;
}

.login-logo {
    width: 50%;
    border-radius: 100%;
}

.social-icon {
    background-color: #006A4E;
    color: white !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.principal-img {
    height: 300px;
}

.table-botton-total {
    background-color: rgba(240, 232, 196, 0.295);
    color: #000;
    text-align: end;
}

.table-header-bg {
    background-color: #006A4E !important;
    color: white !important;
    font-size: 18px !important;
    padding: 10px 20px !important;
}

td {
    padding: 5px 20px !important;
    font-size: 15px !important;
}

th {
    padding: 5px 20px !important;
    font-size: 15px !important;
}

.table-img-logo {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
}

@media (min-width:1000px) {
    .headmaster-cart {
        max-width: 300px;
        margin: 0 auto;
    }
}

.headmaster-buttom-title {
    background-color: #D0E0DC;
    padding-top: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    &:hover {
        background-color: #adb9b6;
    }
}

.sticky-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    /* Ensure it stays on top of other content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.3s ease-in-out;
    background-color: #006A4E;
    width: 85vw;
    margin: 0 auto;
    padding: 6px 0;
}


/* Optional animation for smooth appearance */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}