﻿/* Main Styles for Eduplus School and College Website */

:root {
    --primary-color: #3b758c;
    --secondary-color: #1a6373;
    --success-color: #88b0bf;
    --accent-color: #074a59;
    --info-color: #1a6373;
    --warning-color: #e6c068;
    /* --danger-color: #1a6373; */
    --danger-color: #E6EEF4;
    --body-bg: #ffffff;
    --transition: all 0.3s ease;
    --deep-danger:#D5E2EB;
}
body {
    font-family: "Noto Sans Bengali", sans-serif;
    color: var(--bs-emphasis-color);
    background-color: var(--body-bg);
    line-height: 1.5;
    font-size: 16px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bs-emphasis-color);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1;
}

h1 { font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.75rem;}
h4 {font-size: 1.5rem;}
h5 {font-size: 1.25rem;}
h6 {font-size: 1rem;}
a {
    text-decoration: none;
    transition: var(--transition);
}

.btn{
    background: #0078CF !important;
    text-align: center;
    border: 1px solid;
    border-color: #0078CF !important;
    height: auto;
    min-width: 3rem;
    font-size: 16px;
    color: #FFFFFF;
}
.notice-btn{
    font-size: 12px;
}
.btn:hover{
    background: #0078CF;
    background-image: linear-gradient(0deg, rgba(26, 26, 26, 0.15), rgba(26, 26, 26, 0.15), #0078CF);
    color: #FFFFFF;
}
a{
    color: var(--bs-emphasis-color);
    text-decoration: none;
}
a:hover {
    color: var(--hover-color);
}

.school-header {
    background-color: #f1f1f1;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.school-header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.school-name {
    color: var(--bs-emphasis-color);
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.notice-bar {
    background-color: var(--deep-danger);
    position: relative;
    z-index: 3;
}
.notice-label {
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    background-color: white;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-right: 0.5rem;
    height: 2rem;
    line-height: 2.2rem;
}

.notice-marquee {
    font-size: 0.9rem;
    padding: var(--spacing-xs) 0;
}
.notice-marquee .text-light{
    color: var(--bs-emphasis-color) !important;
}

.notice-marquee span {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
}

.notice-marquee i.fas {
    font-size: 0.5rem;
    margin-right: 0.25rem;
    color: #137acc; 
}
.notice-card {
            transition: all 0.2s ease-in-out;
            border: none;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .notice-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .border-event { border-left: 5px solid #137acc !important; }

        /* Calendar Date Box */
        .date-box {
            min-width: 65px;
            text-align: center;
            background-color: #137acc;
            border-radius: 6px;
            padding: 5px;
        }
        .date-box .month {
            font-size: 0.75rem;
            text-transform: uppercase;
            font-weight: 700;
            color: #ffffff;
        }
        .date-box .day {
            font-size: 1.4rem;
            font-weight: 700;
            color: #ffffff;
            line-height: 1;
        }

        /* Responsive adjustments */
        @media (max-width: 576px) {
            .notice-content {
                flex-direction: column;
                align-items: flex-start !important;
            }
            .notice-action {
                margin-top: 15px;
                width: 100%;
            }
            .notice-action .btn {
                width: 100%;
            }
        }
.school-logo {
    transition: var(--transition);
    filter: drop-shadow(0 0 6px #FFF9E6) drop-shadow(0 0 6px #FFF9E6) drop-shadow(0 0 2px #FFFBEA) drop-shadow(0 0 12px #FFFAF0) drop-shadow(0 0 12px #FFFAF0);
}

.school-logo:hover {
    transform: scale(1.05);
}

.school-motto {
    font-size: 1.2rem;
    color: var(--bs-emphasis-color);
    margin-top: 0.25rem;
    opacity: 0.9;
    margin-bottom: 0px;
}

/* navbar */
.navbar {
    padding: 0.5rem 0;
    background-color: var(--bs-white) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 8px;
    line-height: 1;
}
.navbar-nav .dropdown-menu {
    padding: 0.25rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 0.25rem;
    z-index: 5;
}

.navbar-nav .dropdown-item {
    padding: 0.25rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    color: var(--body-color);
}

.navbar-nav .dropdown-item:hover {
    /* background-color: #dee2e6; */
    text-decoration: none;
    color: rgb(0, 120, 207);
    transform: translateX(5px);
}

.navbar .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: white;
}

/* Carousel */
.carousel-inner {
    max-height: 500px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
}
.carousel-inner::after
 {
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(45, 118, 253, 0.16) 93%);
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
}
.carousel-item img {
    height: 500px; /* Fixed height */
    object-fit: cover; /* Crop image nicely */
    width: 100%;
}
.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: background-color 0.3s ease;
    color: #fff;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
}

.carousel-caption h5,
.carousel-caption p {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 0px;
}
.carousel-caption h5{
    font-size: 2rem;
}
.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary-color) !important;
    border: 1px solid #fff;
    margin: 0 5px;
    opacity: 1;
    transition: background-color 0.3s ease;
}
.carousel-caption{
    z-index:100;
}
.carousel-indicators .active {
    background-color: var(--danger-color) !important;
}
.notice-board {
    background-color: var(--danger-color);
}
.notice-board .card {
    border: none;
}

