:root {
  --body-bg-color: #000000;
  --body-text-color: #ebebeb;
  --heading-color: #ffffff;
  --hero-gradient1: #171717;
  --hero-gradient2: #8ab021;
  --footer-bg-color: #262626;
  --link-color: #d3e01f;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #141414;
}

body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family), -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  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;
}

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

.footer {
  background-color: var(--footer-bg-color);
  color: white;
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
  list-style: none !important;
}

.sidebar-page-list li {
  color: var(--heading-color);
  padding-left: 1rem;
}

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

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

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}

.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}
/* 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;
}

/* Dark techy blog section styles */
.blog-section {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.blog-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.tech-card:hover::before {
  left: 100%;
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 107, 0.2);
}

.tech-card .card-img-top {
  border-radius: 15px 15px 0 0;
  transition: transform 0.3s ease;
  filter: brightness(0.8);
}

.tech-card:hover .card-img-top {
  transform: scale(1.05);
  filter: brightness(1);
}

.tech-card .card-body {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 15px 15px;
  padding: 17px;
}

.tech-card .card-title {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.tech-card .card-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #603636, #423f11);
  transition: width 0.3s ease;
}

.tech-card:hover .card-title::after {
  width: 100%;
}

.tech-card .card-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

.tech-btn {
  background: linear-gradient(45deg, #603636, #423f11);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #423f11, #603636);
  transition: left 0.3s ease;
  z-index: -1;
}

.tech-btn:hover::before {
  left: 0;
}

.tech-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Glitch effect for section title */
.glitch-title {
  position: relative;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-title::before {
  animation: glitch-1 0.5s infinite;
  color: #ff6b6b;
  z-index: -1;
}

.glitch-title::after {
  animation: glitch-2 0.5s infinite;
  color: #4ecdc4;
  z-index: -2;
}

@keyframes glitch-1 {
  0%,
  14%,
  15%,
  49%,
  50%,
  99%,
  100% {
    transform: translate(0);
  }
  15%,
  49% {
    transform: translate(-2px, 2px);
  }
}

@keyframes glitch-2 {
  0%,
  20%,
  21%,
  62%,
  63%,
  99%,
  100% {
    transform: translate(0);
  }
  21%,
  62% {
    transform: translate(2px, -2px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-section {
    padding: 2rem 0;
  }

  .glitch-title {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .tech-card:hover {
    transform: translateY(-5px);
  }
}
.heading {
  margin-bottom: 15px;
}
.heading h2 {
  color: #ffffff;
  /* font-size: 2rem; */
  font-weight: 700;
  /* text-transform: uppercase; */
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  padding: 15px 15px;
  border: 2px solid transparent;
  background: linear-gradient(#000, #000) padding-box,
    linear-gradient(45deg, #8ab021, #d3e01f, #8ab021) border-box;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.heading h2::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #8ab021, #d3e01f, #8ab021);
  border-radius: 12px;
  z-index: -1;
  animation: border-glow 2s linear infinite;
}
.cust-bg {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px;
}
.comparison-section {
  background: linear-gradient(
    135deg,
    rgba(138, 176, 33, 0.05) 0%,
    rgba(211, 224, 31, 0.05) 100%
  );
  border-radius: 15px;
  margin: 2rem 0;
}

.comparison-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.comparison-box:hover {
  transform: translateY(-5px);
  border-color: rgba(138, 176, 33, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.similarities-box {
  border-left: 4px solid #8ab021;
}

.similarities-box::before {
  content: "🔗";
  position: absolute;
  top: -20px;
  left: 20px;
  background: #000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
}

.differences-box {
  border-left: 4px solid #d3e01f;
}

.differences-box::before {
  content: "⚖️";
  position: absolute;
  top: -20px;
  right: 20px;
  background: #000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 1.2rem;
}

.comparison-box h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.similarities-box h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #8ab021;
  border-radius: 1px;
}

.differences-box h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #d3e01f;
  border-radius: 1px;
}

.comparison-box p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

@media (max-width: 991.98px) {
  .comparison-box {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .similarities-box::before,
  .differences-box::before {
    left: 20px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .comparison-box {
    padding: 1.25rem;
  }

  .comparison-box h2 {
    font-size: 1.3rem;
  }
}
.box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}
.navbar-light .navbar-nav .nav-link.active {
  color: #d3e01f !important;
  font-weight: bold;
}
.quick-links-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  width: 279px;
}

.quick-links-section h2 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #8ab021;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.sidebar-page-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.sidebar-page-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #8ab021;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.sidebar-page-list li:hover::before {
  transform: translateX(3px);
}

.sidebar-page-list li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.3rem 0;
  border-radius: 4px;
  padding-left: 15px;
}

.sidebar-page-list li a:hover {
  color: #8ab021;
  padding-left: 0.5rem;
  background: rgba(138, 176, 33, 0.1);
}

/* Active link styling */
.sidebar-page-list li a.active {
  color: #d3e01f;
  background: rgba(211, 224, 31, 0.1);
  font-weight: 500;
}
