/* ==========================================
   VITALITY FITNESS - WARM CHARCOAL THEME
   Modern, sophisticated color palette inspired by logo
   ========================================== */

:root {
  /* Primary Brand Colors - Based on Logo */
  --charcoal: #3a3a3a;
  --charcoal-light: #505050;
  --charcoal-dark: #2a2a2a;

  /* Warm Accent Colors */
  --warm-gold: #D4A574;
  --warm-copper: #B8816D;
  --warm-cream: #F5EDE4;
  --warm-beige: #E8D9CC;

  /* Neutral Palette */
  --off-white: #FAF8F6;
  --warm-gray: #8B8279;
  --warm-gray-light: #C4BCB5;

  /* Functional Colors */
  --success: #7BA05B;
  --warning: #D4A574;
  --danger: #C67B5C;
  --info: #6B8E9E;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(58, 58, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(58, 58, 58, 0.12);
  --shadow-lg: 0 8px 32px rgba(58, 58, 58, 0.16);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background-color: var(--off-white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--charcoal-dark);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--warm-copper);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--warm-gold);
}

/* ==========================================
   NAVBAR - Warm Charcoal Theme
   ========================================== */

.navbar-gradient {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  padding: 16px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--warm-gold);
}

.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-crest {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.nav-link {
  font-weight: 500;
  padding: 8px 25px !important;
  border-radius: 8px;
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  background: var(--warm-gold);
  color: var(--charcoal-dark) !important;
}

.btn-join {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn-join:hover {
  background: var(--warm-copper);
  color: white;
}

/* ==========================================
   BUTTONS - Warm Theme
   ========================================== */

.btn-primary-modern {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  border: none;
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.btn-primary-modern:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--warm-copper) 0%, var(--warm-gold) 100%);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--charcoal);
}

.btn-xl {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* ==========================================
   HERO SECTION - Updated
   ========================================== */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 50%, var(--warm-copper) 100%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(58, 58, 58, 0.95) 0%, rgba(58, 58, 58, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.badge-glow {
  display: inline-block;
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
  }

  50% {
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.6);
  }
}

.text-gradient {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.9);
}

/* Feature Pills */
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.feature-pill:hover {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  border-color: var(--warm-gold);
  transform: translateY(-2px);
}

.feature-pill i {
  color: var(--warm-gold);
}

.feature-pill:hover i {
  color: var(--charcoal-dark);
}

/* ==========================================
   BOOKING CARD
   ========================================== */

.booking-card {
  background: white;
  border-radius: 20px;
  border: 2px solid var(--warm-beige);
  overflow: hidden;
}

.booking-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.pricing-highlight {
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--warm-beige) 100%);
  border: 2px solid var(--warm-gold);
}

.pricing-badge {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-block;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal-dark);
}

