:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #000000;
  --link-color: #ba9117;
  --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;
}

.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-links a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

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

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

.hero-section {
  padding: 75px 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;
  box-shadow: 0 6.5px 25px -1px #484646;
}

.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;
}
.heading {
  margin-bottom: 25px;
}

.heading h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #111827; /* dark modern text */
}

.heading p {
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563; /* soft gray */
  margin: 0 auto 18px;
}

/* Optional: subtle highlight line under title */
.heading h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #886a15;
  margin: 14px auto 0;
  border-radius: 10px;
}
.box {
  background: #ffffff;
  padding: 35px 28px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: #886a15;
}

.box h3 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  line-height: 1.3;
}

.box p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 14px;
}

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

.title h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
  border-left: 5px solid #886a15;
}

.title p {
  font-size: 17px;
  line-height: 1.85;
  color: #4b5563;
  margin-bottom: 16px;
}
.rounded {
  border-radius: 17px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cust-bg {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  padding: 30px 20px;
  border-radius: 22px;
  margin: 30px auto;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Main heading */
.cust-bg h2 {
  font-weight: 800;
  color: #111827;
  margin-bottom: 11px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 14px;
}

.cust-bg h2::after {
  content: "";
  width: 90px;
  height: 4px;
  background: #7b6113;
  display: block;
  margin-top: 12px;
  border-radius: 10px;
}

/* Sub headings */
.cust-bg h3 {
  font-weight: 700;
  color: #0f172a;
  margin-top: 15px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
  border-left: 4px solid rgba(123, 97, 19, 0.6);
}

/* Paragraph text */
.cust-bg p {
  font-size: 17px;
  line-height: 1.85;
  color: #4b5563;
  margin-bottom: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cust-bg {
    padding: 30px 16px;
  }
}
.footer {
  background: #0b1220; /* deep navy */
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 20px 30px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-top img {
  max-width: 220px;
  height: auto;
  filter: brightness(0) invert(1); /* makes logo white if it's dark */
  opacity: 0.95;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-links p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0 !important;
}

.footer-links p span {
  color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 28px 0 18px;
}

.footer-bottom {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  line-height: 1.7;
}

.footer-bottom a {
  color: #22c55e; /* modern green accent */
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer {
    padding: 45px 16px 25px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-bottom {
    text-align: left;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 45px 16px 25px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }
}
