/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

/* Root Variables */
:root {
  /* Background Colors */
  --primary-bg-color: #004D40;
  --secondary-bg-color: #EAFFEA;
  --light-bg-color: #EBF9E0;
  --main-bg-color: #ffffff;
  --nav-bg-color: #3F4D70;
  --news-label-color: #3F4D70;
  /* gradiant */
  --nav-gradiant-bg: #609513;
  --primary-gradiant-bg: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);

  /* Text Colors */
  --primary-text-color: #762A8F;
  --secondary-text-color: #1A7F3C;
  --nav-text-color: #ff5522;

  /* Font Sizes */
  --font-header-size: 19px;
  --font-content-size: 16px;
  --font-small-size: 14.4px;
  --font-large-size: 20.8px;
  --nav-school-name: 44px;
  --nav-school-paragraph: 18px;
}

/* Professional Reset & Basic Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Arial', 'Noto Sans Bengali', sans-serif;
  color: #494949;
  position: relative;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0 !important;
  background-position: center center;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: scroll;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
}

/* --- Header Styles --- */
.top-header {
  background-color: var(--primary-text-color);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.top-header span {
  margin-right: 20px;
}

.top-header .top-right {
  margin-left: auto;
}

.top-header .top-right a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.top-header .top-right a:hover {
  color: #ffdd57;
}

.main-header {
  background-color: white;
  padding: 15px 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  height: 150px;
  margin-right: 20px;
  animation: fadeIn 1s;
}

.college-title h1,
.college-title h2,
.college-title p {
  margin: 0;
}

.college-title h1 {
  font-family: 'Noto Sans Bengali', sans-serif;
  color: #d32f2f;
  font-size: 28px;
}

.college-title h2 {
  color: #004d40;
  font-size: 24px;
}

.college-title p {
  font-size: 14px;
  color: #555;
}

.header-principal {
  text-align: center;
}

.header-principal img {
  height: 230px;
  width: 230px;
  border-radius: 50%;
  border: 3px solid var(--primary-text-color);
}

.header-principal p {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

/* --- Navigation Bar --- */
.nav_school {
  background: var(--nav-gradiant-bg);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.nav-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  user-select: none;
  color: #fff;
}

ul.menu {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

ul.menu>li {
  position: relative;
}

ul.menu>li>a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 22px 10px;
  display: flex;
  align-items: center;
  user-select: none;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

ul.menu>li>a::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: #9D5AB9;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

ul.menu>li>a:hover,
ul.menu>li>a:focus,
ul.menu>li.show>a {
  color: #d8d8d8;
}

ul.menu>li>a:hover::after,
ul.menu>li>a:focus::after,
ul.menu>li.show>a::after {
  transform: scaleX(1);
}

.active_nav::after {
  color: #9D5AB9 !important;
  font-weight: 600 !important;
  transform: scaleX(1) !important;
}

.dropdown-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

li.show .dropdown-arrow {
  transform: rotate(180deg);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 10px;
}

ul.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 228px;
  background-color: #772B91;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform: translateY(10px) translateX(-50%);
  z-index: 1000;
  padding: 0.5rem 0;
  border: 1px solid #4a5568;
}

ul.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #e2e8f0;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

ul.submenu li a:hover,
ul.submenu li a:focus {
  background-color: #772B91;
  color: #ffffff;
}

ul.menu>li.show>ul.submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) translateX(-50%);
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  user-select: none;
  color: #772B91 !important;
  background-color: white;
  margin-top: 5px;
  border: none;
  padding: 0 15px;
}

/* Banner/Header Section */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nav-bg-color);
  box-shadow: 0 2px 12px rgba(60, 180, 90, 0.07);
  padding: 18px 0;
  gap: 18px;
  height: 240px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}


/* Left Logo */
.left-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}


.left-logo img {
  height: 160px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(60, 180, 90, 0.10);
}

/* Center Text */
.center-text {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 20px;
  z-index: 2;
}

