﻿/*
Theme Name: Shiny Gym
Theme URI: 
Author: Antigravity
Description: A bold, high-contrast, CrossFit-style WordPress theme for "Shiny Gym".
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap');

/* Core CSS Reset and Variables */
:root {
  --primary-color: #64b5f6;
  --secondary-color: #ba68c8;
  --bg-color: linear-gradient(135deg, #0a0a1a 0%, #0f0c24 30%, #130e2e 60%, #0d0b1f 100%);
  --text-main: #f0f0f5;
  --text-muted: #9a9ab0;
  --glass-bg: linear-gradient(135deg, rgba(100, 181, 246, 0.08), rgba(186, 104, 200, 0.08));
  --glass-bg-solid: rgba(15, 15, 35, 0.6);
  --glass-border: rgba(100, 181, 246, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --gradient-accent: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-color);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Base hover effect for standard links. Exceptions made for specific elements like the logo */
a:not(.site-branding a):not(.btn):hover {
  filter: brightness(1.2);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(100, 181, 246, 0.35);
}

.btn:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(186, 104, 200, 0.5);
}

/* ================= HEADER ================= */
.site-header {
  background: rgba(10, 10, 26, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 15px 0;
  border-bottom: 1px solid rgba(100, 181, 246, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  /* Slightly wider for the header */
}

.site-branding h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.3s ease;
}

.site-branding a {
  text-decoration: none;
}

.site-branding a:hover h1 {
  filter: drop-shadow(0 0 10px rgba(100, 181, 246, 0.6));
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 45px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: all 0.3s ease;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--gradient-accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.main-navigation a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(100, 181, 246, 0.3);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item>a::after {
  width: 100%;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a1a;
  /* fallback while video loads */
}

/* Full-cover background video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay on top of the video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 26, 0.72),
      rgba(100, 181, 246, 0.12),
      rgba(186, 104, 200, 0.18));
  z-index: 1;
}

/* Hero content must sit above video + overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 20px;
  /* give content breathing room on mobile */
}

.hero-large {
  min-height: 80vh;
}

.hero-small {
  min-height: 40vh;
}

/* Keyframes for Hero Animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  animation: fadeUp 1s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #ddd;
  opacity: 0;
  /* Start hidden for animation */
  animation: fadeUp 1s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: 0.3s;
  /* Slight delay after the H1 fades in */
}

.hero-content .btn {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: 0.6s;
}

/* ================= WOD SECTION ================= */
.wod-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.05), rgba(186, 104, 200, 0.05));
  text-align: center;
}

.wod-section h2 {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 0 4px 15px rgba(186, 104, 200, 0.3);
  margin-bottom: 40px;
}

.wod-section p {
  color: var(--text-muted) !important;
}

.wod-card {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  padding: 50px;
  max-width: 650px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wod-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

.wod-card:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 181, 246, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(100, 181, 246, 0.08);
}

.wod-card h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  border-bottom: 1px solid rgba(100, 181, 246, 0.2);
  padding-bottom: 15px;
  display: inline-block;
  margin-bottom: 25px;
}

.wod-card ul {
  list-style: none;
  font-size: 1.2rem;
  text-align: left;
  margin: 0 auto;
  display: inline-block;
}

.wod-card li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
}

.wod-card li::before {
  content: 'â–¶';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
  top: 5px;
}

/* ================= CONTACT PAGE ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.content-box {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 30px;
  /* Reduced from 40px */
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.content-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.5;
}

