/* ==========================================
   Fempire Rising - Style Sheets (Vanilla CSS)
   ========================================== */

/* Custom CSS Variables */
:root {
  --bg-dark: #07070b;
  --bg-dark-secondary: #0e0e14;
  --bg-card: rgba(18, 18, 26, 0.55);
  --bg-card-hover: rgba(26, 26, 38, 0.7);
  --bg-glass: rgba(10, 10, 15, 0.6);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 126, 64, 0.3);
  --border-purple: rgba(138, 43, 226, 0.3);
  --text-main: #f8f9fa;
  --text-secondary: #a0a5b1;
  --text-muted: #676d7a;
  
  /* Logo Gradients and Accents */
  --accent-orange: #ff7e40;
  --accent-red: #ff255c;
  --accent-purple: #8a2be2;
  --accent-gradient: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 50%, var(--accent-purple) 100%);
  --accent-gradient-hover: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 50%, var(--accent-orange) 100%);
  --purple-glow: rgba(138, 43, 226, 0.3);
  --orange-glow: rgba(255, 126, 64, 0.35);
  --red-glow: rgba(255, 37, 92, 0.3);
  
  /* Fonts */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Layout and Transitions */
  --max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* CSS Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography Custom Rules */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-dark);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Base Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Decorative Background Glowing Orbs */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: float-orb 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: var(--accent-purple);
  top: -10vw;
  right: -10vw;
  animation-duration: 25s;
}

.orb-2 {
  width: 45vw;
  height: 45vw;
  background: var(--accent-orange);
  top: 40vh;
  left: -15vw;
  animation-duration: 30s;
  animation-delay: -5s;
}

.orb-3 {
  width: 35vw;
  height: 35vw;
  background: var(--accent-red);
  bottom: 10vh;
  right: -5vw;
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4vw, -4vw) scale(1.1);
  }
  100% {
    transform: translate(-3vw, 3vw) scale(0.95);
  }
}

/* Helper Components & Badges */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(255, 37, 92, 0.08);
  border: 1px solid rgba(255, 37, 92, 0.25);
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-orange) 0%, var(--accent-red) 25%, var(--accent-purple) 50%, var(--accent-orange) 75%, var(--accent-red) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: shimmer-text 5s linear infinite;
}

@keyframes shimmer-text {
  to {
    background-position: 200% center;
  }
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 1px solid transparent;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 37, 92, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient-hover);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 37, 92, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-purple);
  color: var(--text-main);
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-outline:hover {
  background: var(--accent-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--purple-glow);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ==================== HEADER / NAV ==================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 7, 11, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(7, 7, 11, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  transition: var(--transition-smooth);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-orange);
  object-fit: cover;
  transition: var(--transition-bounce);
}

.logo-link:hover .brand-logo {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-red);
}

.brand-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--text-main);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

/* Navigation for tablet/mobile states is styled in media queries */

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  line-height: 1.15;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-lead strong {
  color: var(--text-main);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  width: 100%;
}

/* ==================== COMMON SECTIONS ==================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  max-width: 750px;
  margin-bottom: 5rem;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.8rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ==================== ABOUT US SECTION ==================== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Glass Cards CSS */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Vision & Mission Card Styling */
.vision-card::before, .mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.vision-card::before {
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-red) 100%);
}

.mission-card::before {
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-purple) 100%);
}

.vision-card::after, .mission-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.15;
  transition: var(--transition-smooth);
}

.vision-card::after {
  background: var(--accent-orange);
}

.mission-card::after {
  background: var(--accent-purple);
}

.vision-card:hover::after {
  opacity: 0.28;
  transform: scale(1.4);
}

.mission-card:hover::after {
  opacity: 0.28;
  transform: scale(1.4);
}

.vision-card:hover {
  border-color: rgba(255, 126, 64, 0.35) !important;
  box-shadow: 0 15px 35px rgba(255, 126, 64, 0.08) !important;
}

.mission-card:hover {
  border-color: rgba(138, 43, 226, 0.35) !important;
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.08) !important;
}

