@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Great+Vibes&display=swap");

html,
body {
  height: 100%;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none !important;
  outline: none;
}

a,
a:hover {
  color: inherit !important;
  transition: all 0.3s;
}

.header-top {
  background-color: #222222;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 14px;
}

.header-top i {
  color: #ffffff;
}

.fb-icon {
  background-color: #6a5acd; /* purple shade similar to your image */
  /* color: white; */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.fb-icon:hover {
  background-color: #5a4dbf; /* slightly darker on hover */
}

.youtube-icon {
  background-color: #cd201f; /* youtube red */
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.youtube-icon:hover {
  background-color: #991817;
}

.telegram-icon {
  background-color: #0088cc; /* telegram blue */
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.telegram-icon:hover {
  background-color: #006699;
}

.whatsapp-icon {
  background-color: #25d366; /* whatsapp green */
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.whatsapp-icon:hover {
  background-color: #1da851;
}

.phone-icon,
.phone-icon:hover {
  color: #ffffff !important;
}

.phone-icon i {
  font-size: 14px; /* adjust size */
  width: 30px;
  height: 30px;
  border: 2px solid #fff; /* dashed border */
  border-radius: 50%; /* circular shape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Hover effect: darker dashed ring */
.phone-icon:hover i {
  border-color: #777;
  background-color: #e2d1b3;
  cursor: pointer;
}

/* home page style */
/* The individual item container */
.portal-card {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 20px;
  height: 100%;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Image styling and Zoom Out animation */
.portal-card img {
  max-height: 100px;
  width: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}

.portal-card:hover img {
  transform: scale(0.85);
  /* Zoom out effect */
}

/* Label styling to match the screenshot */
.card-label {
  background: linear-gradient(to bottom, #7fa9e1, #4a76b8);
  color: white;
  width: 100%;
  padding: 5px;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* useful links style */
.icon-link-item {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

/* Circular background container */
.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Zoom in animation on hover */
.icon-link-item:hover .icon-circle {
  transform: scale(1.2);
}

.icon-circle img {
  width: 60%;
  height: auto;
}

.icon-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Specific Background Colors from Screenshot */
.bg-lime {
  background-color: #e2efc6;
}

.bg-peach {
  background-color: #fce4d6;
}

.bg-lavender {
  background-color: #e8daef;
}

.bg-sky {
  background-color: #d6eaf8;
}

.bg-mint {
  background-color: #d5f5e3;
}

@media only screen and (max-width: 991px) {
  .animate-charcter {
    bottom: -25px;
  }
}

@media only screen and (max-width: 1200px) {
  .animate-charcter {
    font-size: 9px;
    white-space: nowrap;
  }
}

.animate-charcter {
  background-image: linear-gradient(
    -225deg,
    #862724 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 5s linear infinite;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin: 0 auto;
  line-height: 1.3 !important;
  white-space: nowrap;
  animation-direction: reverse;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.clg-title h1 {
  font-family: "Alegreya", serif;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #e71724;
  margin: 0;
}

.clg-title h2 {
  font-family: "Noto Sans Bengali", "Noto Sans", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #2e3192;
  margin: 0;
}

.clg-title p {
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.4 !important;
  color: #333;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
  margin: 0 0 2px 0 !important;
}

.main-nav {
  background-color: #5a2d82;
  padding: 0 !important;
  height: auto !important;
  min-height: fit-content;
  overflow: visible !important;
}

.main-nav .navbar-collapse {
  overflow: visible !important;
}

.main-nav .navbar-nav {
  flex-wrap: wrap !important;
  align-items: center;
}

.nav-link-custom {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase;
  padding: 5px 7px !important;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

html.font-scale-lg .nav-link-custom,
html.font-scale-xl .nav-link-custom {
  padding: 4px 5px !important;
  font-size: 0.76rem !important;
}

.nav-link-custom:hover {
  color: #ffcc00 !important;
}

.admission-btn {
  background-color: transparent;
  color: #ffcc00 !important;
  /* Yellow text */
  font-weight: bold;
  border: none;
}

.accessibility-tools {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accessibility-tools span {
  color: white;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: bold;
  background-color: #000000;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  user-select: none;
  border: 1px solid transparent;
}

.accessibility-tools span:hover {
  background-color: #4f46e5;
  color: #ffffff;
  transform: scale(1.08);
}

.accessibility-tools span.active {
  background-color: #ffcc00;
  color: #000000;
  font-weight: 800;
  border-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 204, 0, 0.6);
}

/* Accessibility Font Size Scalers */
html.font-scale-lg {
  font-size: 112.5% !important;
}
html.font-scale-lg body p,
html.font-scale-lg body span:not(.btn-font-size):not(.badge),
html.font-scale-lg body a:not(.btn-font-size):not(.btn):not(.nav-link-custom),
html.font-scale-lg body li,
html.font-scale-lg body td,
html.font-scale-lg body th,
html.font-scale-lg body .scroll-text,
html.font-scale-lg body .about-text {
  font-size: 1.12em !important;
}

html.font-scale-xl {
  font-size: 125% !important;
}
html.font-scale-xl body p,
html.font-scale-xl body span:not(.btn-font-size):not(.badge),
html.font-scale-xl body a:not(.btn-font-size):not(.btn):not(.nav-link-custom),
html.font-scale-xl body li,
html.font-scale-xl body td,
html.font-scale-xl body th,
html.font-scale-xl body .scroll-text,
html.font-scale-xl body .about-text {
  font-size: 1.25em !important;
}

html.font-scale-sm {
  font-size: 90% !important;
}
html.font-scale-sm body p,
html.font-scale-sm body span:not(.btn-font-size):not(.badge),
html.font-scale-sm body a:not(.btn-font-size):not(.btn):not(.nav-link-custom),
html.font-scale-sm body li,
html.font-scale-sm body td,
html.font-scale-sm body th,
html.font-scale-sm body .scroll-text,
html.font-scale-sm body .about-text {
  font-size: 0.9em !important;
}

html.font-scale-lg .animate-charcter,
html.font-scale-xl .animate-charcter {
  white-space: nowrap !important;
  line-height: 1.3 !important;
}

.nav-top {
  background-color: #31328f;
  padding: 0px;
}
.nav-top .navbar-nav li a.nav-link {
  color: #ffffff !important;
  text-transform: uppercase;
}

.main-heading {
  background-color: #ffffff;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* .flash-news {
  background-color: #2e3192;
  color: #ffffff;
  padding: 10px 20px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%
  );
}
.flash-news::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 100%;
  background-color: #efe3d0;
} */
.flash-news {
  position: relative;
  display: inline-block;
  background-color: #2e3192; /* Deep blue */
  color: #fff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  /* padding: 10px 30px 10px 20px; */
  padding: 5px 15px 5px 10px;
}

/* Right arrow tip */
.flash-news::after {
  content: "";
  position: absolute;
  /* top: 6.5px; */
  top: 1px;
  right: -14px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #2e3192; /* Blue arrow tip */
}
/* Beige rectangle on the right edge */
.flash-news::before {
  content: "";
  position: absolute;
}

.flash-news-item {
  display: inline-flex;
  align-items: center;
  margin-right: 30px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

.flash-news-item a {
  color: #2e3192;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.flash-news-item a:hover {
  color: #e71724;
  text-decoration: underline;
}

.flash-news-item span.text-only {
  color: #333333;
  font-weight: bold;
}

.nav-bottom {
  background-color: #e71724;
  padding: 0px !important;
  height: auto !important;
  min-height: fit-content;
  overflow: visible !important;
}

.nav-bottom .navbar-collapse {
  overflow: visible !important;
}

.nav-bottom .navbar-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center;
  margin: 0 auto;
}

.nav-bottom .navbar-nav li a.nav-link {
  color: #ffffff !important;
  text-transform: uppercase;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 6px 8px !important;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
}

html.font-scale-lg .nav-bottom .navbar-nav li a.nav-link,
html.font-scale-xl .nav-bottom .navbar-nav li a.nav-link {
  padding: 5px 6px !important;
  font-size: 0.75rem !important;
}

/* General carousel control button styling */
.carousel-control-prev,
.carousel-control-next {
  width: 30px;
  height: 30px;
  background-color: #2d2e83; /* dark blue background */
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

/* Move the buttons slightly inside the carousel */
.carousel-control-prev {
  left: 5%; /* adjust to move further inside */
}

.carousel-control-next {
  right: 5%; /* adjust to move further inside */
}

/* Remove Bootstrap’s default background icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 12px;
  height: 12px;
  border: solid white;
  border-width: 0 4px 4px 0;
  display: inline-block;
  padding: 5px;
}

/* Create the left arrow shape */
.carousel-control-prev-icon {
  transform: rotate(135deg);
  margin-left: 4px;
}

/* Create the right arrow shape */
.carousel-control-next-icon {
  transform: rotate(-45deg);
  margin-right: 4px;
}

/* Optional: add hover effect */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #1f2060; /* darker blue on hover */
  transform: translateY(-50%) scale(1.1);
}

.highlight .card {
  border-radius: 0px;
  min-height: 210px;
}
.highlight .highlight-1 {
  background-color: #6aa3d8;
  color: #ffffff;
}
.highlight .highlight-2 {
  background-color: #cdab8f;
  color: #ffffff;
}
.highlight .highlight-3 {
  background-color: #fc7e82;
  color: #ffffff;
}
.highlight .highlight-4 {
  background-color: #83a3a2;
  color: #ffffff;
}
.highlight .card-title {
  font-weight: 700;
}

.clg-latest {
  /* background-color: #fcfecd; */
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}
.clg-latest-title {
  text-align: center;
  font-family: "Poppins", sans-serif; /* Clean modern font */
  font-weight: 700;
  font-size: 28px;
  color: #2d2a86; /* Deep blue text */
  padding: 10px 0;
  position: relative;
  display: inline-block;
  width: 100%;
}

.clg-latest-title::before,
.clg-latest-title::after {
  content: "";
  position: absolute;
  top: 70%;
  width: 70px;
  height: 2px;
  background-color: #2d2a86; /* Same blue as text */
}

.clg-latest-title::before {
  left: 27%;
}

.clg-latest-title::after {
  right: 27%;
}

.college-card {
  background-color: #fff;
  border: none;
  /* border-left: 6px solid #eae1cf; */
  border-radius: 0;
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.college-card img {
  width: 100%;
  height: auto;
}

/* 🎀 Ribbon Styling */
.ribbon {
  position: absolute;
  top: 16px;
  left: -8px;
  background-color: #2d2a86; /* deep purple */
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 16px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* 🔺 Red notch */
.ribbon::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-top: 8px solid #c21f1f; /* red triangle */
}

.college-card .card-body {
  padding: 1.5rem;
  border-top: none;
}

.college-card h5 {
  color: #2d2a86;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.college-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.card-footer-line {
  height: 8px;
  background-color: #2d2a86;
  margin-top: 1rem;
}

.read-more-btn {
  display: inline-block;
  background-color: #e3342f; /* exact red */
  color: #ffffff !important; /* white text */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600; /* semi-bold */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 0.625rem 1rem; /* 10px 16px */
  border: none;
  /* border-radius: 6px; rounded corners */
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.read-more-btn:hover {
  background-color: #cc1f1a; /* slightly darker on hover */
  color: #ffffff !important;
}

.read-more-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 52, 47, 0.4);
}

.excellence {
  background-color: #d1ecf7;
  padding-top: 15px;
  padding-bottom: 15px;
}

.excellence-title {
  text-align: center;
  font-family: "Poppins", sans-serif; /* Clean modern font */
  font-weight: 700;
  font-size: 28px;
  color: #2d2a86; /* Deep blue text */
  padding: 10px 0;
  position: relative;
  display: inline-block;
  width: 100%;
}

.excellence-title::before,
.excellence-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 2px;
  background-color: #2d2a86; /* Same blue as text */
}

.excellence-title::before {
  left: 27%;
}

.excellence-title::after {
  right: 27%;
}

.why-us {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}
.why-us-title {
  font-family: "Poppins", sans-serif; /* Clean modern font */
  font-weight: 700;
  font-size: 28px;
  color: #2d2a86; /* Deep blue text */
  padding: 0px 0px 10px 0;
  position: relative;
  display: inline-block;
  width: 100%;
}

.principal-desk {
  background-color: #fcfecd;
  padding-top: 15px;
  padding-bottom: 15px;
}

.achievement {
  background-color: #d1ecf7;
  padding-top: 15px;
  padding-bottom: 15px;
}
.achiv-heading-1 {
  background-color: #fc7e82;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.achiv-heading-1 .card-body,
.achiv-heading-2 .card-body,
.achiv-heading-3 .card-body {
  padding-top: 0;
  padding-bottom: 0;
}
.achiv-content-1 {
  border-bottom: 8px solid #fc7e82;
}
.achiv-heading-2 {
  background-color: #cdab8f;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.achiv-content-2 {
  border-bottom: 8px solid #cdab8f;
}
.achiv-heading-3 {
  background-color: #83a3a2;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.achiv-content-3 {
  border-bottom: 8px solid #83a3a2;
}
.achievement .card .card-title {
  color: #2d2a86;
  font-weight: 600;
}

.notice-board {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}
.notice-board-wrapper {
  background-color: #fbe5d6;
  max-width: 1200px;
  margin: auto;
  padding: 15px 0px;
}
.notice-title {
  text-align: center;
  font-family: "Poppins", sans-serif; /* Clean modern font */
  font-weight: 700;
  font-size: 28px;
  color: #2d2a86; /* Deep blue text */
  padding: 10px 0;
  position: relative;
  display: inline-block;
  width: 100%;
}

.notice-title::before,
.notice-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 2px;
  background-color: #2d2a86; /* Same blue as text */
}

.notice-title::before {
  left: 32%;
}

.notice-title::after {
  right: 32%;
}

.notice-heading-1 {
  background-color: #f05366;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.notice-heading-1 .card-body,
.notice-heading-2 .card-body,
.notice-heading-3 .card-body {
  padding-top: 0;
  padding-bottom: 0;
}
.notice-content-1 {
  height: 400px;
  border-bottom: 8px solid #f05366;
}
.notice-heading-2 {
  background-color: #037bb7;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.notice-content-2 {
  height: 400px;
  border-bottom: 8px solid #037bb7;
}
.notice-heading-3 {
  background-color: #027683;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.notice-content-3 {
  height: 400px;
  border-bottom: 8px solid #027683;
}

/* Responsive */
@media (max-width: 991px) {
  .notice-title::before,
  .notice-title::after {
    display: none;
  }
}

#stat-counter {
  background: url(../images/netaji_page_bg.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  padding-top: 20px;
  padding-bottom: 20px;
}

#stat-counter .counter-item {
  margin-bottom: 25px;
  text-align: center;
  padding: 23px;
  color: #ffffff;
  font-size: 40px;
}

.gallery {
  background-color: #dbeaff;
  padding-top: 20px;
  padding-bottom: 20px;
}
.impLink {
  padding-top: 15px;
  padding-bottom: 15px;
}

footer {
  background-color: #31328f;
  padding-top: 20px;
  padding-bottom: 20px;
}
footer p {
  color: #ffffff;
  font-size: 12px;
}
footer p a {
  color: #dddddd !important;
}
.footer-contact-icon {
  background-color: #e91625;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-decoration: none;
  font-size: 10px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Multi-level Dropdown Menu Adjustments */
.nav-bottom .dropdown-menu {
  margin-top: 0;
  background-color: #a6a6a6;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-toggle::after {
  transform: rotate(-90deg);
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  background-color: #a6a6a6;
}

.dropdown-menu .dropdown-item {
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff !important;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #2b3035;
}

/* Desktop Dropdown Hover State */
@media (min-width: 992px) {
  .nav-bottom .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .nav-bottom .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }
}

/* Mobile Submenu Styling */
@media (max-width: 991px) {
  .dropdown-submenu > .dropdown-menu {
    display: none;
    position: static !important;
    margin-left: 1rem;
    margin-top: 0;
    border: none;
  }
  .dropdown-submenu > .dropdown-menu.show {
    display: block;
  }
}

/* Student Zone Section (Matching std-zone.png) */
.student-zone-container {
  background: linear-gradient(135deg, #cbe3f0 0%, #b8d4ea 100%);
  border: 1.5px solid #8eb9d8;
  display: flex;
  align-items: stretch;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.side-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.3));
}

/* Vertical Label */
.side-label {
  background-color: #7d3c32; /* Brownish-red */
  color: white;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 20px 10px;
  font-weight: bold;
  letter-spacing: 5px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 0 0 4px;
  text-shadow:
    -1px -1px 0 #3b82f6,
    1px -1px 0 #3b82f6,
    -1px 1px 0 #3b82f6,
    1px 1px 0 #3b82f6,
    0px 0px 8px #3b82f6;
}

/* The Arrow Attachment */
.arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #7d3c32;
  z-index: 10;
}

.arrow-tip::before {
  content: "";
  position: absolute;
  right: 30px;
  top: -10px;
  width: 21px;
  height: 20px;
  background-color: #7d3c32;
}

/* Student Zone Content Container - Generous padding-left (65px) so left column cards never go below/under arrow tip */
.student-zone-content {
  padding-left: 65px;
  padding-right: 30px;
  padding-top: 25px;
  padding-bottom: 25px;
  flex: 1;
}

/* Layout Wrapper for 2 Visually Separated Columns matching std-zone.png */
.sz-layout-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 45px; /* Visual separation between left and right blocks */
  width: 100%;
}

.sz-left-block {
  flex: 0 1 auto;
}

/* Left Grid: 4 Columns x 2 Rows - Compact Fixed Column Grid */
.sz-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 180px);
  gap: 18px 16px; /* Tight 16px column gap between white card boxes */
}

/* Compact Card Box Sizing */
.sz-left-block .std-card-box {
  width: 135px;
  height: 135px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Right Block: Smaller size for 3-card stack column on far right */
.sz-right-block {
  flex: 0 0 110px;
}

.sz-stack-3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Card Link Container */
.std-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  transition: transform 0.2s ease-in-out;
  width: 100%;
}

.std-card-link:hover {
  transform: translateY(-3px);
}

/* White Square Box matching std-zone.png */
.std-card-box {
  background: #ffffff;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #d4e4f0;
  transition:
    box-shadow 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

.std-card-link:hover .std-card-box {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  border-color: #00509d;
}

/* SVG Icon Inside Card */
.sz-icon-svg {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
}

/* Text Label below White Box */
.std-card-title {
  color: #1e3a8a;
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 8px;
  text-align: center;
  line-height: 1.2;
  transition: color 0.15s ease-in-out;
}

.std-card-link:hover .std-card-title {
  color: #002962;
}

/* Right Stacked Square Cards (Smaller size) */
.std-card-right-link {
  width: 100%;
  display: flex;
  justify-content: center;
}

.std-card-right-link .std-card-box {
  width: 120px;
  height: 120px;
  aspect-ratio: 1 / 1;
  padding: 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .student-zone-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .sz-layout-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .sz-grid-8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .sz-left-block .std-card-box {
    width: 100%;
    max-width: 110px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .side-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    height: auto;
  }
  .arrow-tip {
    display: none;
  }
  .student-zone-container {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .sz-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.recent-events {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Container Layout */
.events-section {
  background-color: #dff2f6;
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: auto;
}

.recent-events-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  /* Applies shadow to the entire combined shape (bar + arrow) */
  filter: drop-shadow(-4px 4px 3px rgba(0, 0, 0, 0.4));
  margin-left: 48px; /* Makes room so the absolutely positioned arrow doesn't overlap cards */
}

/* Right Side Vertical Label */
.recent-events-label {
  background-color: #2e7bb8;
  color: #ffffff; /* Yellow text */
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 40px 10px;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 0 0 4px;
  /* -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); */
  text-shadow:
    -1px -1px 0 #ffcc00,
    1px -1px 0 #ffcc00,
    -1px 1px 0 #ffcc00,
    1px 1px 0 #ffcc00,
    0px 0px 8px #ffcc00;
}

/* Left-pointing Arrow on Label */
.recent-events-arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  left: -44px; /* Pushed out exactly to match margin-left */
  top: 50%;
  transform: translateY(-50%);

  /* Creating the triangular head */
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 30px solid #2e7bb8;

  z-index: 10;
}

.recent-events-arrow-tip::after {
  content: "";
  position: absolute;
  left: 29px; /* Connects exactly to the flat base of the triangle */
  top: -10px; /* Centering vertically */
  width: 15px; /* Bridges the remaining 20px gap to the label */
  height: 20px;
  background-color: #2e7bb8;
}

/* Card Styling */
.event-card {
  border: none;
  border-radius: 0;
  height: 100%;
  background: white;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

.event-card img {
  border-radius: 0;
  height: 180px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.event-card .card-body {
  padding: 15px;
  text-align: center;
}

.event-card .card-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card .card-text {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.4;
  text-align: left;
}

.event-card .card-body .read-more {
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Color Variations for Card Bottoms/Titles */
.card-blue {
  border-bottom: 4px solid blue;
}
.card-blue .card-title {
  color: #003366;
  background: #eef2ff;
}
.card-blue .card-body {
  background-color: #eef2ff;
}
.card-red {
  border-bottom: 4px solid red;
}
.card-red .card-title {
  color: #8b0000;
  background: #fff5f5;
}
.card-red .card-body {
  background-color: #fff5f5;
}
.card-green {
  border-bottom: 4px solid green;
}
.card-green .card-title {
  color: #004d00;
  background: #f5fff5;
}
.card-green .card-body {
  background-color: #f5fff5;
}
.card-yellow {
  border-bottom: 4px solid #ccaa00;
}
.card-yellow .card-title {
  color: #665500;
  background: #fffdf0;
}
.card-yellow .card-body {
  background-color: #fffdf0;
}
.card-cyan {
  border-bottom: 4px solid #00acc1;
}
.card-cyan .card-title {
  color: #005662;
  background: #f0fdff;
}
.card-cyan .card-body {
  background-color: #f0fdff;
}
.card-magenta {
  border-bottom: 4px solid #d81b60;
}
.card-magenta .card-title {
  color: #880e4f;
  background: #fff0f6;
}
.card-magenta .card-body {
  background-color: #fff0f6;
}

/* Responsive Mobile Tweak */
@media (max-width: 991px) {
  .events-section {
    flex-direction: column-reverse;
  }
  .recent-events-label {
    writing-mode: horizontal-tb;
    width: 100%;
    letter-spacing: 2px;
  }
  .recent-events-arrow-tip {
    display: none;
  }
  .recent-events-label-wrapper {
    margin-left: 0;
  }
}

.course {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.courses-container {
  background-color: #fbe5d6;
  border: 1.5px solid #3b6b9c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  min-height: 230px;
}

.course-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  align-self: stretch;
  z-index: 5;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.course-label {
  background-color: #c65911; /* Brownish-red */
  color: white;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 20px 10px;
  font-weight: bold;
  letter-spacing: 5px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 0 0 4px;
  text-shadow:
    -1px -1px 0 #cccccc,
    1px -1px 0 #cccccc,
    -1px 1px 0 #cccccc,
    1px 1px 0 #cccccc,
    0px 0px 8px #cccccc;
}

/* The Arrow Attachment */
.course-arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #c65911;
  z-index: 10;
}

.course-arrow-tip::before {
  content: "";
  position: absolute;
  right: 30px;
  top: -10px;
  width: 21px;
  height: 20px;
  background-color: #c65911;
}

/* Courses Content Area */
.courses-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding-left: 55px; /* Space for arrow tip */
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
  position: relative;
}

/* Top Nav Buttons Bar */
.course-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(132, 60, 12, 0.25);
  margin-bottom: 12px;
  padding: 0 5px 8px 5px;
}

.course-nav-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #843c0c;
  opacity: 0.85;
  user-select: none;
}

.course-nav-btn {
  background: #ffffff;
  border: 1.5px solid #c65911;
  color: #c65911;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  user-select: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-nav-btn:hover {
  background: linear-gradient(135deg, #c65911 0%, #843c0c 100%);
  color: #ffffff;
  border-color: #843c0c;
  box-shadow: 0 4px 10px rgba(198, 89, 17, 0.35);
  transform: translateY(-1px) scale(1.1);
}

.course-nav-btn:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Horizontal Scroll Track */
.tiles-wrapper {
  position: relative;
  overflow: hidden;
  padding: 4px 0 8px 0;
  width: 100%;
  touch-action: pan-y;
}

.marquee-track-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: center;
  width: max-content;
  will-change: transform;
}

/* Individual Course Tile */
.course-tile {
  flex: 0 0 160px;
  width: 160px;
  height: 140px;
  border: 1.5px solid #222222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.8),
    2px 2px 4px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  user-select: none;
}

.course-tile:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.9),
    3px 4px 8px rgba(0, 0, 0, 0.3);
  color: inherit;
}

.course-tile .main-abbr {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #843c0c;
  line-height: 1;
}

.course-tile .sub-text {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #002060;
  line-height: 1.15;
}

/* Exact Colors */
.bg-ug {
  background-color: #fff2cc;
}
.bg-pg {
  background-color: #e2d5f3;
}
.bg-ignou {
  background-color: #ddebf7;
}
.bg-nsou {
  background-color: #e2efda;
}
.bg-bca {
  background-color: #ddebf7;
}
.bg-bba {
  background-color: #fce4d6;
}
.bg-aoc {
  background-color: #e2d5f3;
}
.bg-esc {
  background-color: #fff2cc;
}

@media (max-width: 768px) {
  .courses-container {
    flex-direction: column;
  }
  .course-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    height: auto;
    letter-spacing: 4px;
  }
  .course-arrow-tip {
    display: none;
  }
  .courses-content-wrapper {
    padding-left: 15px;
    padding-top: 15px;
  }
}

.achievements {
  background-color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}

.achievements-container {
  background-color: #dbfde2;
  border: 1.5px solid #79b882;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  min-height: 330px;
}

/* Right Green Label Sidebar */
.achievements-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  align-self: stretch;
  z-index: 5;
  filter: drop-shadow(-4px 4px 3px rgba(0, 0, 0, 0.25));
  flex-shrink: 0;
  order: 2;
}

.achievements-label {
  background-color: #138844;
  color: #ffffff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 20px 14px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 0 0 4px;
  text-shadow:
    -1px -1px 0 #005020,
    1px -1px 0 #005020,
    -1px 1px 0 #005020,
    1px 1px 0 #005020,
    0px 0px 8px #005020;
}

/* Arrow Tip pointing Left from Right Ribbon */
.achievements-arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 30px solid #138844;
  z-index: 10;
}

.achievements-arrow-tip::after {
  content: "";
  position: absolute;
  left: 30px;
  top: -10px;
  width: 15px;
  height: 20px;
  background-color: #138844;
}

/* Achievements Content Area */
.achievements-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding-left: 20px;
  padding-right: 55px; /* Space for arrow tip */
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
  position: relative;
  order: 1;
}