.content-box h3 {
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.content-box p {
  color: var(--text-main) !important;
  margin-bottom: 16px;
}



.content-box:hover {
  border-color: rgba(100, 181, 246, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(186, 104, 200, 0.08);
}

/* Form Styles */
.gym-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Reduced from 20px */
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  /* Reduced slightly */
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(100, 181, 246, 0.12);
  color: #fff;
  padding: 10px 12px;
  /* Reduced from 15px */
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  /* Reduced slightly */
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(100, 181, 246, 0.15);
}

.form-group option {
  background-color: #130e2e;
  color: #fff;
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 25px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ================= YOUTUBE CHANNEL SCROLLER ================= */
.yt-channel-wrap {
  position: relative;
  margin: 20px auto 0;
  overflow: hidden;
  /* hide scrollbar */
}

.yt-scroll-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 20px;
  scrollbar-width: none;
  /* Firefox: hide scrollbar */
}

.yt-scroll-track::-webkit-scrollbar {
  display: none;
  /* Chrome: hide scrollbar */
}

.yt-card {
  flex: 0 0 calc(25% - 18px);
  /* Show 4 cards now */
  min-width: calc(25% - 18px);
  scroll-snap-align: start;
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.yt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.yt-card-embed {
  position: relative;
  padding-bottom: 177.77%;
  /* 9:16 Aspect Ratio for Shorts */
  height: 0;
  overflow: hidden;
}

.yt-card-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-card-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: #fff;
  padding: 12px 14px 4px;
  letter-spacing: 0.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0 14px 12px;
}

/* Controls row */
.yt-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.yt-arrow {
  background: var(--gradient-accent);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
  flex-shrink: 0;
}

.yt-arrow:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(186, 104, 200, 0.5);
  transform: scale(1.1);
}

.yt-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Mobile: show 1-2 cards at a time */
@media (max-width: 992px) {
  .yt-card {
    flex: 0 0 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .yt-card {
    flex: 0 0 75%;
    min-width: 75%;
  }
}

@media (max-width: 480px) {
  .yt-card {
    flex: 0 0 85%;
    min-width: 85%;
  }
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.announcement-bar {
  background: var(--gradient-accent);
  padding: 8px 15px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.announcement-bar p {
  margin: 0;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* ======= END ANNOUNCEMENT BAR ======= */

/* --- Limited Spots Hanging Badge --- */
.limited-badge {
  position: absolute;
  right: 20px;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  animation: tag-sway 3s ease-in-out infinite;
  transform-origin: top center;
  cursor: default;
}

.badge-ribbon {
  background: linear-gradient(135deg, #cc2936, #a01a26);
  color: #fff;
  padding: 6px 10px 10px;
  border-radius: 0 0 6px 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  box-shadow: 0 4px 15px rgba(204, 41, 54, 0.5);
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.badge-ribbon::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.badge-icon {
  display: block;
  margin: 0 auto 3px;
  color: #ffd700;
}

.badge-text {
  display: block;
}

@keyframes tag-sway {

  0%,
  100% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(4deg);
  }
}

/* Mobile: scale down badge */
@media (max-width: 480px) {
  .limited-badge {
    right: 8px;
    transform-origin: top center;
  }

  .badge-ribbon {
    font-size: 0.55rem;
    padding: 4px 7px 8px;
  }
}

/* ======= END LIMITED BADGE ======= */


.announcement-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
  display: inline-block;
  white-space: nowrap;
}

.announcement-link:hover {
  opacity: 0.85;
  filter: none;
}

.nav-cta-item {
  margin-left: 10px;
}

.nav-cta {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  font-family: var(--font-heading);
  font-size: 1.3rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(100, 181, 246, 0.3);
  -webkit-text-fill-color: #fff !important;
}

.nav-cta:hover {
  box-shadow: 0 6px 25px rgba(186, 104, 200, 0.5) !important;
  transform: translateY(-2px) !important;
  opacity: 0.95;
}

.nav-cta::after {
  display: none !important;
}

/* =============================================
   SMASH BALLOON INSTAGRAM FEED â€” DARK THEME OVERRIDES
   ============================================= */

/* Feed wrapper â€” transparent, no border, max-width to allow a proper 3-column grid */
.insta-plugin-container {
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.insta-plugin-container #sb_instagram,
.insta-plugin-container .sbi_header_text,
.insta-plugin-container #sbi_images {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Hide profile header (avatar, name, bio) */
.insta-plugin-container .sbi_header,
.insta-plugin-container .sbi_header_img,
.insta-plugin-container .sbi_header_text,
.insta-plugin-container .sbi_bio,
.insta-plugin-container #sbi_header {
  display: none !important;
}

/* Hide "Follow on Instagram" button */
.insta-plugin-container #sbi_load .sbi_follow_btn,
.insta-plugin-container .sbi_follow_btn,
.insta-plugin-container a[href*="instagram.com/alphas_shredx"].sbi_btn_text,
.insta-plugin-container .sb-instagram-hashtag-link {
  display: none !important;
}

/* Force Horizontal Scroll Carousel for the feed */
.insta-plugin-container #sbi_images {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  gap: 20px !important;
  padding-bottom: 20px !important;
}

.insta-plugin-container #sbi_images::-webkit-scrollbar {
  display: none !important;
}

/* Each post card */
.insta-plugin-container .sbi_item {
  flex: 0 0 calc(33.333% - 14px) !important;
  min-width: 250px !important;
  scroll-snap-align: start !important;
  clear: none !important;
  float: none !important;
  margin: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  padding: 0 !important;
}

.insta-plugin-container .sbi_item:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(100, 181, 246, 0.4) !important;
  box-shadow: 0 12px 40px rgba(100, 181, 246, 0.2) !important;
}

/* Image fill - Force aspect ratio similar to YouTube Shorts */
.insta-plugin-container .sbi_photo_wrap,
.insta-plugin-container .sbi_photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 9/16 !important;
}