.center-text h1 {
  font-size: var(--nav-school-name, 2.1rem);
  font-weight: 700;
  color: var(--nav-text-color, #1a7f3c);
  text-shadow: 2px 2px 6px #000, 0 1px 0 #fff;
  margin: 0 0 6px;
}

.center-text p {
  font-size: var(--nav-school-paragraph, 1.08rem);
  color: var(--nav-text-color, #222);
  margin: 6px 0;
  text-shadow: 1px 1px 2px #000, 0 1px 0 #fff;
}

.codes {
  background-color: var(--main-bg-color, #d9f6dc);
  color: var(--nav-text-color, #1a7f3c);
  display: inline-block;
  padding: 5px 10px;
  font-weight: bold;
  font-size: var(--nav-school-paragraph, 1rem);
  margin-top: 10px;
  border-radius: 5px;
}

/* Right Image Placeholder */
.right-image-blank {
  width: 20%;
  min-width: 20%;
  height: 1px;
}


/* Marquee Section Styles */
.marquee-section {
  background: #eaffea;
  box-shadow: 0 2px 12px rgba(60, 180, 90, 0.07);
  display: flex;
  align-items: center;
  min-height: 48px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.marquee-label {
  font-weight: 700;
  background: var(--primary-gradiant-bg);
  color: white;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  background-color: var(--news-label-color);
  gap: 7px;
  padding: 6px 12px;
  position: relative;
  white-space: nowrap;

  margin-right: 13px;
}

.marquee-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -17px;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 14px solid #772B91;
}

.marquee-label i {
  font-size: 1.2rem;
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-section:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  margin-right: 32px;
  color: #1a7f3c;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

/* --- Main Content --- */
.main-content {
  padding: 0;

}

.content-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.left-column {
  grid-column: span 4;
  padding: 0;
  background-color: white;
  border-radius: 0px;
}

.right-column {
  grid-column: span 1;
  background-color: white;
  padding: 0 0 30px 0;
  border-radius: 5px;

}

.main-wrapper {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  max-width: 1200px;
  margin: auto;
}

.card {
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  animation: slideInUp 0.8s ease-out;
  color: black;

}

.card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
}

.card h3 {
  margin-top: 0;
  font-family: 'Noto Sans Bengali', sans-serif;
  color: var(--primary-text-color);
  border-bottom: 2px solid var(--primary-text-color);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

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

.notice-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #ccc;
}

.notice-list li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.notice-list li a:hover {
  color: #d32f2f;
}

.all-notices,
.read-more {
  display: inline-block;
  margin-top: 15px;
  background: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);
  color: white;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}

.all-notices:hover,
.read-more:hover {
  background: linear-gradient(180deg, rgba(119, 43, 145, 1) 0%, rgba(196, 169, 204, 1) 50%, rgba(119, 43, 145, 1) 100%);
  color: #ffffff;
}



.important-links {
  list-style: none;
  padding-left: 0;
}

.important-links li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted #eee;
}

.important-links li a:before {
  content: '\f0da';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary-text-color);
}

audio {
  width: 100%;
  margin-top: 10px;
}

.emergency-hotlines img,
.national-helpline img {
  width: 100%;
  height: auto;
}

/* Calendar */
.calendar-card {

  background: white;
  box-shadow: 0 6px 24px 0 rgba(37, 99, 235, 0.08);
  padding-bottom: 1.2rem;
}

#calendar {
  width: 100%;
  background: transparent;
  border-radius: 12px;
  box-shadow: none;
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  font-family: inherit;
}

#calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5em;
  background: #772B91;
  color: #fff;
  border-radius: 8px;
  padding: 0.5em 0.7em;
  font-size: 1.1em;
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.10);
}

#calendar .calendar-nav {
  cursor: pointer;
  color: #fff;
  background: #612077;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  transition: background 0.4s, color 0.2s, box-shadow 0.3s;
  box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.10);
  border: none;
  user-select: none;
  padding: 0 0.5em;
}

#calendar .calendar-nav:hover {
  background: #3f164d;
  color: #ffffff;
  box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.15);
}

#calendar table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.2em;
  text-align: center;
  margin-top: 0.5em;
}

#calendar th {
  color: #772B91;
  font-weight: 700;
  background: #e0e7ff;
  border-radius: 6px;
  padding: 0.4em 0;
  font-size: 1em;
  letter-spacing: 0.5px;
}

#calendar td {
  padding: 0.5em 0.2em;
  font-size: 1.05em;
  color: #334155;
  border-radius: 8px;
  background: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.04);
}

#calendar td.today {
  background: linear-gradient(135deg, #772B91 60%, #c16ade 100%);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.15);
  border: 2px solid #292929;
}

#calendar td:hover:not(.today):not(:empty) {
  background: #e5b7f5;
  color: #772B91;
  box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.10);
}

/* Principal Pro Card Styles */
.principal-pro-card {
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  display: flex;
  padding-bottom: 20px;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.principal-pro-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
}

.principal-img-wrapper {
  background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.principal-img {
  /* width: 300px; */
  height: 300px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.principal-info {
  text-align: center;
}

.principal-info a {
  display: inline-block;
  background: linear-gradient(135deg, #ffd2fd 0%, #fc9ffa 100%);
  padding: 15px 20px;
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #2c3e50;
  border-left: 5px solid #8E50A2;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.principal-info a::before {
  content: "❝";
  font-size: 2rem;
  color: #8E50A2;
  position: absolute;
  left: 10px;
  top: -10px;
}

.principal-info a:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.principal-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.5px;
}

.principal-title {
  font-size: 1rem;
  color: white;
  background: var(--primary-gradiant-bg);
  font-weight: 600;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.6rem;
  display: flex;
  margin-top: 0px;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
}

.principal-quote {
  font-size: 0.98rem;
  color: #64748b;
  font-style: italic;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

/* Info Board Section Styles */
.info-board-section {
  background: white;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
  padding: 24px 16px 8px;
}

.info-board-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-board-main {
  display: flex;
  align-items: center;
  background: rgba(230, 230, 230, 0.393);
  ;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
  gap: 24px;
}

.info-board-img i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: var(--primary-text-color);
  box-shadow: 0 2px 8px 0 rgba(60, 180, 90, 0.1);
  font-size: 139px;
}

.info-board-content {
  width: 100%;
}

.info-board-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-text-color);
}

.info-board-content ul {
  margin: 0;
  padding-left: 18px;
  color: #0F574B;
  font-size: 1rem;
}

.info-board-content ul li {
  margin-bottom: 4px;
  line-height: 1.5;
}