.notice-board .card-header {
    background-color: var(--danger-color);
    border-bottom: none;
}

.notice-board .card-header h5 {
    font-weight: bold;
    font-size: 18px;
    color: var(--bs-emphasis-color);
}

.notice-board .list-group-item {
    padding: 7px 6px;
}

.notice-board .list-group-item:hover {
   text-decoration: none;
    color: rgb(0, 120, 207);
}


/* Quick access */
.quick-links-box {
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Hover Effect */
.quick-links-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.quick-links-box i {
    font-size: 30px;
    margin-bottom: 15px;
    display: inline-block;
    background-color: #007ad0;
    width: 60px;
    height: 60px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* Heading Styling */
.quick-links-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Paragraph Styling */
.quick-links-box p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Button Styling */
.quick-links-box .btn {
    border-radius: 25px;
    font-size: 14px;
    padding: 6px 18px;
    font-weight: 500;
}

/* Section Title */
.section-title h2 {
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}


/* Leader  */

.leader img {
    height: 300px;
}

/* Welcome  */
.welcome-section h2 {
    font-family: "Noto Sans Bengali", sans-serif;
    margin-bottom: 20px;
}

.school-image-circle {
    width: 100%;
    height: 300px;
    object-fit: cover;
   filter: drop-shadow(-2px 4px 5px rgba(20, 118, 163, 0.233));
}

.footer-part {
    background-color: #ededed;
}

.footer-part .qclink,
.footer-part .link-item {
    color: var(--bs-emphasis-color);
}
.footer-part img {
    filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 6px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 12px #fff) drop-shadow(0 0 12px #fff);
}

.speech-image-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}
.section-title p {
    color: #555;
    margin: 0;
}
.circle-img {
    width: 140px;
    height: 140px;
    border: 2px solid #fff;
    display: block;
    border-radius: 10px;
}
.speech-text-box {
    background: #fff;
    padding: 1.25rem 1rem;
    border-radius: 14px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.08);
}
.designation {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}
.speech-text {
    margin-top: 0.5rem;
    line-height: 1.55;
    color: #333;
}
@media (max-width: 991px) {
    .speech-row {
        flex-direction: column !important;
        text-align: left !important;
    }
    .speech-text-box {
        margin-top: 0.5rem;
    }
    .flex-row-reverse {
        flex-direction: column !important;
    }
}
.teacher-speeches
{
    background-color: #f1f1f1;
}
  .teacher-img {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            border: 8px double #0078CF;
        }

        .teacher-name {
            font-size: 26px;
            font-weight: 700;
            color: #1a1a1a;
            margin-top: 18px;
            margin-bottom: 5px;
        }

        .teacher-designation {
            font-size: 14px;
            color: #666;
            margin-bottom: 25px;
        }

        .speech-text {
            font-size: 15px;
            line-height: 1.9;
            color: #333;
            text-align: justify;
            margin-bottom: 16px;
        }

