/**
* Template Name: jinnabalu - v2.5.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #f6f9ff;
  color: #444444;
  overflow-x: hidden;
}

a {
  color: #2702a6;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #2702a6;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  -webkit-animation-name: dropdown-animate;
  animation-name: dropdown-animate;
  -webkit-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

pre {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #d0d7de;
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: .85rem;
  white-space: pre;
  overflow: auto;
  background: #f6f8fa;
  border-radius: 8px;
  line-height: 1.65;
  color: #24292f;
  margin-bottom: 1rem;
}
pre code {
  background: none;
  color: #24292f;
  padding: 0;
  border: none;
  font-size: inherit;
}
code {
  background: #eff1f3;
  color: #24292f;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

@-webkit-keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 15px 15px 15px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #2702a6;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #2702a6;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #2702a6;
  border-bottom: 2px solid #2702a6;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 310px;
  }
}

.logo img {
  max-height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #012970;
  font-family: "Nunito", sans-serif;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #012970;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 30px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Header Nav Mobile Toggle
--------------------------------------------------------------*/
.header-nav-toggle {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    z-index: 998;
  }

  .header-nav.show {
    display: block;
  }

  .header-nav > ul {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .header-nav > ul > li {
    width: 100%;
    padding: 4px 0;
  }

  .header-nav > ul > li .nav-link {
    padding: 10px 8px;
    font-size: 16px;
    display: block;
  }

  .header-nav .dropdown-menu {
    position: static !important;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
  }

  .mobile-social-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 0;
  }

  .header-nav > ul > li .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
  }
}

@media (min-width: 992px) {
  .header-nav-toggle {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: #2702a6;
  transition: 0.3;
  background: #f6f9ff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #2702a6;
}

.sidebar-nav .nav-link.collapsed {
  color: #012970;
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: #2702a6;
  background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
  color: #2702a6;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #012970;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #2702a6;
}

.sidebar-nav .nav-content a.active i {
  background-color: #2702a6;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #2702a6;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #2702a6;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label-100 {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 100px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #2702a6;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  /*padding-top: 15px;*/
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  /* padding: 15px 0; */
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #2702a6;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #2702a6;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #2702a6;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #2702a6;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #2702a6;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}


/* 
Template Name: Mediumish 
Copyright: Sal, WowThemes.net, https://www.wowthemes.net 
License: https://www.wowthemes.net/freebies-license/ 
*/
@media screen and (min-width:1500px) {
  html { font-size:18px; } /* Increase the font size on higher resolutions */
  .container {max-width:80%;}
}
.mainheading {
  padding: 1rem 0rem;
}

a {
  color: #00ab6b;
  transition: all 0.2s;
}

a:hover {
  color: #038252;
  text-decoration: none;
}

pre {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #d0d7de;
  width: 100%;
  padding: 1rem 1.2rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: .85rem;
  white-space: pre;
  overflow: auto;
  background: #f6f8fa;
  border-radius: 8px;
  line-height: 1.65;
  color: #24292f;
  margin-bottom: 1rem;
}

.mediumnavigation {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .15);
  transition: top 0.2s ease-in-out;
}

.main-content {
  min-height: 300px;
}

.site-content {
  min-height: 60vh;
  padding-top: 1.5rem;
  margin-top: 57px;
  transition: all 0.4s;
}

section {
  margin-bottom: 20px;
}

section.recent-posts {
  margin-bottom: 0;
}

.section-title h2 {
  border-bottom: 1px solid rgba(0, 0, 0, .125);
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 27px;
}

.section-title span {
  border-bottom: 1px solid rgba(0, 0, 0, .44);
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: -1px;
}

.article-post ol,
.article-post ul {
  margin-bottom: 1.5rem;
}

.article-post ol ol,
.article-post ul ul {
  list-style: disc;
  margin-bottom: 0rem;
}

@media (min-width:576px) {
  .card-columns.listfeaturedtag {
      -webkit-column-count: 2;
      -moz-column-count: 2;
      column-count: 2;
  }
}

@media (min-width:992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 0.8rem;
      padding-left: 0.8rem;
  }
}

