:root {
  --brand: #8b0000;
  --brand-dark: #4a0000;
  --brand-light: #b22222;
  --gold: #d4af37;
  --gold-soft: #f4e7b8;
  --surface: #ffffff;
  --surface-2: #fff7f7;
  --bg-soft: #faf7f7;
  --bg-tint: #fff1f1;
  --text: #1a1a1a;
  --text-soft: #2c2c2c;
  --muted: #6b7280;
  --border: rgba(139, 0, 0, 0.10);
  --border-strong: rgba(139, 0, 0, 0.18);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(139, 0, 0, 0.08);
  --shadow-soft: 0 12px 30px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 24px 60px rgba(139, 0, 0, 0.14);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--brand);
}

img {
  max-width: 100%;
}

.topbar,
.admin-sidebar,
.footer-section {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.topbar {
  color: #fff;
  font-size: 0.95rem;
}

.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--brand) !important;
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  bottom: 0.3rem;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: calc(100% - 1.5rem);
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.18);
  transition: var(--transition);
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(139, 0, 0, 0.24);
}

.btn-outline-brand {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(139, 0, 0, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fdf7f7 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  pointer-events: none;
}

.badge-soft,
.section-kicker {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero-title,
.section-title,
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  font-weight: 800;
}

.hero-subtitle,
.lead,
p {
  color: var(--text-soft);
}

.hero-card,
.feature-panel,
.notice-card,
.gallery-card,
.form-card,
.info-card,
.cta-box,
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hero-card,
.form-card,
.info-card,
.cta-box,
.feature-panel,
.notice-card,
.gallery-card,
.stat-card {
  border: 1px solid var(--border);
}

.hero-card:hover,
.feature-panel:hover,
.notice-card:hover,
.gallery-card:hover,
.form-card:hover,
.info-card:hover,
.cta-box:hover,
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-4px);
  background: var(--bg-tint);
  color: var(--brand);
  border-color: var(--border-strong);
}

.stat-card {
  padding: 1rem 1.2rem;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brand);
}

.stat-card span {
  color: var(--muted);
  font-weight: 500;
}

.feature-panel,
.notice-card {
  padding: 1.75rem;
  height: 100%;
}

.feature-panel h5,
.notice-card h5,
.notice-card h4 {
  font-weight: 800;
}

.notice-date {
  display: inline-flex;
  font-size: 0.82rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(139, 0, 0, 0.10);
  color: var(--brand);
  font-weight: 800;
}

.process-card {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,0,0,0.92), rgba(74,0,0,0.92));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}

.process-card h5,
.process-card p,
.process-card span {
  color: #fff;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.page-banner {
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.timeline-simple {
  display: grid;
  gap: 1rem;
}

.footer-section {
  color: rgba(255,255,255,0.92);
}

.footer-links a {
  color: rgba(255,255,255,0.82);
}

.footer-links a:hover {
  color: #fff;
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.96), rgba(74, 0, 0, 0.96));
}

.login-page .form-card {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
}

.admin-body {
  background: linear-gradient(180deg, #fffdfd 0%, #f8f4f4 100%);
}

.admin-wrapper {
  min-height: 100vh;
}

.admin-sidebar {
  width: 280px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.08);
}

.admin-sidebar .nav-link {
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.admin-content {
  min-width: 0;
}

.admin-stat-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.admin-stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.admin-stat-card strong {
  font-size: 2rem;
  color: var(--brand);
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  padding: 1rem 0.9rem;
  border-bottom-color: rgba(139, 0, 0, 0.08);
  vertical-align: middle;
}

.table thead th {
  color: var(--brand);
  font-weight: 800;
  background: #fff7f7;
}

.form-control,
.form-select {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border-color: rgba(139, 0, 0, 0.15);
  background: #fff;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.22rem rgba(139, 0, 0, 0.10);
}

.form-label {
  font-weight: 700;
  color: var(--text);
}

.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 0.7rem;
}

.dropdown-item {
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-weight: 600;
}

.dropdown-item:hover {
  background: var(--bg-tint);
  color: var(--brand);
}

.alert {
  border-radius: 16px;
  border: 1px solid transparent;
}

.alert-success {
  background: #f3fff7;
  border-color: rgba(22, 163, 74, 0.18);
}

.alert-danger {
  background: #fff5f5;
  border-color: rgba(220, 38, 38, 0.18);
}

.breadcrumb {
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--muted);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  border-radius: 999px;
}

.cta-box {
  background: linear-gradient(135deg, #fffafa 0%, #ffffff 100%);
}

.info-card {
  padding: 1.5rem;
}

.info-card .icon-wrap,
.feature-panel .icon-wrap {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(139,0,0,0.08);
  color: var(--brand);
  margin-bottom: 1rem;
}

.text-brand {
  color: var(--brand) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.bg-soft {
  background: var(--bg-soft) !important;
}

.border-soft {
  border: 1px solid var(--border) !important;
}

.rounded-premium {
  border-radius: var(--radius) !important;
}

.shadow-premium {
  box-shadow: var(--shadow) !important;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand-dark), var(--brand));
}

