/* =========================================================
   MNC LUXURY REAL ESTATE DESIGN - V2
   ========================================================= */

/* --- TYPOGRAPHY AND BASE --- */
:root {
  --mnc-navy: #0d1b2a;
  --mnc-gold: #d7b56d;
  --mnc-grey: #f5f5f7;
  --mnc-text-light: #888888;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  margin: 0;
}

/* --- THE HERO (100vh Immersive arrival) --- */
.mnc-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mnc-hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
}

.mnc-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  animation: heroSliderAnim 18s infinite linear;
}

.mnc-hero-slide:nth-child(1) {
  background-image: url('../images/banner.jpg');
  animation-delay: 0s;
}

.mnc-hero-slide:nth-child(2) {
  background-image: url('../images/ambika_building_top_view.png');
  animation-delay: 6s;
}

.mnc-hero-slide:nth-child(3) {
  background-image: url('../images/ambika_front_look.png');
  animation-delay: 12s;
}

@keyframes heroSliderAnim {
  0% { opacity: 0; transform: scale(1); }
  4% { opacity: 1; }
  33.33% { opacity: 1; }
  37.33% { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}

.mnc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0.3) 0%, rgba(13, 27, 42, 0.8) 100%);
}

.mnc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 5%;
  max-width: 1200px;
}

.mnc-hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.mnc-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mnc-gold);
  font-family: sans-serif;
}

/* Scroll indicator */
.mnc-scroll-indicator {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.2);
  z-index: 2;
  overflow: hidden;
}

.mnc-scroll-indicator::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 50%;
  background: var(--mnc-gold);
  animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(200%); }
}

/* --- SHARED SECTION UTILITIES --- */
.mnc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--mnc-gold);
  margin-bottom: 16px;
}

.mnc-section-heading {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: var(--mnc-navy);
  line-height: 1.1;
  margin-bottom: 24px;
}

.mnc-gold-rule {
  width: 50px;
  height: 2px;
  background: var(--mnc-gold);
  margin-bottom: 30px;
}

.mnc-body-lg {
  font-size: 18px;
  color: var(--mnc-navy);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 16px;
}

.mnc-body-sm {
  font-size: 15px;
  line-height: 1.8;
  color: #777;
  margin-bottom: 0;
}

/* Base generic label preserved for other sections */
.mnc-label {
  font-size: 11px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--mnc-gold);
  margin-bottom: 24px;
  display: block;
}

/* --- THE VISION (Full-Bleed Redesign) --- */
.mnc-vision-section {
  background: #ffffff;
  overflow: hidden;
}

/* Hero image panel */
.mnc-vision-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  overflow: hidden;
}

.mnc-vision-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease-out;
}

.mnc-vision-hero:hover .mnc-vision-hero-img {
  transform: scale(1.04);
}

.mnc-vision-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.5) 0%, transparent 50%);
}

.mnc-vision-hero-tag {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--mnc-gold);
  padding: 12px 28px;
  z-index: 2;
}

.mnc-vision-hero-tag span {
  font-family: sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
}

/* Content strip */
.mnc-vision-strip {
  background: #fff;
  padding: 80px 0;
}

.mnc-vision-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 60px 80px;
}

.mnc-vision-col-text {
  grid-column: 1;
  grid-row: 1;
}

.mnc-vision-col-image {
  grid-column: 2;
  grid-row: 1 / 3;
}

.mnc-vision-accent-frame {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fafafa;
  height: 100%;
}

.mnc-vision-accent-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--mnc-gold);
  border-right: 3px solid var(--mnc-gold);
}

.mnc-vision-accent-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  border-bottom: 3px solid var(--mnc-gold);
  border-left: 3px solid var(--mnc-gold);
}

.mnc-vision-accent-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* KPIs */
.mnc-vision-col-stats {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.mnc-kpi {
  text-align: center;
  flex: 1;
}

.mnc-kpi-number {
  font-size: 32px;
  color: var(--mnc-navy);
  font-family: 'Georgia', serif;
  margin-bottom: 8px;
}

.mnc-kpi-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .mnc-vision-strip-inner {
    grid-template-columns: 1fr;
  }
  .mnc-vision-col-image {
    grid-column: 1;
    grid-row: auto;
  }
  .mnc-vision-col-stats {
    grid-column: 1;
    grid-row: auto;
  }
  .mnc-vision-accent-frame {
    height: 400px;
  }
}

/* --- VIDEO OVERVIEW --- */
.mnc-video-section {
  padding: 10vh 5%;
  background: #fdfdfd;
}

.mnc-video-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border: 1px solid rgba(0,0,0,0.05);
  transform: translateZ(0); /* Force hardware accel for rounded corners on iframe */
}

.mnc-video-container iframe,
.mnc-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  object-fit: cover;
  background: #000;
}

/* --- THE LIFESTYLE / AMENITIES (Masonry Gallery) --- */
.mnc-dark-section {
  background: var(--mnc-navy);
  color: #ffffff;
  padding: 15vh 5%;
}

.mnc-gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.mnc-gallery-header h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: #ffffff;
}

.mnc-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