.speech-row {
    display: flex;
    gap: 1rem;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    background: #fff;
}
.speech-row p {
    text-align: justify;
}
.odkh-img {
    width: 140px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.stats-section {
    background-color: #f5f8fb;
}
.stat-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}
.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
}
.stat-label {
    margin-top: 6px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.quick-links-box {
    background-color: #ffffff;
    color: var(--bs-emphasis-color);
}
.hide-on-sm {
    height: 120px;
}
.navbar-brand img {
    filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 6px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 12px #fff) drop-shadow(0 0 12px #fff);
}

/*-------------- Added Css ----------------*/
.animate {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.animate.visible {
    opacity: 1;
}
.nGY2 .nGY2ViewerAreaNext > i, .nGY2 .nGY2ViewerAreaPrevious > i {
    Text-Shadow: none !important; 
    background: transparent !important;
}
.contact-info {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
.contact-info-icon {
    margin-bottom: 15px;
}
.contact-info-item {
    background-color: var(--primary-color);
    padding: 30px 0px;
}
.contact-page-sec .contact-page-form h2 {
    text-transform: capitalize;
    font-size: 24px;
    text-align: center;
}
.contact-page-form.contact-form input {
    margin-bottom: 5px;
}
.contact-page-form.contact-form textarea {
    height: 110px;
}
.contact-page-form.contact-form input[type="submit"] {
    background: #071c34;
    width: 150px;
    border-color: #071c34;
}
.contact-info-icon i {
    font-size: 48px;
    color: var(--bs-white);
}
.contact-info-text p {
    margin-bottom: 0px;
}
.contact-info-text h2 {
    color: #fff;
    font-size: 22px;
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-info-text span {
    color: var(--bs-white);
    font-size: 16px;
    display: inline-block;
    width: 100%;
}
.contact-page-form input {
    border: 1px solid #147ccd;
    margin-bottom: 20px;
    padding: 12px 16px;
    width: 100%;
    border-radius: 4px;
}
.contact-page-form .message-input {
    display: inline-block;
    width: 100%;
}
.single-input-field textarea {
    border: 1px solid #147ccd;
    width: 100%;
    height: 120px;
    padding: 12px 16px;
    border-radius: 4px;
}
.single-input-fieldsbtn input[type="submit"] {
    display: inline-block;
    font-weight: 600;
    padding: 10px 0 5px 0;
    width: 150px;
    margin-top: 20px;
    font-size: 16px;
}
.single-input-fieldsbtn input[type="submit"]:hover {
    background: var(--secondary-color);
    transition: all 0.4s ease-in-out 0s;
    border-color: var(--secondary-color);
}
.single-input-field h4 {
    color: #464646;
    text-transform: capitalize;
    font-size: 14px;
}
.contact-page-form {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.contact-page-map {
    margin-top: 36px;
    filter: drop-shadow(-2px 4px 5px rgba(20, 118, 163, 0.233));
}
.contact-page-form form {
    padding: 20px 0px;
}
.accordion {
    color: var(--bs-dark);
}
.accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background-color: var(--success-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}
.accordion-button:focus {
    z-index: 3;
    border-color: #88b0bf;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(136, 176, 191, 0.5);
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23074a59'%3e%3cpath d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8z'/%3e%3c/svg%3e");
    transform: none;
}
.accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23074a59'%3e%3cpath d='M8 1a.5.5 0 0 1 .5.5v6.5h6.5a.5.5 0 0 1 0 1H8.5v6.5a.5.5 0 0 1-1 0V9.5H1a.5.5 0 0 1 0-1h6.5V1.5A.5.5 0 0 1 8 1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}
.teachers-card {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.teachers-card:hover {
    transform: translateY(-5px);
}
.teachers-card .card-header {
    color: var(--accent-color);
    background-color: var(--success-color);
    padding: 1rem;
    position: relative;
}
.teachers-card .toggle-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
}
.teachers-card .card-body {
    display: none;
    background: #fff;
    padding: 1rem;
}
.teachers-card .card-body {
    display: none;
    background: #fff;
    padding: 1rem;
}
.fd-body {
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.fd-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgb(0 0 0 / 0.1);
    text-decoration: none;
    color: #212529;
    width: 100%;
    padding: .75rem;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
}
.fd-card:hover, .fd-card:focus {
    box-shadow: 0 0 15px var(--accent-color);
    outline: none;
    color: var(--accent-color);
}
.fd-icon, .fdimg-icon {
    font-size: 2rem;
    line-height: 1;
}
.fd-title {
    font-weight: 500;
    text-transform: capitalize;
}
@media (max-width: 991px) {
    .footer-part img {
        max-width: 150px;
        margin-bottom: 1rem;
    }
}
.our-webcoderskull .cnt-block {
    background: #fff;
    padding: 15px 15px 0px 15px;
    text-align: center;
    filter: drop-shadow(-2px 4px 5px rgba(20, 118, 163, 0.233));
    margin: 0 0 28px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}
.our-webcoderskull .cnt-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.our-webcoderskull .cnt-block figure {

    border-radius: 100%;
    margin: 0 auto 15px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.our-webcoderskull .cnt-block img {
    width: 125px;
    height: 125px;
    border-radius: 100%;
    object-fit: cover;
    border: 4px double #0078CF;
}
.our-webcoderskull .cnt-block h3 {
    color: var(--bs-emphasis-color);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 5px;
}
.our-webcoderskull .cnt-block p {
    font-size: 13px;
    margin-bottom: 0px;
}