@media (max-width: 1199px) {
  .hero-card,
  .feature-panel,
  .notice-card,
  .form-card,
  .info-card,
  .cta-box,
  .stat-card {
    border-radius: 18px;
  }
}

@media (max-width: 991px) {
  .admin-sidebar {
    width: 100%;
    min-height: auto;
    position: relative;
  }

  .admin-wrapper {
    display: block !important;
  }

  .navbar .nav-link::after {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --radius: 18px;
  }

  .btn-brand,
  .btn-outline-brand {
    width: 100%;
    justify-content: center;
  }

  .gallery-card img {
    height: 210px;
  }

  .hero-title {
    font-size: 2rem;
  }
}
.hero-premium {
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-slider-card {
  position: relative;
  border-radius: 28px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 25px 60px rgba(139, 0, 0, 0.14);
  border: 1px solid rgba(139,0,0,0.08);
}

.hero-slider-img {
  height: 560px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.12), transparent);
  border-radius: 22px;
  display: flex;
  align-items: end;
  padding: 2rem;
}

.hero-slider-content {
  color: #fff;
  max-width: 80%;
}

.hero-slider-content h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-slider-content p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
}

.slider-tag {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  backdrop-filter: blur(6px);
}

.hero-floating-box {
  position: absolute;
  left: -25px;
  bottom: 35px;
  background: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  max-width: 240px;
  border: 1px solid rgba(139,0,0,0.08);
  z-index: 5;
}

.hero-floating-box strong {
  display: block;
  color: #8b0000;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.hero-floating-box span {
  display: block;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-mini-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(139,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  margin: 0 14px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .hero-premium {
    min-height: auto;
  }

  .hero-slider-img {
    height: 380px;
  }

  .hero-floating-box {
    left: 15px;
    bottom: 15px;
    max-width: 210px;
  }

  .hero-slider-content {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-slider-img {
    height: 280px;
  }

  .hero-slider-overlay {
    padding: 1.2rem;
  }

  .hero-slider-content h4 {
    font-size: 1.1rem;
  }

  .hero-floating-box {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
}
.section-space{
  padding: 90px 0;
}

.premium-hero{
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,.14), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.hero-badge{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(139,0,0,.08);
  color:#8b0000;
  font-weight:700;
  margin-bottom:18px;
}

.hero-heading{
  font-size:clamp(2.3rem, 4vw, 4.3rem);
  line-height:1.08;
  font-weight:800;
  color:#1a1a1a;
  margin-bottom:18px;
}

.hero-text{
  font-size:1.08rem;
  color:#5f6673;
  max-width:620px;
}

.hero-slider-shell{
  position:relative;
  background:#fff;
  padding:14px;
  border-radius:28px;
  box-shadow:0 30px 70px rgba(139,0,0,.14);
  border:1px solid rgba(139,0,0,.08);
}

.hero-slide-img{
  width:100%;
  height:580px;
  object-fit:cover;
  display:block;
}

.hero-slide-overlay{
  position:absolute;
  inset:0;
  padding:32px;
  display:flex;
  align-items:flex-end;
  background:linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.16), transparent);
}

.hero-slide-overlay h3{
  color:#fff;
  font-size:2rem;
  font-weight:800;
  margin-bottom:8px;
}

.hero-slide-overlay p{
  color:rgba(255,255,255,.9);
  margin-bottom:0;
  max-width:520px;
}

.slide-chip{
  display:inline-block;
  margin-bottom:12px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(6px);
  font-weight:700;
  font-size:.82rem;
}

.hero-floating-card{
  position:absolute;
  left:-25px;
  bottom:35px;
  background:#fff;
  border-radius:20px;
  padding:18px 20px;
  width:240px;
  box-shadow:0 20px 45px rgba(0,0,0,.10);
  border:1px solid rgba(139,0,0,.08);
}

.hero-floating-card strong{
  display:block;
  color:#8b0000;
  margin-bottom:6px;
  font-size:1rem;
}

.hero-floating-card span{
  color:#6b7280;
  font-size:.92rem;
  line-height:1.5;
}

.quick-link-card{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 12px 30px rgba(0,0,0,.05);
  font-weight:800;
  color:#1a1a1a;
  transition:.3s ease;
}

.quick-link-card:hover{
  transform:translateY(-4px);
  color:#8b0000;
  background:#fff5f5;
}

.mini-stat-card{
  background:#fff;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 12px 30px rgba(0,0,0,.05);
  border-radius:20px;
  padding:18px 16px;
  text-align:center;
}

.mini-stat-card strong{
  display:block;
  color:#8b0000;
  font-size:1.6rem;
  font-weight:800;
}

.mini-stat-card span{
  color:#6b7280;
  font-weight:600;
}

.section-title-wrap{
  max-width:760px;
  margin:0 auto 20px;
}

.section-kicker{
  display:inline-block;
  color:#d4af37;
  text-transform:uppercase;
  font-weight:800;
  letter-spacing:.14em;
  font-size:.8rem;
  margin-bottom:10px;
}

.section-title{
  font-size:clamp(2rem, 4vw, 3rem);
  font-weight:800;
  color:#1a1a1a;
}

.section-subtitle{
  color:#667085;
  font-size:1.02rem;
  line-height:1.8;
}

.section-head-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:end;
  flex-wrap:wrap;
}