.mnc-gal-item {
  position: relative;
  overflow: hidden;
}

.mnc-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mnc-gal-item:hover img {
  transform: scale(1.05);
}

.mnc-gal-img1 { grid-column: 1 / 8; grid-row: 1 / 4; height: 600px; }
.mnc-gal-img2 { grid-column: 8 / 13; grid-row: 1 / 3; height: 400px; }
.mnc-gal-img3 { grid-column: 8 / 13; grid-row: 3 / 5; height: 450px; }
.mnc-gal-text {
  grid-column: 1 / 8; 
  grid-row: 4 / 5; 
  align-self: end;
  padding-right: 40px;
}

.mnc-amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.mnc-amenity-pill {
  padding: 12px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.mnc-amenity-pill:hover {
  background: var(--mnc-gold);
  color: var(--mnc-navy);
  border-color: var(--mnc-gold);
}

/* --- FLOOR PLANS (Premium Grid) --- */
.mnc-floor-section {
  padding: 15vh 5%;
  background: var(--mnc-grey);
}

.mnc-fp-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.mnc-fp-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
}

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

.mnc-fp-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fdfdfd;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.mnc-fp-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s ease;
}

.mnc-fp-card:hover .mnc-fp-card-img img {
  transform: scale(1.04);
}

.mnc-fp-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mnc-fp-hover-overlay i {
  margin-right: 8px;
  color: var(--mnc-gold);
}

.mnc-fp-card:hover .mnc-fp-hover-overlay {
  opacity: 1;
}

.mnc-fp-card-info {
  padding: 24px;
  text-align: center;
}

.mnc-fp-card-info h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--mnc-navy);
  font-family: 'Georgia', serif;
}

.mnc-fp-card-info span {
  font-size: 12px;
  color: var(--mnc-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: sans-serif;
  font-weight: 700;
}

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

@media (max-width: 650px) {
  .mnc-fp-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


/* --- LOCATION ADVANTAGE (Immersive Map) --- */
.mnc-loc-section {
  position: relative;
  background: var(--mnc-navy);
  overflow: hidden;
}

.mnc-loc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.mnc-loc-map-panel {
  position: relative;
  overflow: hidden;
  background: #635b4c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mnc-loc-map-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 6s ease-out;
}

.mnc-loc-map-panel:hover img {
  transform: scale(1.03);
}

.mnc-loc-card {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mnc-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 10px;
}

.mnc-loc-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mnc-loc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(215, 181, 109, 0.12);
  color: var(--mnc-gold);
  font-size: 16px;
  transition: all 0.3s ease;
}

.mnc-loc-point:hover .mnc-loc-icon {
  background: var(--mnc-gold);
  color: #fff;
  transform: scale(1.1);
}

.mnc-loc-point strong {
  display: block;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.mnc-loc-point span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .mnc-loc-inner {
    grid-template-columns: 1fr;
  }
  .mnc-loc-map-panel {
    min-height: 400px;
  }
  .mnc-loc-card {
    padding: 60px 30px;
  }
  .mnc-loc-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CALL TO ACTION --- */
.mnc-cta-section {
  padding: 10vh 5%;
  text-align: center;
  background: #ffffff;
}

.mnc-cta-btn {
  display: inline-block;
  padding: 20px 48px;
  background: var(--mnc-navy);
  color: #ffffff;
  text-decoration: none;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  margin-top: 40px;
  transition: background 0.3s ease;
}

.mnc-cta-btn:hover {
  background: var(--mnc-gold);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
  .mnc-split-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .mnc-split-images {
    height: 500px;
  }
  .mnc-gallery {
    grid-template-columns: 1fr;
  }
  .mnc-gal-img1, .mnc-gal-img2, .mnc-gal-img3, .mnc-gal-text {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 400px;
  }
  .mnc-gal-text {
    height: auto;
    padding-right: 0;
  }
  .mnc-location-section {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mnc-hero-title {
    font-size: 3rem;
  }
  .mnc-split-text h2, .mnc-gallery-header h2 {
    font-size: 2.5rem;
  }
  .mnc-img-primary {
    width: 90%; height: 70%;
  }
  .mnc-img-secondary {
    width: 70%; height: 50%;
  }
  .mnc-glass-panel {
    padding: 40px 30px;
  }
}

/* --- LIGHTBOX MODAL --- */
.mnc-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mnc-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.mnc-lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.mnc-lightbox.active .mnc-lightbox-img {
  transform: scale(1);
}

.mnc-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.2s ease;
}

.mnc-lightbox-close:hover {
  color: var(--mnc-gold);
}


/* =========================================================
   SPECIFICATIONS SECTION — Tabbed Navigation
   ========================================================= */
.spec-section {
  padding: 12vh 5%;
  background: #fff;
}

.spec-section__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.spec-section__header {
  text-align: center;
  margin-bottom: 48px;
}

/* --- Tab Navigation --- */
.spec-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.spec-nav__btn {
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-nav__btn i {
  font-size: 14px;
  transition: color 0.3s ease;
}

.spec-nav__btn:hover {
  background: rgba(215,181,109,0.1);
  color: var(--mnc-navy);
  border-color: rgba(215,181,109,0.3);
}

.spec-nav__btn.active {
  background: var(--mnc-navy);
  color: var(--mnc-gold);
  border-color: var(--mnc-navy);
  box-shadow: 0 4px 16px rgba(13,27,42,0.2);
  transform: translateY(-2px);
}

.spec-nav__btn.active i {
  color: var(--mnc-gold);
}

/* --- Panels --- */
.spec-panels {
  position: relative;
  min-height: 200px;
}

.spec-panel {
  display: none;
  animation: specFadeIn 0.5s ease;
}

.spec-panel.active {
  display: block;
}

@keyframes specFadeIn {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

.spec-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* --- Spec Card --- */
.spec-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.spec-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mnc-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(215,181,109,0.2);
}

.spec-card:hover::after {
  transform: scaleX(1);
}

.spec-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(215,181,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--mnc-gold);
  margin-bottom: 20px;
  transition: background 0.4s ease, transform 0.4s ease, color 0.4s ease;
}

.spec-card:hover .spec-card__icon {
  background: var(--mnc-gold);
  color: #fff;
  transform: scale(1.08) rotate(3deg);
}

.spec-card h4 {
  font-size: 17px;
  font-family: 'Georgia', serif;
  color: var(--mnc-navy);
  margin: 0 0 12px;
  line-height: 1.3;
}

.spec-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #777;
  margin: 0;
}


/* =========================================================
   INFRASTRUCTURE SECTION — Dark Numbered Cards
   ========================================================= */
.infra-section {
  padding: 12vh 5%;
  background: var(--mnc-navy);
  position: relative;
  overflow: hidden;
}

.infra-section::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,181,109,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.infra-section__inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.infra-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.infra-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease;
  position: relative;
}

