/*
Theme Name: Shikkha Ideal
Theme URI: https://example.com/shikkha-ideal
Author: Shikkha Ideal
Author URI: https://example.com/
Description: A school website theme matching the classic Bangladeshi school homepage layout — image banner header, white navigation, notice ticker, slider with chairman / head-teacher cards and latest notices, teachers carousel, institute information, published notices, hotline, history and features, news and achievements, gallery. Colours and layout follow the reference demo; all text and images are editable from the WordPress dashboard.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shikkha-ideal
Tags: education, school, responsive, customizer
*/

/* ============================================================
   0. Variables + base (demo values: Roboto body, Montserrat
   headings, body text #505050 16px/28px)
   ============================================================ */
:root {
	--si-navy: #07294d;
	--si-dark-navy: #021d3a;
	--si-navy-2: #092e56;
	--si-yellow: #ffc600;
	--si-teal: #12889c;
	--si-steel: #20526b;
	--si-dark-teal: #004d40;
	--si-red: #ff3115;
	--si-red-2: #ef262d;
	--si-green: #28a745;
	--si-green-2: #1ab33d;
	--si-green-3: #275828;
	--si-border: #b2dfdb;
	--si-gray-bg: #eef8ff;
	--si-pale: #eceff1;
	--si-pink: #efdfdf;
}
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Roboto', 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #505050;
	background: #fff;
}
body.bangla-font { font-family: 'Roboto', 'SolaimanLipi', 'Noto Sans Bengali', sans-serif; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', 'Open Sans', sans-serif;
	color: #000;
	margin: 0 0 10px;
}
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
ul, ol { margin: 0; padding: 0; list-style-type: none; }
p {
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	color: #505050;
	margin: 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--si-navy); text-decoration: none; }
a:focus, a:hover { color: var(--si-yellow); }
a:focus { outline: 2px solid var(--si-yellow); outline-offset: 2px; }
button { font-family: inherit; }
.clearfix::after { content: ''; display: table; clear: both; }
.pull-left { float: left; }
.mr-15 { margin-right: 15px; }
.thumbnail {
	display: inline-block; padding: 4px; background: #fff;
	border: 1px solid #ddd; border-radius: 4px;
}
.text-center { text-align: center; }
.text-wrap { overflow-wrap: break-word; }