.premium-feature-card{
  height:100%;
  background:#fff;
  border-radius:24px;
  padding:32px 24px;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  transition:.3s ease;
}

.premium-feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 60px rgba(139,0,0,.12);
}

.feature-icon{
  width:68px;
  height:68px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  background:rgba(139,0,0,.08);
  margin-bottom:18px;
}

.premium-feature-card h4{
  font-weight:800;
  margin-bottom:12px;
}

.premium-feature-card p{
  color:#667085;
  margin-bottom:0;
}

.intro-block{
  background:#fff;
  border-radius:26px;
  padding:34px;
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  border:1px solid rgba(139,0,0,.08);
}

.intro-block p{
  font-size:1.07rem;
  line-height:1.95;
  color:#4b5563;
  margin:0;
}

.notice-modern-card{
  background:#fff;
  border-radius:24px;
  padding:26px;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  transition:.3s ease;
}

.notice-modern-card:hover{
  transform:translateY(-6px);
}

.notice-date-badge{
  display:inline-block;
  padding:8px 14px;
  background:rgba(139,0,0,.08);
  color:#8b0000;
  border-radius:999px;
  font-weight:700;
  font-size:.84rem;
  margin-bottom:16px;
}

.notice-modern-card h5{
  font-weight:800;
  margin-bottom:12px;
}

.notice-modern-card p{
  color:#667085;
  line-height:1.7;
}

.notice-link{
  color:#8b0000;
  font-weight:700;
}

.facility-card{
  height:100%;
  background:#fff;
  border-radius:24px;
  padding:30px 24px;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  text-align:center;
  transition:.3s ease;
}

.facility-card:hover{
  transform:translateY(-6px);
}

.facility-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  background:rgba(139,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  margin:0 auto 18px;
}

.facility-card h5{
  font-weight:800;
  margin-bottom:12px;
}

.facility-card p{
  color:#667085;
  margin-bottom:0;
}

.gallery-grid-premium{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.gallery-grid-item{
  overflow:hidden;
  border-radius:20px;
  min-height:220px;
  box-shadow:0 12px 35px rgba(0,0,0,.06);
}

.gallery-grid-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}

.gallery-grid-item:hover img{
  transform:scale(1.06);
}

.gallery-placeholder{
  padding:50px;
  background:#fff;
  border-radius:20px;
}

.principal-image-wrap{
  background:#fff;
  padding:14px;
  border-radius:28px;
  box-shadow:0 22px 55px rgba(0,0,0,.06);
  border:1px solid rgba(139,0,0,.08);
}

.principal-img{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:20px;
  display:block;
}

.cta-premium-box{
  background:linear-gradient(135deg, #4a0000, #8b0000);
  border-radius:30px;
  padding:42px;
  box-shadow:0 25px 60px rgba(139,0,0,.24);
}

.text-gold{
  color:#d4af37 !important;
}

.bg-soft{
  background:#faf7f7;
}

.btn-outline-brand{
  border:1px solid rgba(139,0,0,.18);
  color:#8b0000;
  background:#fff;
  border-radius:14px;
  padding:.85rem 1.35rem;
  font-weight:700;
}

.btn-outline-brand:hover{
  background:#8b0000;
  color:#fff;
}

.carousel-control-prev,
.carousel-control-next{
  width:48px;
  height:48px;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.16);
  border-radius:50%;
  margin:0 16px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter:brightness(0) invert(1);
}

@media (max-width: 991px){
  .hero-slide-img{
    height:390px;
  }

  .hero-floating-card{
    left:16px;
    bottom:16px;
    width:220px;
  }

  .gallery-grid-premium{
    grid-template-columns:repeat(2,1fr);
  }

  .principal-img{
    height:380px;
  }
}