.infra-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(215,181,109,0.2);
}

.infra-card__number {
  font-family: 'Georgia', serif;
  font-size: 40px;
  color: rgba(215,181,109,0.15);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s ease;
}

.infra-card:hover .infra-card__number {
  color: rgba(215,181,109,0.35);
}

.infra-card h4 {
  font-size: 17px;
  font-family: 'Georgia', serif;
  color: #fff;
  margin: 0 0 12px;
}

.infra-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin: 0;
}


/* =========================================================
   GREEN FUTURE SECTION
   ========================================================= */
.green-section {
  padding: 12vh 5%;
  background: var(--mnc-grey, #f5f5f7);
}

.green-section__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.green-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.green-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.green-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.green-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #4ade80, #22c55e);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.green-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
  border-color: rgba(74,222,128,0.2);
}

.green-card:hover::before {
  transform: scaleY(1);
}

.green-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: rgba(74,222,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #22c55e;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.green-card:hover .green-card__icon {
  background: #22c55e;
  color: #fff;
  transform: scale(1.08) rotate(3deg);
}

.green-card__content h4 {
  font-size: 17px;
  font-family: 'Georgia', serif;
  color: var(--mnc-navy);
  margin: 0 0 8px;
}

.green-card__content p {
  font-size: 14px;
  line-height: 1.75;
  color: #777;
  margin: 0;
}


/* =========================================================
   RESPONSIVE — SPECS, INFRA, GREEN
   ========================================================= */
@media (max-width: 1024px) {
  .spec-panel__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .spec-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .spec-nav::-webkit-scrollbar {
    display: none;
  }
  .spec-nav__btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 12px;
    padding: 10px 16px;
  }
  .spec-panel__grid {
    grid-template-columns: 1fr;
  }
  .infra-grid {
    grid-template-columns: 1fr;
  }
  .green-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   OUR GALLERY SECTION
   ========================================================= */
.gallery-section {
  padding: 12vh 5%;
  background: var(--mnc-grey, #f5f5f7);
}

.gallery-section__inner {
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-section__header {
  text-align: center;
  margin-bottom: 48px;
}

/* --- Filter Navigation --- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.gallery-filter__btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-filter__btn:hover {
  background: rgba(215,181,109,0.1);
  color: var(--mnc-navy);
  border-color: rgba(215,181,109,0.4);
}

.gallery-filter__btn.active {
  background: var(--mnc-navy);
  color: var(--mnc-gold);
  border-color: var(--mnc-navy);
  box-shadow: 0 4px 12px rgba(13, 27, 42, 0.15);
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* --- Gallery Item --- */
.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  display: block;
  animation: galleryFadeIn 0.5s ease forwards;
}

@keyframes galleryFadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.2) 60%, rgba(13,27,42,0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__label {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 18px;
  margin-bottom: 0;
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__label {
  transform: translateY(0);
}

.gallery-item__overlay i {
  color: var(--mnc-gold);
  font-size: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item__overlay i {
  opacity: 1;
  transform: scale(1);
}

/* --- Responsive Gallery Filter --- */
@media (max-width: 768px) {
  .gallery-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-filter::-webkit-scrollbar {
    display: none;
  }
  .gallery-filter__btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 27, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  z-index: 10000;
}

.lightbox__close:hover {
  color: var(--mnc-gold);
  transform: scale(1.1);
}

