/* BSET public site — modern responsive layer */
.bset-hero {
  background: linear-gradient(135deg, #0b1f3f 0%, #14365f 55%, #1e4a7a 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.bset-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.bset-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.bset-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.bset-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 38rem;
}

.bset-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.bset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

.bset-btn-primary {
  background: var(--button-bg, #f97316);
  color: #fff;
}

.bset-btn-primary:hover {
  background: var(--button-hover, #ea580c);
  color: #fff;
}

.bset-btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.bset-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bset-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}

.bset-hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}

.bset-hero-badges i {
  color: #fbbf24;
  margin-right: 0.35rem;
}

.bset-hero-panel {
  display: grid;
  gap: 0.85rem;
}

.bset-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.bset-stat-card strong {
  display: block;
  font-size: 1.6rem;
}

.bset-stat-card.accent {
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.35);
}

.bset-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.bset-section-muted {
  background: var(--bg-light, #f4f7fb);
}

.home-courses {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f8 100%);
}

.home-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.home-course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 45, 92, 0.1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 45, 92, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 45, 92, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}

.home-course-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(
      118deg,
      transparent,
      transparent 14px,
      rgba(15, 45, 92, 0.045) 14px,
      rgba(15, 45, 92, 0.045) 15px
    ),
    repeating-linear-gradient(
      -28deg,
      transparent,
      transparent 22px,
      rgba(249, 115, 22, 0.035) 22px,
      rgba(249, 115, 22, 0.035) 23px
    );
}

.home-course-card-1 .home-course-lines {
  background-image:
    repeating-linear-gradient(125deg, transparent, transparent 12px, rgba(15, 45, 92, 0.05) 12px, rgba(15, 45, 92, 0.05) 13px),
    linear-gradient(160deg, rgba(26, 86, 219, 0.06) 0%, transparent 55%);
}

.home-course-card-2 .home-course-lines {
  background-image:
    repeating-linear-gradient(-35deg, transparent, transparent 16px, rgba(249, 115, 22, 0.06) 16px, rgba(249, 115, 22, 0.06) 17px),
    linear-gradient(145deg, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
}

.home-course-card-3 .home-course-lines {
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(15, 45, 92, 0.04) 18px, rgba(15, 45, 92, 0.04) 19px),
    linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, transparent 45%);
}

.home-course-card-4 .home-course-lines {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(15, 45, 92, 0.045) 11px, rgba(15, 45, 92, 0.045) 12px),
    linear-gradient(220deg, rgba(99, 102, 241, 0.06) 0%, transparent 55%);
}

.home-course-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--button-bg, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.home-course-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  color: var(--primary-color, #0f2d5c);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.home-course-duration {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--button-bg, #f97316);
  margin-bottom: 0.65rem;
}

.home-course-duration i {
  margin-right: 0.25rem;
}

.home-course-desc {
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 1rem;
}

.home-course-link {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-color, #1a56db);
}

.home-course-link i {
  font-size: 0.75rem;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.home-course-card:hover .home-course-link i {
  transform: translateX(3px);
}

.home-affiliations {
  background: #fff;
}

.home-affiliation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.home-affiliation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 45, 92, 0.08);
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(15, 45, 92, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-affiliation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 45, 92, 0.1);
}

.home-affiliation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 140px;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px dashed rgba(15, 45, 92, 0.12);
}

.home-affiliation-logo img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-affiliation-card h3 {
  font-size: 1.05rem;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.home-affiliation-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  max-width: 28ch;
}

.affiliation-page-grid {
  grid-template-columns: 1fr;
  max-width: 52rem;
  margin: 0 auto;
}

.affiliation-page-card {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
}

.affiliation-page-card .home-affiliation-logo {
  flex: 0 0 160px;
  min-height: 120px;
  margin-bottom: 0;
}

.affiliation-page-card h3 {
  font-size: 1rem;
  line-height: 1.45;
  max-width: none;
}

.affiliation-page-card p {
  max-width: none;
  margin-top: 0.65rem;
}

.admission-procedure-body .admission-annexure-list {
  padding-left: 1.25rem;
}

.admission-procedure-body .admission-annexure-list li {
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .affiliation-page-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .affiliation-page-card .home-affiliation-logo {
    flex: none;
    width: 100%;
  }
}

.bset-split-full {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  .bset-split:has(.bset-split-full) {
    grid-template-columns: 1fr;
  }
}

.bset-section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.bset-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.bset-card,
.bset-profile-card {
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 45, 92, 0.06);
}

