/* =========================================
   UNIVERSITY DETAIL PAGE STYLES (NEPAL MBBS)
========================================= */

/* Grid Layout */
.uni-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

/* =========================================
   LEFT: MAIN CONTENT (EDITORIAL STYLE)
========================================= */
.uni-detail-cover {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--npl-radius-lg, 20px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  margin-bottom: 48px;
}

.uni-detail-content {
  color: var(--npl-color-text-body, #334155);
  font-size: 1.1rem;
  line-height: 1.8;
}

.uni-detail-content .lead-text {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--npl-color-text-heading, #0f172a);
  line-height: 1.6;
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 4px solid var(--npl-color-primary, #DC143C);
}

.uni-detail-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
}

.uni-detail-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 32px 0 16px;
}

.uni-detail-content p {
  margin-bottom: 24px;
}

.uni-detail-content strong {
  color: #0f172a;
}

/* Custom Bullet Lists */
.npl-feature-list,
.vnm-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.npl-feature-list li,
.vnm-feature-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
  color: #334155;
}

.npl-feature-list li::before,
.vnm-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC143C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* =========================================
   RIGHT: STICKY SIDEBAR
========================================= */
.uni-detail-sidebar {
  position: sticky;
  top: 120px;
}

/* =========================================
   UNIVERSITY OVERVIEW STICKY CARD (Screenshot 4)
========================================= */
.npl-sticky-card,
.vnm-sticky-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.npl-sticky-card h3,
.vnm-sticky-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.sticky-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.sticky-fact:last-of-type {
  border-bottom: none;
}

.fact-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.fact-value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.sticky-tuition {
  margin-top: 24px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  text-align: center;
}

.sticky-tuition .fact-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  display: block;
}

.tuition-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  margin: 8px 0 4px;
  line-height: 1;
}

.tuition-price span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
}

.tuition-sub {
  font-size: 0.95rem;
  color: var(--npl-color-primary, #DC143C);
  font-weight: 600;
  margin: 0;
}

.sticky-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-actions .npl-btn, .sticky-actions .vnm-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sticky-actions .npl-btn--primary,
.sticky-actions .vnm-btn--primary {
  background: var(--npl-color-primary, #DC143C);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 20, 60, 0.25);
}

.sticky-actions .npl-btn--primary:hover,
.sticky-actions .vnm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 20, 60, 0.35);
}

.sticky-actions .npl-btn--outline,
.sticky-actions .vnm-btn--outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.sticky-actions .npl-btn--outline:hover,
.sticky-actions .vnm-btn--outline:hover {
  border-color: #0f172a;
  background: rgba(15, 23, 42, 0.02);
}
/* =========================================
   RESPONSIVE FIXES
========================================= */
@media (max-width: 1024px) {
  .uni-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .uni-detail-sidebar {
    position: static;
  }
  
  .uni-detail-cover {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .npl-feature-list,
  .vnm-feature-list {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   FLOATING ACTION BUTTONS (Matching Homepage)
========================================= */
.npl-floating-actions,
.vnm-floating-actions {
  position: static;
  display: contents;
}

.npl-float-btn,
.vnm-float-btn {
  position: fixed;
  bottom: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.npl-float-btn:hover,
.vnm-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.npl-float-icon,
.vnm-float-icon {
  width: 30px;
  height: 30px;
}

/* Specific position and color for Phone (Left) */
.npl-float-btn--phone,
.vnm-float-btn--phone {
  left: 30px;
  right: auto;
  bottom: 30px;
  background-color: #2e8b57;
}

/* Specific position and color for WhatsApp (Right) */
.npl-float-btn--whatsapp,
.vnm-float-btn--whatsapp {
  right: 30px;
  left: auto;
  bottom: 30px;
  background-color: #4dc247;
}

/* Message us Tooltip styling */
.npl-float-tooltip,
.vnm-float-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: #333333;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #eeeeee;
  opacity: 1;
  pointer-events: none;
}
/* =========================================
   NAVBAR APPLY NOW BUTTON (Exact Homepage Pill)
========================================= */
.npl-header__action .npl-btn {
  display: inline-flex !important;
  width: auto !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  background-color: var(--npl-color-primary, #DC143C) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.25) !important;
  transition: all 0.2s ease !important;
  border: none !important;
}

.npl-header__action .npl-btn:hover {
  background-color: var(--npl-color-primary-hover, #b01030) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(220, 20, 60, 0.35) !important;
}
