/* ============================================================
   Home Page UI Enhancements (Default.aspx)
   Header (.top-header) intentionally excluded
   ============================================================ */

:root {
  --pis-primary: #0a6b40;
  --pis-primary-dark: #064d2e;
  --pis-accent: #f5b800;
  --pis-accent-soft: #fff8e1;
  --pis-surface: #f7faf9;
  --pis-card-shadow: 0 12px 40px rgba(10, 107, 64, 0.1);
  --pis-radius-lg: 24px;
  --pis-radius-md: 16px;
  --pis-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Hero Slider ---- */
.swiper.mySwiper {
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform 8s ease;
}

.swiper-slide-active img {
  transform: scale(1.04);
}

.slide-overlay {
  background: linear-gradient(
    115deg,
    rgba(6, 77, 46, 0.82) 0%,
    rgba(10, 107, 64, 0.55) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.slide-overlay2 {
 /* background: linear-gradient(
    to top,
    rgba(6, 77, 46, 0.55) 0%,
    rgba(0, 0, 0, 0.12) 60%,
    transparent 100%
  ); */
}

.overlay-content h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: #ffd54f;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.overlay-content p {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

.swiper-pagination-progressbar {
  height: 4px !important;
  background: rgba(255, 255, 255, 0.25) !important;
}

.swiper-pagination-progressbar-fill {
  background: linear-gradient(90deg, var(--pis-accent), #ffe082) !important;
}

/* ---- Updates Section (Premium) ---- */
.updates-section-premium {
  position: relative;
  overflow: hidden;
}

.updates-section-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(245, 184, 0, 0.12), transparent 40%);
  pointer-events: none;
}

.updates-section-premium .section-title span {
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 3px;
}

.updates-section-premium .section-title h2 {
  color: #ffffff;
}

.updates-section-premium .section-title h2::after {
  background: var(--pis-accent);
}

.updates-section-premium::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent), var(--pis-primary));
  opacity: 0.6;
}

.updates-section-head {
  position: relative;
  z-index: 1;
}

.updates-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.updates-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.updates-row {
  position: relative;
  z-index: 1;
}

.update-panel {
  height: 100%;
}

.update-panel .staff-birthday-box,
.update-panel .birthday-box,
.update-panel .notice-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--pis-radius-lg);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
  overflow: hidden;
}

.update-panel:hover .staff-birthday-box,
.update-panel:hover .birthday-box,
.update-panel:hover .notice-card {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
}

