﻿html, body {
  font-family: 'Hind Siliguri', sans-serif;
  background: #f8f9fa;
  color: #004d4d;
  min-height: 100%;
}
:root {
  --primary: #0a899a;
  --primary-light: #e7f2fc;
  --primary-dark: #1e3a8a;
  --dark-bg: #121212;
  --dark-card: #181932;
  --dark-card-box: #201f43;
  --dark-card-faq: #12112f;
  --dark-text: #9193a8;
  --dark-border: #374151;
  --dark-footer: #1a1b2e;
  --transition: all .25s cubic-bezier(.23,1.08,.77,1.01);
}
body.dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgb(11 77 80) !important;
}
.dark .bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgb(15 14 43) !important;
}
.dark .bg-light,
.dark .bg-white {
  background: var(--dark-card-box)!important;
  color: var(--dark-text);
}
.dark .faq-light,
.dark .faq-white {
  background: var(--dark-card-faq)!important;
  color: var(--dark-text);
}
.dark .text-muted {
  color: #bbb!important;
}
.dark .card,
.dark .testimonial-card {
  background: var(--dark-card-box)!important;
  border-color: var(--dark-border)!important;
  color: var(--dark-text);
}
.dark .doctor-card img {
  border-color: var(--primary-dark)!important;
}
.dark .doctor-card h2,
.dark .doctor-card .rating span {
  color: #93c5fd!important;
}
.dark .navbar,
.dark .drawer-header {
  border-bottom: 1px solid var(--dark-border);
}
.dark .app-drawer,
.dark .drawer-header {
  background: var(--dark-card)!important;
  color: var(--dark-text);
}
.dark .app-drawer .nav-link {
  color: var(--dark-text);
}
.dark .app-drawer .nav-link:hover {
  background: var(--dark-border);
}
.dark .banner-slide {
  background: linear-gradient(to right, #198754, #6087fa, #198754);
}
.dark .banner-placeholder {
  background: #112044;
}
.dark footer {
  background: linear-gradient(160deg, #021a1f 0%, #032d33 50%, #021a1f 100%) !important;
  color: #90c8cf;
}
.dark footer h4, .dark footer h5 {
  color: #3dd6e8 !important;
}
.dark .accordion-button {
  background: var(--dark-card);
  color: var(--dark-text);
  font-size: 18px;
}
.dark .accordion-body {
  background: var(--dark-card);
  color: var(--dark-text);
}
.dark .accordion-item {
  border-color: var(--dark-border);
}
.dark .form-control,
.dark .form-select {
  background-color: var(--dark-card);
  color: var(--dark-text);
  border-color: var(--dark-border);
}
.dark .form-control:focus,
.dark .form-select:focus {
  background-color: var(--dark-card);
  color: var(--dark-text);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.dark .text-secondary {
  color: #aaa !important;
}
.dark .btn-outline-secondary {
  color: var(--dark-text);
  border-color: var(--dark-border);
}
.dark .btn-outline-secondary:hover {
  background-color: var(--dark-border);
  color: var(--dark-text);
}
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #197a87 !important;
}
.dark .bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.2) !important;
  color: #93c5fd !important;
}
.dark .bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.2) !important;
  color: #86efac !important;
}
header {
  background: var(--primary-light);
}
.dark header {
  background: var(--dark-card);
}
.navbar {
  padding: 0.7rem 0;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: #222;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: var(--primary)!important;
}
.dark .navbar-nav .nav-link {
  color: var(--dark-text);
}
.dark .navbar-nav .nav-link.active {
  color: #7fb1fa!important;
}
@media (max-width: 991px) {
  .navbar-brand {
    order: 1;
    margin-right: auto;
  }
  .theme-toggle-mobile {
    order: 2;
    margin-left: auto;
    margin-right: 10px;
  }
  .drawer-toggle-mobile {
    order: 3;
  }
}
.app-drawer {
  position: fixed;
  top: 0;
  left: -260px;
  width: 250px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  box-shadow: 2px 0 10px rgba(0,0,0,0.09);
  transition: left 0.32s var(--transition);
}
.app-drawer.open {
  left: 0;
}
.drawer-header {
  padding: 1.1rem 1.4rem 0.6rem 1.4rem;
  font-size: 1.18rem;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-drawer .nav-link {
  color: #222;
  font-size: 1.08rem;
  padding: 1rem 1.5rem;
}
.app-drawer .nav-link:hover {
  background: #f6f8fa;
  color: var(--primary);
}
.drawer-backdrop {
  position: fixed;
  z-index: 1099;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.15);
  display: none;
}
.drawer-backdrop.show {
  display: block;
}
.banner-slide {
  background: linear-gradient(135deg, #065f6b 0%, #0a899a 40%, #0db4ca 70%, #0a899a 100%);
  position: relative;
  overflow: hidden;
}
.banner-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.04) 100%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.marquee {
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.dark .marquee {
  color: #b2ebf2;
}
@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.banner-placeholder {
  position: relative;
  width: 100%;
  border-radius: 8px;
  background: var(--primary-light);
  overflow: hidden;
  aspect-ratio: 2.5/1;
  min-height: 180px;
}
.banner-imgs {
  position: absolute;
  width: 100%;
  object-fit: cover;
  left: 0;
  top: 0;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 1.3s, filter 1.3s;
}
.banner-imgs.active {
  opacity: 1;
  filter: blur(0);
}
@media (max-width: 768px) {
  .banner-placeholder {
    aspect-ratio: 2.4/1;
    min-height: 110px;
  }
}
.doctor-card {
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  grid-gap:15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Added for fee-badge positioning */
}
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.doctor-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
}
.rating-stars {
  color: #f1c40f;
  font-size: 16px;
  margin-bottom: 5px;
}
.rating-stars span {
  font-size: 0.8em;
  color: #444;
}
.dark .rating-stars span {
  color: #93c5fd;
}
.fee-badge {
  position: absolute;
  top: 10px;
  right: -25px;
  width: 100px;
  background: linear-gradient(135deg, rgba(11,127,212,0.95), rgba(232,29,98,0.92));
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  transform: rotate(45deg);
  transform-origin: center;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.dark .fee-badge {
  background: linear-gradient(135deg, rgba(74,144,226,0.95), rgba(133,78,255,0.92));
  color: #fff;
}
@media (max-width: 480px) {
  .fee-badge {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
  top: 10px;
  right: -25px;
  width: 100px;
  }
}
.book-btn {
  background: linear-gradient(90deg, #037989, #4bb3b9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.book-btn::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -45%;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0));
  transform: skewX(-22deg);
  pointer-events: none;
  animation: meetBookShine 2.4s linear infinite;
}
.book-btn:hover {
  background-color: #009e7a;
}
@keyframes meetBookShine {
  0% { left: -45%; opacity: 0; }
  15% { opacity: 1; }
  55% { left: 120%; opacity: 0; }
  100% { left: 120%; opacity: 0; }
}
.doctor-info {
  margin-left: 20px;
  flex: 1;
  text-align: left;
}
.doctor-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(45deg, #0b7fd4, #e81d62);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-transform: capitalize;
}
.whatsapp-share-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #25d366;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 100;
}
.whatsapp-share-icon:hover {
  transform: scale(1.1);
  background: #128c7e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.doctor-name a {
  color: inherit;
  text-decoration: none;
}
.doctor-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #444;
}
.dark .doctor-info p {
  color: #b0bec5;
}
.doc-icon {
  color: #00b894;
  font-size: 12px;
  margin-right: 5px;
}
.dark .doctor-card {
  background: var(--dark-card-box);
  border-color: var(--dark-border);
}
@media (max-width: 480px) {
  .doctor-card {
   align-items: flex-start;
  }
  .doctor-info {
    margin-left: 0;
    margin-top: 10px;
  }
}
.card {
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
}
.hover-effect:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,.13)!important;
}
.dark .hover-effect:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,.3)!important;
}
.specialties-container {
  display: flex;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f1f1f1;
}
.dark .specialties-container {
  scrollbar-color: var(--primary) #333;
}
.specialties-container::-webkit-scrollbar {
  height: 6px;
}
.specialties-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.dark .specialties-container::-webkit-scrollbar-track {
  background: #333;
}
.specialties-container::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 10px;
}
.specialty-card {
  flex: 0 0 auto;
  width: 140px;
  margin-right: 10px;
}
.specialty-card .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.specialty-card .card-body i {
  font-size: 1.5rem;
}
.specialty-card .card-title {
  font-size: 0.9rem;
}
.meet {
  text-align: center;
}
.testimonial-card {
  border-radius: 0.6rem;
}
.form-label {
    margin-bottom: .1rem;
    margin-top: .5rem;
}
.form-label-header {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid;
    padding-bottom: 4px;
}
footer {
  background: linear-gradient(160deg, #043d46 0%, #065f6b 50%, #043d46 100%);
  padding: 4rem 0 2rem;
  color: #cce8ec;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(10,137,154,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
footer::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(13,180,202,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.social-icons a {
  font-size: 1.38rem;
  margin-right: 0.8rem;
  color: var(--primary);
}
.dark .social-icons a {
  color: #93c5fd;
}
.social-icons a:last-child {
  margin-right: 0;
}
@media (max-width: 480px) {
  .card, .testimonial-card {
    min-height: unset;
  }
  .navbar-nav .nav-link {
    font-size: 1.03rem;
  }
  .navbar-brand {
    font-size: 1.15rem;
  }
}
@media (max-width: 480px) {
  .specialty-card {
    width: 100px;
    margin-right: 8px;
  }
  .specialty-card .card-body i {
    font-size: 1.2rem;
  }
  .specialty-card .card-title {
    font-size: 0.8rem;
  }
}
.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}
.mb-3 {
    margin-bottom: 0.5rem !important;
}
.m-3 {
    margin: 1rem !important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2c8b73;
    --bs-btn-border-color: #198754;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0bd779;
    --bs-btn-hover-border-color: #0aca8a;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #206542;
    --bs-btn-active-border-color: #1c7b65;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #218864;
    --bs-btn-disabled-border-color: #185545;
}
.select-area {
    text-align: center;
}
.select-area-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.select-with-icon {
    position: relative;
}
.select-with-icon .select-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #197a87;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 2;
}
.select-with-icon .form-select {
    padding-left: 36px;
}
.specialty-card .card {
    position: relative;
    overflow: hidden;
    border: 1px solid #d7e6f3 !important;
    border-radius: 12px;
    background: linear-gradient(160deg, #ffffff 0%, var(--spec-bg, #f5f9ff) 100%) !important;
}
.specialty-card .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0a899a, #58c5d1);
}
@media (max-width: 767px) {
  section.container.my-5 {
    margin-top: 1rem !important;
    margin-bottom: 1.2rem !important;
  }
  .py-5 {
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
  }
  .mb-5 {
    margin-bottom: 1.2rem !important;
  }
  .mt-5 {
    margin-top: 1.2rem !important;
  }
  .row.g-4 {
    --bs-gutter-y: 0.85rem;
  }
}

/* Premium Reviews + FAQ + CTA */
.reviews-section {
  position: relative;
  background: linear-gradient(170deg, #f4fbff 0%, #eef8ff 50%, #f8fdfc 100%);
  overflow: hidden;
}
.reviews-section::before,
.reviews-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  opacity: .38;
}
.reviews-section::before {
  width: 220px;
  height: 220px;
  background: rgba(10, 137, 154, 0.26);
  top: -60px;
  left: -50px;
}
.reviews-section::after {
  width: 260px;
  height: 260px;
  background: rgba(88, 197, 209, 0.25);
  bottom: -100px;
  right: -70px;
}
.reviews-marquee {
  position: relative;
  overflow: hidden;
  padding-bottom: 6px;
}
.reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: reviewsScroll 34s linear infinite;
}
.review-card-premium {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d7edf2;
  box-shadow: 0 10px 26px rgba(13, 63, 73, 0.10);
  padding: 16px 14px 14px;
  position: relative;
}
.review-card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, #0a899a, #58c5d1);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d9f0f4;
}
.review-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #05454d;
}
.review-city {
  margin: 0;
  font-size: 0.78rem;
  color: #4f7175;
}
.review-stars {
  color: #f2b01e;
  font-size: 0.82rem;
  margin-top: 1px;
}
.review-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #2f4f55;
  margin: 0;
}
@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.faq-premium {
  background: linear-gradient(180deg, #f7fcff 0%, #f0f9ff 100%);
}
.faq-premium .accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid #d8e9f4 !important;
}
.faq-premium .accordion-button {
  font-weight: 700;
  color: #0a4c57;
  background: #ffffff;
}
.faq-premium .accordion-button:not(.collapsed) {
  background: #eaf6ff;
  color: #095e6b;
  box-shadow: none;
}
.faq-premium .accordion-body {
  color: #3c5f66;
  line-height: 1.6;
}

