


:root {
  --body-bg-color: #0b1120;
  --body-bg-gradient1: #0b1120;
  --body-bg-gradient2: #e2e8f0;
  --body-text-color: #cbd5e1;
  --heading-color: #f8fafc;
  --hero-gradient1: #1e293b;
  --hero-gradient2: #020617;
  --footer-bg-color: #020617;
  --footer-bg-gradient1: #020617;
  --footer-bg-gradient2: #1f2937;
  --link-color: #38bdf8;
  --link-text-color: #1a1a1a;
  --footer-link-color: #38bdf8;
  --box-color: #1e293b;
  --box-text-color: #ffffff;
  --header-bg-color: #0f172a;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --nav-link-color: #e2e8f0;
  --footer-text-color: #94a3b8;
  --header-text-color: #ffffff;
}
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;
}


.content-area h2 {
  display: inline-block;
  border-bottom: 2px dashed var(--heading-color);
  padding-bottom: 4px;
}
  

.content-area section {
  margin: 15px 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}


.main-section-style-h3-image .h3-image-card {
  padding: 0.7rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--body-text-color) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--body-text-color) 10%, transparent);
  margin-bottom: 1.25rem;
}

.main-section-style-h3-image .h3-image-card:last-child {
  margin-bottom: 0;
}

.main-section-style-h3-image h3 {
  text-align: center;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.main-section-style-h3-image h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--link-color);
  margin: 0.4rem auto 0.75rem;
}

.main-section-style-h3-image img {
  display: block;
  margin: 0 auto 1.25rem;
  max-width: 700px;
  width: 100%;
  border-radius: 6px;
  float: none !important;
}


.main-section-style-callout {
  padding: 1.25rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--link-color) 35%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--link-color) 8%, var(--body-bg-color));
}


.main-section-style-dashed {
  padding: 1.5rem;
  border: 2px dashed color-mix(in srgb, var(--link-color) 55%, transparent);
  border-radius: 12px;
}


.main-section-style-accent-top {
  padding: 1.5rem;
  border-top: 4px solid var(--link-color);
  border-radius: 8px;
  background: color-mix(in srgb, var(--body-bg-color) 94%, var(--body-text-color));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}


.main-section-style-centered-line {
  text-align: center;
}

.main-section-style-centered-line h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--link-color);
  margin: 0.5rem auto 0;
}


.main-section-style-bordered {
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--body-text-color) 24%, transparent);
  border-left: 5px solid var(--link-color);
  border-radius: 8px;
  background: color-mix(in srgb, var(--body-bg-color) 94%, #ffffff);
}





  
.error_page {
  min-height: 70vh;
}


  
.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  padding: 1.9rem 19px;
  text-align: center;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer a {
  color: var(--footer-link-color, var(--link-color));
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

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

.hero-section {
  padding: 135px 0 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

  .hero-section.with-bg {
  background-image: url('/img/hero-bg.webp');
  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 .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
@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 .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: 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;
}
            

/* Hero edge shape: slant */
.hero-section.hero-shape-slant {
  position: relative;
  overflow: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 70px));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 70px));
}

/* Keeps the hero text clear of the cut instead of letting the shape eat it. */
.hero-section.hero-shape-slant > .container {
  padding-bottom: 70px;
}

@media (max-width: 768px) {
  .hero-section.hero-shape-slant {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 38px));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 38px));
  }

  .hero-section.hero-shape-slant > .container {
  padding-bottom: 38px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ==========================================
   LATEST POSTS - PREMIUM DARK GLASS DESIGN
   ========================================== */

.latest-posts {
    position: relative;
    background: #0b1020;
    padding: 80px 0;
    isolation: isolate;
}

/* Section heading */

.latest-posts h2 {
    color: #f8fafc;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

.latest-posts h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #38bdf8,
        #7dd3fc
    );
}

/* ==========================================
   PREMIUM GLASS CARDS
   ========================================== */

.latest-posts .card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;

    background: linear-gradient(
        155deg,
        rgba(38, 49, 70, 0.86) 0%,
        rgba(24, 32, 49, 0.78) 55%,
        rgba(18, 25, 41, 0.85) 100%
    );

    border: 1px solid rgba(160, 190, 220, 0.16);
    border-radius: 16px;

    backdrop-filter: blur(16px) saturate(125%);
    -webkit-backdrop-filter: blur(16px) saturate(125%);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Subtle top accent */