@media (max-width: 767px){
  .section-space{
    padding:70px 0;
  }

  .hero-slide-img{
    height:280px;
  }

  .hero-slide-overlay{
    padding:18px;
  }

  .hero-slide-overlay h3{
    font-size:1.3rem;
  }

  .hero-floating-card{
    position:static;
    width:100%;
    margin-top:14px;
  }

  .gallery-grid-premium{
    grid-template-columns:1fr;
  }

  .principal-img{
    height:300px;
  }

  .cta-premium-box{
    padding:28px 22px;
  }
}
.premium-navbar{
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(139,0,0,0.06);
}

.brand-logo-circle{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a0000, #8b0000);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 12px 25px rgba(139,0,0,0.18);
  flex-shrink: 0;
}

.brand-text-wrap{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title{
  font-size: 1.2rem;
  font-weight: 800;
  color: #8b0000;
}

.brand-subtitle{
  font-size: .74rem;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.premium-dropdown{
  border: 1px solid rgba(139,0,0,0.10);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: .7rem;
  min-width: 240px;
}

.premium-dropdown .dropdown-item{
  border-radius: 12px;
  font-weight: 600;
  padding: .8rem .9rem;
}

.premium-dropdown .dropdown-item:hover{
  background: #fff4f4;
  color: #8b0000;
}

.navbar .nav-link{
  font-weight: 600;
}

.navbar .nav-link.active{
  color: #8b0000 !important;
}

@media (max-width: 991px){
  .brand-title{
    font-size: 1rem;
  }

  .brand-subtitle{
    font-size: .68rem;
  }

  .premium-dropdown{
    min-width: 100%;
  }
}
.dashboard-shell{
  min-height:100vh;
  display:flex;
  background:linear-gradient(180deg,#fffdfd 0%, #f7f3f3 100%);
}

.dashboard-sidebar{
  width:290px;
  min-height:100vh;
  background:linear-gradient(180deg,#4a0000 0%, #8b0000 100%);
  padding:24px 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:12px 0 30px rgba(0,0,0,.08);
}

.dashboard-brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  margin-bottom:28px;
}

.dashboard-brand-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
}

.dashboard-brand h5{
  color:#fff;
  font-weight:800;
  margin:0;
}

.dashboard-brand small{
  color:rgba(255,255,255,.72);
}

.dashboard-user-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
  color:#fff;
}

.dashboard-user-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  background:#fff;
  color:#8b0000;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:1.1rem;
  flex-shrink:0;
}

.dashboard-menu{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.dashboard-menu-link{
  display:flex;
  align-items:center;
  gap:12px;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  padding:12px 14px;
  border-radius:14px;
  font-weight:600;
  transition:.25s ease;
}

.dashboard-menu-link:hover{
  background:rgba(255,255,255,.12);
  color:#fff;
}

.dashboard-sidebar-footer{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.dashboard-main{
  flex:1;
  padding:28px;
  min-width:0;
}

.dashboard-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.dashboard-page-title{
  font-size:2rem;
  font-weight:800;
  color:#1a1a1a;
}

.dashboard-role-badge{
  display:inline-flex;
  align-items:center;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(139,0,0,.08);
  color:#8b0000;
  font-weight:700;
}

.dashboard-stat-card{
  background:#fff;
  border-radius:24px;
  padding:24px;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  height:100%;
}

.dashboard-stat-card span{
  display:block;
  color:#6b7280;
  font-weight:600;
  margin-bottom:10px;
}

.dashboard-stat-card strong{
  display:block;
  font-size:2rem;
  font-weight:800;
  color:#8b0000;
  margin-bottom:8px;
}

.dashboard-stat-card p{
  margin:0;
  color:#8a8f99;
}

.dashboard-panel{
  background:#fff;
  border-radius:24px;
  padding:24px;
  border:1px solid rgba(139,0,0,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.05);
  height:100%;
}

.dashboard-panel-head{
  margin-bottom:18px;
}

.dashboard-panel-head h5{
  margin:0;
  font-weight:800;
  color:#1a1a1a;
}

.dashboard-action-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:92px;
  background:#fff7f7;
  border:1px solid rgba(139,0,0,.08);
  border-radius:18px;
  text-decoration:none;
  color:#1a1a1a;
  font-weight:700;
  transition:.25s ease;
}

.dashboard-action-card:hover{
  background:#8b0000;
  color:#fff;
  transform:translateY(-3px);
}

.dashboard-list{
  margin:0;
  padding-left:18px;
  color:#4b5563;
  line-height:1.9;
}

@media (max-width: 991px){
  .dashboard-shell{
    flex-direction:column;
  }

  .dashboard-sidebar{
    width:100%;
    min-height:auto;
  }

  .dashboard-main{
    padding:20px;
  }

  .dashboard-page-title{
    font-size:1.6rem;
  }
}
.border-soft{
  border:1px solid rgba(139,0,0,.08) !important;
}
.homework-card p {
  line-height: 1.7;
}
.dashboard-menu-link.active{
  background: rgba(255,255,255,.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
