
/* =========================================
   BRANDING & IDENTITY SECTION
========================================= */

.branding-showcase {
  --brand-bg: #020219;
  --brand-accent: #6bbe46;
  --grid-line: rgba(255, 255, 255, 0.15);

  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 145px 0 85px;
  background: var(--brand-bg);
  color: #fff;
  overflow: hidden;
}

/* Background Glow */
.branding-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 36% 42% at 103% 34%,
      rgba(107, 190, 70, 0.20),
      transparent 76%
    ),
    radial-gradient(
      ellipse 37% 35% at -4% 97%,
      rgba(107, 190, 70, 0.16),
      transparent 78%
    );
}

/* Container */
.branding-showcase .branding-wrap {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
}

/* Heading Area */
.branding-showcase .branding-intro {
  text-align: center;
  padding-bottom: 65px;
}

/* =========================================
   TYPOGRAPHY - BASED ON MAIN CSS
========================================= */

/* Common Font Family */
.branding-showcase h1,
.branding-showcase h2,
.branding-showcase h3,
.branding-showcase h4,
.branding-showcase p,
.branding-showcase .branding-title,
.branding-showcase .branding-description {
  font-family: 'Instrument Sans', sans-serif !important;
}

/* H1 - Main Heading */
.branding-showcase h1,
.branding-showcase .branding-title {
  font-size: 120px;
  font-weight: 700;
  line-height: 96%;
  letter-spacing: -0.01em;
}

/* Branding Main Title */
.branding-showcase .branding-title {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  color: #fff;
}

/* Green Highlight */
.branding-showcase .branding-title span {
  display: block;
  color: var(--brand-accent);
}

/* H2 */
.branding-showcase h2:not(.branding-title) {
  font-size: 64px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -0.05em;
}

/* H3 */
.branding-showcase h3:not(.branding-title) {
  font-size: 30px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: normal;
}

/* H4 */
.branding-showcase h4:not(.branding-title) {
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
}

/* Paragraph */
.branding-showcase p {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: normal;
}

/* Description */
.branding-showcase .branding-description {
  max-width: 650px;
  margin: 35px auto 0;
  color: #c9c9d2;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: normal;
}

/* =========================================
   BRANDING LOGO GRID
========================================= */

.branding-showcase .branding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  width: 100%;
}

/* Grid Cells */
.branding-showcase .branding-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 220px;
  padding: 30px;
  background: transparent;
  transition: background 0.4s ease;
}

/* Alternate Background */
.branding-showcase .branding-cell:nth-child(1),
.branding-showcase .branding-cell:nth-child(3),
.branding-showcase .branding-cell:nth-child(6),
.branding-showcase .branding-cell:nth-child(8) {
  background: rgba(255, 255, 255, 0.035);
}

/* Vertical Lines */
.branding-showcase .branding-cell::before {
  content: "";
  position: absolute;
  top: -58px;
  bottom: -58px;
  left: 0;
  width: 1px;
  background: var(--grid-line);
  pointer-events: none;
  z-index: 1;
}

/* Last Column Right Border */
.branding-showcase .branding-cell:nth-child(4n)::after {
  content: "";
  position: absolute;
  top: -58px;
  bottom: -58px;
  right: 0;
  width: 1px;
  background: var(--grid-line);
  pointer-events: none;
  z-index: 1;
}

/* Top & Bottom Horizontal Lines */
.branding-showcase .branding-grid::before,
.branding-showcase .branding-grid::after {
  content: "";
  position: absolute;
  left: -35px;
  right: -35px;
  height: 1px;
  background: var(--grid-line);
  pointer-events: none;
  z-index: 2;
}

.branding-showcase .branding-grid::before {
  top: 0;
}

.branding-showcase .branding-grid::after {
  bottom: 0;
}

/* Middle Horizontal Line */
.branding-showcase .branding-cell:nth-child(-n+4) {
  border-bottom: 1px solid var(--grid-line);
}

/* =========================================
   LOGO STYLING
========================================= */

.branding-showcase .branding-cell a {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Logo Image */
.branding-showcase .branding-cell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 65%;
  max-height: 110px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* Hover Effects */
.branding-showcase .branding-cell:not(.branding-cell--empty):hover {
  background: rgba(107, 190, 70, 0.10);
}

.branding-showcase .branding-cell:hover img {
  transform: scale(1.08);
}

/* =========================================
   RESPONSIVE TYPOGRAPHY
========================================= */

/* Below 1600px */
@media (max-width: 1600px) {
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 100px;
  }
}

/* Below 1399px */
@media (max-width: 1399px) {
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 90px;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 50px;
  }
}

/* Below 1199px */
@media (max-width: 1199px) {
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 80px;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 40px;
  }

  .branding-showcase p,
  .branding-showcase .branding-description {
    font-size: 16px;
  }
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 991px) {

  .branding-showcase {
    padding-top: 130px;
  }

  /* Typography */
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 60px;
    line-height: 110% !important;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 36px;
  }

  /* Grid */
  .branding-showcase .branding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branding-showcase .branding-cell {
    height: 180px;
    padding: 20px;
  }

  /* Hide Empty Cells */
  .branding-showcase .branding-cell--empty {
    display: none;
  }

  /* Reset Desktop Borders */
  .branding-showcase .branding-cell:nth-child(-n+4) {
    border-bottom: 0;
  }

  /* Horizontal Lines */
  .branding-showcase .branding-cell:not(.branding-cell--empty) {
    border-bottom: 1px solid var(--grid-line);
  }

  /* Vertical Lines */
  .branding-showcase .branding-cell::before {
    top: 0;
    bottom: 0;
  }

  .branding-showcase .branding-cell:nth-child(4n)::after {
    content: none;
  }

  /* Right Border Every Second Column */
  .branding-showcase .branding-cell:nth-child(2n)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background: var(--grid-line);
    pointer-events: none;
  }

  /* Alternate Background */
  .branding-showcase .branding-cell:nth-child(even) {
    background: rgba(255, 255, 255, 0.035);
  }
}

/* =========================================
   BELOW 767px
========================================= */

@media (max-width: 767px) {
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 48px;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 42px;
  }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 575px) {

  .branding-showcase {
    padding: 115px 0 65px;
  }

  .branding-showcase .branding-wrap {
    width: calc(100% - 36px);
  }

  /* Typography */
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 45px;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 36px;
  }

  .branding-showcase h3:not(.branding-title) {
    font-size: 22px;
  }

  .branding-showcase p,
  .branding-showcase .branding-description {
    font-size: 16px;
  }

  /* Grid */
  .branding-showcase .branding-cell {
    height: 145px;
    padding: 16px;
  }

  .branding-showcase .branding-cell img {
    max-width: 75%;
    max-height: 75px;
  }

  .branding-showcase .branding-grid::before,
  .branding-showcase .branding-grid::after {
    left: 0;
    right: 0;
  }
}

/* =========================================
   BELOW 470px
========================================= */

@media (max-width: 470px) {
  .branding-showcase h1,
  .branding-showcase .branding-title {
    font-size: 40px;
  }

  .branding-showcase h2:not(.branding-title) {
    font-size: 28px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .branding-showcase .branding-cell,
  .branding-showcase .branding-cell img {
    transition: none;
  }
}



/* Extra Vertical Spacing */
.extra-space {
    width: 100%;
    height: 80px;
}

/* Tablet */
@media (max-width: 991px) {
    .extra-space {
        height: 100px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .extra-space {
        height: 60px;
    }
}