:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #2b2b2b;
  --link-color: #ff4b4b;
  --header-bg-color: #ffffff;
  --font-family: Palatino, "Palatino Linotype", serif;
  --nav-link-color: #141414;
  --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;
}

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: 100px;
}

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;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.hero-section {
  padding: 115px 0 25px 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;
}

.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;
  }
}

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: fixed !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}

@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}

.contact-container {
  margin: 40px auto;
  border-radius: 8px;
  color: black !important;
}
@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-container .form {
  width: 440px;
  height: 510px;
  background: #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 0 40px -10px #000;
  padding: 20px 30px;
  max-width: calc(100vw - 40px);
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  position: relative;
}
.contact-container h2 {
  margin: 10px 0;
  padding-bottom: 10px;
  width: 320px;
  color: var(--link-color);
  border-bottom: 3px solid var(--link-color);
}
.contact-container input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  background: none;
  outline: none;
  resize: none;
  border: 0;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s;
  border-bottom: 2px solid var(--link-color);
}
.contact-container input:focus {
  border-bottom: 2px solid var(--link-color);
}
.contact-container p:before {
  content: attr(type);
  display: block;
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--link-color);
}
.contact-container button {
  float: right;
  padding: 8px 12px;
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  border: 2px solid var(--link-color);
  background: 0;
  color: var(--link-color);
  cursor: pointer;
  transition: all 0.3s;
}
.contact-container button:hover {
  background: var(--hero-gradient2);
  color: #fff;
}
.contact-container .mail-container {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -20px;
  background: var(--link-color);
  color: #fff;
  width: 320px;
  padding: 16px 4px 16px 0;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 10px 10px 40px -14px #000;
}
.contact-container .mail-container p:before {
  content: none;
}
.contact-container span {
  margin: 0 5px 0 15px;
}
.heading {
  margin-bottom: 15px;
}
.heading h2 {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #1b5e20;
  letter-spacing: 1px;
}
.heading h2::after,
.heading h2::before {
  content: "🏮";
  font-size: 1.5rem;
  color: #43a047;
}
.cust-box {
  background: #ffffff;
  padding: 19px;
  border-radius: 12px;
  border: 2px solid #c62828; /* Red cultural accent */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  height: 100%;
}

/* Hover effect */
.cust-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Title */
.cust-box h3 {
  font-size: 1.5rem;
  color: #c62828;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-left: 12px;
}

/* Decorative red line */
.cust-box h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 80%;
  background: #c62828;
  border-radius: 4px;
}

/* Paragraph */
.cust-box p {
  line-height: 1.7;
  color: #333;
  font-size: 1rem;
  margin: 0;
}
.title {
  position: relative;
  font-weight: 700;
  color: #c62828;
  margin-bottom: 15px;
}

.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 80px;
  height: 3px;
  background: #c62828;
  border-radius: 3px;
}
.rounded {
  border-radius: 21px !important;
}
.arts {
  background: #ffffff;
  padding: 30px 21px;
  margin: 2rem auto;
  border-radius: 14px;
  border: 1px solid #f2d6d6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  position: relative;
}

/* Decorative top accent (modern + cultural) */
.arts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 5px;
  background: #c62828;
  border-radius: 0 0 4px 4px;
}

/* Title */
.arts h2 {
  font-size: 2rem;
  color: #c62828;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Underline for title */
.arts h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 70px;
  height: 3px;
  background: #c62828;
  border-radius: 3px;
}

/* Main text */
.arts p {
  color: #333;
  line-height: 1.7;
  margin: 1.2rem 0;
  font-size: 1rem;
}

/* Subheadings */
.arts h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #b71c1c;
  font-weight: 600;
  position: relative;
  padding-left: 14px;
}

/* Slim accent bar for h3 (minimal modern) */
.arts h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 80%;
  background: #c62828;
  border-radius: 3px;
}

/* Soft hover lift effect */
.arts:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}
.img_el {
  padding: 60px 0;
  position: relative;
  margin-top: 17px;
}
.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 17px;
}
.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/chinese-lifestyle.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 17px;
}
.img_el .container {
  position: relative;
  z-index: 3;
}
.img_el .container h2,
.img_el .container p {
  color: white !important;
}
.img_el .container h3 {
  color: #fffefd !important;
}
.cust-bg {
  background: #fdf7f7; /* soft warm tint */
  padding: 30px 21px;
  margin: 2rem auto;
  border-radius: 14px;
  border: 1px solid #f1d2d2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Decorative fade pattern (modern, elegant) */
.cust-bg::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: #c62828;
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(6px);
}

/* Title */
.cust-bg h2 {
  font-size: 2rem;
  color: #c62828;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Modern underline */
.cust-bg h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 75px;
  height: 3px;
  background: #c62828;
  border-radius: 3px;
}

/* Paragraphs */
.cust-bg p {
  color: #333;
  line-height: 1.8;
  margin: 1.2rem 0;
  font-size: 1rem;
}

/* Slight hover effect (smooth + modern) */
.cust-bg:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.newsletter-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid #f1d2d2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  width: 279px;
  margin-bottom: 15px;
}

.newsletter-box h3 {
  color: #c62828;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.3rem;
}

/* Email Input */
.newsletter-box input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  outline: none;
  transition: 0.25s ease;
}

.newsletter-box input[type="email"]:focus {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

/* Button */
.newsletter-box button {
  width: 100%;
  padding: 0.9rem;
  background: #c62828;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter-box button:hover {
  background: #b71c1c;
}
.error-page {
  background: #ffffff;
  border-radius: 16px;
  max-width: 700px;
  margin: 5rem auto;
  padding: 3rem 2rem !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  position: relative;
  overflow: hidden;
}

/* Decorative red glow */
.error-page::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: #c62828;
  opacity: 0.10;
  border-radius: 50%;
  filter: blur(12px);
}

/* Main icon */
.error-page .bi-emoji-frown-fill {
  color: #c62828;
  opacity: 0.9;
  animation: floatIcon 2.5s ease-in-out infinite;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Title */
.error-page h2 {
  color: #c62828;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Description */
.error-page p {
  color: #555;
  line-height: 1.6;
}

/* Buttons */
.error-page .btn-lg {
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Home button primary outline */
.error-page .btn-outline-primary {
  border-color: #c62828;
  color: #c62828;
}

.error-page .btn-outline-primary:hover {
  background: #c62828;
  color: #fff;
}

/* Secondary button */
.error-page .btn-outline-secondary:hover {
  background: #555;
  color: #fff;
}

/* Stars */
.error-page .bi-stars {
  color: #c62828;
  opacity: 0.8;
  animation: twinkle 1.8s infinite ease-in-out alternate;
}

@keyframes twinkle {
  from { opacity: 0.3; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