.cta-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #065f6b 0%, #0a899a 48%, #12b8cf 100%) !important;
}
.cta-premium::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  top: -110px;
  right: -80px;
}
.cta-premium::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  bottom: -70px;
  left: -45px;
}
.cta-premium .cta-icon-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.45rem;
}
.cta-premium .btn {
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.dark .reviews-section,
.dark .faq-premium {
  background: #131e2e !important;
}
.dark .review-card-premium {
  background: #1b2a3c;
  border-color: #2a3d55;
  box-shadow: none;
}
.dark .review-name { color: #a5d9e0; }
.dark .review-city,
.dark .review-text { color: #bed0da; }
.dark .faq-premium .accordion-item { border-color: #32475f !important; }
.dark .faq-premium .accordion-button,
.dark .faq-premium .accordion-body {
  background: #1c2b3d;
  color: #b9ced9;
}

@media (max-width: 767px) {
  .reviews-track { gap: 12px; }
  .review-card-premium { width: 282px; padding: 14px 12px 12px; }
}
  .glow-title {
    background: linear-gradient(45deg, #0b7fd4, #e81d62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
  }
  .dark .glow-title {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 0;
    width: 200px;
  }
  .section-divider::before,
  .section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(11,127,212,0.1), #0a899a, rgba(11,127,212,0.1));
    border-radius: 2px;
  }
  .section-divider::before {
    background: linear-gradient(90deg, transparent, #0a899a);
  }
  .section-divider::after {
    background: linear-gradient(90deg, #0a899a, transparent);
  }
  .section-divider i {
    color: #e81d62;
    margin: 0 15px;
    font-size: 16px;
    animation: pulseHeart 1.5s infinite;
  }
  @keyframes pulseHeart {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
  }
  .dark .section-divider::before {
    background: linear-gradient(90deg, transparent, #4facfe);
  }
  .dark .section-divider::after {
    background: linear-gradient(90deg, #4facfe, transparent);
  }
  .dark .section-divider i {
    color: #ff4757;
  }

  /* ========================================== */
  /* PORTAL ACCESS HUB STYLING (Dark/Light)     */
  /* ========================================== */
  .portal-hub-section {
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    transition: background-color 0.3s ease;
  }
  .portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-radius: 18px !important;
  }
  .portal-card:hover {
    transform: translateY(-5px);
    border-color: #0a899a !important;
    box-shadow: 0 16px 32px -8px rgba(10, 137, 154, 0.22) !important;
  }
  .portal-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  .portal-badge-icon.bg-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }
  .portal-badge-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
  .portal-badge-icon.bg-emerald { background: linear-gradient(135deg, #10b981, #047857); }
  .portal-badge-icon.bg-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
  .portal-badge-icon.bg-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
  .portal-badge-icon.bg-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
  .portal-badge-icon.bg-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
  .portal-badge-icon.bg-slate { background: linear-gradient(135deg, #475569, #1e293b); }
  .portal-role-title {
    color: #1e293b;
    font-size: 1.05rem;
  }
  .portal-role-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    min-height: 2.6rem;
  }

  /* Dark Mode for Portal Hub */
  .dark .portal-hub-section {
    background: var(--dark-bg);
    border-top-color: #262747;
    border-bottom-color: #262747;
  }
  .dark .portal-card {
    background: var(--dark-card-box) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }
  .dark .portal-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.7) !important;
  }
  .dark .portal-role-title {
    color: #f1f5f9;
  }
  .dark .portal-role-desc {
    color: #94a3b8;
  }
  .dark .portal-card .btn-outline-primary {
    color: #38bdf8;
    border-color: #38bdf8;
  }
  .dark .portal-card .btn-outline-primary:hover {
    background: #38bdf8;
    color: #0f172a;
  }