.pricing-amount .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-amount .period {
  font-size: 1.2rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ==========================================
   CARDS & SECTIONS
   ========================================== */

.card {
  border: 1px solid var(--warm-beige);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bg-light {
  background-color: var(--warm-cream) !important;
}

.footer-modern {
  background: var(--charcoal-dark);
  color: var(--warm-gray-light);
  margin-top: 80px;
}

.footer-social {
  background: var(--charcoal);
  padding: 40px 0;
  border-bottom: 2px solid var(--warm-gold);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(212, 165, 116, 0.1);
  border: 2px solid var(--warm-gold);
  border-radius: 12px;
  color: var(--warm-gold);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-link i {
  font-size: 1.2rem;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-title {
  color: var(--warm-gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--warm-copper);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--warm-gray-light);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--warm-gold);
  padding-left: 8px;
}

.footer-subtitle {
  color: var(--warm-gray-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
}

.footer-newsletter .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(212, 165, 116, 0.3);
  color: white;
  padding: 12px;
  border-radius: 8px;
  flex: 1;
}

.footer-newsletter .form-control:focus {
  border-color: var(--warm-gold);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.footer-newsletter .form-control::placeholder {
  color: var(--warm-gray-light);
}

.btn-subscribe {
  background: var(--warm-gold);
  color: var(--charcoal-dark);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: var(--warm-copper);
  color: white;
}

.footer-bottom {
  background: var(--charcoal);
  padding: 24px 0;
  border-top: 1px solid rgba(212, 165, 116, 0.2);
}

.footer-copyright,
.footer-address {
  margin: 0;
  font-size: 0.9rem;
  color: var(--warm-gray);
}

.footer-address a {
  color: var(--warm-gold);
}

.footer-address a:hover {
  color: var(--warm-copper);
}

/* ==========================================
   FORMS
   ========================================== */

.form-control,
.form-select {
  border: 2px solid var(--warm-beige);
  border-radius: 10px;
  padding: 12px 16px;
  background: white;
  color: var(--charcoal);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--warm-gold);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
  outline: none;
}

.form-label {
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ==========================================
   CHATBOT WIDGET - Warm Modern Redesign
   ========================================== */

.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* Toggle Button */
.chatbot-toggle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.chatbot-toggle:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.6);
}

.chatbot-toggle i {
  font-size: 1.8rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Chat Panel */
.chatbot-panel {
  position: absolute;
  bottom: 90px;
  right: 0;
  width: 350px;
  height: 480px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 165, 116, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatPopup 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes chatPopup {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  padding: 24px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header h6 {
  color: white !important;
  /* Explicitly white */
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chatbot-header small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Close Button */
.chatbot-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.chatbot-close:hover {
  background: white;
  color: var(--warm-copper);
  transform: rotate(90deg);
}

/* Messages Area */
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #FAF8F6;
  /* Warm off-white */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chatbot-message {
  max-width: 85%;
  animation: slideIn 0.3s ease;
}

.bot-message {
  align-self: flex-start;
}

.bot-message p {
  background: white;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.5;
}

.user-message {
  align-self: flex-end;
}

.user-message p {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  color: white;
  padding: 14px 18px;
  border-radius: 18px 18px 4px 18px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.25);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Input Area */
.chatbot-input {
  padding: 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 12px;
  align-items: center;
  /* margin-bottom: 2rem; */
}

.chatbot-input input {
  flex: 1;
  border: 2px solid #F0EAE4;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #FAF8F6;
}

.chatbot-input input:focus {
  border-color: var(--warm-gold);
  background: white;
  outline: none;
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.btn-send {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 165, 116, 0.2);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.3);
  background: linear-gradient(135deg, var(--warm-copper) 0%, var(--warm-gold) 100%);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.text-muted {
  color: var(--warm-gray) !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 60px 0;
  }

  .footer-main {
    padding: 40px 0 20px;
  }
}

@media (max-width: 576px) {
  .navbar-gradient {
    padding: 12px 0;
  }

  .btn-xl {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .chatbot-toggle {
    width: 50px;
    height: 50px;
  }

  .chatbot-toggle i {
    font-size: 1.5rem;
  }
}

/* ==========================================
   EVENT CARDS
   ========================================== */

.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--warm-beige);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--warm-cream);
}

.event-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
}

.event-date {
  color: var(--warm-gray);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.event-desc {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.btn-register {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--warm-copper) 0%, var(--warm-gold) 100%);
}


/* ================================ */
/*  TERMS & CONDITIONS PAGE STYLING */
/* ================================ */

.terms-page-header {
  background: linear-gradient(135deg, #FFB703, #2DD4BF);
  padding: 100px 0 70px;
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

.terms-page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.terms-page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.terms-container {
  padding: 0 0 70px;
}

.terms-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 45px;
  max-width: 950px;
  margin: auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Headings */
.terms-card h2 {
  margin-top: 35px;
  font-weight: 800;
  color: #1f2937;
}

.terms-card h3 {
  margin-top: 25px;
  font-weight: 700;
  color: #1f2937;
}

/* Text */
.terms-card p,
.terms-card li {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Lists */


.footer-main {
  padding: 40px 0 20px;
}

@media (max-width: 576px) {
  .navbar-gradient {
    padding: 12px 0;
  }

  .btn-xl {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .chatbot-toggle {
    width: 50px;
    height: 50px;
  }

  .chatbot-toggle i {
    font-size: 1.5rem;
  }
}

/* ==========================================
   EVENT CARDS
   ========================================== */

.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--warm-beige);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--warm-cream);
}

.event-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  margin-bottom: 8px;
}

.event-date {
  color: var(--warm-gray);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.event-desc {
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.btn-register {
  background: linear-gradient(135deg, var(--warm-gold) 0%, var(--warm-copper) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--warm-copper) 0%, var(--warm-gold) 100%);
}


/* ================================ */
/*  TERMS & CONDITIONS PAGE STYLING */
/* ================================ */

.terms-page-header {
  background: linear-gradient(135deg, #FFB703, #2DD4BF);
  padding: 100px 0 70px;
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

.terms-page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.terms-page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
}

.terms-container {
  padding: 0 0 70px;
}

.terms-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 45px;
  max-width: 950px;
  margin: auto;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Headings */
.terms-card h2 {
  margin-top: 35px;
  font-weight: 800;
  color: #1f2937;
}

.terms-card h3 {
  margin-top: 25px;
  font-weight: 700;
  color: #1f2937;
}

/* Text */
.terms-card p,
.terms-card li {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

/* Lists */
.terms-card ul {
  margin-left: 22px;
  margin-bottom: 10px;
}

/* Dividers */
.terms-divider {
  height: 1px;
  width: 100%;
  background: #e5e7eb;
  margin: 35px 0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .terms-page-header h1 {
    font-size: 2.2rem;
  }

  .terms-card {
    padding: 25px;
  }

  /* Hero Section Mobile */
  .hero-section {
    min-height: auto !important;
    padding: 40px 0 !important;
  }

  .hero-content {
    padding: 20px 0;
  }

  .display-3 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .h4 {
    font-size: 1.1rem !important;
  }

  .lead {
    font-size: 1rem !important;
  }

  /* Feature Pills Mobile */
  .feature-pill {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .feature-pill i {
    font-size: 0.9rem;
  }

  /* Stat Cards Mobile */
  .stat-card-modern {
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Buttons Mobile */
  .btn-xl {
    font-size: 0.95rem;
    padding: 12px 20px;
  }

  .btn-primary-modern,
  .btn-outline-light {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Navbar Mobile */
  .navbar-brand img {
    height: 40px !important;
  }

  .nav-link {
    padding: 10px 15px !important;
  }

  /* Footer Mobile */
  .footer-social {
    padding: 30px 0;
  }

  .social-link {
    padding: 12px 16px;
  }

  .social-text {
    font-size: 0.75rem;
  }

  .footer-main {
    padding: 30px 0;
  }

  .footer-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-links {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 20px 0;
    text-align: center;
  }

  .footer-copyright,
  .footer-address {
    font-size: 0.85rem;
  }

  /* Page Container Mobile */
  .page-container {
    padding: 30px 0;
  }

  /* Content Cards Mobile */
  .content-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  /* Tables Mobile */
  .table-custom {
    overflow-x: auto;
  }

  table {
    font-size: 0.85rem;
  }

  /* Membership Cards Mobile */
  .membership-card {
    margin-bottom: 20px;
  }

  /* Class Cards Mobile */
  .class-card {
    margin-bottom: 15px;
  }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {

  /* Typography */
  .display-3 {
    font-size: 1.75rem !important;
  }

  .display-4 {
    font-size: 1.5rem !important;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 30px 0 !important;
  }

  .badge-glow {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Feature Pills - Stack Vertically */
  .feature-pill {
    width: 100%;
    justify-content: center;
    margin-bottom: 8px;
  }

  /* Stat Cards */
  .stat-card-modern {
    padding: 12px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-sublabel {
    font-size: 0.75rem;
  }

  /* Buttons */
  .btn-xl {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  .btn-join {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Navbar */
  .navbar-gradient {
    padding: 10px 0;
  }

  .navbar-brand img {
    height: 35px !important;
  }

  .nav-link {
    padding: 8px 12px !important;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-social .row {
    gap: 10px !important;
  }

  .social-link {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .social-link i {
    font-size: 1rem;
  }

  .social-text {
    display: none;
    /* Hide text on very small screens */
  }

  .footer-main {
    padding: 25px 0;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-newsletter input {
    font-size: 0.9rem;
    padding: 10px;
  }

  .btn-subscribe {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  /* Chatbot */
  .chatbot-toggle {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .chatbot-toggle i {
    font-size: 1.3rem;
  }

  .chatbot-panel {
    width: 100vw !important;
    height: 100vh !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
  }

  .chatbot-header {
    padding: 15px;
  }

  .chatbot-header h5 {
    font-size: 1rem;
  }

  .chatbot-messages {
    padding: 15px;
  }

  .chatbot-input-area {
    padding: 12px;
  }

  /* Page Headers */
  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  /* Content Cards */
  .content-card {
    padding: 15px;
  }

  /* Membership Cards */
  .membership-card {
    padding: 20px;
  }

  .membership-price {
    font-size: 2rem;
  }

  /* Event Cards */
  .event-card {
    margin-bottom: 15px;
  }

  .event-content {
    padding: 16px;
  }

  .event-title {
    font-size: 1.1rem;
  }

  /* Tables - Make Scrollable */
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 600px;
  }

  /* Forms */
  .form-control {
    font-size: 0.95rem;
  }

  /* Modals */
  .modal-content {
    padding: 20px;
  }

  .modal-header h4 {
    font-size: 1.25rem;
  }

  /* Spacing Utilities */
  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .mt-5 {
    margin-top: 2rem !important;
  }

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Grid Adjustments */
  .g-5 {
    --bs-gutter-y: 2rem;
  }

  /* Hide elements on mobile if needed */
  .d-none-mobile {
    display: none !important;
  }
}

/* Landscape Phones */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto !important;
    padding: 30px 0 !important;
  }

  .chatbot-panel {
    height: 90vh !important;
  }
}

/* Tablet Specific (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    padding: 50px 0;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .stat-card-modern {
    margin-bottom: 15px;
  }

  .footer-main .col-md-6 {
    margin-bottom: 25px;
  }
}

/* Mobile: Ensure navbar and chatbot stay fixed */
@media (max-width: 768px) {
  .navbar-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
  }

  body {
    padding-top: 70px;
    /* Prevent content from hiding under fixed navbar */
  }

  .chatbot-widget {
    position: fixed !important;
  }
}


/* ===== MOBILE FIX FOR CHATBOT WIDGET (FULLY RESPONSIVE) ===== */
@media (max-width: 600px) {

  /* Main panel styles */
  .chatbot-panel {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;

    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    transform: none !important;
  }

  /* Header spacing */
  .chatbot-header {
    border-radius: 0 !important;
  }

  /* Messages container */
  .chatbot-messages {
    height: calc(100vh - 140px) !important;
    padding-bottom: 70px !important;
  }

  /* Input */
  .chatbot-input {
    padding: 12px !important;
    border-radius: 0 !important;
  }

  /* Input field */
  .chatbot-input input {
    width: 100% !important;
    flex: 1 !important;
  }

  /* Send button */
  .chatbot-input .btn-send {
    flex-shrink: 0 !important;
  }

  /* Floating toggle button */
  .chatbot-toggle {
    bottom: 20px !important;
    right: 20px !important;
  }
}

@media (max-width: 600px) {
  .chatbot-panel {
    position: fixed !important;
    bottom: 75px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 70vh !important;
    transform: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .chatbot-messages {
    height: calc(100vh - 140px) !important;
  }

  .chatbot-input {
    padding: 12px !important;
  }
}