.listfeaturedtag {
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.listfeaturedtag .wrapthumbnail {
  height: 290px;
  flex: 0 0 auto;
  height: 100%;
}

.maxthumb {
  max-height: 300px;
  overflow: hidden;
}

.listfeaturedtag .card,
.card-footer {
  border: 0;
}

.listfeaturedtag .thumbnail {
  background-size: cover;
  height: 100%;
  display: block;
  background-position: 38% 22% !important;
  background-origin: border-box !important;
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.listfeaturedtag .card-block {
  padding-left: 0;
}

.listfeaturedtag h2.card-title,
.listrecent h2.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.listfeaturedtag h4.card-text,
.listrecent h4.card-text {
  color: rgba(0, 0, 0, .44);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.featured-box-img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

@media (max-width:991px) {
  .featured-box-img-cover {
      height: auto;
      width: 100%;
  }
}

.wrapfooter {
  font-size: .8rem;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-thumb {
  width: 40px;
  height: 40px;
  margin-right: 13px;
  border-radius: 100%;
}

.post-top-meta {
  margin-bottom: 2rem;
}

.post-top-meta .author-thumb {
  width: 72px;
  height: 72px;
}

.post-top-meta.authorpage .author-thumb {
  margin-top: 40px;
}

.post-top-meta span {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, .44);
  display: inline-block;
}

.post-top-meta .author-description {
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 0.95rem;
}

.toc ul {
  list-style: decimal;
  font-weight: 400;
}

.author-meta {
  flex: 1 1 auto;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

span.post-name,
span.post-date,
span.author-meta {
  display: inline-block;
}

span.post-date,
span.post-read {
  color: rgba(0, 0, 0, .44);
}

span.post-read-more {
  align-items: center;
  display: inline-block;
  /* float: right;*/
  margin-top: 8px;
}

span.post-read-more a {
  color: rgba(0, 0, 0, .44);
}

span.post-name a,
span.post-read-more a:hover {
  color: rgba(0, 0, 0, .8);
}

.dot:after {
  content: "·";
  margin-left: 3px;
  margin-right: 3px;
}

.mediumnavigation .form-control {
  font-size: 0.8rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  min-width: 180px;
}

.mediumnavigation .form-inline {
  margin-left: 15px;
}

.mediumnavigation .form-inline .btn {
  margin-left: -50px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
}

.mediumnavigation .form-inline .btn:hover,
.mediumnavigation .form-inline .btn:active {
  background: transparent;
  color: green;
}

.mediumnavigation .navbar-brand {
  font-weight: 500;
}

.mediumnavigation .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: .5rem 0 0;
}

.mediumnavigation .nav-item,
.dropdown-menu {
  font-size: 0.9rem;
}

.mediumnavigation .search-icon {
  margin-left: -40px;
  display: inline-block;
  margin-top: 3px;
  cursor: pointer;
}

.mediumnavigation .navbar-brand img {
  max-height: 30px;
  margin-right: 5px;
}

.mainheading h1.sitetitle {
  font-family: Righteous;
}

.mainheading h1.posttitle {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, .05) !important;
  padding-top: 15px;
  padding-bottom: 12px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, .44);
  margin-top: 50px;
  margin-bottom: 62px;
  position: relative;
  background: #fff;
}

.link-dark {
  color: rgba(0, 0, 0, .8);
}

.article-post {
  font-family: Merriweather;
  font-size: 1.1rem;
  line-height: 1.84;
  color: rgba(0, 0, 0, .8);
}

blockquote {
  border-left: 4px solid #00ab6b;
  padding: 0 20px;
  font-style: italic;
  color: rgba(0, 0, 0, .5);
}

.article-post p,
.article-post blockquote {
  margin: 0 0 1.5rem 0;
}

.featured-image {
  display: block;
  margin-bottom: 1.5rem;
}

.share {
  text-align: center;
}

.share p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.share ul li {
  display: inline-block;
  margin-bottom: 9px;
}

.share ul {
  padding-left: 0;
  margin-left: 0;
}

.share ul li i.fa {
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

.svgIcon {
  vertical-align: middle;
}

.sticky-top-offset {
  top: 100px;
}

@media (min-width:1024px) {
  .share ul li {
      display: block;
  }
}

@media (max-width:999px) {
  .featured-box-img-cover {
      height: 359px;
  }

  .alertbar {
      position: relative !Important;
      margin-bottom: 20px;
      margin-top: 20px;
      box-shadow: none !Important;
      padding-right: 14px !Important;
  }

  #comments {
      margin-right: 15px;
  }

  .jumbotron.fortags {
      margin-bottom: 0 !Important;
  }

  .alertbar form {
      margin-top: 20px;
  }

  .alertbar span,
  .alertbar form {
      display: block;
  }

  .alertbar input[type="submit"] {
      border-radius: 3px !Important;
  }

  .alertbar input[type="email"] {
      margin-right: 0px !Important;
      display: block;
      border-right: 1px solid #ddd !Important;
      margin-bottom: 10px;
  }

  .jumbotron {
      margin-bottom: 0;
      border-radius: 0;
  }

  .listfeaturedtag .card {
      height: auto;
  }

  .listfeaturedtag .wrapfooter {
      position: relative;
      margin-top: 30px;
  }

  .listfeaturedtag .card-block {
      padding: 20px;
  }

  .footer {
      margin-top: 0px;
      margin-bottom: 0px;
  }
}

@media (max-width:1024px) {
  .post-top-meta .col-md-10 {
      text-align: center;
  }
}

@media (max-width:767px) {
  .post-top-meta.authorpage {
      text-align: center;
  }
}

.share,
.share a {
  color: rgba(0, 0, 0, .44);
  fill: rgba(0, 0, 0, .44);
}

.graybg {
  background-color: #fafafa;
  padding: 40px 0 46px;
  position: relative;
}

.listrelated .card {
  box-shadow: 0 1px 7px rgba(0, 0, 0, .05);
  border: 0;
}

ul.tags {
  list-style: none;
  padding-left: 0;
  margin: 0 0 3rem 0;
}

ul.tags li {
  display: inline-block;
  font-size: 0.9rem;
}

ul.tags li a {
  background: rgba(0, 0, 0, .05);
  color: rgba(0, 0, 0, .6);
  border-radius: 3px;
  padding: 5px 10px;
}

ul.tags li a:hover {
  background: rgba(0, 0, 0, .07);
  text-decoration: none;
}

.margtop3rem {
  margin-top: 3rem;
}

.sep {
  height: 1px;
  width: 20px;
  background: #999;
  margin: 0px auto;
  margin-bottom: 1.2rem;
}

.btn.follow {
  border-color: #02B875;
  color: #1C9963;
  padding: 3px 10px;
  text-align: center;
  border-radius: 999em;
  font-size: 0.85rem;
  display: inline-block;
}

.btn.subscribe {
  background-color: #1C9963;
  border-color: #1C9963;
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  border-radius: 30px;
  font-size: 0.85rem;
  margin-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-top-meta .btn.follow {
  margin-left: 5px;
  margin-top: -4px;
}

.alertbar {
  box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, .0785);
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 14px 0;
  z-index: 1;
  display: none;
}

.alertbar form {
  display: inline-block;
}

.alertbar input[type="email"] {
  font-size: 0.85rem;
  padding: 3px 5px 3px 10px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
  border-right: 0;
  margin-right: -10px;
  height: 34px;
  letter-spacing: 0.5px;
  margin-left: 5px;
}

.alertbar input[type="submit"] {
  background-color: #1C9963;
  border: 1px solid #1C9963;
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  font-size: 0.85rem;
  border-radius: 0;
  padding: 4px 10px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-weight: 600;
  height: 34px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.form-control::-webkit-input-placeholder {
  color: rgba(0, 0, 0, .5);
}

.form-control:-moz-placeholder {
  color: rgba(0, 0, 0, .5);
}

.form-control::-moz-placeholder {
  color: rgba(0, 0, 0, .5);
}

.form-control:-ms-input-placeholder {
  color: rgba(0, 0, 0, .5);
}

.form-control::-ms-input-placeholder {
  color: rgba(0, 0, 0, .5);
}

.authorpage h1 {
  font-weight: 700;
  font-size: 30px;
}

.post-top-meta.authorpage .author-thumb {
  float: none;
}

.authorpage .author-description {
  font-size: 1rem;
  color: rgba(0, 0, 0, .6);
}

.post-top-meta.authorpage .btn.follow {
  padding: 7px 20px;
  margin-top: 10px;
  margin-left: 0;
  font-size: 0.9rem;
}

.graybg.authorpage {
  border-top: 1px solid #f0f0f0;
}

.authorpostbox {
  width: 760px;
  margin: 0px auto;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.authorpostbox .img-thumb {
  width: 100%;
}

.sociallinks {
  margin: 1rem 0;
}

.sociallinks a {
  background: #666;
  color: #fff;
  width: 22px;
  height: 22px;
  display: inline-block;
  text-align: center;
  line-height: 22px;
  border-radius: 50%;
  font-size: 12px;
}

#comments {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.article-post .h1,
.article-post .h2,
.article-post .h3,
.article-post .h4,
.article-post .h5,
.article-post .h6,
.article-post h1,
.article-post h2,
.article-post h3,
.article-post h4,
.article-post h5,
.article-post h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.article-post img.shadow {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
}

.layout-page .article-post {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
}

.layout-page .article-post p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
}

.bottompagination span.navigation {
  display: block;
  font-size: 0.93rem;
  padding: 15px 0 0 0;
  text-align: center;
  margin-bottom: 0rem;
  color: #999;
  border-top: 1px solid #ddd;
}

.pointerup {
  margin-bottom: -17px;
  margin-left: 49%;
  font-size: 30px;
}

.pointerup i.fa {
  color: #eaeaea;
}

.bottompagination span.navigation i {
  display: inline-block;
}

span.navigation {
  display: inline-block;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
}

.pagination {
  display: block;
}

iframe {
  max-width: 100%;
}

.transpdark {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}


.jumbotron.fortags a {
  padding: 5px 10px 7px;
  background: #222;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.8rem;
  display: inline-block;
}

.layout-page .jumbotron.fortags {
  display: none;
}

.mb-30px {
  margin-bottom: 30px;
}

.flex-first {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
  -ms-flex-order: -1;
  order: -1;
}

@media (min-width: 768px) {
  .flex-md-unordered {
      -webkit-box-ordinal-group: 1;
      -webkit-order: 1;
      -ms-flex-order: 1;
      order: 1;
  }

  .flex-first {
      -webkit-box-ordinal-group: 0;
      -webkit-order: 1;
      -ms-flex-order: 1;
      order: 1;
  }
}

@media (max-width: 768px) {
  .share {
      margin-top: 30px;
  }
}

.card .img-fluid {
  width: 100%;
}

.sticky-top-80 {
  top: 80px;
}

.spoiler {
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  transition: all .4s;
  cursor: pointer;
  position: relative;
}

.spoiler:after {
  position: absolute;
  opacity: 0;
  content: 'Click to reveal spoiler';
  top: 45%;
  left: calc(50% - 100px);
  text-shadow: none;
  background: #222;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  padding: 2px 3px;
  width: 150px;
  font-family: Arial;
  text-align: center;
  border-radius: 3px;
  transition: all .4s;
}

.spoiler:hover:after {
  opacity: 1;
}

/** Lazy img **/
.lazyimg {
  display: block;
  border: 0 none;
  opacity: 1;
  transition: opacity .25s;
  background: #f2f2f2;
  outline: 0 none;
}

.lazyimg[data-src],
.lazyimg[data-srcset] {
  opacity: 0;
  transition: opacity .25s;
}


.profile-pic {
  background-color: transparent;
  width: 100%;
  min-height: 300px;
  perspective: 1000px;
}

.profile-pic>.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform .6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
  border-radius: 50%;
}

.profile-pic>.flip-card-inner>.flip-card-front {
  background-color: #bbb;
  color: #000;
}
.profile-pic>.flip-card-inner>.flip-card-back, .profile-pic>.flip-card-inner>.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 50%;
}