.latest-posts .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 2;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(56, 189, 248, 0.8),
        transparent
    );

    opacity: 0.6;
    transition: opacity 0.35s ease;
}

/* Card hover */

.latest-posts .card:hover {
    transform: translateY(-7px);
    border-color: rgba(56, 189, 248, 0.38);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.34),
        0 0 30px rgba(56, 189, 248, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.latest-posts .card:hover::before {
    opacity: 1;
}

/* ==========================================
   CARD IMAGES
   ========================================== */

.latest-posts .card > a:first-child {
    position: relative;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.latest-posts .card-img-top {
    display: block;
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 0;

    transition:
        transform 0.55s ease,
        filter 0.55s ease;
}

/* Image gradient overlay */

.latest-posts .card > a:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(11, 16, 32, 0.35) 100%
    );
}

.latest-posts .card:hover .card-img-top {
    transform: scale(1.055);
    filter: saturate(1.1);
}

/* ==========================================
   CARD CONTENT
   ========================================== */

.latest-posts .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 26px 27px;
}

/* Article titles */

.latest-posts .card-title {
    font-size: 1.23rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.latest-posts .card-title a {
    color: #f3f7fc;
    text-decoration: none;

    transition: color 0.25s ease;
}

.latest-posts .card-title a:hover {
    color: #7dd3fc;
}

/* Article excerpts */

.latest-posts .card-text {
    color: #c3cede;
    font-size: 0.955rem;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 25px;
}

/* ==========================================
   CONTINUE READING LINKS
   ========================================== */

.latest-posts .card-body > a:last-child {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;

    width: 100%;
    padding-top: 17px;
    margin-top: auto;

    border-top: 1px solid rgba(180, 205, 230, 0.12);

    color: #59c9ff;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.latest-posts .card-body > a:last-child:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
}

/* Keyboard accessibility */

.latest-posts a:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 4px;
    border-radius: 3px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 991.98px) {
    .latest-posts {
        padding: 65px 0;
    }

    .latest-posts .card-img-top {
        height: 210px;
    }

    .latest-posts .card-body {
        padding: 22px;
    }
}

@media (max-width: 575.98px) {
    .latest-posts {
        padding: 48px 0;
    }

    .latest-posts h2 {
        font-size: 1.8rem;
    }

    .latest-posts .card {
        border-radius: 13px;
    }

    .latest-posts .card-img-top {
        height: 215px;
    }

    .latest-posts .card-body {
        padding: 22px 20px 24px;
    }

    .latest-posts .card-title {
        font-size: 1.16rem;
    }

    .latest-posts .card-text {
        font-size: 0.94rem;
        line-height: 1.75;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .latest-posts .card,
    .latest-posts .card::before,
    .latest-posts .card-img-top,
    .latest-posts .card-title a,
    .latest-posts .card-body > a:last-child {
        transition: none;
    }

    .latest-posts .card:hover {
        transform: none;
    }

    .latest-posts .card:hover .card-img-top {
        transform: none;
    }
}



/* Related Pages */

.related-pages {
    margin-top: 45px;
    padding: 30px 35px;
    background: linear-gradient(
        145deg,
        rgba(35, 48, 69, 0.75),
        rgba(17, 25, 43, 0.65)
    );
    border: 1px solid rgba(148, 185, 220, 0.18);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.related-pages h2 {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(148, 185, 220, 0.18);
}

.related-pages ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-pages li {
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.related-pages li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #38bdf8;
    font-size: 1.2rem;
    font-weight: 700;
}

.related-pages a {
    color: #cbd5e1;
    font-size: 0.96rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.related-pages a:hover {
    color: #38bdf8;
}

.related-pages a:focus-visible {
    color: #38bdf8;
    outline: 2px solid #38bdf8;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Mobile */

@media (max-width: 767.98px) {
    .related-pages {
        padding: 24px 20px;
        margin-top: 30px;
    }

    .related-pages h2 {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .related-pages ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-pages a {
        font-size: 0.94rem;
    }
}