.insta-plugin-container .sbi_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Caption / overlay text */
.insta-plugin-container .sbi_caption_wrap {
  background: rgba(10, 10, 26, 0.85) !important;
  color: var(--text-muted) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  padding: 10px 12px !important;
}

/* Like / comment counts */
.insta-plugin-container .sbi_meta {
  background: rgba(10, 10, 26, 0.85) !important;
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}

/* "Load More" button â€” hide by default, restyle if visible */
.insta-plugin-container #sbi_load {
  background: transparent !important;
  border: none !important;
  padding: 20px 0 0 !important;
}

.insta-plugin-container #sbi_load .sbi_load_btn {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 36px !important;
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(100, 181, 246, 0.3) !important;
}

.insta-plugin-container #sbi_load .sbi_load_btn:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px) !important;
}

/* Pending install state */
.insta-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 20px;
  background: var(--glass-bg);
  border: 1px dashed var(--glass-border);
  border-radius: 16px;
  text-align: center;
  max-width: 500px;
  margin: 40px auto;
}

.insta-pending svg {
  fill: #e1306c;
  opacity: 0.7;
}

.insta-pending p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@keyframes tag-sway {

  0%,
  100% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(4deg);
  }
}

@keyframes tag-swing-tilted {

  0%,
  100% {
    transform: rotate(-15deg);
  }

  50% {
    transform: rotate(-10deg);
  }
}

/* ================= INSTAGRAM FOLLOW BUTTON ================= */
.insta-follow-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: 13px 32px !important;
  border-radius: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: all 0.3s cubic-bezier(0.1, 0.8, 0.2, 1) !important;
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
}

.insta-follow-btn:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 14px 40px rgba(220, 39, 67, 0.6) !important;
  background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%) !important;
}