.update-panel-staff .notice-header {
  background: linear-gradient(135deg, #6a4c9c 0%, #8b5fbf 100%);
}

.update-panel-notice .notice-header {
  background: linear-gradient(135deg, var(--pis-primary-dark) 0%, var(--pis-primary) 100%);
}

.update-panel-student .notice-header {
  background: linear-gradient(135deg, #c45c26 0%, #e67e22 100%);
}

.updates-section-premium .notice-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 16px;
  color: #fff !important;
  text-align: center;
  border-radius: 0;
}

.update-header-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.update-header-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.updates-section-premium .notice-body,
.updates-section-premium .staff-birthday-scroll,
.updates-section-premium .birthday-scroll {
  flex: 1;
  padding: 8px 12px 16px;
}

.updates-section-premium .staff-birthday-card,
.updates-section-premium .birthday-card {
  background: linear-gradient(180deg, #fff 0%, #f9fcfa 100%);
  border: 1px solid rgba(10, 107, 64, 0.1);
  border-radius: 18px;
  padding: 18px 14px;
  margin: 10px 8px;
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.updates-section-premium .staff-birthday-card:hover,
.updates-section-premium .birthday-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(10, 107, 64, 0.12);
}

.updates-section-premium .staff-birthday-card img,
.updates-section-premium .birthday-card img {
  width: 110px;
  height: 110px;
  border: 4px solid var(--pis-accent);
  box-shadow: 0 8px 22px rgba(245, 184, 0, 0.3);
}

.updates-section-premium .staff-birthday-card h5,
.updates-section-premium .birthday-card h5 {
  color: #1a2e28;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.updates-section-premium .staff-birthday-card p,
.updates-section-premium .birthday-card p {
  color: #5a6b65;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.updates-section-premium .notice-item {
  background: #fff;
  border: 1px solid rgba(10, 107, 64, 0.08);
  border-radius: 14px;
  padding: 14px 12px;
  margin-bottom: 12px;
  border-bottom: none;
}

.updates-section-premium .notice-item:hover {
  background: #f4fbf8;
  box-shadow: 0 6px 18px rgba(10, 107, 64, 0.08);
}

.updates-section-premium .notice-date {
  background: linear-gradient(145deg, var(--pis-primary), #128a52);
  border-radius: 12px;
  width: 72px;
  padding: 8px 4px;
}

.updates-section-premium .notice-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2d3f38;
}

/* ---- About Section (Premium) ---- */
.about-section-premium {
  background: linear-gradient(160deg, #f4fbf8 0%, #eaf5f0 40%, #f8fffd 100%);
  position: relative;
  overflow: hidden;
}

.about-section-premium::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 107, 64, 0.06) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pis-primary);
  background: rgba(10, 107, 64, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.about-section-premium .custom_heading-container h2 {
  color: var(--pis-primary-dark);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
}

.about-section-premium .custom_heading-container hr {
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  height: 4px;
  border: none;
  width: 70px;
  opacity: 1;
}

.about-section-premium p {
  color: #3d4f48;
  line-height: 1.95;
  font-size: 1.03rem;
  margin-bottom: 20px;
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #2d4038;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(10, 107, 64, 0.12);
}

.about-highlights li:last-child {
  border-bottom: none;
}

.about-highlights li i {
  color: var(--pis-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-media-stack {
  position: relative;
  padding: 20px 24px 40px;
}

.about-section-premium .about-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 107, 64, 0.2);
  border: 4px solid #fff;
}

.about-section-premium .about-img-wrap img {
  width: 100%;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
  min-height: 340px;
  object-fit: cover;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 77, 46, 0.45) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.35s ease;
}

.about-img-wrap:hover .about-img-overlay {
  background: linear-gradient(to top, rgba(6, 77, 46, 0.55) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
}

.about-img-wrap:hover img {
  transform: scale(1.05);
}

.about-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  transition: transform var(--pis-transition);
}

.about-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.about-play-ring {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  animation: aboutPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes aboutPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.45); opacity: 0; }
}

.about-play-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4444, #cc0000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 35px rgba(204, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 2;
  padding-left: 4px;
}

.about-play-label {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.about-float-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(10, 107, 64, 0.15);
  border: 1px solid rgba(10, 107, 64, 0.1);
  z-index: 4;
  animation: aboutFloat 4s ease-in-out infinite;
}

.about-float-badge strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pis-primary-dark);
  line-height: 1.1;
}

.about-float-badge span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pis-primary);
  margin-top: 4px;
}

.about-badge-left {
  top: 0;
  left: -8px;
  animation-delay: 0s;
}

.about-badge-right {
  top: 30px;
  right: -8px;
  animation: aboutFloatRight 4s ease-in-out infinite;
  animation-delay: 1s;
  background: linear-gradient(135deg, #fff9e6, #fff);
  border-color: rgba(245, 184, 0, 0.3);
}

.about-badge-right strong {
  color: #b8860b;
}

.about-float-stat {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
  color: #fff;
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(10, 107, 64, 0.35);
  z-index: 4;
  white-space: nowrap;
}

.about-float-stat i {
  font-size: 1.5rem;
  color: var(--pis-accent);
}

.about-float-stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
}

.about-float-stat span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

@keyframes aboutFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes aboutFloatRight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.readabtschmore a,
.about-section-premium .readabtschmore a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 107, 64, 0.3);
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.readabtschmore a:hover,
.about-section-premium .readabtschmore a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 107, 64, 0.4);
  background: linear-gradient(135deg, #128a52, var(--pis-primary-dark));
}

