:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #1f1f1f;
  --link-color: #d08e43;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --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: 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;
}

.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.sidebar-search-box {
  padding: 11px;
  background: var(--body-bg-color);
  border: 1px solid color-mix(in srgb, var(--body-text-color) 30%, transparent);
  border-radius: 10px;
  width: 279px;
  margin-bottom: 15px;
}

.sidebar-search-box form {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sidebar-search-box input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--body-text-color) 30%, transparent);
  border-radius: 6px;
  background: var(--body-bg-color);
  color: var(--body-text-color);
  outline: none;
}

.sidebar-search-box button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: var(--link-color);
  color: #fff;
  cursor: pointer;
}

.sidebar-search-box button:hover {
  opacity: 0.9;
}

.error_page {
  min-height: 70vh;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 1.9rem 19px;
  text-align: center;
}

/* Top area */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Links */
.footer-links {
  display: flex;
  gap: 15px;
}

.footer a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 1;
}

.footer-divider {
  border: none;
  height: 1px;
  margin: 1.5rem auto;
  width: 60%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--link-color),
    transparent
  );
  opacity: 0.5;
}

.footer-bottom {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
}

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

.navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky;
  top: 0;
  z-index: 1020;
}

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

.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: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  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;
  color: var(--hero-gradient1) !important;
  border-bottom: 3px solid var(--hero-gradient2);
}
.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(--hero-gradient1);
}
.contact-container input:focus {
  border-bottom: 2px solid var(--hero-gradient1);
}
.contact-container p:before {
  content: attr(type);
  display: block;
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--hero-gradient1);
}
.contact-container button {
  float: right;
  padding: 8px 12px;
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  border: 2px solid var(--hero-gradient1);
  background: 0;
  color: var(--hero-gradient1);
  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(--hero-gradient1);
  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: 30px auto;
  padding: 0 15px;
  position: relative;
}

.heading h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #111;
  margin-bottom: 20px;
  position: relative;
}

/* Stylish underline accent */
.heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #d4a373, #e9c46a);
  border-radius: 4px;
}

/* Subtle vertical accent line */
.heading::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 10px;
  width: 3px;
  height: 80%;
  background: linear-gradient(to bottom, #d4a373, transparent);
  border-radius: 3px;
  opacity: 0.6;
}

.heading p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 16px;
  font-weight: 400;
}

/* First paragraph highlight (editorial feel) */
.heading p:first-of-type {
  font-size: 1.15rem;
  color: #222;
}

/* Optional: drop cap for first letter */
.heading p:first-of-type::first-letter {
  font-size: 2.5rem;
  font-weight: 600;
  float: left;
  line-height: 1;
  margin-right: 8px;
  color: #d4a373;
}
.cust-card {
  padding: 25px 19px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  position: relative;
  margin-bottom: 7px;
}

/* subtle glow on hover */
.cust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

/* soft gradient accent line on top */
.cust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #e9c46a);
}

/* heading style */
.cust-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
  letter-spacing: -0.3px;
}

/* paragraph style */
.cust-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.cust-card:hover::after {
  opacity: 1;
}
.title {
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin-bottom: 11px;
  letter-spacing: -0.5px;
  position: relative;
  padding-left: 14px;
}

/* vertical accent line (clean + modern) */
.title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background: linear-gradient(to bottom, #d4a373, #e9c46a);
  border-radius: 3px;
}

/* subtle underline accent */
.title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, #d4a373, #e9c46a);
  border-radius: 3px;
}
.modern-header {
  margin: 30px auto;
  text-align: center;
  background: none;
}

.modern-header h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  position: relative;
}

.modern-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(to right, #d6c3a3, #b89b6a);
  border-radius: 2px;
}

.modern-header p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #444;
}

.modern-header p:last-child {
  margin-bottom: 0;
}

.modern-header strong {
  font-weight: 600;
  color: #111;
}
.sidebar-links {
  width: 279px;
  padding: 20px;
  border-radius: 16px;
  background: #faf8f5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  font-family: inherit;
}

.sidebar-links h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
}

.sidebar-links h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 8px;
  background: linear-gradient(to right, #d6c3a3, #b89b6a);
  border-radius: 2px;
}

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

.sidebar-page-list li {
  margin-bottom: 10px;
}

.sidebar-page-list li:last-child {
  margin-bottom: 0;
}

.sidebar-page-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  background: #ffffff;
  transition: all 0.25s ease;
}

.sidebar-page-list a:hover {
  background: #f1ece6;
  color: #000;
  transform: translateX(4px);
}
.box {
  padding: 26px 21px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.35s ease;
  height: 100%;
}

/* subtle hover lift */
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

/* soft top accent */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4a373, #e9c46a);
  border-radius: 3px;
}

/* heading */
.box h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

/* paragraph text */
.box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
}

/* make first paragraph slightly stronger */
.box p:first-of-type {
  color: #222;
}

/* subtle side accent line (extra style) */
.box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 40%;
  background: linear-gradient(to top, #d4a373, transparent);
  border-radius: 3px;
  opacity: 0.6;
}