/* Update insta-track for better card spacing on small screens */
@media (max-width: 992px) {
  .insta-card {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .limited-badge {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 10px;
  }

  .insta-card {
    flex: 0 0 calc(85% - 10px);
    min-width: calc(85% - 10px);
  }
}

/* ===============================================================
   RESPONSIVE NAVIGATION
   Desktop (>1024px): full nav visible, hamburger hidden
   Tablet/Mobile (â‰¤1024px): hamburger shows, nav slides down
   =============================================================== */

/* --- Hamburger button (hidden on desktop) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 10px;
  z-index: 3100;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X animation when open */
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Breakpoint: tablet & mobile (â‰¤1024px) --- */
@media (max-width: 1024px) {

  /* Hide limited badge on tablet/mobile */
  .limited-badge {
    display: none !important;
  }

  /* Show hamburger button */
  .nav-toggle {
    display: flex;
  }

  /* Header row: logo left, hamburger right */
  .header-container {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  /* Nav: hidden by default, slides down when open */
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 3000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
  }

  /* Open state */
  .main-navigation.nav-open {
    max-height: 500px;
    opacity: 1;
  }

  /* Stack nav links vertically */
  .main-navigation ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 0 16px !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .main-navigation ul li {
    width: 100%;
    margin: 0 !important;
  }

  .main-navigation ul li a {
    display: block;
    padding: 14px 24px !important;
    font-size: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main) !important;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  }

  .main-navigation ul li a:hover {
    background: rgba(100, 181, 246, 0.08);
    color: var(--primary-color) !important;
    padding-left: 32px !important;
  }

  /* Styling the Apply Now button on mobile to not be 100% wide */
  .main-navigation ul li.nav-cta-item {
    margin: 15px 24px 20px !important;
    width: auto;
  }

  .main-navigation ul li.nav-cta-item a.nav-cta {
    display: inline-block;
    background: var(--gradient-accent);
    color: #fff !important;
    padding: 12px 28px !important;
    font-family: var(--font-heading) !important;
    font-size: 1.2rem !important;
    border: none;
    border-radius: 4px;
    text-align: center;
  }

  .main-navigation ul li.nav-cta-item a.nav-cta:hover {
    padding-left: 28px !important;
    /* Override the hover padding effect from normal links */
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
  }

  /* Make sure site-header is position:relative for dropdown */
  .site-header {
    position: relative !important;
  }
}

/* --- Small mobile (â‰¤480px) extra tweaks --- */
@media (max-width: 480px) {
  .site-branding h1 {
    font-size: 1.3rem;
  }

  .announcement-bar {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .limited-badge {
    right: 15px;
    transform: scale(0.85);
    transform-origin: top right;
  }
}

/* ================= HERO UPDATES ================= */
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
  animation-delay: 0.6s;
}