.readabtschmore a i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.readabtschmore a:hover i {
  transform: translateX(4px);
}

/* ---- Management Speaks (Premium) ---- */
.desk-section-premium {
  background: linear-gradient(160deg, #eef6f2 0%, #e3efe8 45%, #f4f9f7 100%);
  position: relative;
  overflow: hidden;
}

.desk-section-premium::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 107, 64, 0.07) 0%, transparent 70%);
  top: -120px;
  left: -120px;
  pointer-events: none;
}

.desk-section-premium::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.1) 0%, transparent 70%);
  bottom: -100px;
  right: -80px;
  pointer-events: none;
}

.desk-section-head {
  position: relative;
  z-index: 1;
}

.desk-eyebrow,
.topper-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pis-primary);
  background: rgba(10, 107, 64, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.desk-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--pis-primary-dark);
  margin-bottom: 10px;
  display: block;
  width: 100%;
}

.desk-subtitle {
  color: #5a6b65;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.desk-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  margin: 14px auto 0;
  border-radius: 4px;
}

.desk-section-premium .desk-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 28px;
  padding: 48px 52px 36px;
  max-width: 1080px;
  border: 1px solid rgba(10, 107, 64, 0.1);
  box-shadow: 0 24px 60px rgba(10, 107, 64, 0.12);
  overflow: hidden;
}

.desk-section-premium .desk-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent), var(--pis-primary));
}

.desk-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.desk-img-frame {
  position: relative;
  padding: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pis-accent), var(--pis-primary));
  box-shadow: 0 16px 40px rgba(10, 107, 64, 0.22);
}

.desk-section-premium .desk-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  margin: 0;
  box-shadow: none;
}

.desk-section-premium .desk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--pis-transition);
}

.desk-slide.active .desk-img img {
  transform: scale(1.03);
}

.desk-role-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(10, 107, 64, 0.25);
}

.desk-quote-wrap {
  position: relative;
  background: linear-gradient(135deg, #f8fcfa 0%, #f0f7f3 100%);
  border-left: 4px solid var(--pis-primary);
  border-radius: 0 20px 20px 0;
  padding: 28px 28px 20px 36px;
  margin-bottom: 20px;
}

.desk-quote-icon {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 3rem;
  line-height: 1;
  color: var(--pis-primary);
  opacity: 0.15;
  pointer-events: none;
}

.desk-section-premium .desk-text {
  font-size: 1.05rem;
  line-height: 1.95;
  color: #3d4f48;
  font-style: italic;
  padding-right: 0;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.desk-section-premium .read-more-btn {
  display: inline-block;
  float: right;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pis-primary);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.desk-section-premium .read-more-btn:hover {
  color: var(--pis-primary-dark);
  text-decoration: underline;
}

.desk-author {
  padding-left: 8px;
}

.desk-section-premium .desk-designation {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pis-primary-dark);
  background: rgba(10, 107, 64, 0.08);
  padding: 8px 18px;
  border-radius: 8px;
}

.desk-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 107, 64, 0.1);
}

.desk-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(10, 107, 64, 0.2);
  background: #fff;
  color: var(--pis-primary);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--pis-transition);
  padding-bottom: 2px;
}

.desk-nav-btn:hover {
  background: var(--pis-primary);
  border-color: var(--pis-primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(10, 107, 64, 0.3);
}

.desk-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desk-dots .dot {
  width: 10px;
  height: 10px;
  background: #c5d9ce;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.desk-dots .dot.active {
  width: 28px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--pis-primary), #128a52);
}

/* ---- Star Toppers (Premium) ---- */
.star-topper-premium {
  background: linear-gradient(145deg, #fff8f0 0%, #fff3e8 40%, #ffe9d4 100%);
  position: relative;
  overflow: hidden;
}

.star-topper-premium::before {
  content: "★";
  position: absolute;
  font-size: 18rem;
  top: -4rem;
  right: -3rem;
  opacity: 0.04;
  color: var(--pis-accent);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

.star-topper-premium::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--pis-accent), transparent);
  opacity: 0.5;
}