.vision-card .card-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mission-card .card-subtitle {
  color: var(--accent-purple);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.vision-card:hover .card-title {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-card:hover .card-title {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.glass-card.span-two {
  grid-column: span 2;
}

.card-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.emoji-icon {
  font-size: 1.6rem;
}

.card-title {
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-text {
  color: var(--text-secondary);
}

.list-bulleted {
  list-style: none;
}

.list-bulleted li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

.list-bulleted li::before {
  content: "💜";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.85rem;
}

.card-content-split {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.split-left {
  flex: 0 0 250px;
}

.split-right {
  flex: 1;
}

/* ==================== CORE PILLARS SECTION ==================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  position: relative;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pillar-card-inner {
  padding: 3rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-icon-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  color: var(--accent-orange);
  transition: var(--transition-bounce);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
  transition: var(--transition-bounce);
}

.pillar-emoji {
  position: absolute;
  font-size: 1rem;
  bottom: -4px;
  right: -4px;
  background: var(--bg-dark-secondary);
  border: 1px solid var(--border-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  margin-bottom: 0.4rem;
}

.pillar-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pillar-link-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0;
  transition: var(--transition-smooth);
}

.pillar-link-btn:hover {
  color: var(--accent-red);
  transform: translateX(6px);
}

/* Card Glow Effect on Hover */
.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  transform: scale(1.1) rotate(-5deg);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 100%, var(--orange-glow) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.pillar-card:hover .card-glow {
  opacity: 1;
}

/* Pillar Accent Variations */
.pillar-card[data-pillar="safety"] .pillar-subtitle,
.pillar-card[data-pillar="safety"] .pillar-icon-box {
  color: var(--accent-red);
}
.pillar-card[data-pillar="safety"] .card-glow {
  background: radial-gradient(circle at 100% 100%, var(--red-glow) 0%, transparent 60%);
}
.pillar-card[data-pillar="safety"]:hover {
  border-color: rgba(255, 37, 92, 0.3);
}

.pillar-card[data-pillar="career"] .pillar-subtitle,
.pillar-card[data-pillar="career"] .pillar-icon-box {
  color: var(--accent-orange);
}
.pillar-card[data-pillar="career"] .card-glow {
  background: radial-gradient(circle at 100% 100%, var(--orange-glow) 0%, transparent 60%);
}
.pillar-card[data-pillar="career"]:hover {
  border-color: rgba(255, 126, 64, 0.3);
}

.pillar-card[data-pillar="legal"] .pillar-subtitle,
.pillar-card[data-pillar="legal"] .pillar-icon-box {
  color: #ffca28; /* Golden Accent for Balance Scale */
}
.pillar-card[data-pillar="legal"] .card-glow {
  background: radial-gradient(circle at 100% 100%, rgba(255, 202, 40, 0.15) 0%, transparent 60%);
}
.pillar-card[data-pillar="legal"]:hover {
  border-color: rgba(255, 202, 40, 0.3);
}

.pillar-card[data-pillar="community"] .pillar-subtitle,
.pillar-card[data-pillar="community"] .pillar-icon-box {
  color: var(--accent-purple);
}
.pillar-card[data-pillar="community"] .card-glow {
  background: radial-gradient(circle at 100% 100%, var(--purple-glow) 0%, transparent 60%);
}
.pillar-card[data-pillar="community"]:hover {
  border-color: rgba(138, 43, 226, 0.3);
}

/* ==================== IMPACT SECTION ==================== */
.impact-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.stat-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-purple);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.stat-count-wrapper {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.stat-plus {
  font-size: 2.5rem;
  font-weight: 700;
  margin-left: 0.1rem;
}

.stat-label {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.stat-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==================== COMMUNITY MESSAGE SECTION ==================== */
.message-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.message-container {
  max-width: 1000px;
}

.message-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column: Visuals & Headings */
.message-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flower-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flower-svg {
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: rotate-flower 25s infinite linear;
}

.flower-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  background: var(--accent-gradient);
  filter: blur(25px);
  opacity: 0.35;
  z-index: 1;
  border-radius: 50%;
  animation: scale-glow 4s infinite alternate ease-in-out;
}

.petal {
  transform-origin: 50px 50px;
  transition: transform 0.4s ease;
}

@keyframes rotate-flower {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes scale-glow {
  0% { transform: scale(0.9); opacity: 0.25; }
  100% { transform: scale(1.15); opacity: 0.45; }
}

.message-headings {
  max-width: 320px;
}

.message-visual-col .quote-header {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 0.6rem;
  display: block;
}

.message-visual-col .quote-subtitle {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Right Column: Quote Glass Card */
.message-quote-col {
  position: relative;
}

.quote-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
  transition: var(--transition-smooth);
}

.quote-glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px rgba(255, 37, 92, 0.15);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 37, 92, 0.18);
  position: absolute;
  user-select: none;
}

.open-quote {
  top: 1rem;
  left: 2rem;
}

.close-quote {
  bottom: 2rem;
  right: 2rem;
}

.message-quote-col .quote-text {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.quote-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
  margin-bottom: 2rem;
  width: 100%;
}

.message-quote-col .quote-author {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ==================== CTA JOIN US SECTION ==================== */
.join-container {
  max-width: 1100px;
}

.join-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 4rem;
  align-items: center;
}

.join-info {
  max-width: 480px;
}

.join-highlight {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-purple);
}

.join-form-wrapper {
  background: var(--bg-card-hover);
  padding: 3rem;
  border: 1px solid var(--border-hover);
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  position: relative;
}

.cta-form {
  transition: var(--transition-smooth);
}

.form-group {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: rgba(7, 7, 11, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 126, 64, 0.15);
}

.form-select option {
  background-color: var(--bg-dark-secondary);
  color: var(--text-main);
}

/* Success Indicator states */
.form-success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-in-scale 0.5s ease forwards;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid #4caf50;
  color: #4caf50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-success-message h3 {
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.form-success-message p {
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  max-width: 320px;
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== FOOTER ==================== */
.main-footer {
  background-color: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-link {
  margin-bottom: 1.5rem;
}

.footer-moto {
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links h4, .footer-pillars h4, .footer-contact h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.footer-links ul, .footer-pillars ul {
  list-style: none;
}

.footer-links li, .footer-pillars li {
  margin-bottom: 0.8rem;
}

.footer-links a, .footer-pillars a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover, .footer-pillars a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-contact a {
  color: var(--text-main);
}

.footer-contact a:hover {
  color: var(--accent-red);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: var(--transition-bounce);
}

.social-icons a:hover {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==================== MODALS COMMON ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 550px;
  background: rgba(14, 14, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-card.modal-lg {
  max-width: 900px;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  text-align: center;
}

.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.modal-title {
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.modal-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-textarea {
  resize: vertical;
}

/* Modal Join Form Reset / Success State */
.modal-overlay .form-success-message {
  padding: 2rem 0;
}

/* ==================== RESOURCES HUB SPLIT LAYOUT ==================== */
.resources-modal-body {
  text-align: left;
}

.resources-modal-body .modal-subtitle {
  margin-bottom: 2rem;
}

.resources-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  min-height: 400px;
}

.resources-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.tab-btn.active {
  background: rgba(255, 126, 64, 0.08);
  border-color: rgba(255, 126, 64, 0.2);
  color: var(--accent-orange);
}

.tab-btn.active .tab-emoji {
  filter: drop-shadow(0 0 5px rgba(255, 126, 64, 0.3));
}

.resources-tabs-content {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  overflow-y: auto;
  max-height: 50vh;
}

.tab-pane {
  display: none;
  animation: fade-in 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-pane h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.tab-pane > p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Tab Specific Styles - Safety */
.hotline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hotline-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 37, 92, 0.04);
  border: 1px solid rgba(255, 37, 92, 0.15);
  border-radius: 10px;
  padding: 1.2rem;
}

.hotline-icon {
  font-size: 1.8rem;
}

.hotline-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: var(--text-main);
  font-family: var(--font-sans);
}

.hotline-number {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-red);
}

.resource-guides h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  margin-bottom: 1rem;
}

.resource-guides ul {
  list-style: none;
}

.resource-guides li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.resource-guides li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-red);
}

/* Tab Specific Styles - Career */
.opps-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.opp-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.opp-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.select-badge { background: rgba(138, 43, 226, 0.15); color: #b388ff; border: 1px solid rgba(138, 43, 226, 0.3); }
.job-badge { background: rgba(255, 126, 64, 0.15); color: #ffd180; border: 1px solid rgba(255, 126, 64, 0.3); }
.intern-badge { background: rgba(76, 175, 80, 0.15); color: #a5d6a7; border: 1px solid rgba(76, 175, 80, 0.3); }

.opp-item h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.opp-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Tab Specific Styles - Legal */
.rights-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rights-detail {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.rights-detail[open] {
  border-color: rgba(255, 202, 40, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.rights-detail summary {
  padding: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  outline: none;
  user-select: none;
  font-family: var(--font-serif);
}

.rights-detail summary:hover {
  color: #ffca28;
}

.rights-content {
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tab Specific Styles - Community */
.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.forum-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.forum-card:hover {
  border-color: var(--border-purple);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.forum-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.forum-card h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.forum-members {
  font-size: 0.75rem;
  color: var(--accent-purple);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.forum-activity {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pt-2 { padding-top: 1.5rem; }

/* ==================== ANIMATIONS ON SCROLL ==================== */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: local-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .fade-in:nth-child(1) { animation-delay: 0.1s; }
.hero-content .fade-in:nth-child(2) { animation-delay: 0.25s; }
.hero-content .fade-in:nth-child(3) { animation-delay: 0.4s; }
.hero-content .fade-in:nth-child(4) { animation-delay: 0.55s; }

@keyframes local-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== RESPONSIVE DESIGN (MEDIA QUERIES) ==================== */

/* ==================== SCREEN COMPATIBILITY BREAKPOINTS (DEVICE-SPECIFIC) ==================== */

/* 1. Large Laptops & Standard Desktops (min-width: 1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }
}

/* 2. Laptops & Small Desktops (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .container {
    max-width: 960px;
    padding: 0 1.8rem;
  }
  .hero-container {
    gap: 2.5rem;
  }
  .pillars-grid, .vision-mission-grid {
    gap: 1.8rem;
  }
}

/* 3. Tablets Landscape & Portrait (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 1.5rem;
  }
  section {
    padding: 80px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    z-index: 100;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-section {
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .vision-mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-fempire-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 4. Large Phones & Small Tablets (481px to 767px) */
@media (max-width: 767px) and (min-width: 481px) {
  .container {
    padding: 0 1.5rem;
  }
  section {
    padding: 70px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 3rem;
    z-index: 100;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-container {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .vision-mission-grid, .pillars-grid, .impact-grid, .join-grid, .message-split, .why-fempire-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .glass-card.span-two {
    grid-column: span 1;
  }

  .card-content-split {
    flex-direction: column;
    gap: 1.5rem;
  }

  .pillar-card-inner {
    padding: 2.2rem;
  }

  .stat-card {
    padding: 2.5rem 1.5rem;
  }

  .join-form-wrapper {
    padding: 2.2rem 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .resources-container {
    grid-template-columns: 1fr;
  }

  .resources-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  .tab-btn {
    white-space: nowrap;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .opp-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
  }
  
  .opp-item .btn {
    justify-self: center;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  /* Keep SOS safety radar container visible and optimized on mobile screen devices */
  .sos-radar-container {
    display: block;
  }
}

/* 5. Standard & Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }
  section {
    padding: 60px 0;
  }

  /* Optimize branding text & logo bounds for small headers */
  .brand-text {
    font-size: 1.1rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }

  /* Scale down section headers for balanced mobile viewports */
  .section-title {
    font-size: 1.75rem;
  }

  /* Card padding and translation shifts overrides to prevent horizontal scrolls */
  .about-sub-card, .why-step-card {
    padding: 1.5rem;
  }
  .about-sub-card:hover, .why-step-card:hover {
    transform: translateY(-5px);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    padding: 2rem;
    z-index: 100;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 50px;
  }
  
  .hero-title {
    white-space: nowrap;
    font-size: clamp(1.2rem, 7.5vw, 2.1rem);
    margin-bottom: 1.2rem;
  }

  .hero-cycling-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: auto;
    padding: 0.75rem 1.4rem;
    font-size: 0.88rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
  }

  .vision-mission-grid, .pillars-grid, .impact-grid, .join-grid, .message-split, .why-fempire-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .glass-card, .pillar-card-inner, .why-card {
    padding: 2rem 1.5rem;
  }

  .card-content-split {
    flex-direction: column;
    gap: 1.2rem;
  }

  .testimonial-blockquote::before, .testimonial-blockquote::after {
    font-size: 3.5rem;
  }

  .quote-glass-card {
    padding: 2.2rem 1.5rem;
  }

  .join-form-wrapper {
    padding: 2rem 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .resources-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resources-tabs-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
  }

  .tab-btn {
    white-space: nowrap;
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .resources-tabs-content {
    padding: 1.2rem;
  }

  .opp-item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Keep SOS safety radar container visible on small phone viewports */
  .sos-radar-container {
    display: block;
  }
}

/* ==================== ANIMATIONS AND STYLING ENHANCEMENTS ==================== */

/* Page Loader Screen */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-logo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
}

.loader-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-orange);
  object-fit: cover;
  animation: logo-pulse 2s infinite alternate ease-in-out;
}

@keyframes logo-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(255, 126, 64, 0.2);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 37, 92, 0.6);
  }
}

.loader-bar-bg {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 10px;
  transition: width 0.1s ease-out;
}

.loader-text {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Scroll Progress Indicator */
.scroll-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 102;
  transition: width 0.1s ease-out;
}

/* Cycling Word & Subtitle */
.hero-cycling-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2rem;
  font-family: var(--font-serif);
}

.cycling-word {
  color: var(--accent-orange);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 700;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}

/* Mouse Glow Button Styles */
.mouse-glow-btn {
  position: relative;
  overflow: hidden;
}

.mouse-glow-btn span {
  position: relative;
  z-index: 2;
}

.btn-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.18), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.mouse-glow-btn:hover .btn-glow-layer {
  opacity: 1;
}

/* ==================== SUBPAGE LAYOUTS ==================== */
.subpage-banner-section {
  position: relative;
  height: clamp(250px, 45vh, 400px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.subpage-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(0.85);
}

.subpage-banner-container {
  position: relative;
  z-index: 2;
}

.subpage-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.subpage-banner-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subpage-banner-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
}

.subpage-content-section {
  padding: 60px 0 120px;
}

.back-link-wrapper {
  margin-bottom: 3rem;
}

.back-to-home-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-orange);
  transition: var(--transition-smooth);
}

.back-to-home-link:hover {
  color: var(--accent-red);
  padding-left: 5px;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.rich-content-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.rich-content-block p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.subpage-feature-block {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.subpage-feature-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.subpage-feature-block > p {
  margin-bottom: 2rem;
}

/* Hotline elements in subpages */
.hotline-grid-subpage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.hotline-card-sub {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  align-items: start;
  transition: var(--transition-smooth);
}

.hotline-card-sub:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.hl-icon {
  font-size: 2.2rem;
}

.hl-content h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.hl-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

.hl-desc {
  font-size: 0.9rem;
}

/* Guidelines and accordions */
.protection-list, .rights-accordion-subpage {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.rights-detail-sub {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.rights-detail-sub[open] {
  border-color: rgba(255, 37, 92, 0.25);
}

.rights-detail-sub summary {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  font-family: var(--font-serif);
}

.rights-detail-sub summary:hover {
  color: var(--accent-orange);
}

.rights-content-sub {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.numbered-list-sub {
  list-style: none;
}

.numbered-list-sub li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.numbered-list-sub li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.numbered-list-sub {
  counter-reset: my-counter;
}

/* Career subpage elements */
.opps-list-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.opp-card-subpage {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.opp-card-subpage:hover {
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
}

.opp-header-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.opp-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.opp-desc-full {
  margin: 1rem 0 1.5rem;
}

/* Skill builder cards */
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.guidance-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.guidance-card:hover {
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
}

.g-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.guidance-card h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  margin-bottom: 0.8rem;
}

.g-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-purple);
}

.g-link:hover {
  color: var(--accent-orange);
}

/* Forum listings in community page */
.forum-grid-subpage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.forum-card-sub {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.forum-card-sub:hover {
  border-color: var(--border-purple);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.f-icon-sub {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.forum-card-sub h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.f-members {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

.f-desc {
  font-size: 0.9rem;
}

.forum-threads-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.thread-item {
  padding: 2rem;
}

.thread-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.thread-author {
  color: var(--text-main);
  font-weight: 600;
}

.thread-circle {
  color: var(--accent-purple);
  font-weight: 600;
}

.thread-replies {
  color: var(--text-muted);
}

.thread-preview {
  margin-top: 0.5rem;
}

/* Sidebar elements */
.sticky-sidebar-card {
  position: sticky;
  top: 120px;
  padding: 2.5rem;
  border-color: var(--border-purple);
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.15);
}

.sticky-sidebar-card h3 {
  margin-bottom: 0.5rem;
}

.sticky-sidebar-card > p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.sidebar-form {
  margin-bottom: 0;
}

/* ==================== WHY FEMPIRE RISING SECTION ==================== */
.why-fempire-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.why-fempire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem 2.2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(255, 126, 64, 0.08);
}

.why-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.why-card-title {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.why-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Right Column - Steps and Highlights */
.why-steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-step-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
}

.why-step-card:hover {
  transform: translateX(8px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(255, 126, 64, 0.08);
}

.why-step-card .step-icon {
  font-size: 2rem;
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.why-step-card .step-text-content h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.why-step-card .step-text-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Neon Highlight Banner */
.neon-highlight-banner {
  position: relative;
  padding: 2.2rem;
  border-radius: 16px;
  background: rgba(138, 43, 226, 0.06);
  border: 1px solid rgba(138, 43, 226, 0.25);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(138, 43, 226, 0.12);
  transition: var(--transition-smooth);
}

.neon-highlight-banner:hover {
  transform: translateY(-3px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 40px rgba(138, 43, 226, 0.22);
}

.neon-glow-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(255, 126, 64, 0.15), transparent 75%);
  pointer-events: none;
}

.neon-content-inner {
  position: relative;
  z-index: 2;
}

.neon-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.neon-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Custom Quote highlights and font change */
.message-quote-col .quote-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text-main);
  line-height: 1.65;
}

.quote-highlight-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-style: italic;
}

.quote-highlight {
  color: var(--accent-orange);
  font-weight: 700;
  font-style: italic;
}

.about-sub-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==================== INTERACTIVE CANVAS & NEW STYLE ENERGY OVERRIDES ==================== */

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-color: transparent;
}

/* Card Interactive 3D Tilt CSS */
.glass-card, .pillar-card, .why-card, .stat-card, .about-sub-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)) scale3d(1, 1, 1);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Custom glowing borders trail for premium cards on hover */
.glass-card::before, .pillar-card::before, .why-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 50%, var(--accent-purple) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover::before, .pillar-card:hover::before, .why-card:hover::before {
  opacity: 0.25;
}

/* ==================== SOS RADAR FLOATING WIDGET ==================== */
.sos-radar-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: var(--font-sans);
}

.sos-radar-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(135deg, var(--accent-red) 0%, #d50000 100%);
  border: 1px solid rgba(255, 37, 92, 0.4);
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(255, 37, 92, 0.4);
  cursor: pointer;
  position: relative;
  transition: var(--transition-bounce);
  overflow: visible;
  outline: none;
}

.sos-radar-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 37, 92, 0.6);
}

.sos-radar-btn .sos-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Pulse waves animation */
.radar-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 37, 92, 0.4);
  border-radius: 50px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

.wave-1 {
  animation: pulse-wave 2.5s infinite linear;
}

.wave-2 {
  animation: pulse-wave 2.5s infinite linear;
  animation-delay: 1.25s;
}

@keyframes pulse-wave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

/* Slide out mini safety panel */
.sos-slide-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: rgba(14, 14, 22, 0.95);
  border: 1px solid rgba(255, 37, 92, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  z-index: 1001;
}

.sos-slide-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sos-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sos-panel-header h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
}