.bset-card i {
  color: var(--button-bg, #f97316);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.bset-card-img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.bset-profile-card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.75rem;
}

.bset-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bset-link-list,
.bset-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bset-link-list li + li,
.bset-notice-list li + li {
  margin-top: 0.5rem;
}

.bset-notice-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed #dbe3ef;
}

.bset-text-link {
  color: var(--secondary-color, #1a56db);
  text-decoration: none;
  font-weight: 600;
}

.bset-page-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.bset-page-hero h1 {
  margin: 0;
  color: var(--primary-color, #0f2d5c);
}

.bset-content {
  line-height: 1.75;
}

.bset-content h2,
.bset-content h3 {
  margin-top: 1.25rem;
  color: var(--primary-color, #0f2d5c);
}

.bset-info-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

/* Notice board (documents.php?category=notice) */
.notice-board-section {
  background: linear-gradient(180deg, #e8dfd0 0%, #d4c4a8 100%);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.notice-board-frame {
  background-color: #8b6914;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, transparent 40%, rgba(255, 255, 255, 0.06) 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 2px, transparent 2px, transparent 8px);
  border-radius: 8px;
  padding: 14px;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.15),
    0 20px 50px rgba(15, 45, 92, 0.2);
}

.notice-board-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #fff8e7;
  font-weight: 600;
  font-size: 0.92rem;
}

.notice-board-header i {
  color: #fbbf24;
  margin-right: 0.35rem;
}

.notice-board-home-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  opacity: 0.95;
}

.notice-board-home-link:hover {
  text-decoration: underline;
}

.notice-board-grid,
.notice-board-empty {
  background-color: #c9a86c;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 90, 43, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(101, 67, 33, 0.1) 0%, transparent 40%),
    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='%23a08050' fill-opacity='0.15'%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/svg%3E");
  border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 200px;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.12);
}

