

/* ── Network Hero Section ── */
.network-hero-section {
  position: relative;
  width: 100%;
  /*max-width: 1440px;*/
  min-height: 659px;
  background: #EFDFE8;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  box-sizing: border-box;
  overflow: hidden;
}

.network-hero-container {
  width: 100%;
  max-width: 1110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
}

/* Left block: width 635px, gap 30px */
.network-hero-left {
  width: 635px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  box-sizing: border-box;
}

/* Badge: width 230px, height 37px, padding 8px 16px, background #5B005A1A */
.network-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  padding: 8px 16px;
  border-radius: 58px;
  background: rgba(91, 0, 90, 0.1); /* #5B005A1A */
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 21px;
  color: #5B005A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-sizing: border-box;
}

/* Title: width 374px, height 154px, Arial Bold 64px / 76.8px, color #4D004C */
.network-hero-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 64px;
  line-height: 76.8px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #4D004C;
  margin: 0;
  max-width: 500px; /* Allow Title to look balanced */
  width: 100%;
}

/* Description: width 635px, Arial Regular 18px / 27px, color #52424E */
.network-hero-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #52424E;
  margin: 0;
  width: 100%;
  max-width: 635px;
}

/* Right block: Image and Gradient Glow */
.network-hero-right {
  position: relative;
  width: 431px;
  height: 431px;
  flex-shrink: 0;
}

/* Image: width 431px, height 431px, border-radius 16px, border 4px solid #FFFFFF */
.network-hero-image {
  position: relative;
  z-index: 2;
  width: 431px;
  height: 431px;
  border-radius: 16px;
  border: 4px solid #FFFFFF;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

/* Glow backdrop: width 479px, height 479px, border-radius 24px, linear-gradient, opacity 0.2 */
.network-hero-glow {
  position: absolute;
  z-index: 1;
  width: 479px;
  height: 479px;
  border-radius: 24px;
  background: linear-gradient(45deg, #4D004C 0%, #D86735 50%, #E02C61 100%);
  opacity: 0.2;
  filter: blur(24px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  top: -24px;
  left: -24px;
  pointer-events: none;
}

/* ════════════════════════════════════════════
   OUR REGIONAL NETWORK — Logos Grid Section
════════════════════════════════════════════ */
.network-logos-section {
  width: 100%;
  background: #FFFFFF;
  padding: 80px 16px;
  box-sizing: border-box;
}

.network-logos-container {
  max-width: 1110px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Section header block */
.network-logos-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 630px;
  gap: 10px;
}

/* Figma: title 529×48px, Arial Bold 40px / 48px, uppercase, #4D004C */
.network-logos-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #4D004C;
  text-align: center;
  margin: 0;
  position: relative;
}

/* Figma: underline 64×4px, border-radius 100px, #83387F */
.network-logos-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: #83387F;
  border-radius: 100px;
  margin: 10px auto 0;
}

/* Figma: grid 1110×270px, 30px gap, 4 columns */
.network-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 255px);
  gap: 30px;
  width: 100%;
  max-width: 1110px;
  justify-content: center;
}