.sos-panel-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sos-panel-close:hover {
  color: var(--text-main);
}

.sos-panel-body {
  padding: 1.5rem;
}

.sos-panel-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.sos-hotlines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sos-hotline-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.sos-hotline-item:hover {
  background: rgba(255, 37, 92, 0.05);
  border-color: rgba(255, 37, 92, 0.25);
  transform: translateX(4px);
}

.sos-hotline-item.urgent {
  background: rgba(255, 37, 92, 0.03);
  border-color: rgba(255, 37, 92, 0.15);
}

.sos-hotline-item.urgent:hover {
  background: rgba(255, 37, 92, 0.08);
  border-color: rgba(255, 37, 92, 0.4);
}

.sh-icon {
  font-size: 1.4rem;
}

.sos-hotline-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.sos-hotline-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sos-action-links {
  margin-top: 1rem;
}

/* Subpages & Grid Mobile Overrides (Moved to bottom of file to preserve cascade order) */

/* ==================== ENHANCED ABOUT US SECTION ==================== */
.about-hero-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-visual-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.about-leaf-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaf-svg {
  width: 100%;
  height: 100%;
  z-index: 2;
}

.leaf-svg .stem {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-line 3s ease forwards;
}

.leaf-svg .leaf-outline {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw-line 3.5s ease forwards;
  animation-delay: 0.5s;
}