.notice-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.notice-card {
  position: relative;
  background: #fffef8;
  border: 1px solid rgba(15, 45, 92, 0.08);
  border-radius: 2px;
  padding: 1.35rem 1.15rem 1.15rem;
  box-shadow:
    2px 4px 8px rgba(0, 0, 0, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notice-card:hover {
  transform: scale(1.02) rotate(0deg) !important;
  box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.notice-tilt-1 { transform: rotate(-1.2deg); }
.notice-tilt-2 { transform: rotate(0.8deg); }
.notice-tilt-3 { transform: rotate(-0.5deg); }
.notice-tilt-4 { transform: rotate(1.1deg); }
.notice-tilt-5 { transform: rotate(-0.9deg); }

.notice-pin {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  color: #dc2626;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.notice-badge-new {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #dc2626;
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.notice-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.notice-title {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 0.5rem;
  padding-top: 0.35rem;
}

.notice-excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 0.85rem;
}

.notice-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color, #1a56db);
  text-decoration: none;
}

.notice-action i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.notice-action:hover i {
  transform: translateX(3px);
}

.notice-board-empty {
  text-align: center;
  color: #5c4a32;
  padding: 3rem 1.5rem !important;
}

.notice-board-empty i {
  font-size: 2.5rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.notice-board-empty p {
  margin: 0.35rem 0;
}

.bset-doc-list {
  display: grid;
  gap: 0.75rem;
}

.bset-doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.doc-branch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.doc-branch-tab {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--primary-color, #0f2d5c);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.doc-branch-tab:hover {
  border-color: var(--button-bg, #f97316);
}

.doc-branch-tab.active {
  background: var(--button-bg, #f97316);
  border-color: var(--button-bg, #f97316);
  color: #fff;
}

.doc-branch-label {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.15rem 0 0.35rem;
}

.doc-branch-label i {
  margin-right: 0.25rem;
  color: var(--button-bg, #f97316);
}

.bset-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bset-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.bset-form input,
.bset-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.bset-map-wrap iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 12px;
}

/* Contact page */
.contact-page {
  background: linear-gradient(180deg, #f4f7fb 0%, #fff 35%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.contact-info-card,
.contact-form-panel,
.contact-map-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 10px 32px rgba(15, 45, 92, 0.07);
}

.contact-info-card h2,
.contact-form-panel h2 {
  font-size: 1.25rem;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 1.15rem;
}

.contact-info-card-muted {
  margin-top: 1.25rem;
  background: #f8fafc;
}

.contact-info-card-muted h3,
.contact-map-card h3 {
  font-size: 1.05rem;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 0.75rem;
}

.contact-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-detail-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--button-bg, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-detail-list strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.contact-detail-list p {
  margin: 0;
  line-height: 1.55;
  color: #334155;
}

.contact-detail-list a {
  color: var(--secondary-color, #1a56db);
  text-decoration: none;
  font-weight: 600;
}

.contact-detail-list a:hover {
  text-decoration: underline;
}

.contact-phone-sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.contact-admission-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: var(--primary-color, #0f2d5c);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-quick-link i {
  color: var(--button-bg, #f97316);
  width: 1.1rem;
  text-align: center;
}

.contact-quick-link:hover {
  border-color: rgba(249, 115, 22, 0.35);
  box-shadow: 0 6px 18px rgba(15, 45, 92, 0.08);
}

.contact-map-card {
  margin-top: 1.25rem;
}

.contact-map-wrap iframe {
  min-height: 220px;
  border-radius: 12px;
}

.contact-form-lead {
  margin: -0.5rem 0 1.25rem;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.contact-form .bset-form label,
.contact-form label {
  font-size: 0.88rem;
  color: #475569;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border-color: #cbd5e1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--button-bg, #f97316);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.contact-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: none;
  cursor: pointer;
}

.contact-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.contact-info-col,
.contact-form-col {
  min-width: 0;
}

.bset-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.bset-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.bset-slider-placeholder {
  padding: 2rem;
  text-align: center;
  background: #f3f4f6;
  border-radius: 12px;
  color: #6b7280;
}

/* Department pages */
.dept-hero-inner {
  max-width: 920px;
}

.dept-hero-title-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.dept-hero-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.2);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.dept-hero-pills {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.92rem;
}

.dept-hero-pills i {
  color: #fbbf24;
  margin-right: 0.35rem;
}

.dept-main-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.dept-block-title {
  font-size: 1.2rem;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 1rem;
}

.dept-gallery-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 8px 28px rgba(15, 45, 92, 0.06);
}

.dept-gallery {
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
}

.dept-slide img {
  height: 260px;
  border-radius: 14px;
}

.dept-slide-caption {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
}

.dept-gallery-placeholder {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  color: #64748b;
}

.dept-gallery-placeholder i {
  font-size: 2rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.dept-about-card {
  margin: 0;
  box-shadow: 0 8px 28px rgba(15, 45, 92, 0.06);
}

.dept-about-card .dept-block-title {
  margin-top: 0;
}

.dept-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.dept-meta-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 6px 20px rgba(15, 45, 92, 0.05);
}

.dept-meta-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--button-bg, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-meta-card strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.dept-meta-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--primary-color, #0f2d5c);
  font-weight: 600;
  line-height: 1.4;
}

.dept-sidebar-cta .dept-apply-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.dept-fee-link {
  display: inline-block;
}

/* Facility page */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
}

.facility-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 45, 92, 0.08);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 45, 92, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 45, 92, 0.11);
}

.facility-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  overflow: hidden;
}

.facility-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
}

.facility-card-body h3 {
  font-size: 1.1rem;
  color: var(--primary-color, #0f2d5c);
  margin: 0 0 0.55rem;
}

.facility-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
}

/* Home — recruiting companies marquee */
.home-recruiters {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.recruiter-marquee {
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.recruiter-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: recruiter-marquee-scroll 45s linear infinite;
}

.recruiter-marquee:hover .recruiter-marquee-track {
  animation-play-state: paused;
}

@keyframes recruiter-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.recruiter-logo {
  flex: 0 0 auto;
  width: 148px;
  height: 104px;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 45, 92, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruiter-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .recruiter-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .recruiter-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}

.placement-recruiter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 1.15rem;
  max-width: 960px;
  margin: 0 auto;
}

.placement-recruiter-logo {
  margin: 0 auto;
  width: 100%;
  max-width: 168px;
}

.placement-intro {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 0 8px 28px rgba(15, 45, 92, 0.06);
}

@media (max-width: 640px) {
  .dept-hero-title-row {
    flex-direction: column;
  }
}

.bset-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.bset-muted {
  color: #6b7280;
}

/* CMS pages (About + all page.php slugs) */
.about-hero,
.cms-hero {
  position: relative;
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  overflow: hidden;
}

.about-hero-bg,
.cms-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b1f3f 0%, #14365f 50%, #1a4d8c 100%);
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.about-hero-inner,
.cms-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.about-breadcrumb,
.cms-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.about-breadcrumb a,
.cms-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.about-breadcrumb a:hover,
.cms-breadcrumb a:hover {
  text-decoration: underline;
}

.about-eyebrow,
.cms-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.about-hero h1,
.cms-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.about-hero-lead,
.cms-hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}

.cms-main-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.cms-main-grid.has-sidebar {
  grid-template-columns: 1fr 280px;
}

.cms-prose {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 8px 30px rgba(15, 45, 92, 0.06);
}

