:root {
  --body-bg-color: #212121;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #212121;
  --link-color: #23b0c6;
  --header-bg-color: #232325;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --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;
}

.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 {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: var(--header-bg-color) !important;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.246);
}

.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: 60px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: var(--link-color) !important;
  transform: translateY(-1px);
}
.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: 600;
  border-bottom: 2px solid var(--link-color);
}

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

.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;
}
.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;
}
.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");
}
.cust-bg {
  background: #0b1b22; /* deep ocean dark */
  padding: 1.5rem 19px;
  border-radius: 12px;
  color: #dce7ea;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* subtle gradient “aqua glow” accent */
.cust-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top left,
    rgba(35, 176, 198, 0.18),
    transparent 60%
  );
  pointer-events: none;
}

.cust-bg h2 {
  font-family: "Georgia", serif;
  font-size: 2rem;
  color: #23b0c6;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(35, 176, 198, 0.4);
}

.cust-bg p {
  line-height: 1.6;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: #e4f4f6;
}

/* small accent underline under the header */
.cust-bg h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  background: #23b0c6;
  margin-top: 6px;
  border-radius: 2px;
}
.heading {
  font-family: "Georgia", serif;
  font-size: 2rem;
  color: #23b0c6;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(35, 176, 198, 0.4);
  position: relative;
}

/* branded underline accent */
.heading::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #23b0c6;
  margin-top: 6px;
  border-radius: 2px;
}
.box-first,
.box-second {
  background-color: #1c1c1cde;
  padding: 17px 15px;
}
.box-second {
  background-color: #313131de;
}
@media (min-width: 767px) {
  .box-first {
    border-top-left-radius: 21px;
    border-bottom-left-radius: 21px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }
  .box-second {
    border-top-right-radius: 21px;
    border-bottom-right-radius: 21px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}
@media (max-width: 767px) {
  .box-first {
    border-radius: 21px 21px 0 0;
  }
  .box-second {
    border-radius: 0 0 21px 21px;
  }
}
.newsletter-box {
  background: #0b1b22;
  padding: 2rem;
  border-radius: 12px;
  color: #e4f4f6;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  width: 279px;
}

/* subtle aqua gradient glow */
.newsletter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(35, 176, 198, 0.18),
    transparent 70%
  );
  pointer-events: none;
}

.newsletter-box h3 {
  color: #23b0c6;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(35, 176, 198, 0.4);
}

.newsletter-box p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #124a57;
  background: #0f242c;
  color: #e4f4f6;
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: #7da8b0;
}

.newsletter-form button {
  padding: 0.85rem;
  background: #23b0c6;
  border: none;
  border-radius: 8px;
  color: #0b1b22;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.newsletter-form button:hover {
  background: #1c8ea1;
}
.footer {
  background: #071419; /* deep ocean dark */
  color: #dce7ea;
  padding: 2rem 15px;
  border-top: 2px solid rgba(35, 176, 198, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: 21px;
}

/* aqua glow accent */
.footer::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(35, 176, 198, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #b8cdd1;
}

.footer a {
  color: #23b0c6;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  transition: 0.25s ease;
  position: relative;
}

/* hover effect: soft glowing underline */
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #23b0c6;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: #58d3e4; /* brighter aqua */
}
.contact-container {
  background: #0b1b22;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 0 35px rgba(0,0,0,0.45);
  color: #dce7ea;
  max-width: 650px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

/* Aqua glow background */
.contact-container::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -25%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(35,176,198,0.15), transparent 65%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-header i {
  font-size: 2.5rem;
  color: #23b0c6;
  text-shadow: 0 0 12px rgba(35,176,198,0.5);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-header p {
  color: #a8c0c5;
  font-size: 0.95rem;
}

.contact-container h2 {
  color: #23b0c6;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 8px rgba(35,176,198,0.35);
}

/* Labels */
.contact-container label {
  color: #bcd7db;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* Form Inputs */
.contact-container .form-control {
  background: #0f242c;
  border: 1px solid #1a4a54;
  color: #e4f4f6;
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-container .form-control:focus {
  border-color: #23b0c6;
  box-shadow: 0 0 8px rgba(35,176,198,0.35);
  background: #112a33;
}

.contact-container .form-control::placeholder {
  color: #7fa2a8;
}

/* Submit Button */
.contact-container .btn {
  border-color: #23b0c6 !important;
  color: #23b0c6 !important;
  padding: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s ease;
}

.contact-container .btn:hover {
  background: #23b0c6 !important;
  color: #0b1b22 !important;
  box-shadow: 0 0 12px rgba(35,176,198,0.5);
}

/* Disabled button (until backend added) */
.contact-container button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Email link below the form */
.contact-container .email-link {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 1rem;
  color: #23b0c6;
}

.contact-container .email-link i {
  margin-right: 6px;
  text-shadow: 0 0 8px rgba(35,176,198,0.5);
}
