:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #08374e;
  --link-color: #05cad5;
  --header-bg-color: #08374e;
  --font-family: "Times New Roman", Times, serif;
  --nav-link-color: #ffffff;
  --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-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

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

.navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 135px 0 50px;
  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;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 77px 0;
  }
}
.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;
  }
}

.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");
}
.contact-container {
  margin: 40px auto;
  border-radius: 8px;
  color: black !important;
}
@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-container .form {
  width: 440px;
  height: 510px;
  background: #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 0 40px -10px #000;
  padding: 20px 30px;
  max-width: calc(100vw - 40px);
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  position: relative;
}
.contact-container h2 {
  margin: 10px 0;
  padding-bottom: 10px;
  width: 320px;
  color: var(--hero-gradient1) !important;
  border-bottom: 3px solid var(--hero-gradient2);
}
.contact-container input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  background: none;
  outline: none;
  resize: none;
  border: 0;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s;
  border-bottom: 2px solid var(--hero-gradient1);
}
.contact-container input:focus {
  border-bottom: 2px solid var(--hero-gradient1);
}
.contact-container p:before {
  content: attr(type);
  display: block;
  margin: 28px 0 0;
  font-size: 14px;
  color: var(--hero-gradient1);
}
.contact-container button {
  float: right;
  padding: 8px 12px;
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  border: 2px solid var(--hero-gradient1);
  background: 0;
  color: var(--hero-gradient1);
  cursor: pointer;
  transition: all 0.3s;
}
.contact-container button:hover {
  background: var(--hero-gradient2);
  color: #fff;
}
.contact-container .mail-container {
  content: "";
  position: absolute;
  bottom: -15px;
  right: -20px;
  background: var(--hero-gradient1);
  color: #fff;
  width: 320px;
  padding: 16px 4px 16px 0;
  border-radius: 6px;
  font-size: 13px;
  box-shadow: 10px 10px 40px -14px #000;
}
.contact-container .mail-container p:before {
  content: none;
}
.contact-container span {
  margin: 0 5px 0 15px;
}
.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;
}

.heading {
  position: relative;
  margin: 0 auto 1rem;
  text-align: center;
  animation: fadeUp 0.6s ease-out both;
}

.heading h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a3d91; /* blue accent */
  margin-bottom: 1.25rem;
  letter-spacing: -0.3px;
  position: relative;
}

/* Blue accent underline */
.heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: #0a3d91;
  border-radius: 2px;
}

.heading p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin: 0 auto;
}
.heading ul li {
  color: #555;
}

/* Subtle entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news {
  margin: 0 auto 1.5rem;
  padding: 2rem 21px;
  background: #fff;
  border-left: 4px solid #0a3d91; /* blue accent */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.6s ease-out both;
}

.news h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a3d91;
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}

.news p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.news ul {
  margin: 1.25rem 0 1.25rem 1.25rem;
  padding: 0;
}

.news li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  line-height: 1.6;
  color: #444;
}

/* Soft entry animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alpha {
  list-style-type: lower-alpha;
}
.title {
  font-size: 2rem;
  font-weight: 700;
  color: #0a3d91; /* blue accent */
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
  letter-spacing: -0.3px;
  position: relative;
}

/* Subtle editorial accent */
.title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background-color: #0a3d91;
  margin-top: 0.6rem;
  border-radius: 2px;
}
.cust-bg {
  margin: 1rem auto;
  padding: 1rem 21px;
  background: linear-gradient(135deg, #e3ecff 0%, #cfdcff 55%, #ffffff 100%);
  border-radius: 21px;
}

.cust-bg h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a3d91;
  margin-bottom: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.cust-bg p {
  font-size: 1.02rem;
  color: #222;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.cust-bg ol {
  margin: 1.75rem 0 1.75rem 1.5rem;
  padding: 0;
}

.cust-bg li {
  margin-bottom: 1rem;
  line-height: 1.65;
  color: #222;
}

.cust-bg li::marker {
  color: #0a3d91;
  font-weight: 600;
}
.modern-style {
  background-color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 3rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  line-height: 1.7;
  color: #2a2a2a;
}

/* Main heading */
.modern-style h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #0b5ed7; /* blue accent */
  margin-bottom: 1.25rem;
  position: relative;
}

