:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #737680;
  --heading-color: #e35d5d;
  --hero-gradient1: #737680;
  --hero-gradient2: #753333;
  --footer-bg-color: #737680;
  --link-color: #e35d5d;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}

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

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

.hero-section {
  padding: 115px 0 25px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}
.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

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

@media screen and (min-width: 1199.98px) {
  .dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

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

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff;
}

.dropdown-menu {
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (min-width: 1199.98px) {
  .custom-dropdown {
    max-width: 200px;
  }
}

@media (max-width: 1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6;
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none;
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: absolute !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 {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}

.heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.2rem) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.heading h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--hero-gradient1), var(--link-color));
  border-radius: 2px;
}

.heading p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto 1rem auto;
  color: var(--body-text-color);
  font-weight: 400;
}

@media (max-width: 768px) {
  .heading h2::after {
    width: 60px;
    height: 2px;
    bottom: -6px;
  }

  .heading p {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 21px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.rounded {
  border-radius: 24px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13) !important;
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
.cust-bg {
  background: var(--hero-gradient1);
  color: white;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 30px;
}
.list-pos {
  list-style-position: inside;
}
.img_el {
  padding: 50px 0;
  position: relative;
  margin-top: 17px;
}
.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 10%);
  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/use-these-insights.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;
}
.blog {
  padding: 2rem 0;
}

.blog h2 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  font-weight: 700;
  color: var(--heading-color) !important;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.blog h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--hero-gradient1), var(--link-color));
  border-radius: 2px;
}

.blog-post {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(227, 93, 93, 0.1);
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border-color: var(--link-color);
}

.blog-post .text {
  padding: 0;
}

.blog-post img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover img {
  transform: scale(1.05);
}

.blog-post .text > *:not(img) {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.blog-post h3 {
  font-size: 1.4rem !important;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

.blog-post h3 a {
  color: var(--heading-color) !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.blog-post h3 a:hover {
  color: var(--link-color) !important;
}

.blog-post p {
  color: var(--body-text-color) !important;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem !important;
}

.blog-post > .text > a {
  display: inline-block;
  color: var(--link-color) !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.blog-post > .text > a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.blog-post > .text > a:hover::after {
  transform: translateX(4px);
}

.blog-post > .text > a:hover {
  color: var(--heading-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog h2::after {
    width: 80px;
    height: 3px;
    bottom: -10px;
  }

  .blog-post img {
    height: 200px;
  }

  .blog-post h3 {
    font-size: 1.25rem !important;
  }
}
.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(227, 93, 93, 0.1);
  overflow: hidden;
}

.sidebar-page-list h2 {
  background: linear-gradient(135deg, var(--hero-gradient1), var(--link-color));
  color: white !important;
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1.3rem !important;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.sidebar-page-list h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.sidebar-page-list li {
  list-style: none;
  border-bottom: 1px solid rgba(227, 93, 93, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.sidebar-page-list ul {
 padding-left: 0 !important;
}

.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, var(--link-color), var(--hero-gradient1));
  transition: width 0.3s ease;
  z-index: 1;
}

.sidebar-page-list li:hover::before {
  width: 4px;
}

.sidebar-page-list li a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--body-text-color);
  font-size: 0.95rem;
  z-index: 2;
}

.sidebar-page-list li:hover {
  background: rgba(227, 93, 93, 0.03);
  transform: translateX(2px);
}

.sidebar-page-list li:hover a {
  color: var(--link-color) !important;
  padding-left: 2rem;
}

.sidebar-page-list li a::after {
  content: "→";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--link-color);
}

.sidebar-page-list li:hover a::after {
  opacity: 1;
  right: 1rem;
}

/* Active/current page styling */
.sidebar-page-list li.active {
  background: rgba(227, 93, 93, 0.1);
}

.sidebar-page-list li.active::before {
  width: 4px;
}

.sidebar-page-list li.active a {
  color: var(--link-color) !important;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  .sidebar-page-list {
    width: 100%;
    margin-bottom: 2rem;
  }
}
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-top: 3px solid var(--link-color);
  color: #fff;
  margin-top: auto;
  padding: 2rem 0 !important;
}

.footer .container {
  position: relative;
}

.footer p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0 !important;
}

.footer a {
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem;
}

.footer a:hover {
  color: white !important;
}

.footer a[href="/contact"] {
  background: var(--link-color);
  color: white !important;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  margin-right: 1rem;
  box-shadow: 0 2px 8px rgba(227, 93, 93, 0.3);
  border: 1px solid transparent;
  width: 120px;
  text-align: center;
  display: inline-block;
}

.footer a[href="/contact"]:hover {
  background: #c0392b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(227, 93, 93, 0.4);
}

/* Privacy Policy Link */
.footer a[href="/privacy"]:hover {
  text-decoration: underline !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .footer .col-md-6:last-child {
    margin-top: 1.5rem;
  }
  
  .footer a[href="/contact"] {
    margin-right: 0;
    margin-bottom: 0.5rem;
    width: auto;
    min-width: 120px;
  }
}