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

.error_page {
  min-height: 70vh;
}

.footer {
  background: var(--footer-bg-color);
  color: var(--footer-text-color);
  border-top: 1px solid var(--link-color);
}
.footer a {
  text-decoration: none;
  color: var(--footer-text-color) !important;
}
.footer-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  position: relative;
  color: var(--footer-text-color) !important;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links a {
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  padding-left: 6px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 0;
  outline: 0;
  background: color-mix(in srgb, var(--footer-bg-color) 80%, white 20%);
  color: var(--footer-text-color);
}
.newsletter-form input::placeholder {
  color: var(--footer-text-color);
}
.newsletter-form button {
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  background: var(--link-color);
  color: var(--footer-text-color);
  transition: all 0.3s ease;
}
.newsletter-form button:hover {
  background: color-mix(in srgb, var(--link-color) 80%, white 20%);
}
.footer-divider {
  margin: 1.5rem 0;
  border-color: var(--link-color);
}
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 17px;
}
.social-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--footer-text-color);
  background-color: color-mix(in srgb, var(--footer-bg-color), white 20%);
  font-size: 1.2rem;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.social-icons span:hover {
  background: linear-gradient(
    135deg,
    var(--link-color),
    var(--footer-text-color)
  );
  transform: translateY(-2px);
}
.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: 135px 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: 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-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 21px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}
.contact-form h2 {
  font-weight: 750;
  letter-spacing: -0.02em;
}
.contact-form .intro {
  margin-bottom: 1.75rem;
  font-size: 1rem;
  color: #475569;
}
.field {
  margin-bottom: 1.25rem;
}
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #f8fafc;
  font-size: 0.95rem;
  color: #0f172a;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}
.field input:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--link-color);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}
.contact-form button {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 14px;
  background: var(--link-color);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--link-color, rgba(204, 145, 63, 0.25));
}
.contact-form .note {
  display: block;
  margin-top: 1rem;
  font-size: 0.82rem;
  text-align: center;
  color: #64748b;
}

.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;
}
/* Sidebar container (optional wrapper if you have one) */
.sidebar {
  width: 279px;
  font-family: var(--font-family);
}

/* Shared box styling */
.sidebar-search-box,
.sidebar-links {
  background: var(--header-bg-color);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 279px;
}

/* Headings */
.sidebar-search-box h3,
.sidebar-links h2 {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--heading-color);
  font-weight: 600;
}

/* Search form */
.sidebar-search-box form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Input */
.sidebar-search-box input[type="search"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  background: var(--body-bg-color);
  color: var(--body-text-color);
  transition: all 0.2s ease;
}

.sidebar-search-box input[type="search"]::placeholder {
  color: #9ca3af;
}

/* Focus state */
.sidebar-search-box input[type="search"]:focus {
  outline: none;
  border-color: var(--link-color);
  box-shadow: 0 0 0 2px rgba(162, 130, 113, 0.15);
}

/* Button */
.sidebar-search-box button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  background: var(--link-color);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Enable state (when you remove disabled attr) */
.sidebar-search-box button:not(:disabled) {
  cursor: pointer;
  opacity: 1;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.sidebar-search-box button:not(:disabled):hover {
  background: #8c6a5c;
}

.sidebar-search-box button:not(:disabled):active {
  transform: scale(0.97);
}

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

/* List items */
.sidebar-page-list li {
  margin-bottom: 6px;
}

/* Links */
.sidebar-page-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--nav-link-color);
  font-size: 14px;
  transition: all 0.2s ease;
}

/* Hover effect */
.sidebar-page-list a:hover {
  background: var(--body-bg-color);
  color: var(--link-color);
  transform: translateX(3px);
}

/* Active (optional if you add class="active") */
.sidebar-page-list a.active {
  background: var(--link-color);
  color: #fff;
}

.header {
  margin-bottom: 17px;
}

/* Title */
.header h2 {
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* Add subtle divider under title */
.header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 16px auto 0;
  background: var(--link-color);
  opacity: 0.6;
}

/* Paragraphs */
.header p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-text-color);
  margin: 0 auto 18px;
  opacity: 0.85;
}

/* Lead paragraph (stronger intro) */
.header p:first-of-type {
  font-size: 17px;
  line-height: 1.75;
  opacity: 1;
}

/* Improve rhythm */
.header p + p {
  margin-top: 14px;
}

.title {
  text-align: left;
  font-family: var(--font-family);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--heading-color);
}

/* Subtle accent line (aligned left now) */
.title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 14px;
  background: var(--link-color);
  opacity: 0.7;
}
.box {
  background: var(--header-bg-color);
  padding: 21px;
  border-radius: 14px;
  border: 1px solid #ececec;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  height: 100%;
}

/* Subtle hover lift */
.box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.06),
    0 4px 8px rgba(0, 0, 0, 0.08);
}

/* Heading */
.box h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Paragraphs */
.box p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body-text-color);
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Last paragraph spacing fix */
.box p:last-child {
  margin-bottom: 0;
}

/* Optional accent (very subtle left border) */
.box {
  border-left: 3px solid transparent;
}

.box:hover {
  border-left: 3px solid var(--link-color);
}

/* Section with richer background */
.cust-bg {
  position: relative;
  padding: 21px;
  border-radius: 18px;
  margin: 30px auto;

  /* layered soft background */
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9),
      rgba(248, 250, 252, 0.95)
    ),
    var(--body-bg-color);

  border: 1px solid #ececec;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.04),
    0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Headings */
.cust-bg h2 {
  line-height: 1.3;
  margin: 32px 0 14px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Paragraphs */
.cust-bg p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-text-color);
  margin-bottom: 18px;
  opacity: 0.9;
}

/* Lists */
.cust-bg ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

/* List items */
.cust-bg li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body-text-color);
}

/* Custom bullet */
.cust-bg li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--link-color);
}
.img_el {
  padding: 50px 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/photography.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 ul li {
  color: #ffffff;
}