.modern-style h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #0b5ed7;
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Intro paragraph */
.modern-style > p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Subheadings */
.modern-style h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f3c88;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 4px solid #0b5ed7;
}

/* Paragraphs */
.modern-style p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

/* Optional highlight box for examples */
.modern-style p em {
  font-style: normal;
  color: #0b5ed7;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .modern-style {
    padding: 2rem 1.5rem;
  }

  .modern-style h2 {
    font-size: 1.6rem;
  }

  .modern-style h3 {
    font-size: 1.1rem;
  }
}
.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
} /* Modern table styling */
.cust-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e8e8ef;
  border-radius: 14px;
  overflow: hidden; /* keeps rounded corners */
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
}

/* Header */
.cust-table th {
  text-align: left;
  font-weight: 650;
  font-size: 0.95rem;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8ef;
  position: sticky; /* optional sticky header */
  top: 0;
  z-index: 2;
}

/* Cells */
.cust-table td {
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #334155;
  border-bottom: 1px solid #f0f1f6;
  vertical-align: top;
}
.cust-table td.bold {
  font-weight: 700;
}

/* Zebra rows */
.cust-table tr:nth-child(even) td {
  background: #fafafa;
}

/* Hover */
.cust-table tbody tr:hover td {
  background: #f6faff;
}

/* Column widths (tweak as you like) */
.cust-table th:nth-child(1),
.cust-table td:nth-child(1) {
  width: 55%;
}
.cust-table th:nth-child(2),
.cust-table td:nth-child(2) {
  width: 20%;
}
.cust-table th:nth-child(3),
.cust-table td:nth-child(3) {
  width: 25%;
}

/* Make Status column look like an input area */
.cust-table td:nth-child(2) {
  color: #0f172a;
}
.cust-table td:nth-child(2):empty::before {
  content: "—";
  color: #94a3b8;
}

/* “Section” rows (like Venue Details., Preparation., etc.) */
.cust-table td[colspan],
.cust-table tr td:first-child:has(+ td:empty + td:empty) {
  /* fallback: if your browser supports :has(), section-like rows get emphasis */
}

.cust-table tr td:first-child {
  line-height: 1.3;
}

/* If you can add a class to section rows, use this: 
   <tr class="section"><td>Venue Details.</td><td></td><td></td></tr> */
.cust-table tr.section td {
  background: #0b1220;
  color: #e5e7eb;
  font-weight: 650;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.cust-table tr.section td:nth-child(2),
.cust-table tr.section td:nth-child(3) {
  color: rgba(229, 231, 235, 0.8);
}

/* Responsive: stack into "cards" on small screens */

/* Scroll container */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Show scrollbar only on small screens */
@media (max-width: 768px) {
  .table-wrapper {
    border-radius: 14px;
  }

  .cust-table {
    min-width: 720px; /* forces horizontal scroll */
  }
}

/* Optional: nicer scrollbar (WebKit browsers) */
.table-wrapper::-webkit-scrollbar {
  height: 10px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.blank {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 32px;
  margin: 24px 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  color: #334155;
  line-height: 1.65;
}

/* Headings */
.blank h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.blank h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin: 18px 0 8px;
}

/* Intro text */
.blank > p:first-of-type {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* Paragraphs */
.blank p {
  margin: 10px 0;
  font-size: 0.95rem;
}

/* Subject line highlight */
.blank h4:first-of-type {
  background: #f8fafc;
  padding: 12px 16px;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
}

/* Event details list look */
.blank h4 + p,
.blank h4 + p + p,
.blank h4 + p + p + p {
  padding-left: 16px;
  position: relative;
}

.blank h4 + p::before,
.blank h4 + p + p::before,
.blank h4 + p + p + p::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-weight: bold;
}

/* Signature spacing */
.blank p:last-child {
  margin-top: 18px;
  font-weight: 600;
  color: #0f172a;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .blank {
    padding: 20px 22px;
  }

  .blank h3 {
    font-size: 1.15rem;
  }
}
/* Blog card wrapper */
.box {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

/* Hover effect */
.box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

/* Image */
.box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content area */
.box .content {
  padding: 22px 24px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
}

/* Title */
.box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

/* Description */
.box p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Read more link */
.box .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.box .read-more::after {
  content: "→";
  transition: transform 0.25s ease;
}

.box .read-more:hover {
  color: #1d4ed8;
}

.box .read-more:hover::after {
  transform: translateX(4px);
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .box img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .box {
    border-radius: 14px;
  }

  .box .content {
    padding: 18px 19px;
  }
}
/* Sidebar card */
.links {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 19px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  width: 279px;
  margin-bottom: 15px;
}

/* Heading */
.links h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.links h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 2px;
}

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

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

