/* ===============================================
   WOMEN WHO LEAD — Shared Custom Styles
   Replaces all per-page <style> blocks.
   Mobile-first, Bootstrap 5 compatible.
   =============================================== */

/* ============ BASE ============ */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
  visibility: hidden;
}

/* ============ NAVBAR ============ */
.navbar-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ============ DROPDOWN MENU ============ */
/* Fixed: was left:-220px which overflows off-screen on mobile */
.dropdown-menu {
  position: absolute;
  top: 60px;
  right: 0;
  left: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #f8e9fc;
  padding-left: 20px;
  color: #452b4e;
}

.navb-burger-wrapper {
  position: relative;
}

/* ============ BANNER ============ */
.banner-header {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 50px;
  height: 400px;
}

.banner-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 576px) {
  .banner-header {
    height: 200px;
  }
}

/* ============ SPOTLIGHT CONTENT ============ */
.spotlight-content {
  background: linear-gradient(
    to bottom,
    rgba(51, 28, 58, 0) 0%,
    #b487c23c 100%
  );
}

/* Heading row: name + "Next →" side by side, wraps on very small screens */
.spotlight-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.spotlight-heading {
  font-size: 2.2rem;
  letter-spacing: 0.6px;
  line-height: 1.2;
  color: #331c3a;
  margin: 0;
}

/* "Next →" nav button */
.next-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #331c3a;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.next-btn:hover {
  background: #f0e6f5;
  border-color: #331c3a;
  color: #331c3a;
}

.next-btn-arrow {
  font-size: 1.3rem;
}

.spotlight-role {
  font-size: 0.9rem;
  letter-spacing: 1.2px;
}

.spotlight-divider {
  width: 70px;
  height: 3px;
  background: #331c3a;
  margin-bottom: 14px;
}

.spotlight-photo {
  max-height: 500px;
  width: auto;
  object-fit: cover;
}

@media (max-width: 576px) {
  .spotlight-heading {
    font-size: 1.4rem;
    letter-spacing: 0.3px;
  }
}

/* ============ JOURNEY CARDS (Leadership & Impact) ============ */
.professional-journey {
  background: #f8e9fc;
}

.journey-card {
  background: transparent;
  border: 2px solid #331c3a88;
  border-radius: 12px;
  box-shadow: none;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.journey-card i {
  transition: transform 0.2s ease;
}

.journey-card:hover i {
  transform: scale(1.15);
}

.section-title {
  font-size: 1.5rem;
  color: #331c3a;
}

/* ============ GALLERY ============ */
.gallery-section {
  background: linear-gradient(
    to bottom,
    rgba(51, 28, 58, 0) 0%,
    #b487c25a 100%
  );
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.gallery-slider {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
}

.gallery-item {
  min-width: 260px;
  height: 180px;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 2;
}

.gallery-btn:hover {
  background: #331c3a;
  color: #fff;
}

.gallery-btn.left {
  left: 0;
  transform: translate(-50%, -50%);
}

.gallery-btn.right {
  right: 0;
  transform: translate(50%, -50%);
}

@media (max-width: 768px) {
  .gallery-item {
    min-width: 200px;
    height: 140px;
  }

  .gallery-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .gallery-wrapper {
    padding: 0 28px;
  }
}

/* ============ MODAL ============ */
#imageModal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

#modalImg {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  opacity: 0;
  transition: 0.3s ease;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: 0.25s ease;
  border-radius: 50%;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-nav.left {
  left: 30px;
}

.modal-nav.right {
  right: 30px;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* ============ LEAD CARDS (index.html home page) ============ */
.lead-card {
  background: #fff;
  border-radius: 16px;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lead-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.lead-card > img {
  border-radius: 0;
  object-fit: cover;
  width: 100%;
  height: 220px;
  display: block;
  transition: transform 0.4s ease;
}

.lead-card:hover > img {
  transform: scale(1.02);
}

.lead-card-content {
  background: #f8e9fc;
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lead-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1a1a1a;
}

.lead-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px 0;
  flex: 1;
}

.lead-card .btn {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: #452b4e;
  border: none;
  color: white;
}

.lead-card .btn:hover {
  background: #1a0e1d;
  transform: translateX(2px);
}

/* ============ WOMEN LEAD SECTION (index.html) ============ */
.women-lead-section {
  background: linear-gradient(
    to bottom,
    rgba(51, 28, 58, 0) 0%,
    #b487c23c 100%
  );
  padding: 50px 15px !important;
}

@media (max-width: 576px) {
  .women-lead-section {
    padding: 24px 12px !important;
  }
}

/* ============ FOOTER ============ */
.site-footer {
  background: #331c3a;
  color: #fff;
  font-size: 0.75rem;
}

.site-footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 0;
}

.site-footer-copy {
  color: rgba(255, 255, 255, 0.75);
}
