/********** Template CSS **********/
:root {
  --primary: #e34242;
  --secondary: #a40000;
  --light: #f0f6ff;
  --dark: #262b47;
  --gold: #ff4747;

  --lightblue: #6ec1e4;
  --darkblue: #1a5d9a;
}

.blurred-background {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.banner-inline-link {
  color: #d2d5ff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.banner-inline-link:hover,
.banner-inline-link:focus {
  color: #ebebff;
  opacity: 0.92;
}

.post-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 9/16 * 100% */
  overflow: hidden;
}

figure {
  margin: 20px 0; /* Adjust as needed */
}

/* bottom mini toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* Toast container for middle toast 

to use add this near the end of the body 

<div id="toast-container">
  <div class="toast-panel">
    <div id="toast-icon" class="toast-icon"></div>
    <div class="toast-copy">
      <div id="toast-title" class="toast-title"></div>
      <div id="toast-message" class="toast-message"></div>
    </div>
  </div>
  <button class="toast-close-btn" onclick="hideToast()">OK</button>
</div>

*/

/* For hidden H1 titles on pages that it doesn't fit, but to keep up the SEO */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Toast container */
#toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle at top left,
      rgba(227, 66, 66, 0.1),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(252, 248, 248, 0.98) 100%
    );
  padding: 28px 28px 24px;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none; /* Hidden by default */
  width: min(92vw, 420px);
  text-align: left;
  font-family: "Jost", Arial, sans-serif;
  color: #172033;
}

.toast-panel {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

/* Toast icon */
.toast-icon {
  position: relative;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-size: 30px;
  color: #9a3c3c;
  background: linear-gradient(
    135deg,
    rgba(255, 242, 242, 0.95),
    rgba(255, 233, 233, 0.8)
  );
  box-shadow:
    inset 0 0 0 1px rgba(227, 66, 66, 0.08),
    0 12px 24px rgba(227, 66, 66, 0.12);
}

.toast-icon::before,
.toast-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.toast-icon::before {
  width: 16px;
  height: 16px;
  top: 10px;
  right: 10px;
  background: rgba(227, 66, 66, 0.12);
}

.toast-icon::after {
  width: 10px;
  height: 10px;
  bottom: 12px;
  left: 12px;
  background: rgba(82, 70, 86, 0.12);
}

.toast-copy {
  min-width: 0;
  flex: 1;
}

.toast-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

/* Toast message */
.toast-message {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #5b6470;
}

/* Close button */
.toast-close-btn {
  width: 100%;
  background: linear-gradient(135deg, #524656 0%, #3d3340 100%);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(61, 51, 64, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.toast-close-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(61, 51, 64, 0.26);
}

.toast-close-btn:active {
  transform: translateY(0);
}

/* Success color */
.toast-success {
  color: #1f8a4d;
  background: linear-gradient(
    135deg,
    rgba(236, 252, 242, 0.98),
    rgba(220, 252, 231, 0.92)
  );
  box-shadow:
    inset 0 0 0 1px rgba(31, 138, 77, 0.12),
    0 12px 24px rgba(31, 138, 77, 0.12);
}

/* Error color */
.toast-error {
  color: #b94646;
  background: linear-gradient(
    135deg,
    rgba(255, 244, 244, 0.98),
    rgba(254, 226, 226, 0.9)
  );
  box-shadow:
    inset 0 0 0 1px rgba(185, 70, 70, 0.12),
    0 12px 24px rgba(185, 70, 70, 0.12);
}

/* Info color */
.toast-info {
  color: #366f91;
  background: linear-gradient(
    135deg,
    rgba(239, 248, 255, 0.98),
    rgba(219, 234, 254, 0.9)
  );
  box-shadow:
    inset 0 0 0 1px rgba(54, 111, 145, 0.12),
    0 12px 24px rgba(54, 111, 145, 0.12);
}

@media (max-width: 575.98px) {
  #toast-container {
    padding: 22px 20px 18px;
    border-radius: 22px;
  }

  .toast-panel {
    gap: 14px;
    margin-bottom: 18px;
  }

  .toast-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 24px;
  }

  .toast-title {
    font-size: 1.08rem;
  }

  .toast-message {
    font-size: 0.94rem;
  }
}

.table-scrollable {
  height: 500px; /* Adjust this value according to your desired height */
  overflow-y: auto; /* Enable vertical scrolling */
  display: block; /* Make the container block to fit content */
  border: 1px solid #dee2e6; /* Optional: Give it a border similar to Bootstrap's table */
}