.info-board-content ul li h1 {
  font-size: 20px;
  color: rgb(46, 46, 46);
  font-weight: 500;
}

.info-board-content ul li a {
  display: inline-block;
  padding: 5px;
  color: #59216c;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.info-board-content ul li a:hover {
  color: black;
  /* Darker blue on hover */
  transform: scale(1.03);
}

.info-board-row {
  display: flex;
  gap: 18px;
}

.info-board-card {
  flex: 1 1 0;
  background: rgba(230, 230, 230, 0.393);
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
  padding: 16px 14px 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  transition: box-shadow 0.2s;
}

.info-board-card:hover {
  box-shadow: 0 4px 16px 0 rgba(60, 180, 90, 0.13);
}

.info-board-card i {
  color: var(--primary-text-color);
  margin-right: 6px;
  flex-shrink: 0;
}

.info-board-card img {
  margin-right: 6px;
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.info-board-card strong {
  font-size: 1.08rem;
  color: var(--primary-text-color);
  display: block;
  margin-bottom: 4px;
}

.info-board-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.98rem;
  color: #333;
}

.info-board-card ul li {
  margin-bottom: 2px;
  line-height: 1.4;
}

.info-board-card ul li a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: inline-block;
}

.info-board-card ul li a:hover,
.info-board-card ul li a:focus {
  color: var(--primary-text-color);
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--primary-text-color);
}

.info-board-card ul li a:active {
  color: var(--primary-text-color);
  outline: none;
}

/* --- Hero Section & Swiper --- */
.hero-section {
  position: relative;
  text-align: center;
  color: white;
  animation: fadeIn 1.5s;
}

.hero-section img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.hero-procard-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) !important;
  bottom: 0px;
  background: rgba(255, 255, 255, 0.21);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 5px 10px;
  width: 100%;
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1.1s both;
}

.swiper-wrapper {
  border-radius: 18px;
}

.swiper-button-prev,
.swiper-button-next {
  color: #772B91;
  border-radius: 50%;
  box-shadow: 0 4px 16px 0 rgba(119, 43, 145, 0.18);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.5rem;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.545);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  box-shadow: 0 8px 32px 0 rgba(119, 43, 145, 0.25);
  color: #59216c;
}

.swiper-pagination-bullet {
  background: #772B91;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #c16ade;
  opacity: 1;
}

.swiper-slide {
  border-radius: 18px;
  overflow: hidden;
}

.swiper-slide img {
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
}

.hero-procard-overlay h2 {
  color: #ffffff;
  text-shadow: rgb(2, 2, 2) 0px 7px 29px;
  font-size: 2.1rem;
  margin: 0 0 10px 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-procard-overlay p {
  color: #ffffff;
  text-shadow: rgb(2, 2, 2) 0px 7px 29px;
  font-size: 1.08rem;
  margin: 0;
  font-weight: 400;
}

/* Video Section Styles */
.video-section {
  padding: 20px 0 30px 0;
  background: #f6faff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(30, 60, 120, 0.10);
  max-width: 1200px;
  margin: auto;
}

.title_header {
  font-size: 29px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  color: #7F3997;

}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 32px;
  background-color: var(--primary-text-color);
  color: rgb(255, 255, 255);
  font-weight: 700;
  padding: 5px;
}

.section_description {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #333;
}

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

.video-thumb {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
  padding: 12px 10px 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.7s both;
  border-radius: 12px;
}

.video-thumb:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 6px 24px 0 rgba(30, 60, 120, 0.16);
}

.thumb-anim {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.thumb-anim img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  z-index: 1;
}

.thumb-anim .video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  fill: var(--primary-text-color);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}

.video-thumb span {
  display: block;
  font-size: 1.04rem;
  color: var(--primary-text-color);
  font-weight: 500;
  margin-top: 8px;
}

o

/* Teacher Section Styles */
.teacher-section {
  padding: 20px 0 30px 0;
  background: #f8fafc;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
}

.teacher-section .section-title {
  letter-spacing: 1px;
}

.teacher-swiper {
  padding-bottom: 20px;
}


.w-full {
  width: 100%;
}

.teacher-card {
  background: white;
  box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 180px;
  /* This will be overridden on smaller screens */
  border-radius: 0px;
  transition: all 0.3s ease;
}

o .teacher-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(30, 60, 120, 0.16), 0 3px 12px 0 rgba(30, 60, 120, 0.10);
}

.teacher-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.10);
}

.teacher-card h3 {
  font-size: 1rem;
  color: white;
  font-weight: 600;
  word-break: break-word;
  width: 100%;
  padding: 8px 12px;
  box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
  background: linear-gradient(135deg, #772B91 0%, #c16ade 100%);
  text-align: center;
  font-family: 'Noto Sans Bengali', sans-serif;
  margin: 0 !important;
  transition: color 0.3s, text-shadow 0.3s;
}

.teacher-card h3:hover {
  color: #ffffff;
  text-shadow: rgb(2, 2, 2) 0px 7px 29px;
}

.teacher-card p {
  font-size: 0.92rem;
  color: #4a5a6a;
  text-align: center;
  line-height: 1.4;
  width: 100%;
  background-color: #d5d5d6;
  box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
  margin: 0 !important;
  font-weight: 400;
  word-break: break-word;
  padding: 5px;
}

/* --- Footer --- */
.main-footer {
  background-color: #333;
  color: #ffffff;
  padding: 48px 20px 20px 20px;
  text-align: center;
  font-size: 14px;
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0 auto;
  box-sizing: border-box;
}

.footer-text-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  text-align: left;
  padding: 10px 0;
}

