.panel-body {
    background-color: #F8F8EA;
    padding-top: 5px !important;
    padding-bottom: 0!important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}
.panel-body:before, .panel-body:after {
    display: table;
    content: " ";
}
.panel-body:after {
    clear: both;
}
.panel-default > .panel-heading {
    color: #000;
    background: url(images/panelhead.jpg) repeat 0 0;
    font-size: 11pt;
    font-weight: bold;
}

/* modified from bootstrap  */
.breadcrumb {
  padding: 12px 0;
  margin-bottom: 15px;
  list-style: none;
  background-color: #fff !important;
 /* border-radius: 4px;*/
  border-bottom: 1px solid #eee;
}
.breadcrumb > li {
  display: inline-block;
  font-size: 12px !important;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}
.breadcrumb > .active {
  color: #777;
}
/* ENDs modified from bootstrap  */

.news {
    padding: 2em 0 !important;          /*modified from style.css*/
}
.modal-caption h2,
.modal-caption h3 {
  font-size: 3.3em;
  font-weight: 300;
  letter-spacing: 1px;
}
.modal-caption h2 span,
.modal-caption h3 span {
  font-weight: 600;
}
.modal-caption p {
    letter-spacing: 4px;
    font-size: 1em;
    line-height: 1.8em;
    font-weight: 300;
    color: #fff;
    margin: 1em auto 2em;
    width: 70%;
}
.modal-caption a {
  color: #fff;
  letter-spacing: 1px;
  padding: 11px 20px;
  background: none;
  font-size: 0.9em;
  border-radius: 0;
  border: 1px solid #fff;
}
.modal-caption a:hover {
    background: #ff4f81;
    border: 1px solid #ff4f81;
}
.modal-body {
  position: relative;
  padding: 15px;
}
h4.modal-title{
background-color: gold;
}
.modal-header{
background-color: mediumspringgreen;
}
.modal-header p{
    margin: 10px;
    font-size: 2em;
    text-align: center;
    font-weight: 900;
        color: crimson;
}
.modal-header p sub{    
    font-size: 0.4em;    
}
.container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.navbar-header {
    flex-shrink: 0;
}
.navbar-collapse {
    flex-grow: 1;
    text-align: right;
}
.navbar-nav {
   display: inline-block;
}

.school-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.school-brand img {
    margin-right: 5px;
    margin-left: auto;
}
.school-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.school-name .main-name {
    font-size: 20px;  
    font-weight: 700;
    color: #e91e63;
}
.school-name .sub-name {
    font-size: 14px;
    font-weight: 400;
    color: #1a237e;
}

/* Responsive scaling */
@media (max-width: 1200px) {
    .school-name .main-name {
        font-size: 18px;
    }
}
@media (max-width: 992px) {
    .school-name .main-name {
        font-size: 16px;
    }
}

.notice-scroll-panel {
    border-radius: 18px;
    background: #fff;
}

.notice-scroll-box {
    border: 1px solid #f1d7df;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffafc 0%, #fff 100%);
    overflow: hidden;
    height: 100%;
}

.notice-scroll-track {
    display: flex;
    flex-direction: column;
    animation: noticeScroll 14s linear infinite;
}

.notice-scroll-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f5edf1;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
}

.notice-date {
    display: block;
    color: #b4236f;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.notice-scroll-item:last-child {
    border-bottom: 0;
}

@keyframes noticeScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/*Glimpse area*/
.ab1 {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    padding: 20px;
    min-height: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-radius: 12px;
}
.ab1 {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}
/*.ab1 {*/
/*    overflow: hidden;*/
/*}*/
.ab1:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
/*.ab1 {*/
/*    overflow: hidden;*/
/*}*/
.instruileinfo-head {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff4f81;
}

.inst3-flex {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

@media (max-width: 768px) {
    .inst3-flex {
        flex-direction: column;
    }
}

@media screen and (min-width: 737px) {
    .inst3-flex {
        display: flex;
    }
}
#carousel-custom {
    width: 100%;
}

#carousel-custom .carousel-inner > .item > img {
    width: 100%;
    height: auto;
}

.section-heading-highlight {
    display: inline-block;
    margin: 0 auto 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #BD2626 21%, #FD1D2C 44%, #FCE745 86%);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(255, 79, 129, 0.25);
}

.about .content .welcome-highlight {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4f81 0%, #ffb703 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 79, 129, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-mission {
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 45%, #fffaf0 100%);
    /* border-top: 1px solid rgba(255, 79, 129, 0.14);
    border-bottom: 1px solid rgba(255, 79, 129, 0.14); */
}

.vision-mission .vision-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #fff4f7 100%);
    border: 1px solid rgba(255, 79, 129, 0.18);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    border-radius: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vision-mission .vision-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 79, 129, 0.08), rgba(255, 184, 77, 0.10));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vision-mission .vision-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 79, 129, 0.35);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
}

.vision-mission .vision-card:hover::before {
    opacity: 1;
}

.vision-mission .vision-card .card-body {
    position: relative;
    z-index: 1;
    text-align: center;
}

.vision-mission .vision-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(180, 35, 111, 0.10);
    color: #b4236f;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.vision-mission .vision-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ff4f81 0%, #ffb703 100%);
    color: #fff;
    box-shadow: 0 12px 20px rgba(255, 79, 129, 0.22);
    font-size: 1.1rem;
}

.vision-mission .vision-card .card-title {
    color: #b4236f;
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    text-align: center;
}

.vision-mission .vision-card .card-text {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1rem;
    text-align: center;
}