/* ==========================================================
   GSNPS - New Professional Theme (override stylesheet)
   Is file ko css/style.css aur css/responsive.css ke BAAD link karein.
   Palette: Green + Gold + Soft White
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --navy: #17573C;
    --navy-2: #1F6B49;
    --blue: #2A7B57;
    --gold: #B7791F;
    --gold-light: #F2C96B;
    --bg-soft: #F3F8F5;
    --text: #1F2937;
    --muted: #6B7280;
    --white: #ffffff;
    --shadow: 0 6px 24px rgba(23, 87, 60, 0.10);
    --shadow-hover: 0 12px 32px rgba(23, 87, 60, 0.18);
    --radius: 10px;
}

/* ---------- Base ---------- */
body {
    font-family: 'Poppins', sans-serif !important;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; color: var(--navy); }
a { color: var(--blue); transition: all .25s ease; }
a:hover, a:focus { color: var(--gold); text-decoration: none; }
section { padding-top: 30px; padding-bottom: 30px; }
.irs-about-field, .irs-gallery-field { background: var(--bg-soft) !important; }

/* ---------- Top bar ---------- */
.irs-header-top-bar {
    background: var(--navy) !important;
    border-bottom: 2px solid var(--gold);
}
.irs-header-top-bar p, .irs-header-top-bar span, .irs-header-top-bar a {
    color: #e3f1e9 !important;
    font-size: 13px;
}
.irs-header-top-bar p span { color: var(--gold-light) !important; font-weight: 500; }
.irs-log-reg a {
    background: var(--gold) !important;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 6px;
}
.irs-log-reg a:hover { background: var(--navy-2) !important; }