.topper-section-head {
  position: relative;
  z-index: 1;
}

.star-topper-premium .topper-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--pis-primary-dark);
  margin-bottom: 10px;
}

.star-topper-premium .topper-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  margin: 14px auto 0;
  border-radius: 4px;
}

.star-topper-premium .topper-subtitle {
  color: #5a5248;
  font-size: 1.05rem;
  margin-bottom: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.topper-slider-wrap {
  position: relative;
  margin-top: 48px;
  padding: 10px 0 20px;
}

.topper-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.topper-fade {
  display: none;
}

.star-topper-premium .topper-track {
  gap: 28px;
}

.star-topper-premium .topper-card {
  width: 300px;
  flex: 0 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.topper-card-inner {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px 24px;
  text-align: center;
  border: 1px solid rgba(255, 140, 58, 0.12);
  box-shadow: 0 14px 40px rgba(255, 107, 53, 0.1);
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.topper-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff8c3a, var(--pis-accent), #ff6b2d);
}

.topper-card:hover .topper-card-inner {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(255, 107, 53, 0.2);
}

.topper-photo-ring {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto 18px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffb347, #ff8c3a, var(--pis-accent));
  box-shadow: 0 10px 28px rgba(255, 140, 58, 0.35);
}

.star-topper-premium .topper-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 0;
  display: block;
}

.star-topper-premium .medal {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #ffd54f, #ff8c3a);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(255, 140, 58, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.topper-card-body h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a2e28;
  margin-bottom: 6px;
  line-height: 1.3;
}

.star-topper-premium .class-info {
  color: #e65100;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 14px;
  background: rgba(255, 140, 58, 0.1);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
}

.star-topper-premium .percentage {
  font-size: 1rem !important;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(10, 107, 64, 0.25);
  letter-spacing: 0.3px;
}

/* ---- At A Glance ---- */
.service_section .box {
  border-radius: var(--pis-radius-md);
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.service_section .box:hover {
  transform: translateY(-8px) scale(1.02);
}

/* ---- Calendar Section ---- */
.calendar-section-refined {
  background: linear-gradient(180deg, #edf7ff 0%, #f5fbff 100%) !important;
}

.calendar-card {
  border: none !important;
  border-radius: var(--pis-radius-lg) !important;
  box-shadow: var(--pis-card-shadow) !important;
  overflow: hidden;
  transition: transform var(--pis-transition);
}

.calendar-card:hover {
  transform: translateY(-4px);
}

.academic-header {
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--pis-radius-md);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-right h4 {
  color: var(--pis-primary) !important;
  font-weight: 700 !important;
}

.upcoming-events-header {
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pis-primary-dark);
  margin-bottom: 0;
  padding: 18px 20px 0;
}

.calendar-card > marquee {
  padding: 0 18px 18px;
  display: block;
}

.upcoming-event-card {
  background: linear-gradient(135deg, var(--pis-primary-dark) 0%, var(--pis-primary) 100%);
  padding: 16px 18px;
  border-radius: 14px;
  margin-bottom: 14px;
  border-left: 4px solid var(--pis-accent);
  transition: transform 0.25s ease;
}

.upcoming-event-card:hover {
  transform: translateX(4px);
}

.upcoming-event-card .event-date {
  color: #ffd54f;
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

.upcoming-event-card .event-title {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.upcoming-event-card .event-type {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  margin-top: 4px;
  display: block;
}

.event-card {
  border-left: 4px solid var(--pis-primary);
}

/* ---- Features ---- */
.features-section {
  background: linear-gradient(180deg, #f3fffc 0%, #eafaf6 100%);
}

.features-section > .container > .section-title {
  color: var(--pis-primary-dark);
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(10, 107, 64, 0.1);
  border-radius: var(--pis-radius-lg);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--pis-primary), var(--pis-accent));
  opacity: 0;
  transition: opacity var(--pis-transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pis-accent-soft);
  border-radius: 14px;
  font-size: 28px;
}

/* ---- Counter ---- */
.counter-section {
  background: linear-gradient(135deg, var(--pis-primary-dark) 0%, var(--pis-primary) 50%, #128a52 100%);
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.counter-box {
  position: relative;
  padding: 20px;
}

.counter-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.counter-box:last-child::after {
  display: none;
}

.counter-box h2 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.counter-box p {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ---- Gallery ---- */
.gallery-modern {
  background: var(--pis-surface);
}

.gallery-header {
  background: linear-gradient(135deg, var(--pis-primary-dark), var(--pis-primary));
  border-radius: var(--pis-radius-md);
  letter-spacing: 0.5px;
}

.gallery-box {
  border: 1px solid rgba(10, 107, 64, 0.08);
}

.gallery-card,
.video-card {
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.gallery-card:hover,
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 107, 64, 0.15);
}

.gallery-title,
.desk-section-premium .desk-title,
.star-topper-premium .topper-heading {
  position: relative;
}

.gallery-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  margin: 14px auto 0;
  border-radius: 4px;
}

/* ---- Alumni ---- */
.alumni-modern-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2fa 100%);
}

.alumni-modern-card {
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.batch-tag {
  background: linear-gradient(135deg, var(--pis-primary), #128a52);
}

/* ---- Testimonials ---- */
.testimonial-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
}

.testimonial-section .section-title {
  color: var(--pis-primary-dark);
}

.testimonial-card {
  border-radius: var(--pis-radius-lg);
  border: 1px solid rgba(10, 107, 64, 0.08);
  padding: 40px;
}

.testimonial-left img {
  width: 160px !important;
  height: 160px !important;
  border-color: var(--pis-primary) !important;
  box-shadow: 0 10px 30px rgba(10, 107, 64, 0.2);
}

.testimonial-text::before {
  color: var(--pis-primary) !important;
}

.carousel-control-prev,
.carousel-control-next {
  background: var(--pis-primary) !important;
  transition: background var(--pis-transition), transform var(--pis-transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--pis-primary-dark) !important;
  transform: translateY(-50%) scale(1.08);
}

/* ---- Contact Section ---- */
.contact_section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7f4 100%);
  position: relative;
}

.contact_section .custom_heading-container h2 {
  color: var(--pis-primary-dark);
  font-weight: 800;
}

.contact_section .custom_heading-container hr {
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  height: 4px;
  border: none;
  width: 70px;
  opacity: 1;
}

/* Quick Enquiry — sirf color fix, form layout main.css jaisa hi */
.contact_section .admission-card {
  background: #88cca8;
  box-shadow: 0 12px 35px rgba(10, 107, 64, 0.15);
}

.contact_section .admission-card h3 {
  color: #1a3d32;
}

.contact_section .admission-card p {
  color: #2a5248;
}

.contact_section .admission-input {
  background: transparent;
  border-color: #52a088;
  color: #064d38;
}

.contact_section .admission-input:focus {
  background: transparent;
  border-color: #0a6b40;
  box-shadow: none;
  color: #053d2e;
}

.contact_section .floating-label::after {
  background: #88cca8;
  color: #2d6b5e;
}

.contact_section .floating-label.active::after {
  color: #0a6b40;
}

.contact_section .submit-btn {
  background: #ffc107;
  color: #1a3d32;
  border-radius: 6px;
  padding: 10px 40px;
}

.contact_section .submit-btn:hover {
  background: #ffb300;
  transform: none;
  box-shadow: none;
}

.map-box {
  border-radius: var(--pis-radius-lg);
  overflow: hidden;
  box-shadow: var(--pis-card-shadow);
}

.contact_items .item {
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
  border-radius: 12px;
}

.contact_items .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 107, 64, 0.12);
}

