/* ==========================================================================
   BNP – Business Network Partners Resources
   Components Stylesheet (components.css)
   ========================================================================== */

/* ==========================================================================
   HERO SECTION & NETWORK CANVAS
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, #172033 0%, #0B1F3A 55%, #122B4D 100%);
  color: var(--color-white);
  padding: 6.5rem 0 5.5rem 0;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(200, 16, 46, 0.16);
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: #FF8093;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline span {
  color: #FF667D;
}

.hero-subhead {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-light-silver);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-subhead span {
  color: var(--bnp-red);
}

.hero-text {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: #D9DEE7;
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Page Header (Internal Pages) */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #172033 0%, #0B1F3A 60%, #122B4D 100%);
  color: var(--color-white);
  padding: 4.5rem 0;
  overflow: hidden;
  border-bottom: 3px solid var(--bnp-red);
}

.page-hero .hero-canvas {
  opacity: 0.7;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--color-white);
  margin-bottom: 0.85rem;
}

.page-hero-desc {
  font-size: 1.125rem;
  color: #D9DEE7;
  line-height: 1.65;
}

/* ==========================================================================
   THREE PILLARS (CONNECT • REFER • CONTRIBUTE)
   ========================================================================== */

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

.pillar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--bnp-navy);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: background-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(230, 25, 25, 0.2);
}

.pillar-card:hover::before {
  background-color: var(--bnp-red);
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--bnp-red-light);
  color: var(--bnp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  background-color: var(--bnp-red);
  color: var(--color-white);
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bnp-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bnp-navy);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.pillar-desc {
  font-size: 0.9875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bnp-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.pillar-card:hover .pillar-link {
  color: var(--bnp-red);
}

/* ==========================================================================
   NETWORKING PROCESS VISUAL DIAGRAM
   ========================================================================== */

.process-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 3.5rem 0 2.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  flex: 1;
  min-width: 150px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bnp-red);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bnp-navy);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.process-step:hover .step-num {
  background-color: var(--bnp-red);
}

.step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bnp-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-arrow {
  color: var(--bnp-red);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   LEADERSHIP PROFILE CARDS
   ========================================================================== */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.leader-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(230, 25, 25, 0.3);
}

.leader-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background-color: var(--bnp-navy);
  overflow: hidden;
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image {
  transform: scale(1.03);
}

.leader-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--bnp-red);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.leader-content {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leader-role {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bnp-red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.leader-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bnp-navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.leader-bio {
  font-size: 0.9875rem;
  color: var(--color-text-main);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.leader-social-slot {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Notice box for leadership */
.leadership-notice {
  background-color: var(--color-bg-light);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  max-width: 700px;
  margin: 3.5rem auto 0 auto;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   ACTIVITY CARDS
   ========================================================================== */

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.activity-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 25, 25, 0.25);
}

.activity-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--bnp-navy);
  overflow: hidden;
}

.activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-thumb img {
  transform: scale(1.04);
}

.activity-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background-color: var(--bnp-navy);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--bnp-red);
}

.activity-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.activity-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.activity-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bnp-navy);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.activity-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.activity-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

/* ==========================================================================
   EVENTS & COUNTDOWN
   ========================================================================== */

.events-banner {
  background: linear-gradient(135deg, #0B1F3A 0%, #172033 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--color-white);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--bnp-red);
}

.events-banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.countdown-box {
  background: rgba(11, 31, 58, 0.85);
  border: 1px solid rgba(217, 222, 231, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.countdown-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FF8093;
  margin-bottom: 1rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0.25rem;
  border-radius: var(--radius-sm);
}

.countdown-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.countdown-label {
  font-size: 0.6875rem;
  color: var(--color-light-silver);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.events-empty-state {
  background-color: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.events-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--bnp-red-light);
  color: var(--bnp-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

/* ==========================================================================
   GALLERY & LIGHTBOX
   ========================================================================== */

.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--bnp-navy);
  color: var(--color-white);
  border-color: var(--bnp-navy);
}

.filter-btn.active {
  background-color: var(--bnp-red);
  border-color: var(--bnp-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.album-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.album-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(230, 25, 25, 0.3);
}

.album-cover {
  position: relative;
  aspect-ratio: 16 / 11;
  background-color: var(--bnp-navy);
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.05);
}

.album-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 13, 23, 0.85);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.album-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.album-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bnp-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.album-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bnp-navy);
  margin-bottom: 0.6rem;
}

.album-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.album-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 13, 23, 0.94);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  max-height: 75vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 1.25rem;
  text-align: center;
  max-width: 700px;
}

.lightbox-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.lightbox-subtitle {
  font-size: 0.875rem;
  color: #94A3B8;
}

.lightbox-counter {
  font-size: 0.8125rem;
  color: var(--bnp-red);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-btn:hover {
  background: var(--bnp-red);
  border-color: var(--bnp-red);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ==========================================================================
   FORMS (JOIN BNP & CONTACT)
   ========================================================================== */

.form-wrapper {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bnp-navy);
}

.form-label .required {
  color: var(--bnp-red);
  margin-left: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--bnp-navy);
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

.form-control.error {
  border-color: var(--bnp-red);
  background-color: #FFF8F8;
}

.form-error-msg {
  font-size: 0.75rem;
  color: var(--bnp-red);
  display: none;
  font-weight: 600;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--bnp-red);
  cursor: pointer;
}

.form-alert-success {
  display: none;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease;
}

.form-alert-success.active {
  display: block;
}

.form-alert-title {
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
  color: #14532D;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Developer Note Box */
.dev-note-box {
  background-color: #F8FAFC;
  border-left: 4px solid var(--bnp-navy);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   VALUES & HIGHLIGHT CARDS
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--bnp-red);
  box-shadow: var(--shadow-md);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bnp-navy);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--bnp-red);
  display: inline-block;
}

.value-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact Info Box */
.contact-highlight-card {
  background-color: var(--bnp-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--bnp-red);
}

.contact-action-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .events-banner-content {
    grid-template-columns: 1fr;
  }
  .form-wrapper {
    padding: 2rem 1.5rem;
  }
  .lightbox-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-next {
    right: 0.75rem;
  }
}