/* Figma: single card 255×120px, padding 16px 20px, radius 8px, white bg, border left & right only */
.network-logo-card {
  width: 255px;
  height: 120px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #FFFFFF;
  border-left: 1px solid #E2CCE0;
  border-right: 1px solid #E2CCE0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.network-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ════════════════════════════════════════════
   RESPONSIVE — Network Page
   Breakpoints: 1200 / 1100 / 900 / 768 / 480
════════════════════════════════════════════ */

/* ── 1200px: tighten padding, slightly shrink logo grid ── */
@media (max-width: 1200px) {
  .network-hero-section {
    padding: 60px 40px;
  }

  .network-logos-section {
    padding: 60px 40px;
  }

  .network-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .network-logo-card {
    width: 100%;
  }
}

/* ── 1100px: stack hero vertically, logos go 2-column ── */
@media (max-width: 1100px) {
  .network-hero-section {
    min-height: auto;
    padding: 72px 40px;
  }

  .network-hero-container {
    flex-direction: column-reverse;
    gap: 50px;
    align-items: center;
    text-align: center;
  }

  .network-hero-left {
    align-items: center;
    width: 100%;
  }

  .network-hero-title {
    max-width: 100%;
  }

  .network-hero-desc {
    max-width: 600px;
  }

  /* Logos: 2 columns */
  .network-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-logo-card {
    width: 100%;
  }
}

/* ── 900px: shrink hero image ── */
@media (max-width: 900px) {
  .network-hero-section {
    padding: 60px 32px;
  }

  .network-hero-right {
    width: 360px;
    height: 360px;
  }

  .network-hero-image {
    width: 360px;
    height: 360px;
  }

  .network-hero-glow {
    width: 408px;
    height: 408px;
    top: -24px;
    left: -24px;
  }

  .network-hero-title {
    font-size: 52px;
    line-height: 64px;
  }

  .network-logos-section {
    padding: 60px 32px;
  }

  .network-logos-title {
    font-size: 34px;
    line-height: 42px;
  }
}

/* ── 768px: further scale, logos stay 2-column ── */
@media (max-width: 768px) {
  .network-hero-section {
    padding: 52px 24px;
  }

  .network-hero-title {
    font-size: 44px;
    line-height: 54px;
  }

  .network-hero-desc {
    font-size: 16px;
    line-height: 24px;
  }

  .network-hero-badge {
    font-size: 12px;
  }

  .network-hero-right {
    width: 300px;
    height: 300px;
  }

  .network-hero-image {
    width: 300px;
    height: 300px;
  }

  .network-hero-glow {
    width: 340px;
    height: 340px;
    top: -20px;
    left: -20px;
  }

  .network-logos-section {
    padding: 52px 24px;
  }

  .network-logos-title {
    font-size: 28px;
    line-height: 36px;
  }

  .network-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .network-logo-card {
    width: 100%;
    height: 100px;
  }
}

/* ── 480px: single column, compact ── */
@media (max-width: 480px) {
  .network-hero-section {
    padding: 48px 16px;
  }

  .network-hero-title {
    font-size: 34px;
    line-height: 42px;
  }

  .network-hero-desc {
    font-size: 15px;
    line-height: 23px;
  }

  .network-hero-right {
    width: 240px;
    height: 240px;
  }

  .network-hero-image {
    width: 240px;
    height: 240px;
  }

  .network-hero-glow {
    width: 280px;
    height: 280px;
    top: -20px;
    left: -20px;
  }

  .network-logos-section {
    padding: 40px 16px;
  }

  .network-logos-title {
    font-size: 24px;
    line-height: 32px;
  }

  .network-logos-title::after {
    width: 48px;
  }

  .network-logos-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .network-logo-card {
    width: 100%;
    height: 88px;
  }
}

/* ════════════════════════════════════════════
   OUR GALLERY SECTION — Figma Specs
   Title: 630x58px, 40px Arial Bold #4D004C uppercase + 64px underline #83387F
   Cards Grid: 1110px max-width, 30px gap, 2 columns x 2 rows
   Single card: 540x405px, radius 9.13px, background #D9D9D9
   Pagination: 480x40px, 15px gap, 40x40px buttons, active #81007F, inactive #FFFFFF border 1.25px #D4D4D4
════════════════════════════════════════════ */
.gallery-section {
  width: 100%;
  background: #FFFFFF;
  padding: 80px 16px;
  box-sizing: border-box;
}

.gallery-container {
  max-width: 1110px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 630px;
  gap: 10px;
  text-align: center;
}

.gallery-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: uppercase;
  color: #4D004C;
  margin: 0;
  position: relative;
}

.gallery-title-line {
  width: 64px;
  height: 4px;
  background: #83387F;
  border-radius: 100px;
  margin: 0 auto;
}

/* Grid layout: 2 columns x 2 rows = 4 cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 540px);
  gap: 30px;
  width: 100%;
  max-width: 1110px;
  justify-content: center;
}

/* Single card: 540x405px, radius 9.13px, background #D9D9D9 */
.gallery-card {
  position: relative;
  width: 540px;
  height: 405px;
  border-radius: 9.13px;
  background: #D9D9D9;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(77, 0, 76, 0.18);
  outline: none;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 9.13px;
  transition: transform 0.4s ease;
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(77, 0, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #81007F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* Pagination: width 480px, height 40px, gap 15px */
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 480px;
  height: 40px;
  margin-top: 10px;
}

/* 40x40px, radius 10px, padding 12.5px */
.gallery-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  background: #FFFFFF;
  border: 1.25px solid #D4D4D4;
  color: #4D004C;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.gallery-page-btn:hover:not(:disabled) {
  border-color: #81007F;
  color: #81007F;
  background: #FFEFF8;
}

.gallery-page-btn.active {
  background: #81007F;
  border-color: #81007F;
  color: #FFFFFF;
}

.gallery-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #52424E;
  padding: 0 4px;
  user-select: none;
}

.gallery-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ════════════════════════════════════════════
   GALLERY VIEW LIGHTBOX MODAL (Figma Lightbox View)
════════════════════════════════════════════ */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(8px);
}

.gallery-modal-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
}

.gallery-modal-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #E2CCE0;
}

.gallery-modal-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.gallery-modal-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.gallery-modal-img-wrap {
  flex: 1;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9.13px;
  background: #000000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gallery-modal-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 9.13px;
  display: block;
}

.gallery-modal-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #81007F;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.gallery-modal-nav:hover {
  background: #9A3399;
  transform: scale(1.1);
}

/* Responsive Grid for Gallery Section */
@media (max-width: 1150px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-card {
    width: 100%;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 60px 16px;
  }
  .gallery-title {
    font-size: 28px;
    line-height: 36px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-card {
    height: 280px;
  }
  .gallery-modal-body {
    gap: 8px;
  }
  .gallery-modal-nav {
    width: 36px;
    height: 36px;
  }
}