/* ---------- Navigation ---------- */
.irs-header-nav { background: var(--white) !important; box-shadow: 0 3px 14px rgba(23,87,60,.10); }
.irs-navbar, .irs-navbar.navbar-default { background: transparent !important; border: 0 !important; }
.irs-navbar .navbar-nav > li > a {
    color: var(--navy) !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
    background: transparent !important;
    position: relative;
}
.irs-navbar .navbar-nav > li > a::after {
    content: ''; position: absolute; left: 50%; bottom: 8px;
    width: 0; height: 2px; background: var(--gold);
    transition: all .3s ease; transform: translateX(-50%);
}
.irs-navbar .navbar-nav > li:hover > a::after,
.irs-navbar .navbar-nav > li.active > a::after,
.irs-navbar .navbar-nav > li.open > a::after { width: 60%; }
.irs-navbar .navbar-nav > li:hover > a,
.irs-navbar .navbar-nav > li.active > a,
.irs-navbar .navbar-nav > .open > a { color: var(--gold) !important; }
.dropdown-menu {
    background: var(--navy) !important;
    border: 0 !important;
    border-top: 3px solid var(--gold) !important;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-hover);
}
.dropdown-menu > li > a { color: #e9f5ee !important; font-size: 13px; padding: 9px 20px; }
.dropdown-menu > li > a:hover { background: var(--navy-2) !important; color: var(--gold-light) !important; padding-left: 26px; }
.navbar-toggle { border-color: var(--navy) !important; }
.navbar-toggle .icon-bar { background: var(--navy) !important; }
.NoFH { color: var(--gold); font-weight: 600; }

/* ---------- News ticker ---------- */
.NewsSlide { background: var(--navy-2) !important; border-bottom: 2px solid var(--gold); }
.NewsSlide a, .NewsSlide li { color: #fff !important; }
.NewsSlide a strong { color: var(--gold-light); }

/* ---------- Notice board ---------- */
.NoticeBoard {
    background: var(--white) !important;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.NoticeBoard h2 {
    background: linear-gradient(90deg, var(--navy), var(--blue)) !important;
    color: #fff !important;
    margin: 0; padding: 12px 16px;
    font-size: 17px; font-weight: 600; letter-spacing: .5px;
}
.NoticeBoard li { border-bottom: 1px dashed #dbe3ee; padding: 6px 12px; list-style: none; }
.NoticeBoard p { color: var(--text) !important; margin: 0; font-size: 14px; }

/* ---------- Section headings ---------- */
.irs-section-title h2, .irs-discription-col h1 {
    color: var(--navy) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.irs-section-title h2 span, .irs-discription-col h1 span { color: var(--gold) !important; }
.irs-title-line { border-color: var(--gold) !important; }
.irs-title-line::before, .irs-title-line::after { background: var(--gold) !important; }
.irs-title-icon i, .irs-title-icon { color: var(--gold) !important; }
.irs-section-title p { color: var(--muted); text-align: justify; }

/* ---------- Cards (messages) ---------- */
.irs-courses-col {
    background: var(--white) !important;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .3s ease;
    margin-bottom: 25px;
    border-bottom: 4px solid var(--gold);
}
.irs-courses-col:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.irs-courses-img img { width: 100%; height: 230px; object-fit: cover; }
.irs-courses-content { padding: 18px 20px 22px; }
.irs-courses-content h4 a { color: var(--navy) !important; font-weight: 600; }
.irs-courses-content p { color: var(--muted); font-size: 14px; }

/* ---------- Buttons ---------- */
.btn-default.irs-btn-transparent-two, .btn-primary, .readmore {
    background: transparent !important;
    color: var(--navy) !important;
    border: 2px solid var(--gold) !important;
    border-radius: 30px !important;
    padding: 7px 22px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .6px;
}
.btn-default.irs-btn-transparent-two:hover, .btn-primary:hover, .readmore:hover {
    background: var(--gold) !important;
    color: #fff !important;
}

/* ---------- News & events + calendar ---------- */
.thumbnail.adjust1 {
    border: 0 !important; border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 14px;
}
.thumbnail img.media-object { border-radius: 8px; }
.adjust2 { color: var(--navy) !important; font-weight: 600; }
.calendarbox, .custom-calendar-wrap {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.custom-header, .custom-header h2, .custom-header h3 { background: var(--navy) !important; color: #fff !important; }
.fc-calendar .fc-today, .fc-calendar-container .fc-today { background: var(--gold) !important; color: #fff !important; }

/* ---------- Toppers ---------- */
.TopperList { background: var(--white) !important; }
.irs-teachers-col {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; margin-bottom: 25px;
    border-top: 4px solid var(--gold); transition: all .3s ease;
}
.irs-teachers-col:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.irs-teachers-col img { width: 100%; }
.irs-teachers-name { text-align: center; padding: 10px 6px 14px; }
.irs-teachers-name h4 a { color: var(--navy) !important; font-weight: 600; font-size: 14px; }
.irs-teachers-name p { color: var(--gold); font-weight: 700; margin: 0; font-size: 16px; }

/* ---------- Gallery ---------- */
.pad15 img { border-radius: 8px; box-shadow: var(--shadow); transition: transform .3s ease; }
.pad15 img:hover { transform: scale(1.04); }

/* ---------- Testimonial / quotes ---------- */
.irs-testimonial-field {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%) !important;
}
.irs-layer-black::before { background: transparent !important; }
.irs-testimonial-single p { color: #eef3fb !important; font-style: italic; font-size: 17px; }
.irs-testimonial-single h4 { color: var(--gold-light) !important; font-weight: 600; letter-spacing: .5px; }
.irs-comment-icon i { color: var(--gold-light) !important; }

/* ---------- Footer ---------- */
.irs-footer-field {
    background: var(--navy) !important;
    border-top: 4px solid var(--gold);
    color: #d7ebe0;
}
.irs-footer-heading {
    color: #fff !important; font-weight: 600; text-transform: uppercase;
    position: relative; padding-bottom: 10px; margin-bottom: 18px;
}
.irs-footer-heading::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; background: var(--gold);
}
.irs-footer-field a, .irs-footer-field p { color: #d7ebe0 !important; font-size: 14px; }
.irs-footer-field a:hover { color: var(--gold-light) !important; padding-left: 4px; }
.irs-tweets i { color: var(--gold-light) !important; }
.ImgIcoBot li a {
    background: var(--navy-2); border: 1px solid var(--gold);
    padding: 6px 14px; border-radius: 20px; display: inline-block; margin: 4px 0;
}
.ImgIcoBot li a:hover { background: var(--gold); color: var(--navy) !important; }
.BotMap { width: 100%; height: 250px; border-radius: var(--radius); border: 3px solid var(--navy-2); }
.irs-copyright-field, .mFixfooter { background: #0B2E20 !important; }
.irs-copyright p, .mcopyright span { color: #b4d4c3 !important; }
.irs-copyright a, .mcopyright a { color: var(--gold-light) !important; }

/* ---------- Side buttons ---------- */
.sidenav a { background: var(--gold) !important; color: var(--navy) !important; font-weight: 600; box-shadow: var(--shadow); }
.sidenav a:hover { background: var(--navy) !important; color: #fff !important; }

/* ---------- Scroll up + misc ---------- */
#scrollUp { background: var(--gold) !important; color: #fff !important; border-radius: 50%; }
.modal-content { border-radius: var(--radius); overflow: hidden; border: 3px solid var(--gold); }

/* ---------- Fixes (screenshot review) ---------- */
/* Top bar: dono buttons ek hi line mein */
@media (min-width: 992px) {
    .irs-header-top-bar .col-md-9 { width: 58% !important; }
    .irs-header-top-bar .col-md-3 { width: 42% !important; }
}
.irs-log-reg { white-space: nowrap; text-align: right; }
.irs-log-reg a {
    display: inline-block !important;
    white-space: nowrap;
    font-size: 12px !important;
    padding: 4px 14px !important;
    margin: 4px 0 4px 6px !important;
}

/* Admission Open badge: orange ki jagah gold */
.NoFH {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Side buttons: original size wapas, sirf text chhota taaki kate nahi */
.sidenav a {
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: center;
}

/* Header: logo aur menu ke beech ka gap kam */
.irs-navbar { min-height: 0 !important; margin-bottom: 0 !important; }
.irs-header-nav { padding-bottom: 0 !important; }
.dLogoImg { max-height: 95px; width: auto; }
.irs-navbar .navbar-nav > li > a { padding-top: 10px !important; padding-bottom: 10px !important; }
.irs-navbar .navbar-nav { margin-top: 0 !important; }
.irs-navbar .navbar-collapse { padding-bottom: 6px; }

/* ---------- Extra polish ---------- */
/* Menu: pill style hover, kam items ke liye thoda spacing */
.irs-navbar .navbar-nav > li > a {
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: 30px;
    margin: 4px 3px;
    font-size: 13.5px !important;
}
.irs-navbar .navbar-nav > li:hover > a,
.irs-navbar .navbar-nav > li.active > a,
.irs-navbar .navbar-nav > .open > a {
    background: var(--navy) !important;
    color: #fff !important;
}
.irs-navbar .navbar-nav > li:hover > a::after,
.irs-navbar .navbar-nav > li.active > a::after,
.irs-navbar .navbar-nav > li.open > a::after { display: none; }

/* Header: halka gradient + neeche gold line */
.irs-header-nav {
    background: linear-gradient(180deg, #ffffff 0%, #f1f7f3 100%) !important;
    border-bottom: 3px solid var(--gold);
}

/* Admission badge: halka pulse */
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(183,121,31,.35); }
    50% { transform: scale(1.04); box-shadow: 0 6px 20px rgba(183,121,31,.6); }
}
.NoFH { animation: badgePulse 2.4s ease-in-out infinite; }

/* Section heading ke neeche gold underline */
.irs-discription-col h1 {
    padding-bottom: 10px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}

/* Slider: rounded corners + soft shadow */
#wowslider-container1 { box-shadow: var(--shadow-hover); }

/* Welcome section card */
.irs-about-field .irs-section-title p {
    background: var(--white);
    padding: 22px 26px;
    border-left: 5px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 15px;
}

/* Footer links ke beech halki line */
.irs-footer-link li { border-bottom: 1px solid rgba(255,255,255,.08); padding: 5px 0; }

/* ---------- Footer redesign (map hata diya, full width) ---------- */
.irs-footer-field { padding-top: 28px !important; padding-bottom: 0 !important; background: linear-gradient(180deg, var(--navy) 0%, #0F3D2A 100%) !important; }
.irs-footer-field .irs-footer-heading { margin-bottom: 12px; }
/* purana dark » arrow hatao (sirf gold › rahe) */
.irs-footer-link li::before, .irs-footer-link li::after,
.irs-footer-link li a::after { content: none !important; display: none !important; }
.irs-footer-link li { padding: 3px 0 !important; }
.irs-footer-link ul, .irs-footer-tweets { margin-bottom: 0; }
.social-network { margin: 12px 0 0; padding: 0; }
.social-network li a { width: 38px !important; height: 38px !important; line-height: 38px !important; font-size: 16px !important; }
@media (min-width: 768px) { .irs-footer-field .col-sm-4 { min-height: 0; } }
.irs-footer-field ul { list-style: none; padding-left: 0; }
.irs-footer-link li a { position: relative; padding-left: 16px; display: inline-block; }
.irs-footer-link li a::before {
    content: '\203A'; position: absolute; left: 0; top: -1px;
    color: var(--gold-light) !important; font-size: 18px; font-weight: 700;
}
.irs-tweets { margin-bottom: 6px; }
.irs-tweets p { margin: 0; }
.irs-tweets i { font-size: 16px; width: 22px; }

/* Social icons */
.social-network li a { transition: transform .25s ease; }
.social-network li a:hover { transform: translateY(-4px); }

/* Google Play badge: green buttons hata diye */
.ImgIcoBot { padding: 0; margin: 10px 0 0; list-style: none; }
.ImgIcoBot li { display: inline-block; }
.ImgIcoBot li a, .ImgIcoBot li a:hover {
    background: transparent !important; border: 0 !important; padding: 0 !important;
}
.ImgIcoBot li img { height: 52px; width: auto; border-radius: 8px; border: 1px solid rgba(183,121,31,.6); }

/* Copyright bar */
.irs-copyright-field { border-top: 1px solid rgba(255,255,255,.08); padding: 8px 0 !important; margin-top: 0 !important; }
.irs-copyright-field .irs-copyright p { font-size: 13px; }
.irs-copyright p { margin: 0; text-align: center; }

/* ==========================================================
   HOME PAGE REDESIGN
   ========================================================== */

/* ---------- Quick access strip (slider ke upar halka overlap) ---------- */
.quick-access { padding: 0 !important; position: relative; z-index: 5; margin-top: -48px; }
.qa-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--white); border-radius: var(--radius);
    padding: 18px 18px; margin-bottom: 20px;
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--gold);
    transition: all .3s ease; color: var(--navy);
}
.qa-card:hover { transform: translateY(-6px); background: var(--navy); border-bottom-color: var(--gold-light); }
.qa-icon {
    flex: 0 0 52px; height: 52px; width: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.qa-card:hover .qa-icon { background: var(--gold); }
.qa-text strong { display: block; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.3; }
.qa-text small { display: block; color: var(--muted); font-size: 12.5px; }
.qa-card:hover .qa-text strong { color: #fff; }
.qa-card:hover .qa-text small { color: #d7ebe0; }

/* ---------- Section spacing ---------- */
.irs-about-field, .messages-sec, .irs-gallery-field, .TopperList, .welcome-sec { padding-top: 55px !important; padding-bottom: 45px !important; }
.irs-section-title { margin-bottom: 30px; }

/* ---------- Welcome section ---------- */
.welcome-sec { background: var(--white) !important; }
.welcome-img { position: relative; padding: 0 0 18px 18px; margin-bottom: 25px; }
.welcome-img::before {
    content: ''; position: absolute; left: 0; bottom: 0; width: 80%; height: 85%;
    border: 4px solid var(--gold); border-radius: var(--radius); z-index: 0;
}
.welcome-img img {
    position: relative; z-index: 1; width: 100%; height: 340px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-hover);
}
.welcome-badge {
    position: absolute; z-index: 2; right: -10px; top: 22px;
    background: var(--gold); color: #fff; text-align: center;
    padding: 10px 18px; border-radius: 10px; box-shadow: var(--shadow-hover); line-height: 1.2;
}
.welcome-badge span { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.welcome-badge strong { font-size: 26px; font-weight: 700; }
.eyebrow {
    display: inline-block; color: var(--gold); font-weight: 600; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase;
}
.welcome-text h2 { font-size: 34px; font-weight: 700; margin: 6px 0 10px; color: var(--navy); }
.welcome-text h2 span { color: var(--gold); }
.welcome-line { width: 70px; height: 4px; background: var(--gold); border-radius: 4px; margin-bottom: 18px; }
.welcome-text p { color: var(--muted); font-size: 15px; text-align: justify; }
.welcome-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.welcome-facts div {
    flex: 1 1 110px; text-align: center; background: var(--bg-soft);
    border-top: 3px solid var(--gold); border-radius: 8px; padding: 12px 8px;
}
.welcome-facts strong { display: block; color: var(--navy); font-size: 18px; font-weight: 700; }
.welcome-facts span { font-size: 12px; color: var(--muted); }

/* ---------- News & calendar ---------- */
.irs-discription-col h1 { font-size: 24px; margin: 0 0 20px; }
.TestiContent .carousel-control { background: var(--navy) !important; opacity: 1; width: 38px; height: 38px; border-radius: 50%; top: auto; bottom: 8px; text-shadow: none; }
.TestiContent .carousel-control:hover { background: var(--gold) !important; }

/* ---------- Message cards ---------- */
.messages-sec { background: var(--white); }
.irs-courses-img { position: relative; overflow: hidden; }
.irs-courses-img img { transition: transform .5s ease; }
.irs-courses-col:hover .irs-courses-img img { transform: scale(1.07); }
.irs-courses-img::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
    background: linear-gradient(180deg, transparent, rgba(23,87,60,.55));
}
.irs-courses-content h4 { margin-top: 0; }

/* ---------- Gallery band ---------- */
.irs-gallery-field .btn-primary.leftLst, .irs-gallery-field .btn-primary.rightLst {
    width: 40px; height: 40px; padding: 0; line-height: 36px; border-radius: 50% !important;
    background: var(--navy) !important; color: #fff !important; border: 0 !important;
}
.irs-gallery-field .btn-primary.leftLst:hover, .irs-gallery-field .btn-primary.rightLst:hover { background: var(--gold) !important; }

/* ---------- Toppers (5 cards, center) ---------- */
.toppers-row { display: flex; flex-wrap: wrap; justify-content: center; }
.toppers-row::before, .toppers-row::after { display: none !important; }
.toppers-row .topper-col { float: none; width: 20%; }
.irs-teachers-col img { height: 210px; object-fit: cover; object-position: top; }
.irs-teachers-name { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.irs-teachers-name p {
    display: inline-block; background: var(--gold); color: #fff !important;
    padding: 2px 14px; border-radius: 20px; margin-top: 4px; font-size: 14px;
}

/* ---------- Testimonial band ---------- */
.irs-testimonial-field { padding-top: 55px !important; padding-bottom: 55px !important; }

@media (max-width: 991px) {
    .toppers-row .topper-col { width: 33.33%; }
    .quick-access { margin-top: -30px; }
}
@media (max-width: 767px) {
    .quick-access { margin-top: 20px; }
    .toppers-row .topper-col { width: 50%; }
    .welcome-text h2 { font-size: 26px; }
    .welcome-img img { height: 240px; }
    .welcome-badge { right: 6px; }
    .irs-about-field, .messages-sec, .irs-gallery-field, .TopperList, .welcome-sec { padding-top: 35px !important; padding-bottom: 28px !important; }
}

/* ---------- Testimonial: readable glass card ---------- */
.irs-testimonial-single {
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.28);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 34px 40px !important;
    text-align: center;
    backdrop-filter: blur(2px);
}
.irs-testimonial-single p { color: #ffffff !important; font-size: 18px; line-height: 1.8; font-style: italic; margin-bottom: 14px; }
.irs-testimonial-single h4 {
    color: var(--gold-light) !important; font-size: 15px !important; letter-spacing: 2px;
    font-weight: 600; margin: 0;
}
.irs-comment-icon { text-align: center; }
.irs-comment-icon i { color: var(--gold-light) !important; opacity: 1; font-size: 34px; position: static; }
.irs-testimonial-field .owl-theme .owl-controls .owl-page span,
.irs-testimonial-field .owl-page span { background: rgba(255,255,255,.45) !important; opacity: 1; }
.irs-testimonial-field .owl-page.active span { background: var(--gold-light) !important; }

/* ---------- Gap fixes + equal message cards ---------- */
.hero-sec { padding: 0 !important; }
.irs-discription-field.irs-about-field { padding-top: 35px !important; padding-bottom: 35px !important; }
.irs-about-field, .messages-sec, .irs-gallery-field, .TopperList, .welcome-sec { padding-top: 38px !important; padding-bottom: 32px !important; }
.irs-section-title { margin-bottom: 22px; }

/* News carousel arrows: saaf round buttons */
.TestButG { text-align: left; }
.TestiContent .carousel-control {
    position: relative !important; display: inline-block; left: auto !important; right: auto !important;
    bottom: auto !important; top: auto !important; margin: 12px 8px 0 0; width: 38px; height: 38px;
    line-height: 38px; text-align: center; background: var(--navy) !important; opacity: 1; border-radius: 50%;
}
.TestiContent .carousel-control .glyphicon { color: #fff !important; position: static; margin: 0; font-size: 14px; line-height: 38px; }
.TestiContent .carousel-control:hover { background: var(--gold) !important; }

/* Leadership cards: dono ek jaisi height, button neeche aligned */
.msg-row { display: flex; flex-wrap: wrap; }
.msg-row::before, .msg-row::after { display: none !important; }
.msg-row > [class*="col-"] { display: flex; float: none; }
.msg-row .irs-courses-col { display: flex; flex-direction: column; width: 100%; margin-bottom: 25px; }
.msg-row .irs-courses-img img { height: 250px; }
.msg-row .irs-courses-content { flex: 1; display: flex; flex-direction: column; text-align: center; }
.msg-row .irs-courses-content p { flex: 1; margin-bottom: 18px; }
.msg-row .irs-courses-content .btn { align-self: center; }

/* ==========================================================
   INNER PAGES (About etc.)
   ========================================================== */
.page-banner {
    background:
        linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.50) 100%),
        url('../data1/images/slide8.jpg') center 40% / cover no-repeat;
    background-color: var(--navy);
    padding: 85px 0 75px !important; text-align: center;
    border-bottom: 4px solid var(--gold);
}
.page-banner h1 { text-shadow: 0 3px 14px rgba(0,0,0,.6); }
.page-crumb li { text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.page-banner h1 { color: #fff !important; font-size: 36px; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: 1px; }
.page-banner h1 span { color: var(--gold-light); }
.page-crumb { list-style: none; padding: 0; margin: 0; }
.page-crumb li { display: inline-block; color: var(--gold-light); font-size: 14px; }
.page-crumb li + li::before { content: '/'; color: rgba(255,255,255,.6); margin: 0 10px; }
.page-crumb a { color: #fff !important; }
.page-crumb a:hover { color: var(--gold-light) !important; }

.about-values { background: var(--bg-soft) !important; }
.value-card {
    width: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    border-bottom: 4px solid var(--gold); padding: 30px 24px 26px; margin-bottom: 25px;
    text-align: center; transition: all .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
    border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff; font-size: 22px; margin-bottom: 14px;
}
.value-card h4 { color: var(--navy); font-weight: 700; margin: 0 0 10px; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.about-glance { padding-top: 40px !important; padding-bottom: 25px !important; }
.glance-item { text-align: center; margin-bottom: 20px; }
.glance-item strong { display: block; color: #fff; font-size: 30px; font-weight: 700; line-height: 1.2; }
.glance-item span { color: var(--gold-light); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

.about-cta { padding: 40px 0 !important; background: var(--white); }
.cta-box {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: var(--bg-soft); border-left: 6px solid var(--gold); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 28px 32px;
}
.cta-text h3 { margin: 0 0 6px; color: var(--navy); font-weight: 700; font-size: 22px; }
.cta-text p { margin: 0; color: var(--muted); }
.cta-text i { color: var(--gold); }
.cta-btn {
    background: var(--gold); color: #fff !important; padding: 11px 30px; border-radius: 30px;
    font-weight: 600; text-transform: uppercase; letter-spacing: .6px; font-size: 13px;
}
.cta-btn:hover { background: var(--navy); }

@media (max-width: 767px) {
    .page-banner h1 { font-size: 26px; }
    .page-banner { padding: 55px 0 48px !important; }
    .cta-box { padding: 22px 18px; text-align: center; justify-content: center; }
}

/* ---------- Vision & Mission ---------- */
.vm-card {
    width: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    border-top: 5px solid var(--gold); padding: 30px 30px 26px; margin-bottom: 25px; transition: all .3s ease;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.vm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.vm-head h3 { margin: 0; color: var(--navy); font-weight: 700; font-size: 24px; }
.vm-icon {
    flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 22px;
}
.vm-quote { color: var(--gold); font-size: 20px; font-style: italic; font-weight: 600; margin-bottom: 10px; }
.vm-card p { color: var(--muted); font-size: 15px; text-align: justify; }
.vm-card strong { color: var(--navy); }
.vm-list { list-style: none; padding: 0; margin: 0; }
.vm-list li {
    position: relative; padding: 0 0 14px 30px; color: var(--muted); font-size: 15px; text-align: justify;
}
.vm-list li::before {
    content: '\2713'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; line-height: 20px;
    text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 50%;
}
.center-row { justify-content: center; }

/* ---------- Message pages (Principal / Director) ---------- */
.person-card {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover);
    border-bottom: 5px solid var(--gold); overflow: hidden; margin-bottom: 25px; text-align: center;
}
.person-photo { background: var(--bg-soft); }
.person-photo img { width: 100%; height: 340px; object-fit: cover; object-position: top; display: block; }
.person-info { padding: 18px 16px 20px; }
.person-info h4 { margin: 0 0 4px; color: var(--navy); font-weight: 700; font-size: 22px; }
.person-info span { display: block; color: var(--muted); font-size: 14px; }
.person-info .person-place { color: var(--gold); font-size: 13px; font-weight: 500; margin-top: 2px; }
.message-text p { margin-bottom: 14px; }
.msg-quote {
    border-left: 5px solid var(--gold); background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 24px; margin: 0 0 20px; color: var(--navy); font-size: 18px; font-style: italic; line-height: 1.7;
}
.msg-sign { margin-top: 22px; padding-top: 14px; border-top: 2px dashed #cfe3d7; }
.msg-sign strong { display: block; color: var(--navy); font-size: 18px; }
.msg-sign span { color: var(--muted); font-size: 14px; }

/* ---------- Feature band (banner ke neeche) ---------- */
.feature-band { padding-top: 40px !important; padding-bottom: 14px !important; }
.feature-band .value-card { padding: 28px 24px 22px; }
.feature-band .value-card p { text-align: justify; }

/* ---------- Home quotes band: halka (light) look ---------- */
.quote-sec.irs-testimonial-field {
    background: linear-gradient(135deg, #fbf6e9 0%, #eaf5ee 100%) !important;
    padding-top: 55px !important; padding-bottom: 55px !important;
}
.quote-sec .irs-testimonial-single {
    background: var(--white) !important;
    border: 0; border-top: 5px solid var(--gold); border-radius: var(--radius);
    box-shadow: var(--shadow-hover); backdrop-filter: none; padding: 34px 44px !important; text-align: center;
}
.quote-sec .irs-testimonial-single p { color: var(--navy) !important; font-size: 18px; line-height: 1.8; font-style: italic; }
.quote-sec .irs-testimonial-single h4 { color: var(--gold) !important; letter-spacing: 2px; font-size: 14px !important; }
.quote-sec .irs-comment-icon i { color: var(--gold) !important; opacity: .9; font-size: 34px; }
.quote-sec .owl-theme .owl-controls .owl-page span, .quote-sec .owl-page span { background: #bcd9c9 !important; opacity: 1; }
.quote-sec .owl-page.active span { background: var(--gold) !important; }

/* ---------- School calendar ---------- */
.cal-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; background: var(--navy); padding: 12px 14px; }
.cal-title, .cal-title span { color: #fff !important; font-weight: 600; font-size: 17px; letter-spacing: .5px; }
.cal-nav {
    background: rgba(255,255,255,.18); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%;
    font-size: 22px; line-height: 28px; padding: 0; cursor: pointer; transition: background .25s ease;
}
.cal-nav:hover { background: var(--gold); }
.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-table th { text-align: center; font-size: 12px; font-weight: 600; color: var(--navy); background: var(--bg-soft); padding: 8px 0; }
.cal-table td { text-align: center; padding: 2px 0; }
.cal-table td span {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 2px auto;
    border-radius: 50%; font-size: 13.5px; color: var(--text);
}
.cal-table td.sun span { color: #c0392b; }
.cal-table td.holiday span { background: #fdecec; color: #c0392b; font-weight: 600; cursor: help; }
.cal-table td.today span { background: var(--gold); color: #fff; font-weight: 700; }
.cal-holidays { padding: 4px 16px 14px; }
.cal-holidays h5 { color: var(--navy); font-weight: 700; margin: 8px 0 6px; font-size: 14px; }
.cal-holidays ul { list-style: none; padding: 0; margin: 0; }
.cal-holidays li { font-size: 13px; color: var(--muted); padding: 3px 0 3px 14px; position: relative; }
.cal-holidays li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #c0392b; }

/* ---------- Contact page ---------- */
.contact-sec { padding: 45px 0 20px !important; background: var(--white); }
.contact-form {
    width: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover);
    border-top: 5px solid var(--gold); padding: 28px 28px 24px; margin-bottom: 25px;
}
.contact-form h3 { margin: 0 0 18px; color: var(--navy); font-weight: 700; font-size: 22px; }
.contact-form .form-control {
    height: 46px; border: 1px solid #d5e2da; border-radius: 8px; box-shadow: none; margin-bottom: 16px;
    font-size: 14px; color: var(--text); background: #fbfdfc;
}
.contact-form textarea.form-control { height: auto; resize: vertical; }
.contact-form .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,121,31,.15); background: #fff; }
.cform-btn { border: 0 !important; cursor: pointer; padding: 12px 34px; }
.cform-msg { margin-left: 14px; color: var(--navy); font-weight: 600; font-size: 14px; }
.contact-info { width: 100%; margin-bottom: 25px; }
.ci-item {
    display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border-left: 5px solid var(--gold); padding: 16px 20px; margin-bottom: 16px; transition: all .3s ease;
}
.ci-item:hover { transform: translateX(5px); box-shadow: var(--shadow-hover); }
.ci-icon {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 20px;
}
.ci-item h5 { margin: 0 0 2px; color: var(--navy); font-weight: 700; font-size: 15px; }
.ci-item p { margin: 0; color: var(--muted); font-size: 14px; word-break: break-word; }
.contact-map { padding: 10px 0 45px !important; background: var(--white); }
.contact-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* ---------- Social icons ---------- */
.social-network a.icoInstagram { background: linear-gradient(45deg, #f09433 0%, #dc2743 55%, #bc1888 100%) !important; }
.social-network a.icoInstagram i, .social-network a.icoFacebook i { color: #fff !important; }
.social-network { display: flex; gap: 12px; }

/* ---------- Copyright bar + SSITS button ---------- */
.copy-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.copy-row span { color: #b4d4c3; font-size: 13.5px; }
.irs-copyright a.ssits-btn, .mcopyright a.ssits-btn, a.ssits-btn {
    display: inline-block; background: var(--gold) !important; color: #fff !important; font-weight: 700;
    font-size: 12.5px; letter-spacing: 1px; padding: 4px 18px; margin-left: 6px; border-radius: 30px;
    border: 2px solid var(--gold); transition: all .25s ease; line-height: 1.6;
}
.irs-copyright a.ssits-btn:hover, .mcopyright a.ssits-btn:hover, a.ssits-btn:hover {
    background: transparent !important; color: var(--gold-light) !important; border-color: var(--gold-light); transform: translateY(-2px);
}
.mcopyright span { display: block; text-align: center; color: #b4d4c3; font-size: 13px; margin-top: 6px; }
@media (max-width: 767px) { .copy-row { justify-content: center; text-align: center; } }

/* ---------- Latest notices ---------- */
.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-item {
    display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border-left: 5px solid var(--gold); padding: 14px 18px; margin-bottom: 12px; transition: all .3s ease;
}
.notice-item:hover { transform: translateX(5px); box-shadow: var(--shadow-hover); }
.notice-icon {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 17px;
}
.notice-text { flex: 1; min-width: 0; }
.notice-text strong { display: block; color: var(--navy); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.notice-text small { display: block; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.notice-hot { background: linear-gradient(90deg, var(--navy), var(--blue)); border-left-color: var(--gold-light); }
.notice-hot .notice-text strong { color: #fff; font-size: 17px; }
.notice-hot .notice-text small { color: var(--gold-light); text-transform: none; }
.notice-hot .notice-icon { background: var(--gold); }
.notice-btn {
    flex: 0 0 auto; background: var(--gold); color: #fff !important; font-weight: 600; font-size: 12.5px;
    padding: 7px 20px; border-radius: 30px; text-transform: uppercase; letter-spacing: .5px; transition: all .25s ease;
}
.notice-btn:hover { background: #fff; color: var(--navy) !important; }

/* ---------- Mobile footer fix ---------- */
.irs-footer-field { padding-bottom: 22px !important; }
@media (max-width: 767px) {
    body { padding-bottom: 0 !important; }
    .mFixfooter {
        position: static !important; bottom: auto !important; height: auto !important;
        background: #0B2E20 !important; padding: 14px 10px !important; border-top: 1px solid rgba(255,255,255,.08);
    }
    .mFixfooter .container, .mFixfooter .row, .mFixfooter [class*="col-"] { padding: 0 !important; margin: 0 !important; float: none !important; width: 100% !important; }
    .mcopyright { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; text-align: center !important; }
    .mcopyright span { display: block; text-align: center; color: #b4d4c3; font-size: 13px; line-height: 1.6; margin: 3px 0; }
    .irs-footer-field .col-sm-4 { margin-bottom: 18px; }
    .irs-footer-field { padding-top: 24px !important; }
    .notice-item { flex-wrap: wrap; }
    .notice-btn { margin-left: 58px; }
}

/* ---------- Back to top arrow ---------- */
#scrollUp {
    position: fixed !important; right: 24px !important; bottom: 24px !important; z-index: 9999;
    width: 46px !important; height: 46px !important; padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important; background: var(--gold) !important; border: 0 !important;
    font-size: 0 !important; line-height: 0 !important; color: transparent !important; text-indent: 0;
    box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: background .25s ease, transform .25s ease;
}
#scrollUp > * { display: none !important; }
#scrollUp::before { display: none !important; content: none !important; }
#scrollUp::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px;
    border-left: 3px solid #fff; border-top: 3px solid #fff; border-radius: 2px;
    transform: translate(-50%, -30%) rotate(45deg);
}
#scrollUp:hover { background: var(--navy) !important; transform: translateY(-3px); }
@media (max-width: 767px) { #scrollUp { right: 14px !important; bottom: 14px !important; width: 42px !important; height: 42px !important; } }

/* ---------- Contact: address left, map right ---------- */
.contact-sec { padding-bottom: 50px !important; }
.contact-info { display: flex; flex-direction: column; justify-content: space-between; height: 100%; margin-bottom: 25px; }
.contact-info .ci-item { margin-bottom: 16px; flex: 1; }
.contact-info .ci-item:last-child { margin-bottom: 0; }
.map-box { width: 100%; display: flex; margin-bottom: 25px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); border: 3px solid var(--white); }
.map-box iframe { flex: 1; width: 100%; min-height: 400px; border: 0; display: block; }
@media (max-width: 991px) { .map-box iframe { min-height: 320px; } }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    section { padding-top: 18px; padding-bottom: 18px; }
    .irs-navbar .navbar-nav > li > a::after { display: none; }
    .irs-navbar .navbar-collapse { background: var(--white); }
    .dropdown-menu { box-shadow: none; }
}
