:root {
  --body-bg-color: #1e1f1f;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #3d3d3d;
  --link-color: #ffd1cc;
  --header-bg-color: #303030;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/images/body-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}
/* Biography Footer */
.footer-biography{
  background: #0f172a; /* deep slate */
  color: #e2e8f0;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

/* Subtle top accent */
.footer-biography::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #f43f5e, #f59e0b);
  border-radius: 999px;
}

/* Description text */
.footer-description{
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Headings */
.footer-heading{
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f1f5f9;
}

/* Social icons */
.footer-socials{
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-socials .social-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  color: #e2e8f0;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-socials .social-icon:hover{
  background: linear-gradient(135deg, #f43f5e, #f59e0b);
  color: #fff;
  transform: translateY(-4px);
}

/* Links */
.footer-link{
  color: #f59e0b;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover{
  opacity: 0.8;
}

/* Divider */
.footer-divider{
  border-color: rgba(255, 255, 255, 0.411);
}

/* Bottom text */
.footer-bottom{
  color: #94a3b8;
  font-size: 0.85rem;
}
.navbar {
  background-color: transparent !important;
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 155px 0 60px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

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

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 30px;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Modern biography section */
.heading.text-center {
  margin-bottom: 21px;
}

/* Headline */
.heading.text-center h2 {
  margin: 0 0 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: #0f172a; /* slate-900 */
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

/* Subtle accent underline */
.heading.text-center h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(120px, 55%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, #f59e0b); /* rose -> amber */
  opacity: 0.9;
}

/* Paragraphs */
.heading.text-center p {
  margin: 0.9rem 0 0;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.85;
  text-wrap: pretty;
}

/* Slightly “biography / editorial” feel */
.heading.text-center p:first-of-type {
  margin-top: 0;
}
.box {
  padding: 21px;
  background: #ffffffbd;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* Subtle hover lift */
.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

/* Decorative top accent line */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f43f5e, #f59e0b);
}

/* Image styling */
.box-image {
  margin-bottom: 1.25rem;
}

/* Title */
.box h3 {
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #0f172a !important;
  letter-spacing: -0.01em;
}

/* Paragraph text */
.box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 0.85rem;
}

/* Remove last paragraph margin */
.box p:last-child {
  margin-bottom: 0;
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1392px !important;
  }
}
/* Biography / editorial section */
.biography{
  margin: 30px auto;
  padding: 25px;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

/* Main title */
.biography h2{
  margin: 0 0 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  padding-bottom: 0.85rem;
}

/* Title accent underline */
.biography h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(220px, 60%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f43f5e, #f59e0b);
  opacity: 0.95;
}

/* Subheadings */
.biography h3{
  margin: 1rem 0 0.75rem;
  line-height: 1.25;
  font-weight: 750;
  color: #0f172a;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 1rem;
}

/* Subheading left bar */
.biography h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 4px;
  height: 1.05em;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.9);
}

/* Paragraphs */
.biography p{
  margin: 0.85rem 0 0;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.9;
  text-wrap: pretty;
}

/* Slightly stronger lead paragraph under h2 */
.biography h2 + p{
  margin-top: 0;
}

/* Optional: nicer spacing between groups */
.biography h3 + p{
  margin-top: 0.55rem;
}

/* Optional: subtle “reading rhythm” */
.biography p + p{
  margin-top: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 640px){
  .biography{
    border-radius: 16px;
    padding: 19px;
  }
}/* Align headings with icons */
.biography h2,
.biography h3{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Icon styling */
.biography h2 i,
.biography h3 i{
  font-size: 0.95em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Main heading icon */
.biography h2 i{
  color: #f43f5e; /* rose accent */
  font-size: 1.1em;
}

/* Subheading icons */
.biography h3 i{
  color: #f59e0b; /* amber accent */
}

/* Optional subtle hover effect */
.biography h3:hover i{
  transform: translateX(3px);
  transition: transform 0.3s ease;
}