/* --- Layout helpers (Bootstrap-like) --- */
.si-container {
	width: 100%; max-width: 1170px;
	margin-left: auto; margin-right: auto;
	padding-left: 15px; padding-right: 15px;
}
.si-row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.si-row > [class*="si-col-"] { padding-left: 15px; padding-right: 15px; }
.si-col-12, .si-col-sm-12 { flex: 0 0 100%; max-width: 100%; }
.no-gutters { margin-left: 0; margin-right: 0; }
.no-gutters > [class*="si-col-"] { padding-left: 0; padding-right: 0; }
.pl-0 { padding-left: 0; } .pr-0 { padding-right: 0; }
.ml-0 { margin-left: 0; } .mr-0 { margin-right: 0; }
.pt-0 { padding-top: 0; } .pb-0 { padding-bottom: 0; }
.pt-10 { padding-top: 10px; } .pb-10 { padding-bottom: 10px; }
.pt-15 { padding-top: 15px; } .pb-15 { padding-bottom: 15px; }
.pt-20 { padding-top: 20px; } .pb-20 { padding-bottom: 20px; }
.pt-25 { padding-top: 25px; } .pb-25 { padding-bottom: 25px; }
.pt-30 { padding-top: 30px; } .pb-30 { padding-bottom: 30px; }
.pt-45 { padding-top: 45px; } .pb-45 { padding-bottom: 45px; }
.pb-50 { padding-bottom: 50px; } .pb-60 { padding-bottom: 60px; }
.mt-12 { margin-top: 12px; } .mt-20 { margin-top: 20px; }
.mt-35 { margin-top: 35px; } .mt-40 { margin-top: 40px; }
.mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; }
.gray-bg { background: #eef8ff; }
.white-bg { background: #fff; }
.box_area1 {
	border-radius: 2px;
	box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
	transition: box-shadow .25s;
	box-shadow: 0px 1px 10px dodgerblue;
}
@media (min-width: 768px) {
	.si-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.si-col-md-6 { flex: 0 0 50%; max-width: 50%; }
	.si-col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
	.si-col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.si-col-lg-3 { flex: 0 0 25%; max-width: 25%; }
	.si-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.si-col-lg-6 { flex: 0 0 50%; max-width: 50%; }
	.si-col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.si-col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}
@media (max-width: 991.98px) {
	.si-col-lg-2, .si-col-lg-3, .si-col-lg-4,
	.si-col-lg-6, .si-col-lg-7, .si-col-lg-8 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767.98px) {
	.si-col-md-4, .si-col-md-6 { flex: 0 0 100%; max-width: 100%; }
}

/* --- Buttons --- */
.main-btn {
	margin-top: 5px;
	display: inline-block;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: 1px solid #ffc600;
	padding: 0 8px;
	font-size: 14px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	line-height: 25px;
	border-radius: 5px;
	color: #07294d;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	z-index: 5;
	transition: 0.4s ease-in-out;
	background-color: #ffc600;
}
.main-btn:hover {
	color: #ffc600;
	border-color: #07294d;
	background-color: #07294d;
}
.si-btn {
	display: inline-block; background: var(--si-yellow); color: var(--si-navy);
	font-weight: 700; padding: 8px 18px; border-radius: 5px; margin-top: 8px;
}
.si-btn:hover { background: var(--si-navy); color: var(--si-yellow); }
.si-img-placeholder {
	display: flex; align-items: center; justify-content: center;
	background: #dfe9f2; color: var(--si-navy); font-weight: 700;
	min-height: 140px; text-align: center; padding: 12px;
}

/* ============================================================
   1. Header banner (demo: background image, logo + white
   32px names + address + EIIN inside, slogan image right)
   NOTE: the demo's banner photo cannot be copied, so the theme
   uses a deep navy textured gradient in its place.
   ============================================================ */
.si-header-top {
	background-color: #0b3d5e;
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 9px),
		linear-gradient(135deg, #0a3a5c 0%, #07294d 45%, #0d4a6b 100%);
	background-size: auto, cover;
	padding-top: 15px;
	padding-bottom: 5px;
}
.si-header-top-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.si-header-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.si-header-top .si-logo { flex: 0 0 auto; }
.si-header-top .si-logo img {
	width: 100px; height: auto; display: block;
}
.si-header-top .si-crest {
	width: 100px; height: 100px; border-radius: 50%;
	background: var(--si-yellow); color: var(--si-navy);
	display: flex; align-items: center; justify-content: center;
	font-size: 34px; font-weight: 800;
}
.si-header-top .si-names { min-width: 0; }
.si-name-bn, .si-name-en {
	color: #fff; font-size: 32px; font-weight: 700; line-height: 1.25; margin: 0;
	text-shadow: -1px -1px 10px #111, 1px -1px 10px #111, -1px 1px 10px #111, 1px 1px 10px #111;
}
.si-name-en { font-family: 'SolaimanLipi', 'Noto Sans Bengali', sans-serif; }
.si-address {
	color: #fff; font-size: 21px; font-family: initial; margin: 0;
	text-shadow: -1px -1px 10px #111, 1px -1px 10px #111, -1px 1px 10px #111, 1px 1px 10px #111;
}
.si-eiin {
	color: #fff; margin: 0; font-family: sans-serif;
	text-shadow: -1px -1px 10px #111, 1px -1px 10px #111, -1px 1px 10px #111, 1px 1px 10px #111;
}
.si-eiin span + span { margin-left: 8px; }
.si-header-side { flex: 0 0 auto; }
.si-header-side img { display: block; width: 165px; height: 100px; object-fit: cover; }

/* ============================================================
   2. Navigation (white bar, shadow, 5px bottom margin;
   sticky on scroll)
   ============================================================ */
.navigation {
	background: #fff;
	box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.16), 0 0px 10px 0 rgba(0, 0, 0, 0.12);
	margin-bottom: 5px;
}
.navigation.sticky {
	position: fixed; top: 0; left: 0; width: 100%;
	background: #fff; z-index: 999;
}
.main-navigation .navbar { padding: 0; }
.main-navigation .navbar-nav {
	display: flex; flex-wrap: wrap; align-items: center;
	margin-right: 20px;
}
.main-navigation li { position: relative; }
.main-navigation a {
	font-size: 12px; font-weight: 500; color: #07294d;
	text-transform: uppercase;
	transition: all 0.4s linear;
	padding: 10px; display: block;
	border-right: 2px solid #fff;
	font-family: system-ui, sans-serif;
}
.main-navigation > .navbar-nav > li > a.active,
.main-navigation > .navbar-nav > li:hover > a { color: #ffc600; }
.main-navigation .sub-menu {
	position: absolute; top: 110%; left: 0;
	background-color: #12889c; width: 180px;
	opacity: 0; visibility: hidden;
	transition: all 0.4s linear; z-index: 99;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; top: 100%;
}
.main-navigation .sub-menu li { display: block; margin-right: 0; }
.main-navigation .sub-menu a {
	padding: 10px 15px; display: block;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff; text-transform: none; font-size: 13px;
}
.main-navigation .sub-menu a.active,
.main-navigation .sub-menu a:hover { padding-left: 20px; color: #ef262d; }
.main-navigation .sub-menu li:last-child a { border-bottom: 0; }
.main-navigation .si-login-item > a,
.main-navigation .si-apply-item > a {
	background-color: #f1f1f1 !important; color: #d32f2f;
}
.navbar-toggler {
	display: none;
	padding: 3px 8px; margin: 18px 0;
	background: none; border: 0; cursor: pointer;
}
.navbar-toggler .icon-bar {
	width: 30px; height: 2px; background-color: #07294d;
	display: block; margin: 5px 0; position: relative;
	transition: all 0.4s linear;
}
.navbar-toggler.active .icon-bar:nth-of-type(1) { transform: rotate(46deg); top: 7px; }
.navbar-toggler.active .icon-bar:nth-of-type(2) { opacity: 0; }
.navbar-toggler.active .icon-bar:nth-of-type(3) { transform: rotate(134deg); top: -7px; }

/* ============================================================
   3. NOTICE ticker (demo: 35px bordered box, teal label,
   native marquee, red blinking text)
   ============================================================ */
.breakingNews {
	height: 35px; position: relative;
	border: solid 2px #2096cd; overflow: hidden;
	display: flex; align-items: stretch; background: #fff;
	margin-bottom: 0;
}
.bn-turquoise { border-color: #1fb5ad; }
.breakingNews > .bn-title {
	width: auto; height: 35px; display: inline-block;
	background: #1fb5ad; flex: 0 0 auto;
}
.breakingNews > .bn-title > h2 {
	display: inline-block; margin: 0; padding: 0 20px;
	line-height: 35px; font-size: 18px; color: #fff;
	font-family: math, serif; height: 35px; box-sizing: border-box;
}
.breakingNews .bn-body { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; }
.breakingNews marquee { width: 100%; }
.breakingNews .si-ticker-item { padding: 10px; }
.breakingNews .si-ticker-item a,
.breakingNews a.scroll-notice-link {
	font-size: 1em; margin-top: 6px; color: #222 !important;
	text-decoration: none; font-weight: 700;
}
.blink_me { color: red; animation: si-blink 1s steps(2, start) infinite; }
@keyframes si-blink { to { visibility: hidden; } }

/* ============================================================
   4. Section One — people / slider / latest notices
   ============================================================ */
#blog-single { padding-top: 20px; padding-bottom: 30px; }
.sidebar-post {
	padding: 5px 10px 5px; background-color: #fff; border-radius: 0;
}
.sidebar-post ul li { margin-bottom: 10px; }
.single-post .thum img,
.si-person-photo.center {
	display: block; width: 200px; height: 160px; margin: auto;
	padding: 1px; border: 1px solid #b2dfdb; object-fit: cover;
}
.si-person-photo.center {
	display: flex; align-items: center; justify-content: center;
	background: var(--si-navy); color: #fff;
	font-size: 44px; font-weight: 700;
}
.single-post .cont p {
	font-size: 14px; font-weight: 600; line-height: 21px;
	color: #505050; margin: 0; text-align: center;
	overflow-wrap: break-word;
}
#slider-part { padding: 5px 10px 5px; background-color: #fff; border-radius: 0; }
.si-slider {
	position: relative; overflow: hidden; background: #222;
	aspect-ratio: 1080 / 670; perspective: 1200px;
}
.si-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; z-index: 1;
	transition: opacity .7s ease, transform .7s ease, visibility 0s .7s;
}
.si-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity .7s ease, transform .7s ease, visibility 0s; }
.si-slide.is-leaving { opacity: 0; visibility: visible; z-index: 1; transition: opacity .7s ease, transform .7s ease, visibility 0s; }
.si-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.overlayImage {
	position: absolute; bottom: 0; left: 0; right: 0;
	background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.5);
	color: #f1f1f1; width: 100%;
	color: white; font-size: 20px; padding: 30px; text-align: center;
	z-index: 3;
}
.overlayImage p {
	margin-top: -12px; color: #fff; font-size: 22px !important;
	font-weight: 400; line-height: 1.4;
}
.overlayImage span { display: block; color: #fff; font-size: 15px; margin-top: 6px; }
.overlayImage .main-btn { margin-top: 10px; }
.si-slide.is-active .overlayImage { opacity: 1; }
.si-slide[data-effect="slide-left"] { transform: translateX(100%); }
.si-slide[data-effect="slide-left"].is-leaving { transform: translateX(-100%); }
.si-slide[data-effect="slide-right"] { transform: translateX(-100%); }
.si-slide[data-effect="slide-right"].is-leaving { transform: translateX(100%); }
.si-slide[data-effect="slide-down"] { transform: translateY(-100%); }
.si-slide[data-effect="slide-down"].is-leaving { transform: translateY(100%); }
.si-slide[data-effect="slide-up"] { transform: translateY(100%); }
.si-slide[data-effect="slide-up"].is-leaving { transform: translateY(-100%); }
.si-slide[data-effect="fade"] { transform: none; }
.si-slide[data-effect="zoom"] { transform: scale(1.15); }
.si-slide[data-effect="zoom"].is-leaving { transform: scale(.92); }
.si-slide[data-effect="flip"] { transform: rotateY(90deg); backface-visibility: hidden; }
.si-slide[data-effect="flip"].is-leaving { transform: rotateY(-90deg); }
.si-slide[data-effect="kenburns"] { transform: none; }
.si-slide[data-effect="kenburns"] .si-slide-bg { transition: transform 6s ease; }
.si-slide[data-effect="kenburns"].is-active .si-slide-bg { transform: scale(1.12); }
.si-slats { position: absolute; inset: 0; display: flex; z-index: 4; pointer-events: none; }
.si-slat { flex: 1 1 0; background: var(--si-navy); transition: transform .7s ease; transform-origin: top; }
.si-slide[data-effect="blinds"] { transform: none; }
.si-slide[data-effect="blinds"].is-active .si-slat,
.si-slide[data-effect="blinds"].is-leaving .si-slat { transform: scaleY(0); }
.si-curtain { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--si-navy); z-index: 4; transition: transform .8s ease; }
.si-curtain-l { left: 0; }
.si-curtain-r { right: 0; }
.si-slide[data-effect="curtain"] { transform: none; }
.si-slide[data-effect="curtain"].is-active .si-curtain-l,
.si-slide[data-effect="curtain"].is-leaving .si-curtain-l { transform: translateX(-102%); }
.si-slide[data-effect="curtain"].is-active .si-curtain-r,
.si-slide[data-effect="curtain"].is-leaving .si-curtain-r { transform: translateX(102%); }
.si-slider.is-reverse .si-slide[data-effect="slide-left"] { transform: translateX(-100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-left"].is-leaving { transform: translateX(100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-right"] { transform: translateX(100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-right"].is-leaving { transform: translateX(-100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-down"] { transform: translateY(100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-down"].is-leaving { transform: translateY(-100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-up"] { transform: translateY(-100%); }
.si-slider.is-reverse .si-slide[data-effect="slide-up"].is-leaving { transform: translateY(100%); }
.si-slider.is-reverse .si-slide[data-effect="flip"] { transform: rotateY(-90deg); }
.si-slider.is-reverse .si-slide[data-effect="flip"].is-leaving { transform: rotateY(90deg); }
.si-slider .si-slide.is-active[data-effect] { transform: none; }
.si-slider-dots {
	position: absolute; bottom: 8px; right: 12px;
	display: flex; gap: 8px; z-index: 6;
}
.si-slider-dots button {
	width: 12px; height: 12px; border-radius: 50%;
	border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0;
}
.si-slider-dots button.is-active { background: #fff; }
.si-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.45); color: #fff; border: 0;
	font-size: 26px; line-height: 1; padding: 8px 12px; cursor: pointer; z-index: 6;
}
.si-slider-arrow.si-prev { left: 10px; }
.si-slider-arrow.si-next { right: 10px; }

/* --- Latest Notices panel --- */
.category-text { padding-top: 0; }
.panel { background-color: #fff; }
.panel-heading {
	padding: 5px 0 5px 15px; border-bottom: 1px solid #e0dbdb;
	background-color: #1ab33d; color: #fff;
}
.panel-heading span {
	font-family: math, serif; text-transform: uppercase;
	font-size: 18px; font-weight: 700; border-radius: 3px;
}
.list-wrpaaer { height: 380px; width: 100%; border: 1px solid #b2dfdb; overflow: hidden; }
.notice-div {
	color: #000; padding: 18px;
	border-top: 1px solid #d5e5ff; border-bottom: 1px solid #d5e5ff;
	background-color: #eeffeb;
}
.notice-div a { color: #000; text-decoration: none; display: block; }
.notice-div .spnNewTagAnnouncement { margin-right: 4px; }
.notice-div .news-date { color: #f55; }
.notice-div .news-date span { color: #f00; }

/* --- Section One equal heights (desktop only) ---
   The three boxes have different natural heights (people cards ~434px,
   slider ~402px from its 1080:670 aspect, notices panel ~412px from the
   fixed 380px list). On desktop the row stretches every column to the
   tallest one and each box fills its column, so all three end on the
   same line. The left column's mb-20 and the people box's mt-12 are
   neutralised here too — they otherwise offset the box by 20px/12px.
   Below 992px the columns stack and size to content, as before. */
@media (min-width: 992px) {
	#blog-single > .si-container > .si-row > [class*="si-col-"] { display: flex; flex-direction: column; }
	#blog-single .si-col-lg-2.mb-20 { margin-bottom: 0; }
	#blog-single .si-col-lg-2 > .si-row,
	#blog-single .si-col-lg-7 > .si-row { flex: 1 1 auto; min-height: 0; }
	#blog-single .si-col-lg-3 .sidebar { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .si-col-lg-3 .sidebar > .si-row { flex: 1 1 auto; min-height: 0; }
	#blog-single .si-col-lg-2 .si-col-12,
	#blog-single .si-col-lg-7 .si-col-12,
	#blog-single .si-col-lg-3 .si-col-12 { display: flex; flex-direction: column; }
	/* Left: people box fills its column; the two cards share the height. */
	#blog-single .sidebar-post.mt-12 { margin-top: 0; }
	#blog-single .sidebar-post { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .sidebar-post ul { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .sidebar-post ul li { flex: 1 1 0; display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
	#blog-single .sidebar-post .single-post { width: 100%; }
	/* Middle: slider fills its column (aspect-ratio is dropped here — the
	   slides are absolutely positioned and cover-fill any box height). */
	#blog-single #slider-part { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .si-slider { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
	/* Right: notices panel fills its column; the list area flexes. */
	#blog-single .category-text { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .category-text .panel { flex: 1 1 auto; display: flex; flex-direction: column; }
	#blog-single .category-text .panel-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
	#blog-single .category-text .panel-body > .si-row { flex: 1 1 auto; min-height: 0; }
	#blog-single .list-wrpaaer { flex: 1 1 auto; height: auto; min-height: 0; }
}

/* ============================================================
   4b. Teachers carousel ("শিক্ষক মণ্ডলী")
   Multi-card carousel: 4 cards per view on desktop, 3 on tablet,
   2 on small screens, 1 on phones. Steps one card at a time.
   ============================================================ */
.si-teachers-section { padding-bottom: 30px; }
.si-teachers-body { background: #eceff1; border: 1px solid #b2dfdb; padding: 20px 15px; overflow: hidden; }
.si-teachers-viewport { position: relative; overflow: hidden; }
.si-teachers-track { display: flex; transition: transform .5s ease; will-change: transform; }
.si-teacher-card { flex: 0 0 25%; max-width: 25%; padding: 0 8px; }
.si-teacher-card > a { display: block; background: #fff; text-decoration: none; height: 100%; box-shadow: 0 1px 5px rgb(0 0 0 / 12%); }
.si-teacher-card .thum img {
	display: block; width: 100%; height: 200px; object-fit: cover;
	margin: 0; border: 0; padding: 0;
}
/* NOTE: keep display:flex here — the base .si-person-photo rule centres
   the initials with flex; display:block would pin them to the top-left. */
.si-teacher-card .si-person-photo.center {
	width: 100%; height: 200px; margin: 0; border: 0; padding: 0;
}
.si-teacher-card .cont { padding: 12px 10px 14px; text-align: center; }
.si-teacher-card .cont h5 { font-size: 17px; color: #07294d; margin: 0 0 4px; font-family: 'Montserrat', sans-serif; }
.si-teacher-card .si-teacher-designation { color: #12889c; font-weight: 700; font-size: 14px; margin: 0; }
.si-teacher-card .si-teacher-department { color: #505050; font-size: 13px; margin: 2px 0 0; }
.si-teachers-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	background: rgba(7, 41, 77, 0.75); color: #ffc600; border: 0;
	font-size: 22px; line-height: 1; padding: 10px 12px; cursor: pointer; z-index: 5;
}
.si-teachers-arrow:hover { background: #07294d; }
.si-teachers-arrow.si-prev { left: 6px; }
.si-teachers-arrow.si-next { right: 6px; }
.si-teachers-viewport.is-static .si-teachers-arrow { display: none; }
@media (max-width: 991.98px) {
	.si-teacher-card { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (max-width: 767.98px) {
	.si-teacher-card { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 575.98px) {
	.si-teacher-card { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================================
   5. Section Two — institute info / all notices / hotline
   ============================================================ */
.section-content { padding-bottom: 0; }
.timeline {
	border: 1px solid #b2dfdb; border-radius: 3px;
	background-color: #004d40; color: #fff; padding: 0;
}
.timeline > h4 {
	color: #fff; font-size: 16px; text-transform: uppercase;
	font-weight: 700; padding: 7px; margin-left: 10px; margin-bottom: 0;
}
.timeline .four.columns.martopleftmenu { padding: 0 15px 15px; background: #fff; }
.timeline ul#menu { margin-top: 0; }
.timeline ul#menu li a {
	color: #212121; text-decoration: none; font-weight: 400;
	font-size: 15px; padding: 3px 10px; display: block;
}
.timeline ul#menu li a:hover { color: #c5e1a5; }
.si-all-notice-title {
	background-color: #004d40; border-radius: 3px;
	color: #fff; text-align: center; font-size: 20px; padding: 10px;
	margin-bottom: 0;
}
.si-all-notice-body {
	background-color: #e8f5e9; height: 340px; padding: 8px;
	overflow-y: auto;
}
.si-notice-table { width: 100%; border-collapse: collapse; }
.si-notice-table td { padding: 8px; border: 1px solid #ddd; vertical-align: middle; }
.si-notice-table .si-table-date { width: 155px; color: brown; }
.si-notice-table .si-table-date a { color: brown; }
.si-notice-table td a { color: #01579b; text-decoration: none; }
.si-notice-table .si-table-view { width: 44px; text-align: center; }
.si-all-notice-footer {
	background-color: #275828; padding: 7px; text-align: center;
}
.si-all-notice-footer a {
	color: #fff; font-size: 16px; text-decoration: none;
}
.visitorStatAdmission {
	padding: 10px; background: #28a745; color: #fff;
	font-size: 20px; font-weight: 700;
	border-radius: 5px 5px 0 0; text-align: center;
}
.visitorStatAdm { background: #ffcdd2; padding: 10px; }
.visitorStatAdm img { width: 100%; height: 330px; object-fit: cover; display: block; }
.visitorStatAdm ul li { padding: 6px 2px; color: #222; font-weight: 600; }
.visitorStatAdm ul li span { color: #000; }

/* ============================================================
   6. Area Three — history / features
   ============================================================ */
.visitorStatHed1 {
	background: #004d40; color: #fff; border-radius: 3px;
	padding: 6px; font-size: 20px; font-weight: 700;
	text-transform: uppercase;
}
.timelineV11 { background: #fff; }
.si-info-body {
	background: #eceff1; border: 1px solid #b2dfdb;
	padding: 15px; overflow: hidden;
}
.si-info-body img.pull-left { width: 250px; height: 160px; object-fit: cover; }
.si-info-body .si-img-placeholder.pull-left {
	width: 250px; height: 160px; min-height: 160px;
}
.si-info-body .main-btn { border-radius: 15px; }

/* ============================================================
   7. News & Events + Achievements
   ============================================================ */
.si-sec-h {
	background: #004d40; color: #fff; border-radius: 3px;
	padding: 6px; font-size: 22px; font-weight: 400;
	font-family: fantasy, cursive; margin-bottom: 15px;
}
.news-list-item {
	display: flex; padding: 15px; border: 1px solid rgba(34, 34, 34, 0.1);
	background: #fff; margin-bottom: 15px;
}
.news-list-item .news-img { flex: 0 0 33.333%; padding-right: 15px; }
.news-list-item .news-img img {
	width: 100%; height: 140px; object-fit: cover; display: block;
}
.news-list-item .news-img .si-img-placeholder { height: 140px; min-height: 140px; }
.news-list-item .news-content { flex: 1 1 auto; min-width: 0; }
.news-list-item .news-title { margin: 0 0 6px; }
.news-list-item .news-title a { color: #212121; font-size: 18px; }
.news-list-item .news-title a:hover { color: #ff3115; }
.news-list-item .news-date { font-size: 14px; color: #505050; }
.news-list-item .news-date span:first-child { color: red; }
.news-list-item .news-desc p { font-size: 15px; line-height: 24px; }

/* ============================================================
   8. Visitor Speech (demo: centred heading only)
   ============================================================ */
.si-visitor-speech-title {
	font-family: 'SolaimanLipi', 'Noto Sans Bengali', sans-serif;
	font-size: 32px; font-weight: 700; color: #07294d;
	text-transform: uppercase; text-align: center; margin: 0;
}

/* ============================================================
   9. Why Choose — hex gallery + Facebook + video
   ============================================================ */
.si-why-section { background: #efdfdf; }
.si-fantasy-h {
	font-family: fantasy, cursive; font-size: 22px; font-weight: 400;
	color: #000; margin-bottom: 15px;
}
.apply-cont { padding: 15px; }
.apply-color-why { background: #fff; }
.apply-color-facebook { background: #fff; }
.apply-color-facebook iframe { width: 100%; }
.apply-color-facebook .fb-page { display: block; }
/* Hex grid (demo why.css layout) */
#hexGrid {
	display: flex; flex-wrap: wrap; width: 90% !important;
	margin: 0 auto; overflow: hidden; font-family: sans-serif;
	list-style-type: none; z-index: 9999;
}
.hex {
	position: relative; visibility: hidden; outline: 1px solid transparent;
	transition: all 0.5s; backface-visibility: hidden; will-change: transform;
	z-index: 9999;
}
.hex::after { content: ''; display: block; padding-bottom: 86.602%; }
.hexIn {
	position: absolute; width: 96%; padding-bottom: 110.851%;
	margin: 2%; overflow: hidden; visibility: hidden;
	outline: 1px solid transparent;
	transform: rotate3d(0, 0, 1, -60deg) skewY(30deg);
	transition: all 0.5s; z-index: 9999;
}
.hexIn * { position: absolute; visibility: visible; outline: 1px solid transparent; }
.hexLink {
	display: block; width: 100%; height: 100%; text-align: center;
	color: #fff; overflow: hidden;
	transform: skewY(-30deg) rotate3d(0, 0, 1, 60deg);
}
.hex img { left: -100%; right: -100%; width: auto; height: 100%; margin: 0 auto; }
.hex h1, .hex p {
	width: 100%; padding: 20px 0 0; box-sizing: border-box;
	font-weight: 300; opacity: 0;
}
#demo1 {
	color: #fff; font-weight: bold; text-transform: capitalize;
	text-align: center; bottom: 30%; padding-top: 50%; font-size: 1.5em;
	padding-left: 0;
}
.hex h1:before, .hex h1:after {
	display: inline-block; margin: 0 0.5em; width: 0.25em; height: 0.03em;
	background: green; content: ''; vertical-align: middle; transition: all 0.3s;
	text-align: center;
}
#demo2 { top: 50%; text-align: center; text-transform: uppercase; }
.hex .img {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background-position: center center; background-size: cover; overflow: hidden;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.img:before, .img:after {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ''; opacity: 0;
}
.img:before { background: rgba(22, 103, 137, 0.3); }
.img:after { background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent); }
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p { opacity: 1; transition: 0.8s; }
.hexIn:hover .img:before, .hexIn:hover .img:after, .hexIn:hover .hexLink { opacity: 1; }
.si-hex-placeholder { background: #dfe9f2; }
@media (min-width: 1201px) {
	#hexGrid { padding-bottom: 4.4%; }
	.hex { width: 20%; }
	.hex:nth-child(9n+6) { margin-left: 10%; }
}
@media (max-width: 1200px) and (min-width: 901px) {
	#hexGrid { padding-bottom: 5.5%; font-size: 11px; }
	.hex { width: 25%; }
	.hex:nth-child(7n+5) { margin-left: 12.5%; }
}
@media (max-width: 900px) and (min-width: 601px) {
	#hexGrid { padding-bottom: 7.4%; font-size: 12px; }
	.hex { width: 33.333%; }
	.hex:nth-child(5n+4) { margin-left: 16.666%; }
}
@media (max-width: 600px) {
	#hexGrid { padding-bottom: 11.2%; font-size: 10px; }
	.hex { width: 50%; }
	.hex:nth-child(3n+3) { margin-left: 25%; }
}
@media (max-width: 400px) { #hexGrid { font-size: 8px; } }
.si-hex-modal {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0, 0, 0, 0.6); z-index: 1000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.si-hex-modal .modal-dialog { background: #fff; max-width: 800px; width: 100%; border-radius: 6px; overflow: hidden; }
.si-hex-modal .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #ddd; }
.si-hex-modal .modal-title { margin: 0; font-size: 18px; }
.si-hex-modal .modal-body { padding: 16px; }
.si-hex-modal .modal-footer { padding: 12px 16px; border-top: 1px solid #ddd; text-align: right; }
.si-hex-modal .close, .si-hex-modal .btn-secondary {
	background: #eee; border: 1px solid #ccc; padding: 6px 14px; cursor: pointer; border-radius: 4px;
}

/* ============================================================
   10. Gallery tiles (Video / Photo)
   ============================================================ */
.si-gallery-title {
	font-family: 'SolaimanLipi', 'Noto Sans Bengali', sans-serif;
	font-size: 27px; font-weight: 800; color: #000;
	text-transform: uppercase; text-align: center; margin-bottom: 15px;
}
/* Gallery tiles fill their column (unlike .news-list-item, no flex/padding). */
.news-list-item.gallery {
	display: block; padding: 0; border: 0; background: transparent;
	margin-bottom: 0;
}
.si-gallery-tile { position: relative; overflow: hidden; }
.si-gallery-tile img.image,
.si-gallery-tile .si-img-placeholder.image {
	display: block; width: 100%; height: 340px; object-fit: cover;
}
.si-gallery-tile .overlay {
	position: absolute; bottom: 0; left: 0; right: 0;
	background-color: #000; overflow: hidden; width: 100%; height: 0;
	transition: .5s ease; opacity: 0.6;
}
.si-gallery-tile:hover .overlay { height: 30%; }
.si-gallery-tile .overlay .text {
	white-space: nowrap; color: white; font-size: 20px;
	position: absolute; overflow: hidden;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ============================================================
   11. Footer (demo: background image, 4 columns,
   copyright bar #021d3a)
   NOTE: the demo's footer photo cannot be copied, so the theme
   uses the same deep navy textured gradient as the header.
   ============================================================ */
.footer-top {
	background-color: #0b3d5e;
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 9px),
		linear-gradient(135deg, #0a3a5c 0%, #07294d 45%, #0d4a6b 100%);
	background-size: auto, cover;
}
.footer-about p { color: #fff; padding-top: 15px; }
.footer-about .logo img { width: 96px; height: 96px; }
.footer-about .si-crest {
	width: 96px; height: 96px; border-radius: 50%;
	background: var(--si-yellow); color: var(--si-navy);
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: 800;
}
.si-footer-more { color: orange; }
.si-footer-more:hover { color: #ffc600; }
.si-social { display: flex; gap: 10px; }
.si-social li a {
	font-size: 15px; color: #fff; width: 35px; height: 35px;
	line-height: 33px; text-align: center; border: 1px solid #fff;
	border-radius: 50%; transition: all 0.4s linear; display: block;
	background-color: #021d3a;
}
.si-social li a:hover { color: #ffc600; border-color: #ffc600; }
.footer-title h6 {
	font-size: 18px; color: #fff;
	border-bottom-style: double; padding-bottom: 10px;
}
.footer-link ul li { line-height: 35px; }
.footer-link ul li a {
	color: #fff; font-size: 15px; transition: all 0.4s linear;
	display: block;
}
.footer-link ul li a i, .footer-link ul li a span:first-child { color: #ffc600; margin-right: 8px; }
.footer-link ul li a:hover { color: #ffc600; }
.footer-address ul li { position: relative; margin-bottom: 10px; }
.footer-address ul li:last-child { margin-bottom: 0; }
.footer-address ul li .icon {
	font-size: 18px; color: #ffc600; position: absolute; left: 0; top: 3px;
}
.footer-address ul li .cont { padding-left: 35px; }
.footer-address ul li .cont p { color: #fff; font-size: 15px; line-height: 26px; }
.footer-address ul li .cont a { color: #fff; }
.footer-address ul li .cont a:hover { color: #ffc600; }
.footer-copyright { background-color: #021d3a; }
.footer-copyright p { color: #fff; text-align: center; }
.footer-copyright p a { color: orange; }

/* --- Back to top --- */
#myBtn {
	display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99;
	font-size: 18px; border: none; outline: none; background-color: red;
	color: white; cursor: pointer; padding: 15px; border-radius: 4px;
	width: 50px; height: 50px; text-align: center; line-height: 1;
}
#myBtn:hover { background-color: #555; }
.back-to-top {
	display: none; position: fixed; right: 20px; bottom: 20px;
	width: 40px; height: 40px; line-height: 36px; border-radius: 5px;
	background-color: #ffc600; color: #fff; font-size: 18px;
	transition: all 0.4s linear; z-index: 99; text-align: center;
}
.back-to-top:hover { color: #fff; background-color: #07294d; }

/* ============================================================
   12. Inner pages (archives, single posts, search, 404)
   ============================================================ */
.si-page-wrap { padding: 40px 0; }
.si-page-wrap .entry-title { font-size: 30px; }
.si-page-wrap .entry-content p { margin-bottom: 14px; }
.si-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.si-card { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; overflow: hidden; }
.si-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.si-card .si-card-body { padding: 14px 16px; }
.si-card h3 { font-size: 18px; margin: 0 0 8px; }
.si-card h3 a { color: var(--si-navy); }
.si-card p { font-size: 14px; line-height: 22px; }
.si-pagination { margin-top: 26px; text-align: center; }
.si-pagination a, .si-pagination span {
	display: inline-block; padding: 6px 12px; margin: 0 3px;
	border: 1px solid #ddd; border-radius: 4px; color: var(--si-navy);
}
.si-pagination span.current, .si-pagination a:hover { background: var(--si-navy); color: #fff; }
.si-archive-hero {
	background: var(--si-gray-bg); padding: 30px 0; margin-bottom: 30px;
}
.si-archive-hero h1 { margin: 0; font-size: 28px; }
@media (max-width: 991.98px) {
	.si-card-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
	.si-card-list { grid-template-columns: 1fr; }
}

/* ============================================================
   13. Responsive
   ============================================================ */
@media (max-width: 991.98px) {
	.navbar-toggler { display: block; }
	.main-navigation .navbar-nav {
		display: none; flex-direction: column; align-items: stretch;
		width: 100%; margin-right: 0;
	}
	.main-navigation .navbar-nav.is-open { display: flex; }
	.main-navigation li { width: 100%; }
	.main-navigation .sub-menu {
		position: static; opacity: 1; visibility: visible; width: 100%;
		background: #eef8ff; display: none;
	}
	.main-navigation li.menu-item-has-children.is-open > .sub-menu { display: block; }
	.si-header-top-inner { flex-direction: column; align-items: flex-start; text-align: left; }
	.si-header-brand { flex-direction: column; align-items: flex-start; }
	.si-name-bn, .si-name-en { font-size: 26px; }
	.si-address { font-size: 17px; }
	.si-slider { aspect-ratio: 16 / 9; }
}
@media (max-width: 575.98px) {
	.si-name-bn, .si-name-en { font-size: 22px; }
	.overlayImage { padding: 14px; }
	.overlayImage p { font-size: 16px !important; }
	.overlayImage span { display: none; }
	.news-list-item { flex-direction: column; }
	.news-list-item .news-img { flex: 0 0 auto; padding-right: 0; margin-bottom: 10px; }
	.list-wrpaaer { height: 300px; }
}