.table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  position: sticky;
  top: 0;
  background-color: var(
    --secondary
  ) !important; /* set the background to the header color */
  z-index: 10; /* Ensure header is above the table rows */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.login-container {
  max-width: 400px;
  margin: 0 auto; /* center the form on the page */
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.login-container button {
  display: block;
  width: 200px;
  margin: 0 auto;
  margin-top: 10px;
}

.post-img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.post-img-list {
  display: block;
  margin: auto;
  max-width: 150px;
  border-radius: 10px; /* Rounded corners */
}

.image-caption {
  text-align: center;
  font-size: smaller;
  margin-top: 10px;
}

.post-container h1 {
  margin-bottom: 1rem;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.loader {
  width: 60px;
  aspect-ratio: 0.5;
  display: grid;
}

.loader::before {
  content: "";
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: auto auto 0;
  background: #cf4647;
  animation: loader-bounce 0.5s cubic-bezier(0, 800, 1, 800) infinite;
}

.loader::after {
  content: "";
  width: 100%;
  aspect-ratio: 1 / cos(30deg);
  margin: 0 auto auto;
  clip-path: polygon(50% -50%, 100% 50%, 50% 150%, 0 50%);
  background: #524656;
  animation: loader-tilt 0.5s linear infinite;
}

.loader-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  z-index: 99999;
}

.loader-overlay.is-visible {
  display: grid;
}

@keyframes loader-bounce {
  0%,
  2% {
    translate: 0 0%;
  }

  98%,
  100% {
    translate: 0 -0.2%;
  }
}

@keyframes loader-tilt {
  0%,
  5% {
    rotate: 0deg;
  }

  95%,
  100% {
    rotate: -60deg;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.5s;
}

a:hover {
  color: var(--secondary);
}

/*** Heading ***/
h1,
h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}

/*** Gradient Text & BG ***/

.bg-primary {
  background-color: var(--secondary) !important;
}

.text-primary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

.bg-secondary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}

p,
ul,
ol,
li {
  color: rgb(49, 49, 49);
}

.post-list a {
  color: var(--primary); /* or whatever your theme's color is for titles */
  text-decoration: none;
}

.post-list a:hover {
  color: var(--secondary); /* color on hover, you can adjust as needed */
}

.post-list li {
  padding: 10px;
}

