:root {
  --bs-primary: rgba(20, 36, 81, 1);
  --bs-primary-hover: rgb(16, 30, 67);
  --bs-secondary: rgba(99, 202, 152, 1);
  --bs-secondary-hover: rgb(89, 179, 135);
}

/* === Base Elements === */
body {
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", serif;
}

/* === Utility Classes === */
.bg-light-gray {
  background-color: #f8f9fa;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.section {
  padding: 80px 0;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

/* === Button Styles === */
.btn {
  border-radius: 0;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-light);
}

.btn-primary:hover {
  background-color: var(--bs-primary-hover);
  border-color: var(--bs-primary-hover);
  color: var(--bs-light);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: var(--bs-dark);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bs-secondary-hover);
  border-color: var(--bs-secondary-hover);
  color: var(--bs-dark);
  transform: scale(1.07);
}

/* === Card Styles === */
.card {
  border-radius: 0%;
}

.card-goal {
  background-color: rgba(20, 20, 83, 0.7);
  color: var(--bs-white);
}

.card-img-top {
  border-radius: 0%;
}

/* === Navbar Styles === */
.nav-item {
  font-size: medium;
  margin: 0 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

.nav-link {
  color: #fff !important;
}

.navbar {
  background-color: rgba(20, 36, 81, 0) !important;
}

.navbar-brand {
  color: #fff !important;
  font-family: "Libre Baskerville", serif;
  font-size: xx-large;
  font-style: italic;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* New CSS rule for expanded navbar background */
.navbar.navbar-expanded-manually {
  background-color: var(--bs-primary) !important;
  transition: background-color 0.5s ease;
}

.navbar.scrolled {
  background-color: var(--bs-primary) !important;
  transition: background-color 0.5s ease;
}

/* New style for navbar elements */
.navbar-initial-animate {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.navbar-initial-animate.animated {
  opacity: 1;
  transform: translateY(0);
}

.navbar-toggler-icon {
  background-color: #fff;
  background-image: none;
  display: inline-block;
  height: 2px;
  position: absolute;
  transition: background-color 0.3s ease-out;
  vertical-align: middle;
  width: 1em;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  background-color: #fff;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: transform 0.3s ease-out, top 0.3s ease-out, bottom 0.3s ease-out;
  width: 100%;
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  bottom: -6px;
}

/* Styles for the "X" state when navbar is not collapsed */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  background-color: transparent;
  /* Hide the middle bar */
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* === Parallax Styles === */
.parallax-about {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)),
    url("../img/connect2025/2.JPG");
}

.parallax-hero {
  /* background-image: linear-gradient(to top, var(--bs-primary), rgba(0, 0, 255, 0)), url('5119322_Outdoors_Lifestyle_1920x1080.mp4'); */
  overflow: hidden;
  position: relative;
}

.parallax-hero .video-overlay {
  background: linear-gradient(
    to top,
    rgba(20, 36, 81, 1),
    rgba(20, 36, 81, 0.1)
  );
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.parallax-hero h1,
.parallax-hero p {
  font-family: "Libre Baskerville", serif;
}

.parallax-hero p {
  width: 60%;
}

.parallax-hero video {
  background-position: center;
  background-size: cover;
  height: auto;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: auto;
  z-index: -1;
}

.parallax-section {
  align-items: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

/* === Animation Styles === */
/* Combined and refined scroll-animate rules */
.animated-container h1,
.animated-container h6,
.animated-container p,
.animated-container img,
.animated-container a.btn,
.animated-container .card {
  /* Target specific elements within animated-container */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animated-container.animated h1,
.animated-container.animated h6,
.animated-container.animated p,
.animated-container.animated img,
.animated-container.animated a.btn,
.animated-container.animated .card {
  /* Apply animation when parent is animated */
  opacity: 1;
  transform: translateY(0);
  /* transition-delay will be set by JS for stagger effect */
}

#wa-float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

#wa-float-btn:hover {
  background-color: #1daa51;
  color: #fff;
  text-decoration: none;
  animation: wa-bounce 0.7s ease-in-out infinite;
}

@keyframes wa-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
  }
  20%,
  60% {
    transform: translateY(-8px);
  }
  40% {
    transform: translateY(-16px);
  }
}