.leaf-svg .leaf-bg {
  transform: scale(0);
  transform-origin: 50% 70%;
  animation: grow-scale 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 1.5s;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes grow-scale {
  to { transform: scale(1); }
}

.leaf-glow-bg {
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--accent-gradient);
  filter: blur(25px);
  opacity: 0.25;
  z-index: 1;
  border-radius: 50%;
  animation: scale-glow 5s infinite alternate ease-in-out;
}

/* Right Column: Grid cards for About Us */
.about-content-right {
  display: flex;
  flex-direction: column;
}

.about-card-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-sub-card:hover {
  transform: translateX(10px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 25px rgba(255, 126, 64, 0.1);
}

.about-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.about-sub-card h4 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about-sub-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==================== BOTTOM MEDIA QUERY OVERRIDES ==================== */
/* Placing mobile media queries at the end of styles.css guarantees that they correctly override desktop styles */

@media (max-width: 768px) {
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .guidance-grid {
    grid-template-columns: 1fr;
  }
  .forum-grid-subpage {
    grid-template-columns: 1fr;
  }
  .opp-card-subpage {
    padding: 1.5rem;
  }
  .sticky-sidebar-card {
    position: static;
  }
  
  /* Enhanced About Us Mobile */
  .about-hero-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual-left {
    align-items: center;
    text-align: center;
  }
  .about-leaf-wrapper {
    display: none !important;
  }
  .about-sub-card {
    transform: none;
  }
  .about-sub-card:hover {
    transform: translateY(-5px);
  }

  /* Enhanced Why Fempire Mobile */
  .why-fempire-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .why-card {
    padding: 2.2rem 1.8rem;
  }
  .why-card:hover {
    transform: translateY(-5px);
  }

  /* Optimized SOS Floating Widget for Mobile/Tablets */
  .sos-radar-container {
    bottom: 20px;
    right: 20px;
  }

  .sos-radar-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    gap: 0.4rem;
    box-shadow: 0 8px 20px rgba(255, 37, 92, 0.3);
  }

  .sos-radar-btn .sos-icon {
    font-size: 1.1rem;
  }

  .sos-slide-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%) scale(1);
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.85);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    background: rgba(10, 10, 15, 0.98);
    padding-top: 25px; /* Leave space for native handle */
  }

  .sos-slide-panel::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  .sos-slide-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .sos-panel-header {
    padding: 0.8rem 1.5rem 0.5rem;
  }

  .sos-panel-body {
    padding: 1rem 1.5rem 1.8rem;
  }

  .sos-hotlines {
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .sos-hotline-item {
    padding: 0.75rem 0.9rem;
  }
}

@media (max-width: 480px) {
  /* Prevent horizontal scrolls on standard phones */
  .about-sub-card, .why-step-card {
    padding: 1.5rem;
  }
  .about-sub-card:hover, .why-step-card:hover {
    transform: translateY(-5px);
  }

  /* Further scale down for very small mobile screens */
  .sos-radar-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }
  .sos-radar-btn .sos-icon {
    font-size: 1rem;
  }
}
