:root {
  --body-bg-color: #ffffff;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #413752;
  --link-color: #ff525a;
  --header-bg-color: #ffffff;
  --font-family: Georgia, 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;
}

.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 {
  position: relative;
  background: linear-gradient(
    180deg,
    #0f1220,
    #141833
  );
  color: #eaeaff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* animated top accent line */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #34c759,
    #00c2ff,
    #af52de
  );
  background-size: 300% 100%;
  animation: footerLine 5s linear infinite;
}

/* logo */
.footer img {
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer img:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* text */
.footer p,
.footer span {
  font-size: 0.95rem;
  color: #d6d9ff;
}

/* links */
.footer a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  margin-top: 6px;
}

/* animated underline */
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ff2d55,
    #00c2ff,
    #af52de
  );
  transition: width 0.3s ease;
}

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

/* email pill */
.footer span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.footer span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

/* icon */
.footer i {
  font-size: 1.05rem;
  opacity: 0.85;
}

/* mobile spacing */
@media (max-width: 768px) {
  .footer span,
  .footer a {
    margin-top: 8px;
  }
}

/* animation */
@keyframes footerLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer::before {
    animation: none;
  }
}

.navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute;
  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 100px;
  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;
  box-shadow: 0 40px 60px -35px rgba(0, 0, 0, 0.667);
}

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

.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;
}
/* Base spacing */
.heading {
  margin: 0 auto 2rem;
  position: relative;
}

/* Title: colorful animated gradient text */
.heading h2 {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 0.8rem;
  display: inline-block;
  position: relative;

  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #34c759,
    #00c2ff,
    #af52de
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  animation: titleRainbow 4s linear infinite, titlePop 900ms ease-out 1;
}

/* Animated emoji "ride" on the underline */
.heading h2::after {
  content: "🎢  🎡  🎠  🍡  ✨";
  display: block;
  margin-top: 0.35rem;
  font-size: 1.15rem;
  letter-spacing: 0.25rem;
  transform-origin: left center;
  animation: emojiWave 1.6s ease-in-out infinite;
}



/* Paragraph: clean + subtle entrance */
.heading p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  margin: 0 auto;
  animation: fadeUp 700ms ease-out 1;
}

/* Small playful hover effects */
.heading:hover h2 {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  transform: translateY(-1px);
}

.heading:hover h2::after {
  animation-duration: 1.1s;
}

/* Animations */
@keyframes titleRainbow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes titlePop {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes emojiWave {
  0%,
  100% {
    transform: translateX(0) rotate(-1deg);
    opacity: 0.95;
  }
  50% {
    transform: translateX(10px) rotate(1deg);
    opacity: 1;
  }
}

@keyframes sparkleFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-8px) rotate(10deg);
    opacity: 1;
  }
}

@keyframes fadeUp {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .heading h2,
  .heading h2::after,
  .heading h2::before,
  .heading p {
    animation: none !important;
  }
}
.box {
  padding: 1.2rem;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

/* Hover lift like a ride starting */
.box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
}

/* Image styling */
.box .image img {
  border-radius: 16px;
  transition: transform 0.5s ease;
}

/* Image zoom on hover */
.box:hover .image img {
  transform: scale(1.05);
}

/* Content spacing */
.box .content {
  padding-top: 0.8rem;
  position: relative;
}

/* Title with emoji + animated underline */
.box .content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  position: relative;
  display: inline-block;
  color: #222;
}

/* Emoji accent */
.box .content h3::before {
  content: "🏰 ";
}

/* Colorful animated underline */
.box .content h3::after {
  content: "";
  display: block;
  height: 4px;
  width: 60%;
  margin-top: 6px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #34c759,
    #00c2ff,
    #af52de
  );
  background-size: 300% 100%;
  animation: underlineFlow 3s linear infinite;
}

/* Paragraph style */
.box .content p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #444;
  margin-top: 0.8rem;
}

/* Floating sparkle emoji */
.box::after {
  content: "✨";
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.1rem;
  opacity: 0.7;
  animation: sparkleFloat 2s ease-in-out infinite;
}

/* Animations */
@keyframes underlineFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes sparkleFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .box,
  .box *,
  .box::after {
    animation: none !important;
    transition: none !important;
  }
}
.box {
  padding: 21px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;

  background: linear-gradient(135deg, #ffe6f0, #e8f7ff, #f3e8ff);

  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* soft colorful glow layer */
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 45, 85, 0.15),
    rgba(255, 204, 0, 0.15),
    rgba(0, 194, 255, 0.15),
    rgba(175, 82, 222, 0.15)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* hover = glow + lift */
.box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.22);
}

