/* =============================================
   RARELY HEARD WOMEN - MODERN HOMEPAGE STYLES
   Matching the RHV Preview Site Design
   ============================================= */

/* CSS Custom Properties (Brand Colors) */
:root {
  --rhv-gold: #b8a456;
  --rhv-gold-light: #d4c88a;
  --rhv-gold-dark: #8a7a3f;
  --rhv-cream: #faf9f6;
  --rhv-charcoal: #333333;
  --rhv-white: #ffffff;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
html {
  scroll-behavior: smooth;
}

.modern-home * {
  box-sizing: border-box;
}

.modern-home {
  font-family: var(--font-body);
  color: var(--rhv-charcoal);
  line-height: 1.6;
  background-color: var(--rhv-cream);
  overflow-x: hidden;
}

.modern-home h1,
.modern-home h2,
.modern-home h3,
.modern-home h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

/* =============================================
   NAVIGATION - Modern Sticky Header
   ============================================= */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  background: transparent;
}

.modern-nav.scrolled {
  background: var(--rhv-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 2rem;
}

.modern-nav .nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-nav .nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.modern-nav .nav-logo-icon {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.modern-nav .nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rhv-charcoal);
  margin-left: 0.75rem;
}

.modern-nav.scrolled .nav-logo-icon {
  width: 32px;
  height: 32px;
}

.modern-nav.scrolled .nav-logo-text {
  font-size: 1.2rem;
}