.profile-pic>.flip-card-inner>.flip-card-back {
  background-color: #2980b9;
  color: #fff;
  transform: rotateY(180deg);
}
.profile-pic>.flip-card-inner>.flip-card-back, .profile-pic>.flip-card-inner>.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 50%;
}

.profile-pic>.flip-card-inner>.flip-card-back>img, .profile-pic>.flip-card-inner>.flip-card-front>img {
  border-radius: 50%;
  width: 100%;
  max-height: 300px;
  max-width: 300px;
}

.fab {
  font-family: "Font Awesome 5 Brands";
}

.about-social a {
  font-size: 200%;
  margin-right: 5px;
}
a {
  color: #00ab6b;
  transition: all .2s;
}

.stacks .clip.img-circle {
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
  border-radius: 500px;
}

.stacks {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.stacks .clip {
  margin: 5px;
  width: 60px;
  height: 60px;
  background-color: #dfdfdf;
  border: 1px solid #fff;
  color: #09486b;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.stacks a {
  display: inline-block;
  text-decoration: none;
}

.stacks img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

.badge {
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
}

/* ============================================================
   PROFILE REDESIGN — Custom Styles
   ============================================================ */

/* --- Navbar Override --- */
.header {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header .logo span {
  color: #fff;
  font-weight: 700;
}

.header .logo img {
  filter: brightness(0) invert(1);
}

.header-nav .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.header-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}

.header-nav .nav-profile {
  color: rgba(255,255,255,0.7) !important;
}

.header-nav .nav-profile img {
  max-height: 34px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
}

.header-nav .nav-profile:hover img {
  border-color: rgba(255,255,255,0.5);
}

.header-nav .dropdown-menu {
  background: #1a2a4a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 8px 0;
}

.header-nav .dropdown-menu .dropdown-item {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  padding: 10px 20px;
  transition: all 0.2s;
}

.header-nav .dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.header-nav .dropdown-menu .dropdown-item:hover {
  color: #fff;
  background: rgba(65,84,241,0.2);
}

.header-nav .dropdown-menu .dropdown-divider {
  border-top-color: rgba(255,255,255,0.1);
}

/* Remove old active-page logic; add active state via accent */
.header-nav .nav-item .nav-link.active,
.header-nav .nav-item .nav-link[aria-current="page"] {
  color: #fff !important;
  background: rgba(65,84,241,0.25);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d2137 100%);
  color: #fff;
  padding: 80px 0 60px;
  margin: 0;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(65,84,241,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0,171,107,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container { position: relative; z-index: 1; }

.hero-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2);
  object-fit: cover;
}

.hero-section h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 20px 0 8px;
  color: #fff;
}

.hero-section .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-social a {
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  margin: 0 10px;
  transition: color 0.2s;
}

.hero-social a:hover { color: #fff; }

/* --- Stats Bar --- */
.stats-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 28px 16px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 8px 12px;
}

.stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #012970;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: #6c757d;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Section Styling --- */
.profile-section {
  padding: 50px 0 30px;
}

.profile-section .section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #012970;
  margin-bottom: 8px;
}

.profile-section .section-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* --- Expertise Cards --- */
.expertise-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.expertise-card.border-green,
.expertise-card.border-orange,
.expertise-card.border-purple { /* no colored border */ }

.expertise-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #012970;
  margin-bottom: 6px;
}

.expertise-card .expertise-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.expertise-card .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.expertise-card .tech-tags .badge {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f0f2ff;
  color: #2702a6;
}

.expertise-card.border-green .tech-tags .badge {
  background: #f0f2ff;
  color: #2702a6;
}

.expertise-card.border-orange .tech-tags .badge {
  background: #f0f2ff;
  color: #2702a6;
}

.expertise-card.border-purple .tech-tags .badge {
  background: #f0f2ff;
  color: #2702a6;
}

/* --- Featured Work --- */
.featured-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.featured-card .featured-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.featured-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #012970;
}