.cms-prose h2,
.cms-prose h3 {
  color: var(--primary-color, #0f2d5c);
  margin-top: 1.25rem;
}

.cms-prose h2:first-child,
.cms-prose h3:first-child {
  margin-top: 0;
}

.cms-prose ul,
.cms-prose ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.cms-prose li {
  margin-bottom: 0.35rem;
}

.cms-subheading {
  color: var(--primary-color, #0f2d5c);
  font-size: 1.35rem;
  font-weight: 700;
}

.cms-info-box {
  margin-top: 1.5rem;
}

.cms-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 18px rgba(15, 45, 92, 0.05);
  margin-bottom: 1rem;
}

.cms-sidebar-card.muted {
  background: #f8fafc;
}

.cms-sidebar-card h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-color, #0f2d5c);
  margin-bottom: 0.75rem;
}

.cms-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cms-sidebar-nav li {
  border-bottom: 1px solid #f1f5f9;
}

.cms-sidebar-nav li:last-child {
  border-bottom: none;
}

.cms-sidebar-nav a {
  display: block;
  padding: 0.55rem 0;
  text-decoration: none;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
}

.cms-sidebar-nav li.active a,
.cms-sidebar-nav a:hover {
  color: var(--button-bg, #f97316);
}

.cms-sidebar-phone a {
  font-weight: 700;
  color: var(--primary-color, #0f2d5c);
  text-decoration: none;
}

.cms-message-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 12px 40px rgba(15, 45, 92, 0.08);
}

.cms-message-photo img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 380px;
}

.cms-message-role {
  color: var(--button-bg, #f97316);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cms-message-signoff {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
  line-height: 1.6;
}

.cms-profile-card {
  transition: transform 0.2s ease;
}

.cms-profile-card:hover {
  transform: translateY(-2px);
}

.cms-gallery .bset-slide img {
  height: 260px;
}

.about-hero-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.92rem;
}

.about-hero-pills i {
  color: #fbbf24;
  margin-right: 0.35rem;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

.about-section-title {
  color: var(--primary-color, #0f2d5c);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.about-section-head h2 {
  color: var(--primary-color, #0f2d5c);
  margin-bottom: 0.5rem;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-btn-dark.bset-btn-primary {
  color: #fff;
}

.about-btn-outline-dark {
  border: 2px solid var(--primary-color, #0f2d5c);
  color: var(--primary-color, #0f2d5c);
  background: transparent;
}

.about-btn-outline-dark:hover {
  background: rgba(15, 45, 92, 0.06);
  color: var(--primary-color, #0f2d5c);
}

.about-facts {
  display: grid;
  gap: 0.85rem;
}

.about-fact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(15, 45, 92, 0.06);
}

.about-fact-card.accent {
  border-color: rgba(249, 115, 22, 0.35);
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.about-fact-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color, #0f2d5c);
  line-height: 1.1;
}

.about-fact-label {
  font-size: 0.88rem;
  color: #64748b;
}

.about-fact-panel {
  background: var(--primary-color, #0f2d5c);
  color: #fff;
  border-radius: 14px;
  padding: 1.25rem;
}

.about-fact-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-fact-panel p {
  font-size: 0.9rem;
  opacity: 0.92;
  margin-bottom: 0.75rem;
}

.about-fact-panel .bset-text-link {
  color: #fbbf24;
}

.about-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.about-branch-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(15, 45, 92, 0.05);
}

.about-branch-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 45, 92, 0.1);
  border-color: rgba(249, 115, 22, 0.4);
}

.about-branch-card i {
  color: var(--button-bg, #f97316);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.about-branch-card h3 {
  font-size: 1.05rem;
  color: var(--primary-color, #0f2d5c);
  margin-bottom: 0.35rem;
}

.about-branch-card span {
  font-size: 0.85rem;
  color: var(--secondary-color, #1a56db);
  font-weight: 600;
}

.about-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.about-pillar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(15, 45, 92, 0.06);
}

.about-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--button-bg, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-pillar h3 {
  color: var(--primary-color, #0f2d5c);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.about-pillar p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.about-mission-more {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.about-mission-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color, #0f2d5c);
}

.about-cta {
  background: linear-gradient(135deg, #0b1f3f, #14365f);
  color: #fff;
  padding: 2.5rem 0;
}

.about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.about-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.about-cta p {
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 900px) {
  .about-intro-grid,
  .cms-main-grid.has-sidebar,
  .cms-message-card {
    grid-template-columns: 1fr;
  }

  .bset-hero-grid,
  .bset-split,
  .bset-contact-grid,
  .contact-layout,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .bset-doc-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cms-sidebar {
    order: -1;
  }
}