.footer-wraper-text {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-image-wrapper {
  position: absolute;
  top: -90px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 10;
}

.footer-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-footer a {
  color: #4caf50;
  text-decoration: none;
  transition: 0.3s;
}

.main-footer a:hover {
  text-decoration: underline;
  color: #66bb6a;
}

.footer-logo {
  height: 20px;
  vertical-align: middle;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-social a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #4caf50;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-text-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-wraper-text {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo {
    height: 18px;
  }
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-marquee {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

/* --- Responsive Design --- */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .left-column,
  .right-column {
    padding: 15px 0;
  }

  .main-header .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-area {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .logo-area img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .header-principal {
    margin-top: 10px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    height: auto;
    padding: 5px 10px;
  }

  .mobile-toggle {
    display: block;
  }

  ul.menu {
    flex-direction: column;
    width: 100%;
    display: none;
    gap: 0;
    margin-top: 0.75rem;
  }

  ul.menu.show {
    display: flex;
  }

  ul.menu>li {
    width: 100%;
  }

  ul.menu>li>a {
    padding: 14px 10px;
    border-top: 1px solid #4a5568;
  }

  ul.menu>li>a::after {
    display: none;
  }

  ul.submenu {
    position: static;
    width: 100%;
    transform: none !important;
    background-color: rgba(0, 0, 0, 0.15);
    box-shadow: none;
    border-radius: 0;
    opacity: 1 !important;
    visibility: visible !important;
    border: none;
    display: none;
    padding: 0;
  }

  ul.menu>li.show>ul.submenu {
    display: block;
  }

  ul.submenu li a {
    padding-left: 30px;
    border-top: 1px solid rgba(74, 85, 104, 0.5);
    color: #cbd5e0;
  }

  .top-header .container,
  .footer-text-content,
  .footer-wraper-text {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .top-header .top-right {
    margin-left: 0;
  }

  .info-board-row {
    flex-direction: column;
  }

  .footer-image-wrapper {
    top: -69px;
  }
}

/* Extra small devices (portrait phones, less than 600px) */
@media (max-width: 600px) {
  .banner {
    flex-direction: column;
    height: 90px;
    gap: 10px;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
  }

  .left-logo img {
    height: 80px;
  }

  .center-text {
    width: 100%;
    margin: 0;
  }

  .center-text h1 {
    font-size: 1.8rem;
    /* Adjusted for smaller screens */
  }

  .center-text p,
  .codes {
    font-size: 0.9rem;
    /* Adjusted */
  }

  .right-image,
  .right-image-blank {
    display: none;
  }

  .info-board-main {
    flex-direction: column;
    text-align: center;
  }
}

/* Very small devices (e.g., iPhone 5/SE, less than 480px) */
@media (max-width: 480px) {

  .left-column,
  .right-column {
    padding: 10px;
    /* Reduced padding */
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    /* Override previous faulty rule */
  }

  .left-column>div,
  .left-column>section {
    margin: 15px 0 !important;
  }

  .card {
    padding: 15px;
  }

  .center-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .principal-pro-card {
    padding: 1.5rem 1rem;
  }

  .hero-procard-overlay h2 {
    font-size: 1.2rem;
  }

  .hero-procard-overlay p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .teacher-card {
    max-width: none;
    /* Allow card to fill the swiper slide */
  }

  .teacher-card img {
    width: 150px;
    /* Smaller image */
    height: 150px;
  }

  .marquee-label {
    font-size: 0.9rem;
    padding: 8px;
  }

  .marquee-item {
    font-size: 0.9rem;
  }
}

/* Extremely small devices (less than 360px) */
@media (max-width: 360px) {
  .center-text h1 {
    font-size: 1.3rem;
    /* Further reduction */
  }

  .center-text p {
    font-size: 0.8rem;
  }

  .codes {
    font-size: 0.8rem;
    padding: 3px 6px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .principal-name {
    font-size: 1.1rem;
  }

  .left-column,
  .right-column,
  /* Google Fonts */
  @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;700&family=Roboto:wght@400;500;700&display=swap');

  /* Root Variables */
  :root {
    /* Background Colors */
    --primary-bg-color: #004D40;
    --secondary-bg-color: #EAFFEA;
    --light-bg-color: #EBF9E0;
    --main-bg-color: #ffffff;
    --nav-bg-color: #3F4D70;
    --news-label-color: #3F4D70;
    /* gradiant */
    --nav-gradiant-bg: #609513;
    --primary-gradiant-bg: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);

    /* Text Colors */
    --primary-text-color: #762A8F;
    --secondary-text-color: #1A7F3C;
    --nav-text-color: #ff5522;

    /* Font Sizes */
    --font-header-size: 19px;
    --font-content-size: 16px;
    --font-small-size: 14.4px;
    --font-large-size: 20.8px;
    --nav-school-name: 44px;
    --nav-school-paragraph: 18px;
  }

  /* Professional Reset & Basic Styles */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }



  .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
  }

  /* --- Header Styles --- */
  .top-header {
    background-color: var(--primary-text-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
  }

  .top-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .top-header span {
    margin-right: 20px;
  }

  .top-header .top-right {
    margin-left: auto;
  }

  .top-header .top-right a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
  }

  .top-header .top-right a:hover {
    color: #ffdd57;
  }

  .main-header {
    background-color: white;
    padding: 15px 0;
  }

  .main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-area {
    display: flex;
    align-items: center;
  }

  .logo-area img {
    height: 150px;
    margin-right: 20px;
    animation: fadeIn 1s;
  }

  .college-title h1,
  .college-title h2,
  .college-title p {
    margin: 0;
  }

  .college-title h1 {
    font-family: 'Noto Sans Bengali', sans-serif;
    color: #d32f2f;
    font-size: 28px;
  }

  .college-title h2 {
    color: #004d40;
    font-size: 24px;
  }

  .college-title p {
    font-size: 14px;
    color: #555;
  }

  .header-principal {
    text-align: center;
  }

  .header-principal img {
    height: 230px;
    width: 230px;
    border-radius: 50%;
    border: 3px solid var(--primary-text-color);
  }

  .header-principal p {
    margin: 5px 0 0;
    font-size: 18px;
    line-height: 1.3;
  }

  /* --- Navigation Bar --- */
  .nav_school {
    background: var(--nav-gradiant-bg);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 20;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .nav-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
  }

  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    user-select: none;
    color: #fff;
  }

  ul.menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

  ul.menu>li {
    position: relative;
  }

  ul.menu>li>a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 22px 10px;
    display: flex;
    align-items: center;
    user-select: none;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
  }

  ul.menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #9D5AB9;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  }

  ul.menu>li>a:hover,
  ul.menu>li>a:focus,
  ul.menu>li.show>a {
    color: #d8d8d8;
  }

  ul.menu>li>a:hover::after,
  ul.menu>li>a:focus::after,
  ul.menu>li.show>a::after {
    transform: scaleX(1);
  }

  .active_nav::after {
    color: #9D5AB9 !important;
    font-weight: 600 !important;
    transform: scaleX(1) !important;
  }

  .dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  li.show .dropdown-arrow {
    transform: rotate(180deg);
  }

  .glass-effect {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 10px;
  }

  ul.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background-color: #772B91;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transform: translateY(10px) translateX(-50%);
    z-index: 1000;
    padding: 0.5rem 0;
    border: 1px solid #4a5568;
  }

  ul.submenu li a {
    display: block;
    padding: 10px 20px;
    color: #e2e8f0;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  ul.submenu li a:hover,
  ul.submenu li a:focus {
    background-color: #772B91;
    color: #ffffff;
  }

  ul.menu>li.show>ul.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
  }

  .mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    user-select: none;
    color: #772B91 !important;
    background-color: white;
    margin-top: 5px;
    border: none;
    padding: 0 15px;
  }

  /* Banner/Header Section */
  .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg-color);
    box-shadow: 0 2px 12px rgba(60, 180, 90, 0.07);
    padding: 18px 0;
    gap: 18px;
    height: 240px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
  }


  /* Left Logo */
  .left-logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }


  .left-logo img {
    height: 160px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.10);
  }

  /* Center Text */
  .center-text {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
    z-index: 2;
  }

  .center-text h1 {
    font-size: var(--nav-school-name, 2.1rem);
    font-weight: 700;
    color: var(--nav-text-color, #1a7f3c);
    text-shadow: 2px 2px 6px #000, 0 1px 0 #fff;
    margin: 0 0 6px;
  }

  .center-text p {
    font-size: var(--nav-school-paragraph, 1.08rem);
    color: var(--nav-text-color, #222);
    margin: 6px 0;
    text-shadow: 1px 1px 2px #000, 0 1px 0 #fff;
  }

  .codes {
    background-color: var(--main-bg-color, #d9f6dc);
    color: var(--nav-text-color, #1a7f3c);
    display: inline-block;
    padding: 5px 10px;
    font-weight: bold;
    font-size: var(--nav-school-paragraph, 1rem);
    margin-top: 10px;
    border-radius: 5px;
  }

  /* Right Image Placeholder */
  .right-image-blank {
    width: 20%;
    min-width: 20%;
    height: 1px;
  }


  /* Marquee Section Styles */
  .marquee-section {
    background: #eaffea;
    box-shadow: 0 2px 12px rgba(60, 180, 90, 0.07);
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
  }

  .marquee-label {
    font-weight: 700;
    background: var(--primary-gradiant-bg);
    color: white;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    background-color: var(--news-label-color);
    gap: 7px;
    padding: 6px 12px;
    position: relative;
    white-space: nowrap;

    margin-right: 13px;
  }

  .marquee-label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -17px;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 14px solid #772B91;
  }

  .marquee-label i {
    font-size: 1.2rem;
  }

  .marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
  }

  .marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-marquee 25s linear infinite;
  }

  .marquee-section:hover .marquee-content {
    animation-play-state: paused;
  }

  .marquee-item {
    display: inline-block;
    margin-right: 32px;
    color: #1a7f3c;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
  }

  /* --- Main Content --- */
  .main-content {
    padding: 0;

  }

  .content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .left-column {
    grid-column: span 3;
    padding: 20px;
    background-color: white;
    border-radius: 0px;
  }

  .right-column {
    grid-column: span 1;
    background-color: white;
    padding: 20px;
    border-radius: 5px;

  }

  .main-wrapper {
    max-width: 1200px;
    margin: auto;
  }

  .card {
    background-color: white;
    padding: 20px;
    border-radius: 18px !important;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
    margin-bottom: 20px;
    animation: slideInUp 0.8s ease-out;
    margin-top: 20px;
  }

  .card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  }

  .card h3 {
    margin-top: 0;
    font-family: 'Noto Sans Bengali', sans-serif;
    color: var(--primary-text-color);
    border-bottom: 2px solid var(--primary-text-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

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

  .notice-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
  }

  .notice-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
  }

  .notice-list li a:hover {
    color: #d32f2f;
  }

  .all-notices,
  .read-more {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(180deg, rgba(196, 169, 204, 1) 0%, rgba(119, 43, 145, 1) 50%, rgba(196, 169, 204, 1) 100%);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s, color 0.3s;
  }

  .all-notices:hover,
  .read-more:hover {
    background: linear-gradient(180deg, rgba(119, 43, 145, 1) 0%, rgba(196, 169, 204, 1) 50%, rgba(119, 43, 145, 1) 100%);
    color: #ffffff;
  }



  .important-links {
    list-style: none;
    padding-left: 0;
  }

  .important-links li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px dotted #eee;
  }

  .important-links li a:before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-text-color);
  }

  audio {
    width: 100%;
  }

  .emergency-hotlines img,
  .national-helpline img {
    width: 100%;
    height: auto;
  }

  /* Calendar */
  .calendar-card {
    background: white;
    box-shadow: 0 6px 24px 0 rgba(37, 99, 235, 0.08);
    padding-bottom: 1.2rem;
  }

  #calendar {
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    font-family: inherit;
  }

  #calendar .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5em;
    background: #772B91;
    color: #fff;
    border-radius: 8px;
    padding: 0.5em 0.7em;
    font-size: 1.1em;
    box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.10);
  }

  #calendar .calendar-nav {
    cursor: pointer;
    color: #fff;
    background: #612077;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: background 0.4s, color 0.2s, box-shadow 0.3s;
    box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.10);
    border: none;
    user-select: none;
    padding: 0 0.5em;
  }

  #calendar .calendar-nav:hover {
    background: #3f164d;
    color: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.15);
  }

  #calendar table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0.2em;
    text-align: center;
    margin-top: 0.5em;
  }

  #calendar th {
    color: #772B91;
    font-weight: 700;
    background: #e0e7ff;
    border-radius: 6px;
    padding: 0.4em 0;
    font-size: 1em;
    letter-spacing: 0.5px;
  }

  #calendar td {
    padding: 0.5em 0.2em;
    font-size: 1.05em;
    color: #334155;
    border-radius: 8px;
    background: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 4px 0 rgba(30, 64, 175, 0.04);
  }

  #calendar td.today {
    background: linear-gradient(135deg, #772B91 60%, #c16ade 100%);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.15);
    border: 2px solid #292929;
  }

  #calendar td:hover:not(.today):not(:empty) {
    background: #e5b7f5;
    color: #772B91;
    box-shadow: 0 2px 8px 0 rgba(56, 189, 248, 0.10);
  }

  /* Principal Pro Card Styles */
  .principal-pro-card {
    background: #fff;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
    display: flex;
    padding-bottom: 20px;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }

  .principal-pro-card:hover {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  }

  .principal-img-wrapper {
    background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  }

  .principal-img {
    width: 321px;
    height: 321px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
  }

  .principal-info {
    text-align: center;
  }

  .principal-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
  }

  .principal-title {
    font-size: 1rem;
    color: white;
    background: var(--primary-gradiant-bg);
    font-weight: 600;
    margin-bottom: 0.7rem;
    margin-top: 0px !important;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    width: 100%;
  }

  .principal-quote {
    font-size: 0.98rem;
    color: #64748b;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
  }

  /* Info Board Section Styles */
  .info-board-section {
    background: white;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
    padding: 24px 16px 8px;
  }

  .info-board-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .info-board-main {
    display: flex;
    align-items: center;
    background: rgba(230, 230, 230, 0.393);
    ;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
    gap: 24px;
  }

  .info-board-img i {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    color: var(--primary-text-color);
    box-shadow: 0 2px 8px 0 rgba(60, 180, 90, 0.1);
    font-size: 139px;
    color: #609513;
  }

  .info-board-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-text-color);
  }

  .info-board-content ul {
    margin: 0;
    padding-left: 18px;
    color: var(--primary-bg-color);
    font-size: 1rem;
  }

  .info-board-row {
    display: flex;
    gap: 18px;
  }

  .info-board-card {
    flex: 1 1 0;
    background: rgba(230, 230, 230, 0.393);
    border-radius: 10px;
    box-shadow: 0 1px 6px 0 rgba(60, 180, 90, 0.08);
    padding: 16px 14px 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    transition: box-shadow 0.2s;
  }

  .info-board-card:hover {
    box-shadow: 0 4px 16px 0 rgba(60, 180, 90, 0.13);
  }

  .info-board-card i {
    color: var(--primary-text-color);
    margin-right: 6px;
    flex-shrink: 0;
  }

  .info-board-card strong {
    font-size: 1.08rem;
    color: var(--primary-text-color);
    display: block;
    margin-bottom: 4px;
  }

  .info-board-card ul {
    margin: 0;
    padding-left: 16px;
    font-size: 0.98rem;
    color: #333;
  }

  .info-board-card ul li {
    margin-bottom: 2px;
    line-height: 1.4;
  }

  /* --- Hero Section & Swiper --- */
  .hero-section {
    position: relative;
    text-align: center;
    color: white;
    animation: fadeIn 1.5s;
  }

  .hero-section img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
  }

  .hero-procard-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 0px;
    background: rgba(255, 255, 255, 0.21);
    border-radius: 18px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 5px 10px;
    width: 100%;
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1.1s both;
  }

  .swiper-wrapper {
    border-radius: 18px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    color: #772B91;
    border-radius: 50%;
    box-shadow: 0 4px 16px 0 rgba(119, 43, 145, 0.18);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.545);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    box-shadow: 0 8px 32px 0 rgba(119, 43, 145, 0.25);
    color: #59216c;
  }

  .swiper-pagination-bullet {
    background: #772B91;
    opacity: 0.6;
  }

  .swiper-pagination-bullet-active {
    background: #c16ade;
    opacity: 1;
  }

  .swiper-slide {
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
  }

  .swiper-slide img {
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  }

  .hero-procard-overlay h2 {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
    font-size: 2.1rem;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .hero-procard-overlay p {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
    font-size: 1.08rem;
    margin: 0;
    font-weight: 400;
  }

  /* Video Section Styles */
  .video-section {
    padding: 20px 0 30px 0;
    background: #f6faff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(30, 60, 120, 0.10);
    max-width: 1200px;
    margin: auto;
  }

  .section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 32px;
    background-color: var(--primary-text-color);
    color: rgb(255, 255, 255);
    font-weight: 700;
    padding: 5px;
  }

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

  .video-thumb {
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
    padding: 12px 10px 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.7s both;
    border-radius: 12px;
  }

  .video-thumb:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 6px 24px 0 rgba(30, 60, 120, 0.16);
  }

  .thumb-anim {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
  }

  .thumb-anim img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
  }

  .thumb-anim .video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    fill: var(--primary-text-color);
    z-index: 2;
    opacity: 0.85;
    pointer-events: none;
  }

  .video-thumb span {
    display: block;
    font-size: 1.04rem;
    color: var(--primary-text-color);
    font-weight: 500;
    margin-top: 8px;
  }

  /* Teacher Section Styles */
  .teacher-section {
    padding: 20px 0 30px 0;
    background: #f8fafc;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10);
  }

  .teacher-section .section-title {
    letter-spacing: 1px;
  }

  .teacher-swiper {
    padding-bottom: 20px;
  }


  .w-full {
    width: 100%;
  }

  .teacher-card {
    background: white;
    box-shadow: 0 2px 12px 0 rgba(30, 60, 120, 0.10);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 180px;
    /* This will be overridden on smaller screens */
    border-radius: 0px;
    transition: all 0.3s ease;
  }

  .teacher-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(30, 60, 120, 0.16), 0 3px 12px 0 rgba(30, 60, 120, 0.10);
  }

  .teacher-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 8px 0 rgba(30, 60, 120, 0.10);
  }

  .teacher-card h3 {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    word-break: break-word;
    width: 100%;
    padding: 8px 12px;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
    background: linear-gradient(135deg, #772B91 0%, #c16ade 100%);
    text-align: center;
    font-family: 'Noto Sans Bengali', sans-serif;
    margin: 0 !important;
    transition: color 0.3s, text-shadow 0.3s;
  }

  .teacher-card h3:hover {
    color: #ffffff;
    text-shadow: rgb(2, 2, 2) 0px 7px 29px;
  }

  .teacher-card p {
    font-size: 0.92rem;
    color: #4a5a6a;
    text-align: center;
    line-height: 1.4;
    width: 100%;
    background-color: #d5d5d6;
    box-shadow: 0 1px 6px rgba(60, 180, 90, 0.08);
    margin: 0 !important;
    font-weight: 400;
    word-break: break-word;
    padding: 5px;
  }

  /* --- Footer --- */
  .main-footer {
    background-color: #333;
    color: #ffffff;
    padding: 48px 20px 20px 20px;
    text-align: center;
    font-size: 14px;
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0 auto;
    box-sizing: border-box;
  }

  .footer-text-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    text-align: left;
    padding: 10px 0;
  }

  .footer-wraper-text {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .footer-image-wrapper {
    position: absolute;
    top: -90px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
  }

  .footer-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .main-footer a {
    color: #4caf50;
    text-decoration: none;
    transition: 0.3s;
  }

  .main-footer a:hover {
    text-decoration: underline;
    color: #66bb6a;
  }

  .footer-logo {
    height: 20px;
    vertical-align: middle;
  }

  /* Social icons */
  .footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }

  .footer-social a {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s;
  }

  .footer-social a:hover {
    color: #4caf50;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .footer-text-content {
      flex-direction: column;
      text-align: center;
    }

    .footer-wraper-text {
      flex-direction: column;
      gap: 10px;
    }

    .footer-logo {
      height: 18px;
    }
  }


  /* --- Animations --- */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  @keyframes slideInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes navSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes scroll-marquee {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(-100%);
    }
  }

  /* --- Responsive Design --- */

  /* Medium devices (tablets, less than 992px) */
  @media (max-width: 992px) {
    .content-wrapper {
      grid-template-columns: 1fr;
    }

    .left-column,
    .right-column {
      padding: 15px;
    }

    .main-header .container {
      flex-direction: column;
      text-align: center;
    }

    .logo-area {
      flex-direction: column;
      margin-bottom: 15px;
    }

    .logo-area img {
      margin-right: 0;
      margin-bottom: 10px;
    }

    .header-principal {
      margin-top: 10px;
    }
  }

  /* Small devices (landscape phones, less than 768px) */
  @media (max-width: 768px) {
    .nav-container {
      flex-wrap: wrap;
      height: auto;
      padding: 5px 10px;
    }

    .mobile-toggle {
      display: block;
    }

    ul.menu {
      flex-direction: column;
      width: 100%;
      display: none;
      gap: 0;
      margin-top: 0.75rem;
    }

    ul.menu.show {
      display: flex;
    }

    ul.menu>li {
      width: 100%;
    }

    ul.menu>li>a {
      padding: 14px 10px;
      border-top: 1px solid #4a5568;
    }

    ul.menu>li>a::after {
      display: none;
    }

    ul.submenu {
      position: static;
      width: 100%;
      transform: none !important;
      background-color: rgba(0, 0, 0, 0.15);
      box-shadow: none;
      border-radius: 0;
      opacity: 1 !important;
      visibility: visible !important;
      border: none;
      display: none;
      padding: 0;
    }

    ul.menu>li.show>ul.submenu {
      display: block;
    }

    ul.submenu li a {
      padding-left: 30px;
      border-top: 1px solid rgba(74, 85, 104, 0.5);
      color: #cbd5e0;
    }

    .top-header .container,
    .footer-text-content,
    .footer-wraper-text {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }



    .top-header .top-right {
      margin-left: 0;
    }

    .info-board-row {
      flex-direction: column;
    }

    .footer-image-wrapper {
      top: -69px;
    }
  }

  /* Extra small devices (portrait phones, less than 600px) */
  @media (max-width: 600px) {
    .banner {
      flex-direction: column;
      height: 90px !important;
      background-size: cover !important;
      padding: 15px 10px;
      gap: 10px;
    }

    .left-logo img {
      height: 80px;
    }

    .center-text {
      width: 100%;
      margin: 0;
    }

    .center-text h1 {
      font-size: 1.8rem;
      /* Adjusted for smaller screens */
    }

    .center-text p,
    .codes {
      font-size: 0.9rem;
      /* Adjusted */
    }

    .right-image,
    .right-image-blank {
      display: none;
    }

    .info-board-main {
      flex-direction: column;
      text-align: center;
    }
  }

  /* Very small devices (e.g., iPhone 5/SE, less than 480px) */
  @media (max-width: 480px) {

    .left-column,
    .right-column {
      padding: 10px;
      /* Reduced padding */
      width: 100%;
      /* Ensure full width */
      max-width: 100%;
      /* Override previous faulty rule */
    }

    .left-column>div,
    .left-column>section {
      margin: 15px 0 !important;
    }

    .card {
      padding: 15px;
    }

    .center-text h1 {
      font-size: 1.5rem;
      line-height: 1.2;
    }

    .section-title {
      font-size: 1.5rem;
    }

    .principal-pro-card {
      padding: 1.5rem 1rem;
    }

    .hero-procard-overlay h2 {
      font-size: 1.2rem;
    }

    .hero-procard-overlay p {
      font-size: 0.85rem;
      line-height: 1.3;
    }

    .teacher-card {
      max-width: none;
      /* Allow card to fill the swiper slide */
    }

    .teacher-card img {
      width: 150px;
      /* Smaller image */
      height: 150px;
    }

    .marquee-label {
      font-size: 0.9rem;
      padding: 8px;
    }

    .marquee-item {
      font-size: 0.9rem;
    }
  }

  /* Extremely small devices (less than 360px) */
  @media (max-width: 360px) {
    .center-text h1 {
      font-size: 1.3rem;
      /* Further reduction */
    }

    .center-text p {
      font-size: 0.8rem;
    }

    .codes {
      font-size: 0.8rem;
      padding: 3px 6px;
    }

    .section-title {
      font-size: 1.3rem;
    }

    .card h3 {
      font-size: 1rem;
    }

    .principal-name {
      font-size: 1.1rem;
    }

    .left-column,
    .right-column,
    .card {
      padding: 8px;
      /* Minimal padding */
    }

    .hero-procard-overlay {
      padding: 5px;
    }

    .hero-procard-overlay h2 {
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .hero-procard-overlay p {
      font-size: 0.75rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .card {
    padding: 8px;
    /* Minimal padding */
  }

  .hero-procard-overlay {
    padding: 5px;
  }

  .hero-procard-overlay h2 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .hero-procard-overlay p {
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
