/* styles copied from the shikkhaloy homepage */
/* Hide mobile-only contact group on desktop */
  @media (min-width: 769px) {
    .mobile-only {
      display: none !important;
    }
  }

  /* Show mobile-only contact group on mobile */
  @media (max-width: 768px) {
    .mobile-only {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    /* On mobile, if text logo is selected, hide email box */
    .sch-contact-group:not(.mobile-only) .display-none {
      display: none;
    }

    /* Style for contact group on mobile */
    .sch-contact-group {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    /* Adjust contact info box for mobile */
    .sch-info-box {
      min-width: 180px;
    }

    .sch-details span {
      font-size: 12px;
    }

    .sch-details b a {
      font-size: 14px;
    }
  }

  /* For desktop with text logo - normal display */
  @media (min-width: 769px) {
    .sch-contact-group:not(.mobile-only) {
      display: flex;
      align-items: center;
      gap: 20px;
    }
  }

@keyframes marqueeScroll {
              100% {
                margin-left: -6616px;
                /* adjust based on content */
              }
            }

@keyframes scrollUp {
        0% {
            transform: translateY(0);
        }

        100% {
            transform: translateY(-100%);
        }
    }

    .simplemarquee-wrapper {
        animation: scrollUp 50s linear infinite;
    }

.management-c-card {
        width: 100%;
        background: white;
        /* border-radius: 2px; */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: 2px solid #2d5a3d;
    }

    .card-header {
        background: #2d5a3d;
        color: white;
        padding: 5px;
        text-align: center;
        font-weight: 600;
        font-size: 14px;
        letter-spacing: 0.3px;
        /*   border-bottom: 1px solid #1a3325; */
        text-decoration: none;
        font-family: "Noto Sans Bengali" !important;
    }

    .card-body {
        padding: 16px;
        text-align: center;
        background: #fefefe;
        display: flex;
        gap: 15px;
    }

    .profile-image img {
        width: 140px;
        height: 132px;
    }

    .profile-image {
        width: 140px;
        height: 145px;
        padding: 5px;
        margin: 0 auto 12px;
        background: #f8f8f8;
        border: 2px solid #2d5a3d;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #666;
        background-image: linear-gradient(45deg,
                transparent 49%,
                rgba(200, 200, 200, 0.1) 50%,
                transparent 51%),
            linear-gradient(-45deg,
                transparent 49%,
                rgba(200, 200, 200, 0.1) 50%,
                transparent 51%);
        background-size: 10px 10px;
    }

    .name {
        font-size: 19px;
        font-weight: 500;
        color: #ffffff;
        /* margin-bottom: 6px; */
        line-height: 1.3;
        text-transform: none;
        text-decoration: none;
        background: #2d5a3d;
        padding: 4px 5px;
    }

    .designation {
        font-size: 17px;
        color: #444;
        margin-bottom: 3px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        text-decoration: none;
        line-height: 20px;
        text-align: justify;
        /* 	font-family: "Noto Sans Bengali" !important; */
    }

    .designation a.details {
        color: #2d5a3d;
        text-decoration: none;
        font-weight: 600;
        font-size: 17px;
    }

    .management-committee-cards {
        display: flex;
        gap: 20px;
        flex-direction: row;
        max-width: 1163px;
        margin: 0 auto;
        /*     flex-wrap: wrap; */
    }

    @media (max-width: 768px) {
        .management-committee-cards {
            max-width: 90%;
            margin: 30px auto;
            flex-direction: column;

        }
    }

/* Modern Search Card */
                        .modern-search-card {
                            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
                            border-radius: 12px;
                            overflow: hidden;
                            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
                            margin-bottom: 25px;
                            border: 1px solid #e8eaed;
                            transition: all 0.3s ease;
                        }

                        .modern-search-card:hover {
                            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
                            transform: translateY(-2px);
                        }

                        /* Search Header */
                        .search-header {
                            background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
                            padding: 18px 20px;
                            display: flex;
                            align-items: center;
                            gap: 12px;
                            position: relative;
                            overflow: hidden;
                        }

                        .search-header::before {
                            content: '';
                            position: absolute;
                            top: -50%;
                            right: -50%;
                            width: 200%;
                            height: 200%;
                            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
                            animation: pulse-glow 3s ease-in-out infinite;
                        }

                        @keyframes pulse-glow {

                            0%,
                            100% {
                                opacity: 0.5;
                                transform: scale(1);
                            }

                            50% {
                                opacity: 1;
                                transform: scale(1.1);
                            }
                        }

                        .search-header-icon {
                            font-size: 24px;
                            color: #ffffff;
                            animation: search-bounce 2s ease-in-out infinite;
                            position: relative;
                            z-index: 1;
                        }

                        @keyframes search-bounce {

                            0%,
                            100% {
                                transform: translateY(0);
                            }

                            50% {
                                transform: translateY(-5px);
                            }
                        }

                        .search-title {
                            margin: 0;
                            color: #ffffff;
                            font-size: 20px;
                            font-weight: 700;
                            font-family: 'Noto Sans Bengali', sans-serif;
                            position: relative;
                            z-index: 1;
                        }

                        /* Search Body */
                        .search-body {
                            padding: 25px 20px;
                        }

                        .modern-search-form {
                            display: flex;
                            flex-direction: column;
                            gap: 20px;
                        }

                        /* Form Groups */
                        .search-form-group {
                            display: flex;
                            flex-direction: column;
                            gap: 8px;
                        }

                        .search-label {
                            font-size: 14px;
                            font-weight: 600;
                            color: #374151;
                            display: flex;
                            align-items: center;
                            gap: 8px;
                            font-family: 'Noto Sans Bengali', sans-serif;
                        }

                        .search-label i {
                            color: #2563eb;
                            font-size: 16px;
                        }

                        /* Select Wrapper */
                        .select-wrapper {
                            position: relative;
                        }

                        .modern-select {
                            width: 100%;
                            padding: 12px 40px 12px 15px;
                            border: 2px solid #e5e7eb;
                            border-radius: 8px;
                            font-size: 15px;
                            font-family: 'Noto Sans Bengali', sans-serif;
                            background: #ffffff;
                            color: #1f2937;
                            cursor: pointer;
                            transition: all 0.3s ease;
                            appearance: none;
                            -webkit-appearance: none;
                            -moz-appearance: none;
                        }

                        .modern-select:focus {
                            outline: none;
                            border-color: #2563eb;
                            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
                        }

                        .modern-select:hover {
                            border-color: #3b82f6;
                        }

                        .select-arrow {
                            position: absolute;
                            right: 15px;
                            top: 50%;
                            transform: translateY(-50%);
                            color: #6b7280;
                            pointer-events: none;
                            transition: all 0.3s ease;
                        }

                        .select-wrapper:hover .select-arrow {
                            color: #2563eb;
                        }

                        /* Input Wrapper */
                        .input-wrapper {
                            position: relative;
                        }

                        .input-icon {
                            position: absolute;
                            left: 15px;
                            top: 50%;
                            transform: translateY(-50%);
                            color: #9ca3af;
                            font-size: 16px;
                            transition: all 0.3s ease;
                        }

                        .modern-input {
                            width: 100%;
                            padding: 12px 15px 12px 45px;
                            border: 2px solid #e5e7eb;
                            border-radius: 8px;
                            font-size: 15px;
                            font-family: 'Noto Sans Bengali', sans-serif;
                            background: #ffffff;
                            color: #1f2937;
                            transition: all 0.3s ease;
                        }

                        .modern-input::placeholder {
                            color: #9ca3af;
                        }

                        .modern-input:focus {
                            outline: none;
                            border-color: #2563eb;
                            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
                        }

                        .modern-input:focus+.input-icon,
                        .input-wrapper:hover .input-icon {
                            color: #2563eb;
                        }

                        /* Modern Search Button */
                        .modern-search-btn {
                            width: 100%;
                            padding: 14px 24px;
                            background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
                            border: none;
                            border-radius: 8px;
                            color: #ffffff;
                            font-size: 16px;
                            font-weight: 600;
                            font-family: 'Noto Sans Bengali', sans-serif;
                            cursor: pointer;
                            position: relative;
                            overflow: hidden;
                            transition: all 0.3s ease;
                            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
                        }

                        .modern-search-btn:hover {
                            transform: translateY(-2px);
                            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
                        }

                        .modern-search-btn:active {
                            transform: translateY(0);
                        }

                        .btn-content {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 10px;
                            position: relative;
                            z-index: 1;
                        }

                        .btn-content i {
                            font-size: 18px;
                        }

                        /* Button Shimmer Effect */
                        .btn-shimmer {
                            position: absolute;
                            top: 0;
                            left: -100%;
                            width: 100%;
                            height: 100%;
                            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
                            transition: left 0.5s ease;
                        }

                        .modern-search-btn:hover .btn-shimmer {
                            left: 100%;
                        }

                        /* Responsive Design */
                        @media (max-width: 768px) {
                            .search-header {
                                padding: 15px 18px;
                            }

                            .search-title {
                                font-size: 18px;
                            }

                            .search-body {
                                padding: 20px 18px;
                            }

                            .modern-select,
                            .modern-input {
                                font-size: 14px;
                                padding: 11px 15px 11px 15px;
                            }

                            .modern-input {
                                padding-left: 40px;
                            }

                            .modern-search-btn {
                                padding: 12px 20px;
                                font-size: 15px;
                            }
                        }

.menu-container {
                        /* max-width: 210px; */
                        background: #ffffff;
                        /* border-radius: 6px; */
                        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                        overflow: hidden;
                        border: 1px solid #e1e5e9;
                    }

                    .notice-bullet {
                        color: #2c5530;
                        font-size: 8px;
                        margin-top: 8px;
                        min-width: 15px;
                        transform: translateY(100%) translateX(0);
                        width: 0;
                        height: 0;
                        border-top: 6px solid transparent !important;
                        border-bottom: 6px solid transparent !important;
                        border-left: 10px solid #458368;
                        display: inline-block;
                    }

                    .menu-header {
                        /* background: linear-gradient(135deg, #2d5a3d 0%, #3a6b4a 100%); */
                        color: white;
                        padding: 12px 16px;
                        font-size: 23px;
                        font-weight: 500;
                        text-align: center;
                        letter-spacing: 0.5px;
                    }

                    .menu-list {
                        list-style: none;
                        padding: 0;
                        margin: 0;
                    }

                    .menu-item {
                        border-bottom: 1px solid #eef1f4;
                        transition: background-color 0.2s ease;
                    }

                    .menu-item:last-child {
                        border-bottom: none;
                    }

                    .menu-item:hover {
                        background-color: #f5f7fa;
                    }

                    .menu-link {
                        display: block;
                        padding: 12px 16px;
                        color: #2c3e50;
                        text-decoration: none;
                        font-size: 18px;
                        line-height: 1.4;
                        /* position: relative; */
                        transition: all 0.2s ease;
                        /* display: -webkit-box; */
                        /* -webkit-line-clamp: 1; */
                        /* -webkit-box-orient: vertical; */
                        /* overflow: hidden; */
                        text-wrap: nowrap;
                        /* width: 200px; */
                        /* Or any defined width */
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }

                    .menu-link:before {
                        /* content: ""; */
                        color: #2d5a3d;
                        font-weight: bold;
                        margin-right: 8px;
                        font-size: 16px;
                    }

                    .menu-link:hover {
                        color: #2d5a3d;
                        padding-left: 20px;
                    }

                    .menu-link:hover:before {
                        color: #4a7c59;
                    }

                    /* Responsive design */
                    @media (max-width: 280px) {
                        .menu-container {
                            max-width: 100%;
                        }

                        .menu-link {
                            font-size: 13px;
                            padding: 10px 14px;
                        }

                        .menu-header {
                            font-size: 15px;
                            padding: 10px 14px;
                        }
                    }

                    span.remove-50.notice-bullet {
                        transform: translateY(14%) translateX(0) !important;
                        margin: 0 0px 0 0;
                    }

/* Rich Text Content Styling */
                                            .rich-text-content {
                                                font-family: 'Noto Sans Bengali', SolaimanLipi, sans-serif;
                                                color: #333;
                                                text-align: justify;
                                            }

                                            /* Style rich text elements */
                                            .rich-text-content p {
                                                margin-bottom: 1em;
                                                line-height: inherit;
                                            }

                                            .rich-text-content h1,
                                            .rich-text-content h2,
                                            .rich-text-content h3,
                                            .rich-text-content h4,
                                            .rich-text-content h5,
                                            .rich-text-content h6 {
                                                margin-top: 1em;
                                                margin-bottom: 0.5em;
                                                font-weight: 700;
                                                color: #1e3a8a;
                                            }

                                            .rich-text-content ul,
                                            .rich-text-content ol {
                                                margin-left: 20px;
                                                margin-bottom: 1em;
                                            }

                                            .rich-text-content li {
                                                margin-bottom: 0.5em;
                                            }

                                            .rich-text-content img {
                                                max-width: 100%;
                                                height: auto;
                                                border-radius: 8px;
                                                margin: 1em 0;
                                            }

                                            .rich-text-content a {
                                                color: #2563eb;
                                                text-decoration: underline;
                                            }

                                            .rich-text-content a:hover {
                                                color: #1e40af;
                                            }

                                            .rich-text-content strong,
                                            .rich-text-content b {
                                                font-weight: 700;
                                            }

                                            .rich-text-content em,
                                            .rich-text-content i {
                                                font-style: italic;
                                            }

                                            .rich-text-content blockquote {
                                                border-left: 4px solid #2563eb;
                                                padding-left: 1em;
                                                margin: 1em 0;
                                                font-style: italic;
                                                color: #555;
                                            }

                                            .rich-text-content table {
                                                width: 100%;
                                                border-collapse: collapse;
                                                margin: 1em 0;
                                            }

                                            .rich-text-content table td,
                                            .rich-text-content table th {
                                                border: 1px solid #ddd;
                                                padding: 8px;
                                            }

                                            .rich-text-content table th {
                                                background-color: #f3f4f6;
                                                font-weight: 700;
                                            }

                                            /* Fade out effect */
                                            .excerpt-desktop .excerpt-content::after {
                                                content: "...";
                                                position: absolute;
                                                bottom: 0;
                                                right: 0;
                                                background: linear-gradient(to right, transparent, #fff 20%);
                                                padding-left: 20px;
                                                padding-right: 5px;
                                                font-weight: bold;
                                            }

                                            /* Fade effect */
                                            .excerpt-desktop .excerpt-content::before {
                                                content: "";
                                                position: absolute;
                                                bottom: 0;
                                                right: 0;
                                                width: 100%;
                                                height: 2em;
                                                background: linear-gradient(to bottom, transparent, #fff);
                                                pointer-events: none;
                                            }

/* Show full version on desktop */
                                            .excerpt-desktop {
                                                display: block;
                                            }

                                            .excerpt-mobile {
                                                display: none;
                                            }

                                            /* Show short version on mobile */
                                            @media (max-width: 767px) {
                                                .excerpt-desktop {
                                                    display: none;
                                                }

                                                .excerpt-mobile {
                                                    display: block;
                                                }
                                            }

.holder-div {
        background: #ffffff;
        border-color: #e8eaed;
        /* border-radius: 8px; */
        padding: 24px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid #e8eaed;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 20px;
    }

    .card {
        /* background: #ffffff; */
        /* border-radius: 8px; */
        /* padding: 24px;
                    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
                    border: 1px solid #e8eaed;
                    transition: transform 0.2s ease, box-shadow 0.2s ease; */
        display: flex;
    }

    .card:hover {
        transform: translateY(-2px);
        /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12); */
    }

    .card-header-of-card-box {
        display: flex;
        align-items: flex-start;
        margin-right: 10px;
        padding-right: 10px;
        border-right: 2px solid #f0f2f5;
        flex-direction: column;
        gap: 15px;
        border-color: #042159;
    }

    .card-icon {
        /* width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #2d5a3d 0%, #3a6b4a 100%);
            border-radius: 8px; */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        flex-shrink: 0;
        border: solid 2px #042159;
        max-height: 105px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

    .card-title {
        font-size: 17px;
        font-weight: 600;
        color: #042159;
        line-height: 17px;
        margin: 0;
    }

    .card-list {
        list-style: none;
        max-width: 200px;
        margin: 0;
        padding: 0;
    }

    .card-list li {
        /* padding: 5px 0; */
        color: #4a5568;
        font-size: 18px;
        line-height: 1.5;
        border-bottom: 1px solid #f7f8fa;
        transition: color 0.2s ease;
        text-overflow: ellipsis;
        /* padding: 12px 16px; */
        text-decoration: none;
        /* transition: 0.2s; */
        text-wrap: nowrap;
        overflow: hidden;
        white-space: nowrap;
        /* width: 100%; */
        /* max-width: 204px; */
    }

    .card-list li:last-child {
        border-bottom: none;
    }

    .card-list li:before {
        content: "▶";
        color: #042159;
        font-size: 10px;
        margin-right: 12px;
        opacity: 0.8;
    }

    .card-list li:hover {
        color: #042159;
        cursor: pointer;
        padding-left: 8px;
    }

    ul.card-list li a {
        color: #042159;
    }

    .card-icon img {
        width: 100px;
        height: 100px;
        padding: 5px;
        border-radius: 0px;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .grid {
            grid-template-columns: 1fr;
        }

        .card {
            /* padding: 20px; */
            flex-direction: column;
        }

        .card-header-of-card-box {
            margin-right: 0px;
            padding-right: 0px;
            border-right: 0px solid #f0f2f5;
            margin-bottom: 10px;
            padding-bottom: 10px;
            /* margin-top: 10px; */
            padding-top: 10px;
            border-top: #f0f2f5 solid 2px;
            flex-direction: row;
            align-items: center;
        }

        .card-title {
            font-size: 18px;
        }

        .card-icon {
            /* width: 44px; */
            /* height: 44px; */
            margin-right: 14px;
        }
    }

#nav {
        background: linear-gradient(to bottom,
                #21699d 1%,
                #0f3151 100%);
    }

    #nav ul li a {
        color: #ffffff;
    }

    #nav ul li a:hover {
        color: #ffffff;
    }

    #nav ul li:hover {

        background-color: #3798ea;
    }

    #menu ul {
        background: linear-gradient(#444,
                #111);
    }

    .sub-menu li a {
        color: #ffffff !important;
    }

    .current-menu-ancestor.current-menu-parent,
    .current-menu-item.page_item,
    .current-menu-ancestor {
        background: #aa0e19;
        color: #ffffff;
    }

    .breaking_news_sec .running-txt {
        background: #bc0203;
    }

    .running-txt .marquee {
        background: #00b4ff;
    }

    .breaking_news_sec .top_marquee li a {
        color: #000000;
    }

    .vitore-bosbe {
        color: #ffffff;
    }

.breaking_news,
    .accordionItem h3,
    .cal_event,
    .cal_event h3,
    .student-corner h3,
    .teacher-corner h3,
    .download-corner h3,
    .dropbox h3,
    .massage h3,
    .importent_links h3,
    .btn-primary,
    .student-corner h3,
    .teacher-corner,
    .dropbox {
        color: #ffffff;
        border-color: #51a001;
        background-color: #51a001;
    }

    .student-corner,
    .teacher-corner,
    .dropbox {
        border-color: #51a001;
    }

    .card-header,
    .name,
    .menu-header {
        background-color: #51a001;
    }

    .search-header,
    .modern-search-btn,
    .panel-heading .nav-link {
        background: #51a001;
    }

    .designation a.details {
        color: #51a001;
    }

    .management-c-card,
    .profile-image,
    .notice-bullet {
        border-color: #51a001;
    }

.success-message {
            color: #28a745;
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            padding: 10px;
            border-radius: 5px;
          }

          .error-message {
            color: #dc3545;
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            padding: 10px;
            border-radius: 5px;
          }

          #submit_btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
          }

/* Apply logo height settings */
.sch-brand-side img {
}

/* Desktop logo height */
@media (min-width: 769px) {
    .sch-brand-side img {
        height: 203px;
    }
}

/* Mobile logo height */
@media (max-width: 768px) {
    .sch-brand-side img {
        height: 60px;
    }
}

.sch-name{
    color: #1e3a8a;
    font-size: 32px;
}
.sch-motto{
    color: #337ab7;
    font-size: 18px;
}
@media(max-width:768px){
    .sch-name{
        font-size: 22px;
    }
    .sch-motto{
        font-size: 14px;
    }
}