.box:hover::before {
  opacity: 1;
}

/* keep content above glow */
.box > * {
  position: relative;
  z-index: 1;
}
.title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 0.4px;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  color: #1f1f1f;

  /* subtle entrance */
  animation: titleSlide 700ms ease-out 1;
}

/* Main underline */
.title::after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  margin-top: 0.6rem;
  border-radius: 4px;

  background: linear-gradient(
    90deg,
    #ff3d00,
    #ffcc00,
    #00c2ff,
    #6a5cff
  );
  background-size: 300% 100%;
  animation: lineFlow 3s linear infinite;
}

/* Secondary technical line */
.title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 160px;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.25);
}

/* Hover = kinetic energy */
.title:hover::after {
  width: 120px;
}

/* Animations */
@keyframes lineFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes titleSlide {
  0% {
    transform: translateX(-12px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .title,
  .title::before,
  .title::after {
    animation: none !important;
  }
}
.cust-bg {
  position: relative;
  padding: 3rem 21px;
  margin: 3rem 0;
  border-radius: 22px;

  /* soft colorful background */
  background: linear-gradient(135deg, #fff7fb, #f4fbff, #f7fff6);
  border: 1px solid rgba(0, 0, 0, 0.06);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

/* animated gradient "story line" at the top */
.cust-bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #34c759,
    #00c2ff,
    #af52de
  );
  background-size: 300% 100%;
  animation: storyLine 4s linear infinite;
}

/* subtle moving diagonal sheen */
.cust-bg::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 45, 85, 0.08) 0px,
    rgba(255, 45, 85, 0.08) 10px,
    rgba(0, 194, 255, 0.07) 10px,
    rgba(0, 194, 255, 0.07) 20px
  );
  transform: rotate(8deg);
  opacity: 0.25;
  animation: sheenMove 10s linear infinite;
  pointer-events: none;
}

/* keep text above effects */
.cust-bg > * {
  position: relative;
  z-index: 1;
}

.cust-bg h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  color: #1f1f1f;

  /* underline that expands */
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.cust-bg h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2d55, #00c2ff, #af52de);
  transition: width 0.35s ease;
}

.cust-bg:hover h2::after {
  width: 140px;
}

.cust-bg p {
  color: #333;
  line-height: 1.75;
  font-size: 1.05rem;
  margin: 0.85rem 0;
  max-width: 75ch;
}

/* Subheadings with a "panel" feel */
.cust-bg h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
  font-weight: 850;
  color: #222;
  letter-spacing: 0.2px;
  position: relative;
  padding-left: 0.9rem;
}

/* slim colored bar to the left of h3 */
.cust-bg h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 5px;
  height: 1.2em;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffcc00, #00c2ff);
}

/* Paragraph separators for rhythm */
.cust-bg p + h3 {
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

/* Animations */
@keyframes storyLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes sheenMove {
  0% { transform: translateX(-8%) rotate(8deg); }
  100% { transform: translateX(8%) rotate(8deg); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cust-bg::before,
  .cust-bg::after {
    animation: none !important;
  }
  .cust-bg h2::after {
    transition: none !important;
  }
}
.newsletter-box {
  padding: 1.4rem 21px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    #fff7fb,
    #f4fbff,
    #f6f3ff
  );
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  width: 279px;
  margin-bottom: 15px;
}

/* animated top accent line */
.newsletter-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #00c2ff,
    #af52de
  );
  background-size: 300% 100%;
  animation: newsletterLine 4s linear infinite;
}

/* title */
.newsletter-box h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: #1f1f1f;
}

/* description */
.newsletter-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0.9rem;
}

/* form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* input */
.newsletter-form input {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input:focus {
  border-color: #00c2ff;
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.2);
}

/* button */
.newsletter-form button {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  color: #fff;

  background: linear-gradient(
    90deg,
    #ff2d55,
    #ffcc00,
    #00c2ff
  );
  background-size: 200% 100%;
  transition: transform 0.25s ease, background-position 0.4s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}

/* footer text */
.newsletter-box small {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #666;
}

/* animation */
@keyframes newsletterLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .newsletter-box::before {
    animation: none;
  }
}
.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");
}