.btn-outline {
  background: transparent !important;
  border: 2px solid rgba(100, 181, 246, 0.6) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-outline:hover {
  background: rgba(100, 181, 246, 0.15) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(100, 181, 246, 0.2) !important;
}

/* ================= SECTION TYPOGRAPHY ================= */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= FEATURES SECTION ================= */
.features-section {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.feature-card {
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.5;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(100, 181, 246, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(100, 181, 246, 0.08);
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ================= PROGRAM CARDS ================= */
.programs-section {
  text-align: center;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.program-card {
  background: var(--glass-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 65px 30px 40px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--glass-border);
  opacity: 0.8;
}

.program-card--featured {
  border-color: rgba(100, 181, 246, 0.4);
  background: rgba(15, 15, 40, 0.8);
}

.program-card--featured::before {
  background: var(--gradient-accent);
  opacity: 1;
}

.program-card-badge {
  position: absolute;
  top: 20px;
  left: 30px;
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(100, 181, 246, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(186, 104, 200, 0.08);
}

.program-card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.program-card-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.program-card h3 {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 12px;
}

.program-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}

.program-link {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.program-link:hover {
  color: var(--secondary-color);
  letter-spacing: 2px;
  filter: none;
}

/* ================= COMMUNITY / ABOUT SECTION ================= */
.community-section {
  text-align: left;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: rgba(5, 5, 12, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 70px 0 0;
  border-top: 1px solid rgba(100, 181, 246, 0.1);
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(100, 181, 246, 0.2);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
  filter: none;
}

.footer-bottom {
  padding: 30px 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 3px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  white-space: nowrap;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-style: italic;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet & Smaller Desktop (Max 992px) */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .wod-section h2 {
    font-size: 2.8rem;
  }

  .wod-card h3 {
    font-size: 2rem;
  }

  .contact-grid {
    gap: 20px;
  }

  .main-navigation ul {
    gap: 25px;
  }

  .main-navigation a {
    font-size: 1.2rem;
  }
}

/* Mobile Phones (Max 768px) */
@media (max-width: 768px) {

  /* Header & Navigation Stack */
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .site-branding h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .main-navigation a {
    font-size: 1.1rem;
    padding: 5px 10px;
  }

  /* Hero Sizing */
  .hero-content {
    padding: 60px 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-large {
    height: auto;
    min-height: 70vh;
  }

  /* Sections & Padding */
  .section-padding,
  .wod-section {
    padding: 30px 0;
  }

  /* WOD Card */
  .wod-card {
    padding: 30px;
  }

  .wod-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .wod-card ul {
    font-size: 1rem;
  }

  /* Grids to Single Column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-box {
    padding: 25px;
  }

  /* Map Sizing */
  .contact-map iframe {
    min-height: 250px;
  }

  /* Floating WhatsApp Button Scaling */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/* ================= INSTAGRAM FEED SECTION ================= */
.instagram-section {
  text-align: center;
}

.insta-scroller-wrap {
  position: relative;
  margin: 20px auto 0;
  overflow: hidden;
}

.insta-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 20px;
  /* Space for scrollbar if fallback */
  scroll-behavior: smooth;
}

.insta-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.insta-card {
  flex: 0 0 calc(25% - 15px);
  min-width: calc(25% - 15px);
  scroll-snap-align: start;
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.insta-img-wrap {
  position: relative;
  padding-bottom: 150%;
  /* Vertical Reels look */
  height: 0;
}

.insta-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.insta-overlay span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.insta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  border-color: #e1306c;
}

.insta-card:hover img {
  transform: scale(1.1);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

@media (max-width: 992px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Fix community stacking: image on top, text below for logic flow on mobile */
  .community-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .community-grid>.community-text {
    order: 2;
  }

  .community-grid>.community-image {
    order: 1;
  }
}

/* ================= FAQ SECTION ================= */
.faq-container .content-box {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.faq-container .content-box:hover {
  transform: translateX(5px);
  border-color: rgba(100, 181, 246, 0.6);
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 181, 246, 0.1);
}

@media (max-width: 480px) {

  .insta-grid,
  .insta-plugin-container #sbi_images {
    grid-template-columns: 1fr !important;
  }
}

/* Small Phones (Max 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .site-footer {
    padding: 40px 0 0;
  }
}

/* ================= NEW SECTIONS RESPONSIVE ================= */
@media (max-width: 992px) {

  .features-grid,
  .program-cards,
  .insta-plugin-container #sbi_images {
    grid-template-columns: 1fr 1fr !important;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    padding: 10px;
  }

  .announcement-bar {
    padding: 12px 10px 10px;
    font-size: 0.8rem;
    flex-direction: column;
    text-align: center;
  }

  .announcement-bar p {
    display: block;
    max-width: 95%;
    margin: 0 auto;
    font-size: 0.75rem;
  }

  .announcement-bar p {
    display: block;
    max-width: 95%;
    margin: 0 auto;
    font-size: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(100, 181, 246, 0.15);
    z-index: 999;
  }

  .main-navigation.nav-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-navigation a {
    font-size: 1.6rem;
    padding: 10px 0;
    display: block;
  }

  .nav-cta-item {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    text-align: left;
  }

  .nav-cta {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 20px !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    min-width: 140px;
  }

  /* Hero */
  .hero-eyebrow {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Add gap to prevent overlap */
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Hide branding heading on mobile/tablet by default */
  .site-branding h1 {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* Show branding only when nav is open */
  .nav-open .site-branding h1 {
    display: block;
    opacity: 1;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    /* Above nav but inside header visible area */
  }

  .site-header.nav-open .header-container {
    justify-content: space-between;
  }

  .site-header {
    min-height: 60px;
    display: flex;
    align-items: center;
  }

  .header-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    /* Push hamburger to right when title is hidden */
    transition: all 0.3s ease;
  }

  .nav-open .header-container {
    justify-content: space-between;
  }

  /* Sections */
  .features-grid,
  .program-cards {
    grid-template-columns: 1fr !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-row {
    gap: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .site-branding h1 {
    font-size: 1.5rem;
  }

  .announcement-bar {
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-col-title {
    border-bottom: 2px solid rgba(100, 181, 246, 0.2);
    margin-bottom: 15px;
  }

  .footer-brand {
    font-size: 1.5rem;
    white-space: normal;
    line-height: 1.2;
    margin: 0 auto 10px;
  }

  .footer-bottom {
    padding: 20px 10px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}