/* Link */
.sidebar-page-list a {
  display: flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

/* Hover & focus */
.sidebar-page-list a:hover,
.sidebar-page-list a:focus {
  background: #f1f5f9;
  color: #1d4ed8;
  transform: translateX(4px);
}

/* Active link (add class="active" to <a>) */
.sidebar-page-list a.active {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

/* Optional arrow */
.sidebar-page-list a::after {
  content: "›";
  margin-left: auto;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.sidebar-page-list a:hover::after {
  transform: translateX(4px);
  color: #1d4ed8;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .links {
    padding: 18px 20px;
  }
}
.site-footer {
  background: #0b1220;
  color: #cbd5f5;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
}

/* Text */
.site-footer .footer-text {
  font-size: 0.95rem;
  color: #a5b4fc;
  line-height: 1.6;
}

/* Section titles */
.site-footer .footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
}

.site-footer .footer-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 2px;
}

/* Links */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #c7d2fe;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

/* Newsletter */
.newsletter-form .form-control {
  border-radius: 10px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e0e7ff;
}

.newsletter-form .form-control::placeholder {
  color: #94a3b8;
}

.newsletter-form .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 18px;
}

/* Bottom links */
.footer-bottom-link {
  color: #a5b4fc;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-link:hover {
  color: #ffffff;
}

/* Divider */
.site-footer .border-top {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Mobile spacing */
@media (max-width: 576px) {
  .site-footer {
    text-align: center;
  }
}
/* Error page wrapper */
.error {
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(59, 130, 246, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 30%,
      rgba(99, 102, 241, 0.16),
      transparent 55%
    ),
    radial-gradient(
      700px 420px at 40% 90%,
      rgba(16, 185, 129, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, #0b1220 0%, #060b16 100%);
  color: #e5e7eb;
  overflow: hidden;
}

/* Optional: add a soft “grid” texture */
.error::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.12;
  pointer-events: none;
}

/* Make sure content sits above the background layer */
.error > .row {
  position: relative;
  z-index: 1;
}

/* Icon styling + subtle float animation */
.error i.bi {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.35));
  animation: floaty 3.6s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Headline */
.error h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

/* Paragraph */
.error p.lead {
  color: rgba(229, 231, 235, 0.85);
  line-height: 1.7;
  max-width: 52ch;
}

/* Button polish */
.error .btn.btn-primary {
  border: 0;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  box-shadow: 0 14px 30px rgba(59, 130, 246, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.error .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(99, 102, 241, 0.28);
}

.error .btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(99, 102, 241, 0.22);
}

/* Better spacing on small screens */
@media (max-width: 768px) {
  .error p.lead {
    max-width: 100%;
  }
}
.sidebar {
  position: sticky;
  top: 50px;
  align-self: flex-start;
}
.screen {
  position: relative;
  background: #e0dfdf;
  border-radius: 15px;
  margin: 50px 0;
}

.screen:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  bottom: 0;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  z-index: -1;
}


.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: #999;
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--hero-gradient2);
  font-size: 26px;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: var(--link-color);
}

.app-contact {
  margin-top: auto;
  color: var(--body-text-color);
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #000;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #000;
}

.app-form-button {
  background: var(--footer-bg-color);
  border: 2px solid var(--hero-gradient2);
  color: var(--link-color);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  border-radius: 20px;
  padding: 5px 20px;
}

.app-form-button:hover {
  color: var(--hero-gradient1);
}

.dribbble {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .app-title span {
    margin-right: 12px;
  }

  .app-title:after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}