.featured-card p {
  color: #6c757d;
  font-size: 0.9rem;
  flex-grow: 1;
}

.featured-card .featured-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
}

/* --- Services (VibhuviOiO) --- */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-card .service-icon {
  font-size: 2.5rem;
  color: #2702a6;
  margin-bottom: 16px;
  display: block;
}

.service-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #012970;
  margin-bottom: 12px;
}

.service-card p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* --- Latest Articles --- */
.article-row {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-row:last-child { border-bottom: none; }

.article-row .article-date {
  font-size: 0.8rem;
  color: #6c757d;
  min-width: 80px;
  flex-shrink: 0;
}

.article-row a {
  font-weight: 500;
  font-size: 0.95rem;
}

.tech-timeline-filter-card {
  margin-bottom: 28px;
}

.tech-timeline-filter-card .card-body {
  padding: 24px 22px;
}

.tech-timeline-filter-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.tech-timeline-filter-copy h5 {
  color: #012970;
  font-size: 1.05rem;
  font-weight: 700;
}

.tech-timeline-filter-copy p {
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.tech-timeline-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.tech-timeline-filter-summary {
  color: #5f6b7a;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.tech-timeline-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d7deea;
  background: #fff;
  color: #012970;
  border-radius: 999px;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tech-timeline-filter-toggle:hover {
  border-color: #012970;
  background: #f8fbff;
}

.tech-timeline-filter-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf1f7;
}

.tech-timeline-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-timeline-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d7deea;
  background: #fff;
  color: #012970;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tech-timeline-filter-chip:hover {
  border-color: #012970;
  transform: translateY(-1px);
}

.tech-timeline-filter-chip.is-active {
  background: #012970;
  border-color: #012970;
  color: #fff;
}

.tech-timeline-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(1, 41, 112, 0.08);
  color: inherit;
  font-size: 0.82rem;
}

.tech-timeline-filter-chip.is-active .tech-timeline-filter-count {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 767.98px) {
  .tech-timeline-filter-card .card-body {
    padding: 20px 16px;
  }

  .tech-timeline-filter-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tech-timeline-filter-copy p {
    max-width: none;
  }

  .tech-timeline-filter-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tech-timeline-filter-chip {
    padding: 7px 12px;
    font-size: 0.88rem;
  }

  .tech-timeline-filter-summary {
    width: auto;
    white-space: normal;
  }

  .tech-timeline-filter-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* --- Stack Overflow --- */
.so-summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.so-summary-card h5,
.so-summary-card h6 {
  color: #012970;
  font-weight: 700;
}

.gh-summary-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.gh-summary-card h5 {
  color: #012970;
  font-weight: 700;
}

.gh-summary-text {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.gh-account-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.gh-account-link {
  align-items: center;
  background: #f7f9fc;
  border-radius: 10px;
  color: #012970;
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: space-between;
  padding: 12px 14px;
}

.gh-account-link span {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 600;
}

.so-summary-text {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.so-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.so-metrics-single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.so-metric-box {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 14px;
}

.so-metric-value {
  display: block;
  color: #012970;
  font-size: 1.2rem;
  font-weight: 700;
}

.so-metric-label {
  display: block;
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 4px;
}

.so-tag-list,
.so-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.so-tag-list {
  margin-top: 16px;
}

.so-tag-pill,
.so-meta-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.so-tag-pill {
  background: #fff3e6;
  color: #b35a00;
}

.so-meta-pill {
  background: #f3f6fa;
  color: #526277;
}

.so-accepted-pill {
  background: #d1e7dd;
  color: #0f5132;
}

.so-footnote {
  color: #8b97a8;
  font-size: 0.8rem;
  margin-top: 16px;
}

.so-answer-list {
  height: 100%;
}

.gh-repo-list {
  height: 100%;
}

.gh-repo-row {
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}

.gh-repo-row:last-child {
  border-bottom: none;
}

.gh-repo-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.gh-repo-title {
  color: #012970;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
}

.gh-repo-description {
  color: #6c757d;
  font-size: 0.92rem;
  margin: 8px 0 10px;
}

.gh-star-pill {
  align-items: center;
  background: #24292f;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 6px;
  line-height: 1;
  min-width: 58px;
  padding: 6px 11px;
  text-align: center;
}

.so-answer-row {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.so-answer-row:last-child {
  border-bottom: none;
}

.so-answer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.so-answer-title {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #012970;
}

.so-score-pill {
  background: #f48024;
  color: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  min-width: 44px;
  text-align: center;
}

.so-answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.88rem;
}

.so-answer-links span {
  color: #9aa6b2;
}

@media (max-width: 767px) {
  .gh-repo-head,
  .so-answer-head {
    flex-direction: column;
  }

  .gh-star-pill,
  .so-score-pill {
    align-self: flex-start;
  }

  .so-metrics,
  .so-metrics-single {
    grid-template-columns: 1fr;
  }
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  color: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  margin: 40px 0 20px;
  clear: both;
}

.cta-section h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 24px;
}

.btn-cta {
  background: #2702a6;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: #1f0185;
  color: #fff;
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}

.btn-cta-outline:hover {
  border-color: #fff;
  color: #fff;
}

/* --- Product Cards --- */
.product-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card h5 {
  font-weight: 700;
  color: #012970;
  font-size: 1.05rem;
}

.product-card p {
  color: #6c757d;
  font-size: 0.9rem;
}

.product-card .badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-section { padding: 50px 0 40px; }
  .hero-section h1 { font-size: 1.8rem; }
  .stat-item .stat-number { font-size: 1.5rem; }
  .stats-bar { margin-top: -24px; }
}

/* ===== CV / PROFILE PAGE ===== */

.cv-section {
  padding-top: 16px;
  padding-bottom: 60px;
}

.cv-section .container {
  max-width: 1200px;
  width: 92%;
}

/* --- Header --- */
.cv-header {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 2px solid #012970;
}

.cv-avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #012970;
  flex-shrink: 0;
  order: 2;
}

.cv-intro {
  flex: 1;
  min-width: 0;
  order: 1;
}

.cv-name {
  font-size: 2.4rem;
  color: #012970;
  margin: 0 0 4px;
  font-weight: 800;
  line-height: 1.2;
}

.cv-title {
  font-size: 1.15rem;
  color: #2702a6;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

/* --- Recognition Strip --- */
.cv-recognition {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 2px solid #012970;
  font-size: 0.92rem;
  color: #52607a;
}

.cv-recognition svg {
  color: #d4a017;
  flex-shrink: 0;
}

.cv-recognition strong {
  color: #012970;
}

.cv-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.92rem;
  color: #52607a;
  margin-bottom: 16px;
}