.contact_items .item .detail-box p {
  color: #2a5248;
  font-weight: 500;
}

/* ---- Extra Design Polish ---- */

/* Unified section headings */
.gallery-title,
.features-section > .container > .section-title,
.testimonial-section .section-title {
  color: var(--pis-primary-dark);
  font-weight: 800;
  letter-spacing: 0.3px;
}

.gallery-sub,
.section-subtitle {
  color: #5a6b65;
  font-size: 1.05rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.features-section > .container > .section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  margin: 14px auto 0;
  border-radius: 4px;
}

.calendar-section-refined .gallery-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--pis-primary), var(--pis-accent));
  margin: 14px auto 0;
  border-radius: 4px;
}

/* Toppers - legacy override removed, see star-topper-premium */

/* Gallery date accent */
.gallery-info span,
.video-info span {
  color: var(--pis-primary) !important;
  font-weight: 600;
}

.play-btn {
  background: rgba(10, 107, 64, 0.88) !important;
}

.play-btn:hover {
  background: var(--pis-primary-dark) !important;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Alumni card polish */
.alumni-modern-card {
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.alumni-modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(10, 107, 64, 0.12);
}

.alumni-designation {
  color: var(--pis-primary) !important;
}

.quote-mark {
  color: var(--pis-primary) !important;
}

/* Testimonial polish */
.testimonial-right h5 {
  color: var(--pis-primary-dark);
  font-weight: 700;
}

.read-toggle-testimonial {
  color: var(--pis-primary);
  font-weight: 600;
}

/* Service section boxes glow */
.service_section .box .img-box {
  transition: background var(--pis-transition), transform var(--pis-transition);
}

.service_section .box:hover .img-box {
  background: rgba(255, 255, 255, 0.2);
}

/* Notice body scrollbar area */
.notice-body,
.staff-birthday-scroll,
.birthday-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--pis-primary) transparent;
}