/* Top Nav Buttons Bar */
.achievements-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(19, 136, 68, 0.3);
  margin-bottom: 15px;
  padding: 0 5px 8px 5px;
}

.achievements-nav-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #138844;
  opacity: 0.9;
  user-select: none;
}

.achievements-nav-btn {
  background: #ffffff;
  border: 1.5px solid #138844;
  color: #138844;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  user-select: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievements-nav-btn:hover {
  background: linear-gradient(135deg, #138844 0%, #0d5f2e 100%);
  color: #ffffff;
  border-color: #0d5f2e;
  box-shadow: 0 4px 10px rgba(19, 136, 68, 0.35);
  transform: translateY(-1px) scale(1.1);
}

.achievements-nav-btn:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Horizontal Scroll Track */
.achieve-tiles-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px 0 12px 0;
  width: 100%;
  touch-action: pan-y;
}

.achieve-marquee-track-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 18px;
  align-items: center;
  width: max-content;
  will-change: transform;
}

/* Individual Achievement Card - Asymmetric Corner Shape matching achieve.png */
.achieve-card {
  flex: 0 0 210px;
  width: 210px;
  height: 255px;
  border: 2px solid #222222;
  border-top-left-radius: 38px;
  border-bottom-right-radius: 38px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 10px 10px;
  text-decoration: none;
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.4),
    3px 4px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  user-select: none;
}