.cv-contact span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cv-contact svg {
  color: #2702a6;
  flex-shrink: 0;
}

.cv-contact a {
  color: #2702a6;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cv-contact a:hover {
  color: #012970;
}

.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-btn-primary,
.cv-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}

.cv-btn-primary {
  background: #2702a6;
  color: #fff;
  border: 2px solid #2702a6;
}

.cv-btn-primary:hover {
  background: #1f0185;
  border-color: #1f0185;
  color: #fff;
}

.cv-btn-outline {
  background: transparent;
  color: #012970;
  border: 2px solid #012970;
}

.cv-btn-outline:hover {
  background: #012970;
  color: #fff;
}

/* --- Two-Column Body --- */
.cv-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  padding-top: 36px;
}

.cv-sidebar {
  order: 2;
}

.cv-main {
  order: 1;
}

/* --- Sidebar --- */
.cv-sidebar {
  min-width: 0;
}

.cv-sidebar .cv-block + .cv-block {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(1, 41, 112, 0.1);
}

.cv-sidebar h3.cv-subheading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #012970;
  margin: 14px 0 4px;
  font-weight: 700;
}

.cv-sidebar h3.cv-subheading:first-of-type {
  margin-top: 0;
}

.cv-sidebar p {
  font-size: 0.88rem;
  color: #52607a;
  line-height: 1.7;
  margin: 0;
}

.cv-edu-item {
  margin-bottom: 12px;
}

.cv-edu-item strong {
  display: block;
  color: #012970;
  font-size: 0.92rem;
}

.cv-edu-item p {
  margin: 2px 0;
}

.cv-plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-plain-list li {
  font-size: 0.9rem;
  color: #52607a;
  padding: 3px 0;
}

.cv-muted {
  color: #7c8aa5;
  font-size: 0.85rem;
}

/* --- Main Content --- */
.cv-main {
  min-width: 0;
}

.cv-block + .cv-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(1, 41, 112, 0.1);
}

.cv-heading {
  font-size: 1.2rem;
  color: #012970;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2702a6;
  display: inline-block;
}

.cv-sidebar .cv-heading {
  font-size: 1rem;
  margin-bottom: 12px;
}

.cv-main > .cv-block > p {
  font-size: 0.95rem;
  color: #3a4a5e;
  line-height: 1.85;
  margin: 0;
}

/* --- Skill Bars --- */
.cv-bars {
  display: grid;
  gap: 10px;
}

.cv-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cv-bar-label {
  width: 160px;
  flex-shrink: 0;
  font-size: 0.88rem;
  color: #012970;
  font-weight: 600;
}

.cv-bar-track {
  flex: 1;
  height: 8px;
  background: #e8ecf4;
  border-radius: 4px;
  overflow: hidden;
}

.cv-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2702a6 0%, #1f0185 100%);
  border-radius: 4px;
}

/* --- Work Experience Roles --- */
.cv-role {
  margin-bottom: 28px;
}

.cv-role:last-child {
  margin-bottom: 0;
}

.cv-role-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.cv-role-head h3 {
  font-size: 1.05rem;
  color: #012970;
  margin: 0;
  font-weight: 700;
}

.cv-date {
  font-size: 0.85rem;
  color: #2702a6;
  font-weight: 600;
  white-space: nowrap;
}

.cv-role ul {
  margin: 0;
  padding-left: 18px;
}

.cv-role li {
  font-size: 0.9rem;
  color: #3a4a5e;
  line-height: 1.75;
  margin-bottom: 4px;
}

/* --- Projects Sub-section --- */
.cv-projects {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(1, 41, 112, 0.12);
}

.cv-projects h4 {
  font-size: 0.95rem;
  color: #012970;
  margin: 16px 0 4px;
  font-weight: 700;
}

.cv-projects h4:first-child {
  margin-top: 0;
}

.cv-projects p {
  font-size: 0.88rem;
  color: #3a4a5e;
  line-height: 1.7;
  margin: 0 0 4px;
}

.cv-tech {
  font-size: 0.82rem;
  color: #7c8aa5;
  font-style: italic;
}

.cv-full-width {
  margin-top: 28px;
  padding-top: 0;
  border-top: none;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .cv-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cv-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
  }

  .cv-sidebar .cv-block + .cv-block {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
}

@media (max-width: 768px) {
  .cv-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cv-avatar {
    order: -1;
    width: 140px;
    height: 140px;
  }

  .cv-contact {
    justify-content: center;
  }

  .cv-actions {
    justify-content: center;
  }

  .cv-recognition {
    justify-content: center;
    text-align: center;
  }

  .cv-name {
    font-size: 1.8rem;
  }

  .cv-sidebar {
    grid-template-columns: 1fr;
  }

  .cv-role-head {
    flex-direction: column;
    gap: 4px;
  }

  .cv-bar-label {
    width: 120px;
  }

  .cv-actions {
    flex-direction: column;
  }

  .cv-actions .btn {
    width: 100%;
  }
}

/* =====================================================
   Course Pages — Edtech Design System
   ===================================================== */

/* ---------- Courses Index — Hero ---------- */
.courses-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  margin: -20px -30px 2.5rem -30px;
}
.courses-hero-content {
  max-width: 780px;
  margin: 0 auto;
}
.courses-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.courses-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ---------- Courses Index — Grid & Card ---------- */
.courses-grid {
  margin: 0 0 3rem;
}
.course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.course-card-banner {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.course-card-banner.python {
  background: linear-gradient(135deg, #306998, #ffd43b);
}
.course-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  color: #1a1a2e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.course-card-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  backdrop-filter: blur(4px);
}
.course-card-body {
  padding: 1.25rem 1.5rem 0.75rem;
}
.course-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.course-card-tags span {
  background: #f0f4ff;
  color: #4154f1;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
}
.course-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}
.course-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.course-card-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.course-card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #777;
}
.course-card-stat i {
  color: #4154f1;
  font-size: 0.9rem;
}
.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 0.75rem;
}
.course-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4154f1;
}
.course-card-cta i { margin-left: 4px; }
.course-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #666;
}
.course-card-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Courses Index — Why Section ---------- */
.courses-why {
  margin: 0 0 3rem;
}
.courses-why h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}
.why-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover {
  border-color: #4154f1;
  box-shadow: 0 4px 16px rgba(65,84,241,0.08);
}
.why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}
.why-icon {
  width: 44px;
  height: 44px;
  background: #f0f4ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #4154f1;
  margin-bottom: 0.75rem;
}