.modern-nav .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.modern-nav .nav-links a {
  color: var(--rhv-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.modern-nav .nav-links a:hover {
  color: var(--rhv-gold);
}

.modern-nav .nav-cta {
  background: var(--rhv-gold);
  color: var(--rhv-white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.modern-nav .nav-cta:hover {
  background: var(--rhv-gold-dark);
  color: var(--rhv-white) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--rhv-charcoal);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .modern-nav .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--rhv-white);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .modern-nav .nav-links.active {
    right: 0;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 2rem 80px;
  background: #ffffff;
  overflow: hidden;
}

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

/* Hide corner logos - using only main blurred one */
.hero-bg-logo {
  display: none;
}

.hero-bg-logo-2 {
  display: none;
}

/* Large blurred logo watermark - bottom left positioned */
.hero-bg-circle {
  position: absolute;
  bottom: -400px;
  left: -300px;
  width: 1800px;
  height: 1800px;
  background-image: url('logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  animation: rotate-corner 100s linear infinite;
  pointer-events: none;
  filter: blur(8px);
}

/* Hidden */
.hero-bg-circle-2 {
  display: none;
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Separate rotation for corner logos (no translate) */
@keyframes rotate-corner {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 164, 86, 0.1);
  color: var(--rhv-gold-dark);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
  text-decoration: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--rhv-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 164, 86, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--rhv-charcoal);
  text-decoration: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--rhv-charcoal);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rhv-gold);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(51, 51, 51, 0.6);
}

/* Hero Image */
.hero-media {
  position: relative;
}

.hero-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-video-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-video-wrapper video {
  width: 100%;
  display: block;
}

/* Square Hero Video */
.hero-video-wrapper.hero-video-square {
  width: 500px;
  height: 500px;
}

.hero-video-wrapper.hero-video-square video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating elements */
.floating-card {
  position: absolute;
  background: var(--rhv-white);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 40px;
  left: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

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

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

  .hero-video-wrapper {
    transform: none;
  }

  .hero-video-wrapper.hero-video-square {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1/1;
    margin: 0 auto;
  }
}

/* =============================================
   FEATURES/SERVICES SECTION
   ============================================= */
.features-section {
  padding: 100px 2rem;
  background: var(--rhv-white);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(184, 164, 86, 0.1);
  color: var(--rhv-gold-dark);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(51, 51, 51, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--rhv-cream);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(184, 164, 86, 0.15);
  border-color: var(--rhv-gold);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.feature-link {
  color: var(--rhv-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.feature-link:hover {
  gap: 0.75rem;
}

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  padding: 80px 2rem;
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-dark) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background-image: url('logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: var(--rhv-white);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* =============================================
   EVENTS SECTION
   ============================================= */
.events-section {
  padding: 100px 2rem;
  background: var(--rhv-cream);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.event-card {
  background: var(--rhv-white);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(184, 164, 86, 0.1);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(184, 164, 86, 0.2);
  border-color: var(--rhv-gold);
}

.event-date {
  background: linear-gradient(135deg, var(--rhv-gold) 0%, var(--rhv-gold-dark) 100%);
  color: var(--rhv-white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  text-align: center;
}

.event-month {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-day {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.25rem 0;
}

.event-year {
  font-size: 0.875rem;
  opacity: 0.8;
}

.event-details {
  padding: 2rem;
  flex: 1;
}

.event-title {
  font-size: 1.5rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.75rem;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--rhv-gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.event-description {
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

@media (max-width: 968px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    padding: 1.5rem;
    flex-direction: row;
    gap: 1rem;
    min-width: auto;
  }

  .event-day {
    font-size: 2rem;
  }
}

/* =============================================
   ADVISORY BOARD SECTION
   ============================================= */
.advisory-section {
  padding: 100px 2rem;
  background: var(--rhv-white);
  overflow: hidden;
}

/* Advisory Carousel */
.advisory-carousel {
  margin-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  padding: 1rem 0;
}

.advisory-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.advisory-track.dragging {
  cursor: grabbing;
}

.advisory-track img {
  pointer-events: none;
}

.advisory-member {
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 180px;
}

.advisory-member:hover {
  transform: scale(1.05);
}

.member-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--rhv-gold);
  transition: all 0.3s ease;
}

.advisory-member:hover .member-photo {
  border-color: var(--rhv-gold-dark);
  box-shadow: 0 10px 30px rgba(184, 164, 86, 0.3);
  transform: scale(1.08);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.member-name {
  font-size: 1.1rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.member-role {
  color: var(--rhv-gold);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.25rem 0;
}

.member-company {
  color: rgba(51, 51, 51, 0.6);
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 640px) {
  .advisory-member {
    width: 150px;
  }

  .member-photo {
    width: 100px;
    height: 100px;
  }

  .member-name {
    font-size: 0.95rem;
  }

  .member-role {
    font-size: 0.75rem;
  }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-section {
  padding: 100px 2rem;
  background: linear-gradient(135deg, var(--rhv-charcoal) 0%, #1a1a1a 100%);
}

.testimonials-section .section-badge {
  background: rgba(184, 164, 86, 0.2);
  color: var(--rhv-gold);
}

.testimonials-section .section-title {
  color: var(--rhv-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(184, 164, 86, 0.3);
  transform: translateY(-5px);
}

.testimonial-quote {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: var(--rhv-gold);
  font-family: var(--font-display);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1.5rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rhv-gold);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  color: var(--rhv-white);
  font-weight: 600;
  font-size: 1rem;
}

.author-title {
  color: var(--rhv-gold);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  padding: 100px 2rem;
  background: var(--rhv-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background-image: url('logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--rhv-charcoal);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(51, 51, 51, 0.7);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.modern-footer {
  background: var(--rhv-charcoal);
  color: var(--rhv-white);
  padding: 60px 2rem 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rhv-white);
  margin-left: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 300px;
}

.footer-column h4 {
  color: var(--rhv-gold);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

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

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--rhv-gold);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rhv-white);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--rhv-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =============================================
   LOGIN MODAL
   ============================================= */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.login-modal {
  background: var(--rhv-white);
  border-radius: 24px;
  padding: 3rem;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.login-modal-overlay.active .login-modal {
  transform: scale(1);
}

.login-modal h2 {
  font-size: 2rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-modal p {
  color: rgba(51, 51, 51, 0.7);
  text-align: center;
  margin-bottom: 2rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--rhv-charcoal);
}

.login-form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: var(--rhv-gold);
}

.login-form .btn-primary {
  width: 100%;
  justify-content: center;
}

.login-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.login-links a {
  color: var(--rhv-gold);
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(51, 51, 51, 0.5);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--rhv-charcoal);
}

/* =============================================
   BIO MODAL
   ============================================= */
.bio-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

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

.bio-modal {
  background: var(--rhv-white);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.bio-modal-overlay.active .bio-modal {
  transform: scale(1);
}

.bio-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bio-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--rhv-gold);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 40px rgba(184, 164, 86, 0.25);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-info h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--rhv-charcoal);
  margin-bottom: 0.5rem;
}

.bio-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rhv-gold);
  margin-bottom: 0.25rem;
}

.bio-company {
  font-size: 0.95rem;
  color: rgba(51, 51, 51, 0.6);
  margin-bottom: 1.5rem;
}

.bio-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(51, 51, 51, 0.85);
  max-width: 500px;
}

/* Make advisory members clickable */
.advisory-member {
  cursor: pointer;
}

@media (max-width: 480px) {
  .bio-modal {
    padding: 2rem 1.5rem;
  }

  .bio-photo {
    width: 120px;
    height: 120px;
  }

  .bio-info h2 {
    font-size: 1.5rem;
  }

  .bio-text {
    font-size: 1rem;
  }
}

/* =============================================
   REGISTRATION LIGHTBOX
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  animation: scaleIn 0.4s ease;
  overflow: hidden;
}

.lightbox-content iframe {
  width: 100%;
  height: 80vh;
  border: none;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(184, 168, 112, 0.3);
  border-color: var(--rhv-gold);
  transform: rotate(90deg);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-gold { color: var(--rhv-gold); }
.bg-cream { background: var(--rhv-cream); }
.bg-white { background: var(--rhv-white); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(51, 51, 51, 0.5);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(51, 51, 51, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--rhv-gold);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

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

@keyframes scroll-wheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}