/* Desk read more */
.read-more-btn {
  color: var(--pis-primary) !important;
}

.read-more-btn:hover {
  color: var(--pis-primary-dark) !important;
}

/* ---- Footer social ---- */
.info_section .social-btn {
  transition: transform var(--pis-transition), box-shadow var(--pis-transition);
}

.info_section .social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ---- Back to top ---- */
.back-to-top {
  background: var(--pis-primary) !important;
  transition: background var(--pis-transition), transform var(--pis-transition);
}

.back-to-top:hover {
  background: var(--pis-primary-dark) !important;
  transform: translateY(-3px);
}

/* ---- Section spacing rhythm ---- */
.about_section,
.about-section-premium,
.desk-section,
.star-topper-section,
.features-section,
.calendar-section-refined,
.gallery-modern,
.alumni-modern-section,
.testimonial-section,
.contact_section {
  scroll-margin-top: 90px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .swiper-slide img {
    height: 460px;
  }

  .counter-box::after {
    display: none;
  }

  .testimonial-left img {
    width: 130px !important;
    height: 130px !important;
  }

  .desk-section-premium .desk-card {
    padding: 36px 28px 28px;
  }

  .desk-section-premium .desk-img {
    width: 190px;
    height: 190px;
  }

  .about-float-badge {
    display: none;
  }

  .about-media-stack {
    padding: 10px 0 55px;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-section-premium .about-img-wrap img {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .swiper.mySwiper {
    border-radius: 0 0 18px 18px;
  }

  .swiper-slide img {
    height: 320px;
  }

  .desk-section-premium .desk-card {
    padding: 28px 18px 22px;
  }

  .desk-quote-wrap {
    padding: 22px 18px 16px 24px;
  }

  .desk-nav-row {
    gap: 14px;
    margin-top: 24px;
  }

  .star-topper-premium .topper-card {
    width: 270px;
  }

  .about-play-icon {
    width: 64px;
    height: 64px;
    font-size: 1.3rem;
  }

  .about-play-ring {
    width: 76px;
    height: 76px;
  }

  .about-play-label {
    font-size: 0.78rem;
  }

  .updates-section-premium .notice-header {
    flex-direction: column;
    gap: 6px;
    padding: 14px 12px;
  }

  .update-header-text {
    font-size: 0.95rem;
  }

  .counter-container {
    gap: 20px;
  }
}