/* ---------- Course Detail — Hero ---------- */
.cd-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 3.5rem 5% 2.5rem;
  margin: -20px -30px 0 -30px;
}
.cd-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.cd-breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.5);
}
.cd-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.cd-breadcrumb a:hover { color: #fff; }
.cd-breadcrumb span { margin: 0 6px; }
.cd-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.cd-hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 680px;
}
.cd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.cd-hero-meta i {
  margin-right: 4px;
  color: rgba(255,255,255,0.5);
}
.cd-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4154f1;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.cd-btn-primary:hover {
  background: #3040d0;
  color: #fff;
  transform: translateY(-1px);
}
.cd-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.cd-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.cd-hero-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cd-hero-tech span {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}

/* ---------- Course Detail — Main area ---------- */
.cd-body {
  padding-top: 2.5rem;
}
.cd-section {
  margin-bottom: 3rem;
}
.cd-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}
.cd-section-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Feature / "What You'll Build" cards */
.cd-feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cd-feature-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border-color: #ddd;
}
.cd-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}
.cd-feature-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  margin: 0;
}
.cd-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.cd-feature-icon.blue  { background: #e8edff; color: #4154f1; }
.cd-feature-icon.green { background: #e6f9f0; color: #198754; }
.cd-feature-icon.red   { background: #fde8ec; color: #dc3545; }

/* ---------- Curriculum ---------- */
.cd-curriculum-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.cd-curriculum-header .cd-section-title,
.cd-curriculum-header .cd-section-desc {
  margin-bottom: 0;
}
.cd-stat {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4154f1;
  line-height: 1;
}
.cd-stat small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #777;
  margin-top: 2px;
}
.cd-modules { display: flex; flex-direction: column; gap: 0; }
.cd-module {
  border: 1px solid #eee;
  border-bottom: none;
  background: #fff;
}
.cd-module:first-child { border-radius: 12px 12px 0 0; }
.cd-module:last-child  { border-bottom: 1px solid #eee; border-radius: 0 0 12px 12px; }
.cd-module:only-child  { border-radius: 12px; border-bottom: 1px solid #eee; }
.cd-module-header {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s;
  user-select: none;
}
.cd-module-header:hover { background: #fafbff; }
.cd-module-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
}
.cd-module-number {
  min-width: 28px;
  height: 28px;
  background: #4154f1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.cd-module-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.cd-module-usecase {
  font-size: 0.8rem;
  color: #777;
  margin: 2px 0 0;
  font-style: italic;
}
.cd-module-usecase i {
  font-size: 0.7rem;
  color: #aaa;
  margin-right: 3px;
}
.cd-module-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cd-module-count {
  font-size: 0.75rem;
  color: #999;
  white-space: nowrap;
}
.cd-module-chevron {
  font-size: 0.75rem;
  color: #aaa;
  transition: transform 0.25s;
}
.cd-module-header[aria-expanded="true"] .cd-module-chevron {
  transform: rotate(180deg);
}
.cd-lessons {
  border-top: 1px solid #f0f0f0;
}
.cd-lesson {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem 0.6rem 1.25rem;
  border-bottom: 1px solid #f8f8f8;
  transition: background 0.12s;
}
.cd-lesson:last-child { border-bottom: none; }
.cd-lesson:hover { background: #fafbff; }
.cd-lesson-available { }
.cd-lesson-number {
  min-width: 2rem;
  font-size: 0.78rem;
  color: #bbb;
  font-weight: 600;
  padding-top: 1px;
}
.cd-lesson-content {
  flex: 1;
}
a.cd-lesson-title {
  color: #4154f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
a.cd-lesson-title:hover { text-decoration: underline; }
span.cd-lesson-title.locked {
  color: #999;
  font-size: 0.9rem;
}
span.cd-lesson-title.locked i {
  font-size: 0.7rem;
  margin-left: 4px;
}
.cd-lesson-desc {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-top: 1px;
  line-height: 1.4;
}
.cd-lesson-status {
  color: #22c55e;
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ---------- Prerequisites ---------- */
.cd-prereq-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}
.cd-prereq-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cd-prereq-card.required h4 i { color: #198754; }
.cd-prereq-card.helpful h4 i { color: #ffc107; }
.cd-prereq-card ul {
  padding-left: 1.2rem;
  margin: 0;
}
.cd-prereq-card li {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
}

/* ---------- Instructor ---------- */
.cd-instructor-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
}
.cd-instructor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.cd-instructor-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 2px;
}
.cd-instructor-role {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 0.5rem;
}
.cd-instructor-info p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.cd-instructor-links {
  display: flex;
  gap: 0.75rem;
}
.cd-instructor-links a {
  color: #4154f1;
  font-size: 1.1rem;
  transition: color 0.15s;
}
.cd-instructor-links a:hover { color: #1a1a2e; }

/* ---------- CTA ---------- */
.cd-cta {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8edff 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.cd-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}
.cd-cta p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.25rem;
}

/* ==========================================================
   Course Lesson Page — 3-column layout (vibhuvioio style)
   ========================================================== */

/* --- Shell: full-viewport flex container --- */
.cl-shell {
  display: flex;
  min-height: calc(100vh - 60px);
  margin: -20px -30px;
  width: calc(100% + 60px);
}

/* --- LEFT SIDEBAR: Course Navigation --- */
.cl-nav {
  width: 280px;
  flex-shrink: 0;
  background: #f8f9fb;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  height: calc(100vh - 60px);
  position: sticky;
  top: 60px;
}
.cl-nav-inner {
  padding: 1.25rem 0;
}
.cl-nav-header {
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
}
.cl-nav-course-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4154f1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}
.cl-nav-course-link:hover { color: #3040d0; }
.cl-nav-modules {
  display: flex;
  flex-direction: column;
}
.cl-nav-module {
  border-bottom: 1px solid #f0f0f0;
}
.cl-nav-module:last-child { border-bottom: none; }
.cl-nav-module-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.65rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}
.cl-nav-module-head:hover {
  color: #374151;
  background: #eff0f3;
}
.cl-nav-module-label { flex: 1; }
.cl-nav-chevron {
  font-size: 0.6rem;
  color: #9ca3af;
  transition: transform 0.2s;
}
.cl-nav-module-head[aria-expanded="true"] .cl-nav-chevron {
  transform: rotate(180deg);
}
.cl-nav-lessons {
  list-style: none;
  padding: 0 0.65rem 0.5rem;
  margin: 0;
}
.cl-nav-lessons li {
  margin-bottom: 1px;
}
.cl-nav-lesson {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.cl-nav-lesson:hover {
  background: #e8eaed;
  color: #111827;
}
.cl-nav-lesson i { font-size: 0.75rem; flex-shrink: 0; }
.cl-nav-lesson.active {
  background: #4154f1;
  color: #fff;
  font-weight: 600;
}
.cl-nav-lesson.active:hover {
  background: #3040d0;
}
.cl-nav-lesson.locked {
  color: #d1d5db;
  cursor: default;
}

/* --- MAIN + RIGHT TOC area --- */
.cl-main-area {
  flex: 1;
  min-width: 0;
  background: #fff;
}
.cl-main-flex {
  display: flex;
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  padding: 2.5rem 3rem;
}

/* --- CENTER: Article content --- */
.cl-content {
  flex: 1;
  min-width: 0;
  max-width: none;
}
.cl-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.cl-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.cl-description {
  font-size: 1.05rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  max-width: 640px;
}
.cl-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #9ca3af;
}
.cl-meta i {
  margin-right: 3px;
}

/* --- Article body typography --- */
.cl-article {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}
.cl-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.cl-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 1.75rem 0 0.5rem;
}
.cl-article h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  margin: 1.25rem 0 0.4rem;
}
.cl-article p {
  margin-bottom: 1.25rem;
}
.cl-article a {
  color: #4154f1;
  text-decoration: none;
  text-underline-offset: 2px;
}
.cl-article a:hover {
  text-decoration: underline;
}

/* Code — Base shared styles for all code blocks */
.cl-article .highlighter-rouge {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}

.cl-article .highlighter-rouge .highlight {
  background: transparent;
}

.cl-article .highlighter-rouge pre.highlight {
  background: #1e1e1e;
  color: #e4e6eb;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  font-size: 0.85rem;
  line-height: 1.65;
}

.cl-article .highlighter-rouge pre.highlight code {
  display: block;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85rem;
}

/* ---- EDITOR style: project files (python, yaml, toml, dockerfile, json, hcl) ---- */
.cl-article .highlighter-rouge.cl-editor {
  border: 1px solid #383838;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* Title bar with language label */
.cl-article .highlighter-rouge.cl-editor::before {
  content: attr(data-lang);
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 1rem 0 4.5rem;
  background: #323233;
  border-bottom: 1px solid #484848;
  font-size: 0.72rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: #8b8b8b;
  letter-spacing: 0.02em;
}
/* macOS traffic light dots */
.cl-article .highlighter-rouge.cl-editor::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 18px 0 0 #febc2e, 36px 0 0 #28c840;
}
/* Editor: line numbers + padding */
.cl-article .highlighter-rouge.cl-editor pre.highlight code {
  padding: 0.85rem 1rem 0.85rem 3.5rem;
  counter-reset: cl-line;
}
.cl-code-line {
  display: inline;
}
.cl-code-line::before {
  counter-increment: cl-line;
  content: counter(cl-line);
  display: inline-block;
  width: 2.5rem;
  margin-left: -3.5rem;
  margin-right: 1rem;
  text-align: right;
  color: #555;
  font-size: 0.8rem;
  user-select: none;
  -webkit-user-select: none;
}
/* Editor status bar */
.cl-code-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 16px;
  background: #4154f1;
  font-size: 0.65rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

/* ---- TERMINAL style: bash / shell / console ---- */
.cl-article .highlighter-rouge.cl-terminal {
  border: 1px solid #2a2a2a;
}
.cl-article .highlighter-rouge.cl-terminal::before {
  content: attr(data-lang);
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 1rem;
  background: #2b2b2b;
  border-bottom: 1px solid #3a3a3a;
  font-size: 0.7rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  color: #7a7a7a;
  letter-spacing: 0.02em;
}
.cl-article .highlighter-rouge.cl-terminal pre.highlight {
  background: #0d1117;
}
.cl-article .highlighter-rouge.cl-terminal pre.highlight code {
  color: #c9d1d9;
}

/* ---- PLAIN style: other languages ---- */
.cl-article .highlighter-rouge.cl-plain {
  border: 1px solid #333;
}

/* ---- Copy button (all styles) ---- */
.cl-code-copy {
  position: absolute;
  top: 0;
  right: 0;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: transparent;
  border: none;
  color: #8b8b8b;
  font-size: 0.72rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cl-code-copy:hover { color: #d4d4d4; }
.cl-code-copy.copied { color: #28c840; }
.cl-code-copy i { font-size: 0.85rem; }
/* Terminal + plain: copy btn in code area (no title bar) */
.cl-article .highlighter-rouge.cl-terminal .cl-code-copy { height: 32px; }
.cl-article .highlighter-rouge.cl-plain .cl-code-copy {
  height: auto;
  top: 6px;
  right: 6px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}

/* Rouge syntax token colors — VS Code Dark+ theme */
.cl-article .highlight .c,
.cl-article .highlight .cm,
.cl-article .highlight .c1,
.cl-article .highlight .cs { color: #6a9955; font-style: italic; }
.cl-article .highlight .k,
.cl-article .highlight .kd,
.cl-article .highlight .kn,
.cl-article .highlight .kp,
.cl-article .highlight .kr,
.cl-article .highlight .kt { color: #569cd6; }
.cl-article .highlight .s,
.cl-article .highlight .s1,
.cl-article .highlight .s2,
.cl-article .highlight .sb,
.cl-article .highlight .sc,
.cl-article .highlight .sd,
.cl-article .highlight .se,
.cl-article .highlight .sh,
.cl-article .highlight .sx { color: #ce9178; }
.cl-article .highlight .si { color: #9cdcfe; }
.cl-article .highlight .mi,
.cl-article .highlight .mf,
.cl-article .highlight .mh,
.cl-article .highlight .mo,
.cl-article .highlight .il { color: #b5cea8; }
.cl-article .highlight .na,
.cl-article .highlight .nb,
.cl-article .highlight .bp { color: #9cdcfe; }
.cl-article .highlight .nc,
.cl-article .highlight .nn { color: #4ec9b0; }
.cl-article .highlight .nf,
.cl-article .highlight .fm { color: #dcdcaa; }
.cl-article .highlight .nd { color: #dcdcaa; }
.cl-article .highlight .nv,
.cl-article .highlight .vc,
.cl-article .highlight .vi,
.cl-article .highlight .vg { color: #9cdcfe; }
.cl-article .highlight .o,
.cl-article .highlight .ow { color: #d4d4d4; }
.cl-article .highlight .p { color: #d4d4d4; }
.cl-article .highlight .nt { color: #569cd6; }
.cl-article .highlight .nl { color: #9cdcfe; }
.cl-article .highlight .err { color: #f44747; }

.cl-article code {
  font-size: 0.875em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.cl-article p code,
.cl-article li code,
.cl-article td code {
  background: #f1f3f5;
  color: #1f2937;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.875em;
  border: 1px solid #e5e7eb;
}

/* Blockquote */
.cl-article blockquote {
  border-left: 4px solid #4154f1;
  background: #f8f9ff;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 8px 8px 0;
  color: #4b5563;
  font-size: 0.95rem;
}
.cl-article blockquote p { margin: 0; }
.cl-article blockquote strong {
  color: #4154f1;
}

/* Images */
.cl-article img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Lists */
.cl-article ul, .cl-article ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.cl-article li {
  margin-bottom: 0.35rem;
}

/* Tables */
.cl-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.cl-article th {
  background: #f9fafb;
  color: #111827;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.cl-article td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #f3f4f6;
}
.cl-article tr:last-child td { border-bottom: none; }

/* --- Prev/Next nav cards --- */
.cl-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.cl-nav-card {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cl-nav-card:hover {
  border-color: #4154f1;
  box-shadow: 0 2px 12px rgba(65,84,241,0.08);
}
.cl-nav-card small {
  display: block;
  font-size: 0.7rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.cl-nav-card span {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4154f1;
  line-height: 1.35;
}
.cl-nav-next { text-align: right; }

/* --- RIGHT SIDEBAR: On This Page (TOC) --- */
.cl-toc {
  width: 220px;
  flex-shrink: 0;
}
.cl-toc-inner {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding-right: 0.5rem;
}
.cl-toc-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 0 0 0.5rem;
}
.cl-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cl-toc li {
  margin-bottom: 2px;
}
.cl-toc a {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  padding: 2px 0;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.12s;
}
.cl-toc a:hover {
  color: #111827;
}
.cl-toc ul ul {
  padding-left: 0.85rem;
}

/* --- Mobile sidebar toggle --- */
.cl-nav-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1050;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #4154f1;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(65,84,241,0.3);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================
   Project Editor — VS Code-style multi-file viewer
   ========================================================== */
.pe-editor {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #383838;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

/* Title bar */
.pe-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 12px;
  background: #323233;
  border-bottom: 1px solid #484848;
}
.pe-titlebar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pe-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.pe-dot-red { background: #ff5f57; }
.pe-dot-yellow { background: #febc2e; }
.pe-dot-green { background: #28c840; }
.pe-titlebar-name {
  font-size: 0.78rem;
  color: #8b8b8b;
  margin-left: 4px;
}
.pe-github-link {
  color: #8b8b8b;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.pe-github-link:hover { color: #d4d4d4; }

/* IDE body: sidebar + content */
.pe-body {
  display: flex;
  min-height: 320px;
  max-height: 520px;
}

/* Sidebar */
.pe-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #252526;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
}
.pe-sidebar-label {
  padding: 8px 12px 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6b6b;
}
.pe-file-tree { padding-bottom: 8px; }
.pe-loading-tree {
  padding: 12px;
  color: #6b6b6b;
  font-size: 0.75rem;
}
.pe-spin {
  animation: pe-spin 1s linear infinite;
}
@keyframes pe-spin {
  to { transform: rotate(360deg); }
}

/* Tree items */
.pe-tree-item {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 0.78rem;
  font-family: inherit;
  padding: 3px 8px;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.pe-tree-item:hover { background: rgba(255,255,255,0.06); }
.pe-tree-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-tree-file.active {
  background: rgba(65,84,241,0.2);
  color: #a78bfa;
}
.pe-tree-chevron {
  font-size: 0.55rem;
  color: #6b6b6b;
  flex-shrink: 0;
  margin-right: 2px;
}
.pe-tree-children { /* expanded by default */ }

/* Content area */
.pe-content {
  flex: 1;
  min-width: 0;
  background: #1e1e1e;
  display: flex;
  flex-direction: column;
}

/* Tabs */
.pe-tabs {
  display: flex;
  align-items: center;
  background: #252526;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.pe-tabs::-webkit-scrollbar { display: none; }
.pe-tab {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #8b8b8b;
  font-size: 0.78rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.pe-tab:hover { color: #d4d4d4; background: rgba(255,255,255,0.04); }
.pe-tab.active {
  background: #1e1e1e;
  color: #e4e6eb;
  border-bottom-color: #4154f1;
}
.pe-tab-copy {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: transparent;
  border: none;
  color: #6b6b6b;
  font-size: 0.72rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s;
  flex-shrink: 0;
}
.pe-tab-copy:hover { color: #d4d4d4; }
.pe-tab-copy.copied { color: #28c840; }

/* Code area */
.pe-code-area {
  flex: 1;
  overflow: auto;
}
.pe-loading {
  padding: 2rem;
  color: #6b6b6b;
  font-size: 0.82rem;
}
.pe-code-wrap {
  display: flex;
  min-height: 100%;
}
.pe-line-nums {
  flex-shrink: 0;
  padding: 12px 0;
  text-align: right;
  user-select: none;
  -webkit-user-select: none;
  border-right: 1px solid #2a2a2a;
  min-width: 3rem;
}
.pe-ln {
  padding: 0 10px 0 12px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #555;
}
.pe-code-pre {
  flex: 1;
  margin: 0;
  padding: 12px 16px;
  background: transparent;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #e4e6eb;
}
.pe-code-pre code {
  font-family: inherit;
  font-size: inherit;
}
.pe-code-line {
  min-height: 1.65em;
}

/* Status bar */
.pe-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 14px;
  background: #4154f1;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .pe-body { flex-direction: column; max-height: 600px; }
  .pe-sidebar { width: 100%; max-height: 160px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .courses-hero {
    margin: -20px -20px 2rem -20px;
  }
  .cd-hero {
    margin: -20px -20px 0 -20px;
  }
  /* Hide TOC on smaller desktops */
  .cl-toc { display: none; }
  .cl-main-flex { padding: 2rem; }
  .cl-shell { margin: -20px; width: calc(100% + 40px); }
}
@media (max-width: 991px) {
  /* Sidebar becomes overlay on tablet */
  .cl-nav {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 1040;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: none;
  }
  .cl-nav.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  }
  .cl-nav-toggle { display: flex; }
  .cl-main-flex { padding: 1.5rem; }
}
@media (max-width: 768px) {
  .courses-hero {
    padding: 2.5rem 1.25rem;
    margin: -20px -20px 2rem -20px;
  }
  .courses-hero h1 { font-size: 1.6rem; }
  .cd-hero {
    padding: 2rem 1.25rem 1.75rem;
    margin: -20px -20px 0 -20px;
  }
  .cd-hero-title { font-size: 1.6rem; }
  .cd-hero-meta { flex-direction: column; gap: 0.5rem; }
  .cd-hero-tech { gap: 4px; }
  .cd-hero-actions { flex-direction: column; }
  .cd-btn-primary, .cd-btn-outline { justify-content: center; }
  .cd-instructor-card { flex-direction: column; text-align: center; }
  .cd-instructor-links { justify-content: center; }
  .cl-title { font-size: 1.4rem; }
  .cl-prevnext { grid-template-columns: 1fr; }
  .cl-main-flex { padding: 1.25rem; }
}