.post-list li:hover {
  background-color: #f5f5f5; /* Light grey background color, you can choose any color */
  transition: background-color 0.3s ease; /* Smooth transition for color change */
  padding: 10px;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient,
.btn.btn-primary-text-only,
.btn.btn-purchase-gradient {
  position: relative;
  overflow: hidden;
  border: none;
  color: #ffffff;
  z-index: 1;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after,
.btn.btn-primary-text-only,
.btn.btn-purchase-gradient::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: -1;
  opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}

.btn.btn-purchase-gradient {
  background: linear-gradient(
    to bottom right,
    var(--lightblue),
    var(--darkblue)
  );
}

.btn.btn-purchase-gradient::after {
  background: linear-gradient(
    to bottom right,
    var(--darkblue),
    var(--lightblue)
  );
}

.btn.btn-primary-text-only::after {
  background: none;
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after,
.btn.btn-purchase-gradient:hover::after {
  opacity: 1;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/* Reusable button system for app/tooling UI */
.btn.ot-btn {
  border-radius: 12px;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.btn.ot-btn:hover,
.btn.ot-btn:focus-visible {
  transform: translateY(-1px);
}

.btn.ot-btn.ot-btn-sm {
  border-radius: 10px;
}

.btn.ot-btn.ot-btn-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.btn.ot-btn.ot-btn-primary:hover,
.btn.ot-btn.ot-btn-primary:focus-visible {
  color: #fff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.btn.ot-btn.ot-btn-success {
  border-color: transparent;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.22);
}

.btn.ot-btn.ot-btn-success:hover,
.btn.ot-btn.ot-btn-success:focus-visible {
  color: #fff;
  box-shadow: 0 6px 14px rgba(22, 163, 74, 0.28);
}

.btn.ot-btn.ot-btn-secondary {
  border-color: rgba(100, 116, 139, 0.22);
  background: #f1f5f9;
  color: #334155;
}

.btn.ot-btn.ot-btn-secondary:hover,
.btn.ot-btn.ot-btn-secondary:focus-visible {
  border-color: rgba(100, 116, 139, 0.35);
  background: #e2e8f0;
  color: #1e293b;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.btn.ot-btn.ot-btn-outline-primary {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.btn.ot-btn.ot-btn-outline-primary:hover,
.btn.ot-btn.ot-btn-outline-primary:focus-visible {
  border-color: #93c5fd;
  background: #dbeafe;
  color: #1e40af;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.btn.ot-btn.ot-btn-outline-secondary {
  border-color: rgba(100, 116, 139, 0.3);
  background: #fff;
  color: #334155;
}

.btn.ot-btn.ot-btn-outline-secondary:hover,
.btn.ot-btn.ot-btn-outline-secondary:focus-visible {
  border-color: rgba(100, 116, 139, 0.45);
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  border: none;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 25px;
  padding: 45px 0;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--light) !important;
  outline: none;
  transition: 0.5s;
  text-shadow:
    0 0 5px var(--dark),
    0 0 2px var(--dark),
    0 0 2px var(--dark),
    0 0 2px var(--dark);
}

.account-header-button {
  border: none;
  background: none;
  position: relative;
  margin-right: 25px;
  padding: 10px 0;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--light) !important;
  outline: none;
  transition: 0.5s;
  text-shadow:
    0 0 5px var(--dark),
    0 0 2px var(--dark),
    0 0 2px var(--dark),
    0 0 2px var(--dark);
}

.account-header-button:hover {
  text-shadow:
    0 0 10px var(--dark),
    0 0 4px var(--dark),
    0 0 4px var(--dark),
    0 0 4px var(--dark);
}

.nav-link-not-main {
  color: #0fbb0f !important;
}

.navbar-light .navbar-nav .nav-link::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid;
  border-color: var(--light) transparent transparent transparent;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
  text-shadow: none;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
  top: 0;
}

.navbar-light .navbar-brand h1 {
  color: #ffffff;
}

.navbar-light .navbar-brand img {
  max-height: 60px;
  max-width: 250px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: fixed;
    width: 100%;
    z-index: 999;
    background: #ffffff;
  }

  .navbar-light .navbar-collapse .navbar-light-not-home {
    z-index: 999;
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark) !important;
    text-shadow: none;
  }

  .navbar-light .navbar-nav .nav-link::before {
    display: none;
  }

  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
  }

  .navbar-light .navbar-brand h1 {
    background: linear-gradient(
      to bottom right,
      var(--primary),
      var(--secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
  }

  .homepage-nav {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: #ffffff;
  }

  .top-padding-account-header {
    padding-top: 150px;
  }

  @media screen and (max-width: 992px) {
    .top-padding-account-header {
      padding-top: 0px;
    }
  }

  .sticky-top.navbar-light .navbar-nav .nav-link::before {
    border-top-color: var(--primary);
  }

  .sticky-top.navbar-light .navbar-brand h1 {
    background: linear-gradient(
      to bottom right,
      var(--primary),
      var(--secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/*** Hero Header ***/
.hero-header {
  margin-bottom: 6rem;
  padding: 12rem 0 0 0;
  background:
    url(../img/bg-circle.png),
    url(../img/bg-triangle.png),
    url(../img/bg-bottom.png),
    /* linear-gradient(to bottom right, var(--primary), var(--secondary)); */
    linear-gradient(to bottom right, #ffffff, #f1f1f1);
  background-position:
    left 0px top 0px,
    right 0px top 50%,
    center bottom;
  background-repeat: no-repeat;
}

.hero-header-red {
  margin-bottom: 6rem;
  padding: 12rem 0 0 0;
  background:
    url(../img/bg-circle.png), url(../img/bg-triangle.png),
    url(../img/bg-bottom.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
  /* linear-gradient(to bottom right, #ffffff, #f1f1f1); */
  background-position:
    left 0px top 0px,
    right 0px top 50%,
    center bottom;
  background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
  .hero-header {
    padding: 0rem 0 9rem 0;
  }

  .hero-header-red {
    padding: 3rem 0 9rem 0;
  }
}

.overlay {
  background: radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.447));
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media (max-width: 991.98px) {
  .overlay {
    background: radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
}

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .custom-video,
  .news-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 76px;
  }
}

.heroText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

.custom-video {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.custom-video-side {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 991.98px) {
  .custom-video,
  .custom-video-side {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .videoWrapper {
    position: relative;
    margin-bottom: -10px;
  }
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image:
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url("../img/header-wheat.jpg");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

.hero-image-business {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url("../img/header-business.jpg");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/*** Feature ***/
.feature-item {
  transition: 0.5s;
}

.feature-item:hover {
  margin-top: -5px;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.315); /* Shadow effect */
}

/*** Pricing ***/
.pricing .nav {
  padding: 2px;
}

.pricing .nav-link {
  padding: 12px 30px;
  font-weight: 500;
  color: var(--dark);
  background: #ffffff;
}

.pricing .nav-item:first-child .nav-link {
  border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
  border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
  color: #ffffff;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

/*** Screenshot ***/
.screenshot-carousel {
  position: relative;
  width: 253px;
  height: 500px;
  padding: 15px;
  margin-right: 30px;
}

.screenshot-carousel::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../img/screenshot-frame.png) center center no-repeat;
  background-size: 253px 500px;
  z-index: 1;
}

.screenshot-carousel .owl-item img {
  position: relative;
  width: 223px;
  height: 470px;
}

.screenshot-carousel .owl-dots {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screenshot-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 5px 0;
  width: 15px;
  height: 15px;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  border-radius: 15px;
  transition: 0.5s;
}

.screenshot-carousel .owl-dot::after {
  position: absolute;
  content: "";
  width: 5px;
  height: 5px;
  top: 5px;
  left: 5px;
  background: #ffffff;
  border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
  box-shadow: 0 0 10px var(--dark);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: linear-gradient(to bottom right, #e6e6e6, #e9e9e9);
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
  color: #000000 !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  border-radius: 60px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}

/*** Footer ***/
.footer {
  margin-top: 6rem;
  padding-top: 9rem;
  background:
    url(../img/bg-circle.png), url(../img/bg-triangle.png),
    url(../img/bg-top.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
  background-position:
    left 0px bottom 0px,
    right 0px top 50%,
    center top;
  background-repeat: no-repeat;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  text-shadow:
    0 0 10px var(--gold),
    0 0 10px var(--gold),
    0 0 10px var(--gold),
    0 0 10px var(--gold);
}

.footer .copyright {
  padding: 10px;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-gallery a {
  display: block;
  width: 150px; /* Set thumbnail width */
  height: 150px; /* Set thumbnail height (keeps it square) */
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the square */
  transition: transform 0.2s ease-in-out;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  margin: 20px auto;
}

figure img {
  width: 100%; /* Ensures the image scales to fit */
  max-width: 800px; /* Optional: Limits max size */
  height: auto; /* Maintains aspect ratio */
  object-fit: cover; /* Ensures images are cropped properly if needed */
  border-radius: 5px; /* Optional: Adds slight rounding for aesthetics */
}

.other-images {
  display: flex;
  gap: 10px; /* Space between images */
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.other-image-link {
  display: flex;
  justify-content: center;
}

.other-image-link img {
  width: 120px; /* Set fixed width */
  height: 120px; /* Force square shape */
  object-fit: cover; /* Ensures the image fills the square without stretching */
  border-radius: 8px; /* Optional: Slightly rounded corners */
  transition: transform 0.2s ease-in-out; /* Smooth hover effect */
}

/* 🔹 Responsive: Stack images vertically on small screens */
@media (max-width: 600px) {
  .other-images {
    flex-direction: column;
    align-items: center;
  }

  .other-image-link img {
    width: 150px; /* Slightly smaller for mobile */
    height: 150px;
  }
}

.code-block {
  border-radius: 8px;
  padding: 10px;
  margin: 15px 0;
  font-family: monospace;
  overflow-x: auto;
}

.code-header {
  background: #e2e6ea;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  font-size: 14px;
}

pre {
  background: #fff;
  padding: 10px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  overflow-x: auto;
  white-space: pre-wrap;
  box-shadow: #0000001a 0px 1px 3px;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: #333;
  text-align: left;
  position: relative;
  padding-left: 20px;
}

.testimonial-quote::before {
  content: "“";
  font-size: 2rem;
  color: #999;
  position: absolute;
  left: 0;
  top: -5px;
}

.testimonial-quote::after {
  content: "”";
  font-size: 2rem;
  color: #999;
  position: absolute;
  right: -10px;
  bottom: -5px;
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: #666;
}
