.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;    
}
.school-header {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
}
.school-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.header .school-header .school-brand {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    order: 0;
}
.header .school-brand img {
    max-height: 68px;
}
.school-contact-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    max-width: 660px;
}
.school-contact-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.school-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #17324d;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.school-contact-item i {
    flex: 0 0 auto;
    color: var(--accent-color);
    font-size: 18px;
}
.school-contact-item:hover {
    color: var(--accent-color);
}
.school-mandate{
  display: inline-block;
  height: 50px;
  margin:0 2px 2px 0;
  text-align: center;
  text-transform: uppercase;
  min-width: 100px;
  padding:5px 5px;
  color:#17324d;
  transition: all 0.3s ease 0s;
  font-weight: 600;
 background:#fff5f6;
  border: 1px solid #f0c4ca;
}
.header-navigation {
    display: flex;
    background: var(--accent-color);
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    isolation: isolate;
    padding: 0 12px;
}
.header-navigation::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--accent-color);
}
.header-navigation .navmenu {
    order: 0;
}
.header-navigation .btn-getstarted {
    position: absolute;
    right: 0;
    background: #fff;
    color: var(--accent-color);
}
.header-navigation .btn-getstarted:hover,
.header-navigation .btn-getstarted:focus:hover {
    background: #f5eaea;
    color: #8f1d1d;
}
.header .mobile-nav-toggle {
    margin-left: 0;
    color: #fff;
}

@media (min-width: 1200px) {
    .header-navigation .navmenu > ul > li > a,
    .header-navigation .navmenu > ul > li > a:focus,
    .header-navigation .navmenu > ul > li:hover > a,
    .header-navigation .navmenu > ul > li > a.active,
    .header-navigation .navmenu > ul > li > a.active:focus {
        color: #fff;
    }

    body.scrolled .header {
        padding: 8px 0;
        background-color: var(--accent-color);
    }
    body.scrolled .header .school-header {
        flex-direction: row !important;
        justify-content: space-between !important;
        gap: 12px;
    }
    body.scrolled .header .school-header-top {
        flex: 0 1 auto;
        flex-wrap: nowrap;
        width: auto;
        min-width: 0;
    }
    body.scrolled .header .school-contact-info {
        display: none;
    }
    body.scrolled .header .school-header .school-brand {
        display: flex !important;
        flex: 0 1 auto;
        flex-basis: auto;
        min-width: 0;
    }
    body.scrolled .header .school-brand img {
        max-height: 36px;
        flex: 0 0 auto;
    }
    body.scrolled .header .school-name .main-name {
        font-size: 18px;
        white-space: nowrap;
        color:#fff;
    }
    body.scrolled .header .school-name .sub-name {
        display: none;
    }
    body.scrolled .header .header-navigation {
        flex: 1 1 auto;
        width: auto;
        background: transparent;
        justify-content: flex-end;
        gap: 8px;
    }
    body.scrolled .header .header-navigation::before {
        display: none;
    }
    body.scrolled .header .header-navigation .navmenu {
        margin-left: auto;
    }
    body.scrolled .header .header-navigation .navmenu > ul > li > a,
    body.scrolled .header .header-navigation .navmenu > ul > li > a:focus {
        padding: 10px 8px;
        font-size: 14px;
    }
    body.scrolled .header .header-navigation .btn-getstarted {
        position: static;
        margin: 0 0 0 8px;
    }
}

.school-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.school-brand img {
    margin-right: 5px;
}
.school-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}
.school-name .main-name {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-color);
}
.school-name .sub-name {
    font-size: 13px;
    font-weight: 400;
    color: #17324d;
}

/* Responsive scaling */
@media (max-width: 1200px) {
    .school-name .main-name {
        font-size: 24px;
    }
    .school-contact-info {
        gap: 8px;
    }
    .school-contact-item {
        font-size: 12px;
    }
    .header-navigation {
        justify-content: flex-end;
        gap: 12px;
    }
    .header-navigation .navmenu {
        order: 1;
    }
    .header-navigation .btn-getstarted {
        position: static;
        order: 0;
        margin: 0;
    }
}
@media (max-width: 992px) {
    .school-name .main-name {
        font-size: 21px;
    }
    .school-header-top {
        flex-wrap: wrap;
        gap: 12px;
    }
    .header .school-header .school-brand {
        flex-basis: 100%;
    }
    .school-contact-info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        max-width: none;
    }
    .school-contact-address {
        grid-column: auto;
    }
}
@media (max-width: 767px) {
    .school-header-top {
        gap: 12px;
    }
    .header .school-brand img {
        max-height: 56px;
    }
    .school-name .main-name {
        font-size: 18px;
    }
    .school-name .sub-name {
        font-size: 11px;
    }
    .school-contact-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
    }
    .school-contact-address {
        grid-column: 1 / -1;
    }
    .school-contact-item {
        gap: 5px;
        font-size: 11px;
    }
    .school-contact-item i {
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .school-contact-info {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }
    .school-contact-address {
        grid-column: auto;
    }
}
@media (max-width: 575px) {
    .header .school-brand img {
        max-height: 44px;
        margin-right: 4px;
    }
    .school-name .main-name {
        font-size: 16px;
    }
    .school-name .sub-name {
        font-size: 10px;
    }
    .school-contact-item {
        font-size: 10px;
    }
}

.notice-scroll-panel {
    border-radius: 18px;
    background: #fff;
}

.notice-scroll-box {
    border: 1px solid #f0c4ca;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8f9 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 #f4e5e7;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.45;
}

.notice-date {
    display: block;
    color: var(--accent-color);
    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: var(--accent-color);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(201, 26, 50, 0.18);
}

.about .content .welcome-highlight {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff5f6;
    border: 1px solid #f0c4ca;
    color: var(--accent-color);
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(201, 26, 50, 0.12);
    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;
}

.footer {
    --background-color: #17324d;
    --default-color: #e8eef5;
    --heading-color: #fff;
    --surface-color: #10263a;
    --contrast-color: #fff;
}

.footer .copyright {
    background-color: #10263a;
}