:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #15756f;
  --hero-gradient1: #468f91;
  --hero-gradient2: #4a77a1;
  --footer-bg-color: #23534b;
  --link-color: #25a4ad;
  --header-bg-color: #ffffff;
  --font-family: Georgia;
}

body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  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;
}

.navbar {
  background-color: var(--header-bg-color) !important;

}


.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}

.hero-section.gradient-bg {
  background: linear-gradient(-45deg, #239a9e, #1c7068, #2e8a87, #206c72, #1e5d5f, #2e817a);
  background-size: 400% 400%;
  animation: gradient 30s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 100%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 0%;
  }

  100% {
    background-position: 0% 50%;
  }
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

h2,
h3 {
  color: var(--heading-color);
}

.content-area a {
  color: var(--link-color) !important;
}

.navbar-light .navbar-nav .nav-link {
  color: #333 !important;
}

a:hover {
  color: var(--link-color);
  opacity: 0.8;
}

.footer {
  background-color: var(--footer-bg-color);
  color: white;
}

.footer a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }
}

/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.97);
    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;
  }
}

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

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


/* Custom Dropdown Styles */
.dropdown-menu {
  top: 100%;
  left: -60px !important;
}

.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.custom-dropdown {
  border: none;
  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: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}


.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: #333 !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}

.custom-dropdown .dropdown-item:hover {
  color: white;
  border-radius: 8px;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.custom-dropdown .dropdown-item:hover i {
  color: white;
}

/* Navbar dropdown animation */
.dropdown-menu {
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Mobile responsive dropdown */
@media (min-width: 1199.98px) {
  .custom-dropdown {
    max-width: 250px;
  }
}

@media (max-width: 1199.98px) {
  .custom-dropdown {
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6;
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none;
  }
}

.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
}


/* Keep dropdown open when hovering over the menu itself */
.dropdown-menu:hover {
  display: block !important;
  visibility: visible;
  opacity: 1;
}

.title h2 {
  text-shadow: 1px 3px 0 #969696, 1px 7px 5px #aba8a8;

}

.cust-bg {
  background-color: #15756f;
  color: #ffffff;
  border: 1px solid #0f5b4c;
  border-radius: 8px;
  padding: 1rem;
}

.cust-bg h3 {
  color: #ffffff;
}

.cust-bg h2 {
  color: #ffffff;
}

.img_el {
  padding: 41px 0;
  position: relative;
  margin-top: 17px;
}

.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 17px;
}

.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/cycling-tips.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 17px;
}

.img_el .container {
  position: relative;
  z-index: 3;
  padding: 0 11px !important;
}

.img_el .container h2,
.img_el .container p,
.img_el .container h3 {
  color: white !important;
}

.img_el .container ol li {
  color: #ffffff;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 25px;
  list-style-position: inside;
}

ol,
ul {
  padding-left: 1rem !important;
}


.blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
  position: relative;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
  transform: scale(1.05);
}

.blog-post-content {
  padding: 15px;
}

.blog-post-content h3 {
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 11px;
  line-height: 1.3;
}

.blog-post-content h2 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 11px;
  font-size: clamp(1.5rem, 3vw, 1.8rem) !important;
}

.blog-post-content p {
  color: #6c757d;
}

.blog-post-content .btn {
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-post-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-post {
    margin-bottom: 20px;
  }

  .blog-post-image {
    height: 180px;
  }

  .blog-post-content {
    padding: 15px;
  }

  .blog-post-content h3 {
    font-size: 1.1rem;
  }
}

.rounded-5 {
  border-radius: 21px !important;
}

.box {
  background: repeating-linear-gradient(45deg, #9cd1ba, #c9d5d0 20px, #b3e0d2 20px, #b3e0d2 40px);
  padding: 15px;
  height: 100%;
  border-radius: 17px;
}

.custom-li-icons {
  list-style: none;
  padding-left: 0;
}

.custom-li-icons li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.5em;
}

.custom-li-icons li a {
  text-decoration: none;
  color: var(--link-color);
}

.custom-li-icons li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.3em;
  height: 1.3em;
  background: none;
  mask: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/icons/bicycle.svg") no-repeat center/contain;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/icons/bicycle.svg") no-repeat center/contain;
  background-color: var(--link-color, #25a4ad);
  content: "";
}

.button {
  all: unset;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.6em 2em;
  border: #247578 solid 0.15em;
  border-radius: 0.25em;
  color: hsl(157, 100%, 49%);
  cursor: pointer;
  overflow: hidden;
  transition: border 300ms, color 300ms;
  user-select: none;
  width: 100px;
}

.button span {
  z-index: 1;
}

.button:hover {
  color: #fffcfc !important;
}

.button:active {
  border-color: teal;
}

.button::after,
.button::before {
  content: "";
  position: absolute;
  width: 9em;
  aspect-ratio: 1;
  background: #247578;
  opacity: 50%;
  border-radius: 50%;
  transition: transform 500ms, background 300ms;
}

.button::before {
  left: 0;
  transform: translateX(-8em);
}

.button::after {
  right: 0;
  transform: translateX(8em);
}

.button:hover:before {
  transform: translateX(-1em);
}

.button:hover:after {
  transform: translateX(1em);
}

.button:active:before,
.button:active:after {
  background: teal;
}

.footer {
  background: linear-gradient(-45deg, #239a9e, #1c7068, #2e8a87, #206c72, #1e5d5f, #2e817a);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
  background-size: 200px 20px;
  animation: wave 8s linear infinite;
}

@keyframes wave {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 200px;
  }
}

.footer-content {
  padding: 40px 0 20px;
  position: relative;
  z-index: 2;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.05);
}


.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.1);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-contact {
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-end;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contact-item i {
  margin-right: 8px;
  color: #4FC3F7;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-end;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4FC3F7;
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: #4FC3F7;
}

.footer-link:hover::after {
  width: 100%;
}

.separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .footer-content {
    padding: 30px 0 15px;
  }

  .contact-item {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 5px;
  }

  .separator {
    display: none;
  }
}

.colored {
  color: var(--heading-color);
}
