:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #424242;
  --heading-color: #333333;
  --hero-gradient1: #4a4a1c;
  --hero-gradient2: #352f08;
  --footer-bg-color: #3a380e;
  --link-color: #ffea00;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
}

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;
  position: sticky;
  top: 0;
  z-index: 1020;
}

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

.hero-section.gradient-bg {
  background: linear-gradient(135deg, var(--hero-gradient1), var(--hero-gradient2));
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

a {
  color: #000000;
}

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: 1200px) {
  .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;
  color: var(--heading-color) !important;
}

.sidebar-page-list li a:hover {
  color: #ffffff;
  padding-left: 11px;
}

.twitter-tweet {
  width: 270px !important;
}

.x {
  display: flex;
  justify-content: center;
}

.error_page {
  background: linear-gradient(135deg, #667eea 0%, #404f0a 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  justify-content: center;
}

.error_page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.error_page .py-5 {
  position: relative;
  z-index: 2;
}

.error_page .bi-exclamation-circle {
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  animation: pulse-icon 2s ease-in-out infinite;
}

.error_page h1 {
  color: #ffffff !important;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: bounce-404 1.5s ease-in-out infinite alternate;
}

.error_page h2 {
  color: #f8f9fa !important;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.error_page p {
  color: #e9ecef !important;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.error_page_btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24) !important;
  border: none !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.error_page_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
  background: linear-gradient(45deg, #ee5a24, #ff6b6b) !important;
}

/* Animations */
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes bounce-404 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.colored {
  color: #bbad19 !important;
}

/* Custom Card for Wellness Theme */
.custom-card {
  background: linear-gradient(135deg, #f8fdff 0%, #e6f7ff 100%);
  border: none;
  border-radius: 20px;
  padding: 30px;
  margin: 25px 0;
  box-shadow: 0 8px 32px rgba(116, 185, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border-left: 5px solid #f7c24f;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  pointer-events: none;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(116, 185, 255, 0.25);
  border-left-color: #a77812;
}

.custom-card h3 {
  color: #0277bd !important;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  font-size: 1.4rem;
}

.custom-card h3::after {
  content: '🧘‍♀️';
  margin-left: 10px;
  font-size: 1.2rem;
}

.custom-card p {
  color: #37474f;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin-bottom: 0 !important;
}

.custom-card:hover h3 {
  color: #01579b !important;
}

/* Add subtle animation */
@keyframes wellness-glow {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(116, 185, 255, 0.15);
  }

  50% {
    box-shadow: 0 8px 32px rgba(116, 185, 255, 0.25);
  }
}

.custom-card:hover {
  animation: wellness-glow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-card {
    padding: 20px;
    margin: 15px 0;
  }

  .custom-card h3 {
    font-size: 1.3rem;
  }
}

.box-first,
.box-second {
  background-color: #b4b540de;
  padding: 17px 15px
}

.box-second {
  background-color: #e5eb75de;
}

@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
  }
}

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

.cust-bg {
  background: linear-gradient(135deg, #b8860b4a 0%, #d7da20 25%, #c3cd3f82 50%, #96af11 100%);
  padding: 23px 14px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
}

.cust-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(218, 165, 32, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cust-bg h2 {
  color: #2c1810 !important;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.cust-bg p {
  color: #3e2723 !important;
  position: relative;
  z-index: 2;
}

.cust-bg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.4);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .cust-bg {
    padding: 25px 20px;
    margin: 20px 0;
  }
}

.box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-color: #dee2e6;
}

.box h2 {
  color: #495057 !important;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.box p {
  color: #47494a;
  line-height: 1.6;
  margin-bottom: 12px !important;
}
.box ul li  {
  color: #47494a;
}

.box p:last-child {
  margin-bottom: 0 !important;
}

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

.content-area a {
  color: #bbad19;
}

.content-area a:hover {
  color: #bbad1961;
}

.img_el {
  padding: 50px 0;
  position: relative;
}

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

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

.img_el .container {
  position: relative;
  z-index: 3;
}

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

.img_el .container h3 {
  color: #EF8A54;
}