.achieve-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    inset 1px 1px 3px rgba(255, 255, 255, 0.6),
    4px 6px 12px rgba(0, 0, 0, 0.35);
}

/* Image Inner Wrapper with Matching Asymmetric Corners */
.achieve-img-wrapper {
  width: 100%;
  height: 185px;
  background-color: #ffffff;
  padding: 5px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-top-left-radius: 28px;
  border-bottom-right-radius: 28px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.achieve-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

/* Card Bottom Text */
.achieve-label-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffeb3b;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  margin-top: 4px;
  margin-bottom: 2px;
  text-align: center;
}

/* Card Themes matching achieve.png */
.bg-faculty {
  background: linear-gradient(180deg, #843c0c 0%, #682c06 100%);
}
.bg-student {
  background: linear-gradient(180deg, #284c24 0%, #1c3819 100%);
}
.bg-nss {
  background: linear-gradient(180deg, #a65900 0%, #804200 100%);
}
.bg-ncc {
  background: linear-gradient(180deg, #3d1a58 0%, #28103c 100%);
}
.bg-college {
  background: linear-gradient(180deg, #8899a6 0%, #708090 100%);
}
.bg-sports {
  background: linear-gradient(180deg, #005f73 0%, #0a9396 100%);
}
.bg-community {
  background: linear-gradient(180deg, #6b1d1d 0%, #4a1212 100%);
}
.bg-prof {
  background: linear-gradient(180deg, #2b3a4a 0%, #1e2733 100%);
}

@media (max-width: 992px) {
  .achievements-container {
    flex-direction: column-reverse;
  }
  .achievements-label-wrapper {
    width: 100%;
  }
  .achievements-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    height: auto;
    letter-spacing: 4px;
    padding: 12px;
  }
  .achievements-arrow-tip {
    display: none;
  }
  .achievements-content-wrapper {
    padding-right: 20px;
    padding-left: 20px;
  }
  .achieve-grid {
    padding: 20px;
  }
}

.why-us-wrapper {
  background-color: #ffffb9;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* --- 1. THE VECTOR 3D RIBBON HEADER (Matching ribbon.png UI) --- */
.ribbon-svg-wrapper {
  max-width: 960px;
  width: 100%;
  margin: 15px auto 40px auto;
  text-align: center;
}

.ribbon-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* --- 2. THE CONTENT BOX --- */
.main-content {
  /* background: white; */
  /* border: 1px solid #999;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.15); */
  display: flex;
  align-items: stretch;
  overflow: visible; /* To allow the speech bubble pointer to show */
}

.image-col {
  padding: 30px;
  /* background: white; */
}

.college-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- 3. THE SPEECH BUBBLE TEXT AREA --- */
.speech-bubble {
  position: relative;
  background: white;
  padding: 40px;
  display: flex;
  align-items: center;
  border: 1px solid #999;
}

/* The Pointer Arrow */
.speech-bubble::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-right: 30px solid white;
  filter: drop-shadow(-2px 0 1px rgba(0, 0, 0, 0.5));
}

/* Blue Corner Accents */
.text-ribbon {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: absolute;
}
.text-ribbon::before,
.text-ribbon::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 5px solid #2980b9;
}
.text-ribbon span {
  position: absolute;
  display: block;
  width: 220px;
  padding: 15px 0;
  background-color: #3498db;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  font:
    700 18px/1 "Lato",
    sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
}

/* top left*/
.text-ribbon-top-left {
  top: -10px;
  left: -10px;
}
.text-ribbon-top-left::before,
.text-ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}
.text-ribbon-top-left::before {
  top: 0;
  right: 0;
}
.text-ribbon-top-left::after {
  bottom: 0;
  left: 0;
}
.text-ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}

/* top right*/
.text-ribbon-top-right {
  top: -10px;
  right: -10px;
}
.text-ribbon-top-right::before,
.text-ribbon-top-right::after {
  border-top-color: transparent;
  border-right-color: transparent;
}
.text-ribbon-top-right::before {
  top: 0;
  left: 0;
}
.text-ribbon-top-right::after {
  bottom: 0;
  right: 0;
}
.text-ribbon-top-right span {
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* bottom left*/
.text-ribbon-bottom-left {
  bottom: -10px;
  left: -10px;
}
.text-ribbon-bottom-left::before,
.text-ribbon-bottom-left::after {
  border-bottom-color: transparent;
  border-left-color: transparent;
}
.text-ribbon-bottom-left::before {
  bottom: 0;
  right: 0;
}
.text-ribbon-bottom-left::after {
  top: 0;
  left: 0;
}
.text-ribbon-bottom-left span {
  right: -25px;
  bottom: 30px;
  transform: rotate(225deg);
}

/* bottom right*/
.text-ribbon-bottom-right {
  bottom: -10px;
  right: -10px;
}
.text-ribbon-bottom-right::before,
.text-ribbon-bottom-right::after {
  border-bottom-color: transparent;
  border-right-color: transparent;
}
.text-ribbon-bottom-right::before {
  bottom: 0;
  left: 0;
}
.text-ribbon-bottom-right::after {
  top: 0;
  right: 0;
}
.text-ribbon-bottom-right span {
  left: -25px;
  bottom: 30px;
  transform: rotate(-225deg);
}

.corner {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 5px solid #4f81bd;
}
.top-left {
  top: 15px;
  left: 15px;
  border-right: 0;
  border-bottom: 0;
}
.bottom-right {
  bottom: 15px;
  right: 15px;
  border-left: 0;
  border-top: 0;
}

.about-text {
  color: #002060;
  font-size: 1.05rem;
  text-align: justify;
  line-height: 1.65;
  position: relative;
  z-index: 10;
}

.about-text p {
  margin-bottom: 12px;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.read-more {
  font-weight: bold;
  color: black;
  text-decoration: underline;
}

/* Responsive Mobile Tweak */
@media (max-width: 575px) {
  .main-content {
    flex-direction: column;
  }
  .speech-bubble::after {
    display: none;
  }
  .ribbon-main {
    font-size: 1.4rem;
    padding: 10px 20px;
  }
  .ribbon-main::before,
  .ribbon-main::after {
    display: none;
  }
}

.principal-voice,
.vice-principal-voice {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.main-wrapper {
  background: linear-gradient(135deg, #e4f2f9 0%, #cbe3f0 100%);
  max-width: 1200px;
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 35px;
  gap: 45px;
  border-radius: 2px;
  overflow: visible; /* Must be visible so knobs don't get clipped */
}

.main-wrapper-vicep {
  background: linear-gradient(135deg, #fdf8e1 0%, #f7ebb4 100%);
  max-width: 1200px;
  margin: auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 35px;
  gap: 45px;
  border-radius: 2px;
  overflow: visible; /* Must be visible so knobs don't get clipped */
}

/* Dark Blue Corner Triangles matching pv.png (Both Principal & Vice Principal) */
.main-wrapper::before,
.main-wrapper-vicep::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 75px 75px 0;
  border-color: transparent #18416d transparent transparent;
  z-index: 2;
}

.main-wrapper::after,
.main-wrapper-vicep::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 75px 75px;
  border-color: transparent transparent #18416d transparent;
  z-index: 2;
}

/* --- 1. POLAROID IMAGE FRAMES --- */
.photo-wrap {
  flex: 0 0 28%;
  z-index: 10;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.polaroid {
  display: block !important;
  background: #ffffff;
  padding: 16px 16px 48px 16px;
  border: 1px solid #d6d6d6;
  box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.28);
  transform: rotate(7deg) !important; /* Tilted to the right (clockwise) */
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.polaroid-vice {
  display: block !important;
  background: #ffffff;
  padding: 16px 16px 48px 16px;
  border: 1px solid #d6d6d6;
  box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.28);
  transform: rotate(
    -7deg
  ) !important; /* Tilted to the left (counter-clockwise) */
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.03) !important;
}

.polaroid-vice:hover {
  transform: rotate(0deg) scale(1.03) !important;
}

.polaroid img,
.polaroid-vice img {
  width: 100%;
  height: auto;
  border: 1px solid #e0e0e0;
  display: block;
}

.scroll-container {
  flex: 1;
  max-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

/* =============================================================
   SCROLL / PARCHMENT SHAPE — matching pv.png exactly
   Structure:
     .parchment  → flat rectangular body (no rounded corners)
     ::before    → TOP roll bar (pill-shaped, floats ABOVE body)
     ::after     → BOTTOM roll bar (pill-shaped, floats BELOW body)
     .scroll-knob → small oval cap at the LEFT end of each roll bar
     .scroll-header → title text layered over the top roll bar
   ============================================================= */

/* 1. Main scroll body */
.parchment {
  position: relative;
  background: linear-gradient(180deg, #f8f0d8 0%, #eedcaa 50%, #e5d190 100%);
  padding: 28px 28px 28px 28px;
  width: 100%;
  margin-top: 32px; /* space for the top roll that protrudes above */
  margin-bottom: 32px; /* space for the bottom roll that protrudes below */
  border-left: 1.5px solid #b8985c;
  border-right: 1.5px solid #b8985c;
  border-top: none;
  border-bottom: none;
  box-shadow: 4px 5px 16px rgba(0, 0, 0, 0.18);
  z-index: 1;
  overflow: visible;
}

/* 2. TOP roll bar — pill shape sitting above the body */
.parchment::before {
  content: "";
  display: block;
  position: absolute;
  top: -32px; /* Floats above the body */
  left: -5px; /* Slightly past left edge */
  right: -5px; /* Slightly past right edge */
  height: 58px; /* Roll thickness */
  border-radius: 29px; /* = half of height → full pill/capsule shape */
  background: linear-gradient(
    180deg,
    #b8904a 0%,
    #e0c578 20%,
    #f7edd0 50%,
    #e0c578 80%,
    #b8904a 100%
  );
  border: 1.5px solid #9a7838;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

/* 3. BOTTOM roll bar — pill shape sitting below the body */
.parchment::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -32px; /* Floats below the body */
  left: -5px;
  right: -5px;
  height: 58px;
  border-radius: 29px;
  background: linear-gradient(
    180deg,
    #b8904a 0%,
    #e0c578 20%,
    #f7edd0 50%,
    #e0c578 80%,
    #b8904a 100%
  );
  border: 1.5px solid #9a7838;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

/* 4. Oval rod end-cap knob (the wooden roller tip visible on the left) */
.scroll-knob {
  position: absolute;
  width: 26px; /* Narrower than the roll bar = cylinder end-face */
  height: 58px; /* Same height as roll bar */
  background: radial-gradient(
    ellipse at 42% 35%,
    #fdf5df 0%,
    #e5c070 38%,
    #c4883c 68%,
    #8c5c1a 100%
  );
  border-radius: 50%; /* Oval */
  border: 1.5px solid #8c5e22;
  box-shadow:
    inset 4px 2px 7px rgba(255, 255, 255, 0.55),
    inset -4px -2px 7px rgba(0, 0, 0, 0.45),
    -3px 3px 8px rgba(0, 0, 0, 0.35);
  z-index: 5;
  left: -18px; /* Straddles the parchment left edge, overlaps the pill end */
}

/* Top knob aligns with top roll bar */
.scroll-knob.knob-top {
  top: -32px;
}

/* Bottom knob aligns with bottom roll bar */
.scroll-knob.knob-bottom {
  bottom: -32px;
}

/* 5. Title floats over the TOP roll bar */
.scroll-header {
  color: #0b61be;
  font-family:
    "Great Vibes", "Dancing Script", "Brush Script MT", cursive, serif;
  font-size: 2.9rem;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: -32px;
  left: -5px;
  right: -5px;
  height: 58px;
  line-height: 58px;
  margin: 0;
  z-index: 6;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

/* ============================================================
   VICE PRINCIPAL — same geometry, blue palette
   ============================================================ */

.parchment-vice {
  position: relative;
  background: linear-gradient(180deg, #e8f4fc 0%, #cce0ef 50%, #b8d4e8 100%);
  padding: 28px 28px 28px 28px;
  width: 100%;
  margin-top: 32px;
  margin-bottom: 32px;
  border-left: 1.5px solid #7daac6;
  border-right: 1.5px solid #7daac6;
  border-top: none;
  border-bottom: none;
  box-shadow: 4px 5px 16px rgba(0, 0, 0, 0.18);
  z-index: 1;
  overflow: visible;
}

.parchment-vice::before {
  content: "";
  display: block;
  position: absolute;
  top: -32px;
  left: -5px;
  right: -5px;
  height: 58px;
  border-radius: 29px;
  background: linear-gradient(
    180deg,
    #5b8daa 0%,
    #a8cfe2 20%,
    #e2f2fa 50%,
    #a8cfe2 80%,
    #5b8daa 100%
  );
  border: 1.5px solid #4a7a98;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.parchment-vice::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -32px;
  left: -5px;
  right: -5px;
  height: 58px;
  border-radius: 29px;
  background: linear-gradient(
    180deg,
    #5b8daa 0%,
    #a8cfe2 20%,
    #e2f2fa 50%,
    #a8cfe2 80%,
    #5b8daa 100%
  );
  border: 1.5px solid #4a7a98;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.45),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.scroll-knob-vice {
  position: absolute;
  width: 26px;
  height: 58px;
  background: radial-gradient(
    ellipse at 42% 35%,
    #eaf6ff 0%,
    #88bcd8 38%,
    #4e8aaa 68%,
    #2a5e7c 100%
  );
  border-radius: 50%;
  border: 1.5px solid #3a6e8c;
  box-shadow:
    inset 4px 2px 7px rgba(255, 255, 255, 0.55),
    inset -4px -2px 7px rgba(0, 0, 0, 0.45),
    -3px 3px 8px rgba(0, 0, 0, 0.35);
  z-index: 5;
  left: -18px;
}

.scroll-knob-vice.knob-top {
  top: -32px;
}

.scroll-knob-vice.knob-bottom {
  bottom: -32px;
}

.scroll-header-vice {
  color: #c01414;
  font-family:
    "Great Vibes", "Dancing Script", "Brush Script MT", cursive, serif;
  font-size: 2.9rem;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: -32px;
  left: -5px;
  right: -5px;
  height: 58px;
  line-height: 58px;
  margin: 0;
  z-index: 6;
  pointer-events: none;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.white-inner-box {
  background-color: #ffffff;
  border: 1px solid #c8ba9a;
  padding: 26px 28px;
  position: relative;
  z-index: 5;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.white-inner-box-vice {
  background-color: #ffffff;
  border: 1px solid #a4c0d4;
  padding: 26px 28px;
  position: relative;
  z-index: 5;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.scroll-text {
  font-family: "Dancing Script", "Alex Brush", "Segoe Script", cursive, serif;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.65;
  color: #1a2530;
  text-align: justify;
  margin-bottom: 14px;
}

.read-more {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;
  color: #0d2b45;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
  color: #c65911;
}

/* Responsive */
@media (max-width: 991px) {
  .main-wrapper {
    flex-direction: column;
    padding: 70px 20px;
  }

  .main-wrapper-vicep {
    flex-direction: column-reverse;
    padding: 70px 20px;
  }
  .photo-wrap {
    width: 80%;
    margin-bottom: 40px;
  }
  .polaroid,
  .polaroid-vice {
    transform: rotate(0);
  }
  .parchment,
  .parchment-vice {
    margin-left: 0;
    margin-right: 0;
  }
  .parchment::before,
  .parchment::after,
  .parchment-vice::before,
  .parchment-vice::after {
    left: 0;
    right: 0;
  }
  .scroll-knob,
  .scroll-knob-vice {
    display: none;
  }
  .scroll-header,
  .scroll-header-vice {
    font-size: 2rem;
    left: 0;
    right: 0;
  }
}

/* --- OUR NOTICE BOARD SECTION (Matching notice-board.png UI) --- */
.notice-board-section {
  background-color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}

.notice-board-outer {
  background-color: #f7ebf4; /* Soft lavender/pinkish-purple background from notice-board.png */
  border: 1.5px solid #dfc7d9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Vertical Ribbon / Sidebar */
.notice-side-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.3));
  z-index: 5;
  flex-shrink: 0;
}

.notice-side-label {
  background-color: #c65911; /* Dark orange/brown ribbon */
  color: #ffffff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 20px 14px;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-shadow:
    -1px -1px 0 #732a03,
    1px -1px 0 #732a03,
    -1px 1px 0 #732a03,
    1px 1px 0 #732a03,
    2px 3px 6px rgba(0, 0, 0, 0.7);
}

/* Right-Pointing Arrow Tip */
.notice-arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 30px solid #c65911;
  z-index: 10;
}

.notice-arrow-tip::before {
  content: "";
  position: absolute;
  right: 30px;
  top: -10px;
  width: 21px;
  height: 20px;
  background-color: #c65911;
}

/* Right Main Columns Container */
.notice-columns-wrapper {
  flex-grow: 1;
  padding: 25px 25px 25px 65px; /* Offset to clear the right arrow tip */
}

/* Card Styling */
.notice-card {
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  height: 490px;
  overflow: hidden;
}

/* Column 1: Admission (Blue) */
.notice-card-admission {
  border: 2px solid #2868b2;
}
.notice-header-admission {
  background: linear-gradient(180deg, #337ab7 0%, #1f5ca6 100%);
  color: #ffeb3b; /* Bright yellow header text */
  font-weight: 800;
  font-size: 1.25rem;
  padding: 12px 15px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.3px;
}

/* Column 2: Examination (Brown) */
.notice-card-exam {
  border: 2px solid #843c0c;
}
.notice-header-exam {
  background: linear-gradient(180deg, #843c0c 0%, #682c06 100%);
  color: #ffeb3b;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 12px 15px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.3px;
}

/* Column 3: Tender (Green) */
.notice-card-tender {
  border: 2px solid #385d25;
}
.notice-header-tender {
  background: linear-gradient(180deg, #385d25 0%, #254218 100%);
  color: #ffeb3b;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 12px 15px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.3px;
}

/* Card Body & Notice Item List */
.notice-body {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #ffffff;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list-item {
  padding: 10px 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.notice-list-item:last-child {
  border-bottom: none;
}

.notice-date-badge {
  font-weight: 800;
  color: #2e7d32; /* Forest green date */
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.notice-title-text a {
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.notice-title-text a:hover {
  color: #c65911;
  text-decoration: underline;
}

/* Red Glossy Bottom Button matching notice-board.png */
.notice-btn-wrapper {
  text-align: center;
  margin-top: 15px;
}

.btn-notice-red {
  display: inline-block;
  background: linear-gradient(180deg, #d93834 0%, #b31d1a 100%);
  color: #ffff00 !important; /* Bright yellow text */
  font-weight: 900;
  font-size: 1rem;
  padding: 6px 28px;
  border: 1.5px solid #800f0d;
  border-radius: 2px;
  text-decoration: none !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 3px 6px rgba(0, 0, 0, 0.35);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  transition: all 0.2s ease-in-out;
  letter-spacing: 0.5px;
}

.btn-notice-red:hover {
  background: linear-gradient(180deg, #ea423e 0%, #c4221f 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    0 5px 10px rgba(179, 29, 26, 0.45);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .notice-board-outer {
    flex-direction: column;
  }
  .notice-side-label-wrapper {
    width: 100%;
    filter: none;
  }
  .notice-side-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100%;
    letter-spacing: 6px;
    padding: 12px;
  }
  .notice-arrow-tip {
    display: none;
  }
  .notice-columns-wrapper {
    padding: 20px;
  }
}

.imp-links {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}

.imp-links-wrapper {
  background-color: #fdc800;
  max-width: 1200px;
  margin: auto;
  padding: 15px 0px;
}

/* Custom Gradient Background */
.programs-section {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #ffffff;
  margin: 15px 0px;
  padding: 40px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Title styling */
.section-header {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

/* Program heading styling */
.program-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

/* Horizontal line styling */
.program-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  width: 100%;
  margin: 20px 0;
}

/* Tagline/Subtitle styling */
.program-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f1f1;
  margin-bottom: 20px;
  /* Match the specific alignments from image */
}

.align-right {
  text-align: right;
}
.align-center {
  text-align: center;
}

/* Description text styling */
.program-description {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
  opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .section-header {
    font-size: 2.5rem;
  }
  .program-tagline {
    text-align: left !important;
  }
  .program-description {
    text-align: left;
  }
}

.stats-contact {
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Unified Container Styling */
.unified-section {
  margin: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .unified-section {
    align-items: stretch;
  }
}

/* Left side wrapper for stats */
.stats-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .stats-wrapper {
    flex-direction: row;
    align-items: stretch;
  }
}

/* 1. TOP PURPLE STATS BAR */
.stats-bar {
  background-color: #4e53a2;
  color: white;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  flex: 1;
  gap: 5px;
  padding: 15px 10px;
}

.stat-unit {
  padding: 0;
  flex: 1;
  text-align: center;
}

.stat-unit i {
  font-size: 1.5rem;
  margin-bottom: 2px;
  display: block;
}
.stat-unit b {
  font-size: 1rem;
  display: block;
}
.stat-unit span {
  font-size: 0.75rem;
  white-space: normal;
  line-height: 1.2;
  display: block;
}

/* 2. LOWER PURPLE VISITOR BAR */
.visitor-bar {
  background-color: #4e53a2;
  color: white;
  padding: 10px 0;
  margin-top: 10px; /* Clear gap */
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 992px) {
  .visitor-bar {
    margin-top: 0;
    margin-left: 10px;
    flex: 0 0 350px;
    align-items: center;
    gap: 20px;
  }
}

/* 3. LIGHT BLUE CONTACT AREA */
.contact-area {
  background-color: #e3f2fd;
  padding: 30px 30px;
  border: 1px solid #cce5ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-heading {
  color: #0056b3;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Form Styling */
.custom-label {
  text-align: left;
  font-weight: 600;
  padding-top: 6px;
  font-size: 0.95rem;
  color: #0056b3;
}

@media (min-width: 1200px) {
  .custom-label {
    text-align: right;
  }
}

.custom-input {
  border: 1px solid #0056b3;
  border-radius: 4px;
  background-color: white;
  padding: 8px 12px;
}

.btn-submit {
  background: linear-gradient(to bottom, #d1e7ff, #8ec5ff);
  border: 1px solid #0056b3;
  color: #000;
  font-weight: 600;
  padding: 5px 45px;
  border-radius: 6px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: linear-gradient(to bottom, #8ec5ff, #d1e7ff);
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .stats-bar {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  .stat-unit {
    flex: 0 0 calc(33.333% - 15px);
  }
  .visitor-bar {
    gap: 15px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .stat-unit {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 575px) {
  .visitor-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .contact-area {
    padding: 30px 15px;
  }
}

.footer-section {
  background-color: #324aa8;
  color: #ffffff;
  padding: 40px 0 20px 0;
  font-family: Arial, sans-serif;
}

.footer-heading {
  color: #f8e71c;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.footer-subheading {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  display: block;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links-heading {
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #f8e71c !important;
  transform: translateX(8px);
}

.coordinate-text {
  font-size: 0.85rem;
  font-weight: bold;
  margin-top: 30px;
  letter-spacing: 0.5px;
}

/* Social Icons */
.social-icons-row {
  margin-top: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  text-decoration: none;
  font-size: 0.9rem;
}

.bg-fb {
  background-color: #3b5998;
}
.bg-li {
  background-color: #0077b5;
}
.bg-tw {
  background-color: #000000;
} /* X */
.bg-gp {
  background-color: #db4a39;
}
.bg-yt {
  background-color: #ff0000;
}
.bg-tg {
  background-color: #0088cc;
}
.bg-wa {
  background-color: #25d366;
}

/* Map Container */
.map-container {
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  height: 300px;
}

@media (max-width: 991px) {
  .footer-heading,
  .we-are-here {
    text-align: center;
  }
  .map-container {
    margin-top: 30px;
  }
  .social-icons-row {
    text-align: center;
  }
}

.intro-header-btn {
  background: linear-gradient(to bottom, #5b8dc4 0%, #2e5a96 100%);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
  padding: 5px 35px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
  display: inline-block;
  position: relative;
  top: 15px;
  left: 20px;
  z-index: 10;
}

.intro-body-box {
  background-color: #ffffff;
  border: 1px solid #305b97;
  padding: 35px 20px 20px 20px;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  position: relative;
}

.intro-body-text {
  color: #003366;
  /* Dark blue text */
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.intro-body-text p {
  margin-bottom: 12px;
}

.intro-body-text p:last-child {
  margin-bottom: 0;
}

.intro-body-text ol {
  padding-left: 20px;
  margin-bottom: 0;
}

.intro-body-text ol li {
  margin-bottom: 10px;
}

.intro-body-text ol li:last-child {
  margin-bottom: 0;
}

/* Upcoming Events Section (Exact Replica of up-event.png) */
.upcoming-events-section {
  padding: 12px 0;
  margin: 10px 0;
}

.upcoming-events-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  height: 48px;
  border: 1.5px solid #779a69;
  background: linear-gradient(180deg, #edf6ea 0%, #dcf0d6 100%);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.08),
    0 2px 5px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

/* Wrapper for drop shadow of dark green box + arrow tip */
.up-event-label-wrapper {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  height: 100%;
  flex-shrink: 0;
  z-index: 10;
  filter: drop-shadow(4px 0px 3px rgba(0, 0, 0, 0.4));
}

/* Dark Green Label Box */
.up-event-label-box {
  background-color: #375427; /* Dark olive green matching up-event.png */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 100%;
}

.up-event-label-box span {
  color: #ffff00; /* Bright yellow */
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

/* The Triangular Arrow Attachment centered vertically on the right edge */
.up-event-arrow-tip {
  width: 0;
  height: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid #375427;
  z-index: 10;
}

/* Ticker container */
.up-event-ticker-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 100%;
  padding-left: 28px; /* Offset to clear the arrow tip */
  padding-right: 15px;
}

.up-event-ticker-wrapper marquee {
  font-size: 0.95rem;
  color: #1b381b;
}

.up-event-item {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
}

.up-event-item a {
  color: #1b381b;
  text-decoration: none;
  font-weight: 600;
}

.up-event-item a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .upcoming-events-bar {
    height: auto;
    flex-direction: column;
  }
  .up-event-label-wrapper {
    filter: none;
    width: 100%;
  }
  .up-event-label-box {
    padding: 10px 15px;
    width: 100%;
  }
  .up-event-arrow-tip {
    display: none;
  }
  .up-event-ticker-wrapper {
    padding: 10px;
    height: 40px;
  }
}
