:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #474747;
  --heading-color: #474747;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #f8fafc;
  --link-color: #0000ff;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #000000;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
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;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.navbar {
  background-color: var(--header-bg-color) !important;
}

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

.hero-section.with-bg {
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(0, 0, 0));
  opacity: 0.5;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.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;
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
.medical-box {
  background: #ffffff;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 28px 21px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.medical-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  border-color: #c5ddf5;
}

.medical-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.medical-box h3 {
  margin-top: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e4d7b; /* deep medical blue */
}

.medical-box p {
  color: #5b6e80;
  font-size: 1rem;
  line-height: 1.6;
}

.medical-box ul {
  text-align: left;
  padding-left: 20px;
  color: #4a5d70;
}

.medical-box ul li {
  margin-bottom: 6px;
  font-size: 0.98rem;
  position: relative;
}

.medical-box ul li::marker {
  color: #1c7cd6; /* blue accent */
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
.teams {
  padding: 40px 19px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3eef7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.teams h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #184e7c;
}

.teams p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4c5f72;
  margin-bottom: 18px;
}

.teams h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 32px;
  color: #1a6fc2; /* blue accent */
  position: relative;
  padding-left: 10px;
}

.teams h3::before {
  content: "";
  width: 4px;
  height: 100%;
  background: #1a6fc2;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 4px;
}

.teams ul {
  margin: 12px 0 22px 0;
  padding-left: 24px;
  color: #4c5f72;
}

.teams ul li {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.teams ul li::marker {
  color: #1a6fc2; /* blue bullets */
}
.newsletter-box {
  background: #ffffff;
  border: 1px solid #e3eef7;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.newsletter-box h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #184e7c;
  font-weight: 700;
}

.newsletter-box p {
  font-size: 0.95rem;
  color: #4c5f72;
  margin-bottom: 16px;
}

.newsletter-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-box input[type="email"] {
  padding: 10px 12px;
  border: 1px solid #c8d9e8;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s ease;
}

.newsletter-box input[type="email"]:focus {
  border-color: #1a6fc2;
  box-shadow: 0 0 0 3px rgba(26, 111, 194, 0.15);
}

.newsletter-box button {
  padding: 10px;
  background: #1a6fc2;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.newsletter-box button:hover {
  background: #155b9e;
}
.tip-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3eef7;
  padding: 20px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  margin: 15px 0;
}

.tip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tip-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5f1ff;
  color: #1a6fc2;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tip-card h4 {
  font-size: 1.05rem;
  margin: 6px 0 8px;
  color: #184e7c;
  font-weight: 700;
}

.tip-card p {
  margin: 0 0 12px;
  color: #4c5f72;
  line-height: 1.6;
}

.tip-meta {
  font-size: 0.8rem;
  color: #6a7c8f;
  border-top: 1px dashed #dde6f2;
  padding-top: 8px;
}
.footer {
  background: #f7fbff;
  border-top: 1px solid #dbe7f3;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.footer-logo {
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

.footer p {
  color: #4d6073;
  font-size: 0.95rem;
}

.footer-left span {
  color: #184e7c;
}

.footer-right {
  display: flex;
  justify-content: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-contact {
  font-size: 0.95rem;
  color: #4d6073;
}

.footer-link {
  text-decoration: none;
  font-size: 0.95rem;
  color: #1a6fc2;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #0f4d8a;
}
.footer {
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}
.error-404 {
  height: 100vh;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.error-icon i {
  font-size: 5rem;
  color: #1a6fc2;
  opacity: 0.85;
}

.error-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #184e7c;
  margin-bottom: 12px;
}

.error-subtitle {
  font-size: 1.1rem;
  color: #4e6374;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.error-btn {
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(26, 111, 194, 0.25);
  transition: all 0.3s ease;
}

.error-btn:hover {
  box-shadow: 0 12px 28px rgba(26, 111, 194, 0.35);
  transform: translateY(-2px);
}
