html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}



/* =====================================================
   MDH HOME – HERO BANNER (FULL WIDTH FIXED)
===================================================== */

/* ROOT – FORCE FULL VIEWPORT WIDTH */
#mdh-home-hero-banner-root {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Break hero out of padded parents */
#mdh-home-hero-banner-root {
  margin-left: -50vw;
  margin-right: -50vw;
  left: 50%;
  right: 50%;
  width: 100vw;
}

/* WRAPPER */
/* WRAPPER */
.mdh-home-hero-banner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* SLIDES */
.mdh-home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.mdh-home-hero-slide-active {
  opacity: 1;
  z-index: 1;
}

/* IMAGE RESET */
.mdh-home-hero-slide picture,
.mdh-home-hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
}


/* DESKTOP */
@media (min-width: 769px) {
  #mdh-home-hero-banner-root {
    height: 100vh;
  }

  .mdh-home-hero-banner-wrapper {
    height: 100%;
  }

  .mdh-home-hero-slide img {
    object-fit: cover;
  }
}


/* OPTIONAL DESKTOP ZOOM */
.mdh-home-hero-zoom-in img {
  transform: scale(1.06);
}

.mdh-home-hero-zoom-out img {
  transform: scale(0.99);
}

/* =====================================================
   DESKTOP LAYOUT
===================================================== */

@media (min-width: 769px) {
  #mdh-home-hero-banner-root {
    height: 100vh;
  }

  .mdh-home-hero-banner-wrapper {
    height: 100%;
  }
}

/* =====================================================
   MOBILE LAYOUT (FULL WIDTH + SAFE)
===================================================== */



  .mdh-home-hero-slide {
    position: absolute;
    inset: 0;
  }



  /* Disable zoom on mobile */
  .mdh-home-hero-zoom-in img,
  .mdh-home-hero-zoom-out img {
    transform: none;
  }

/* MOBILE */
@media (max-width: 768px) {
  #mdh-home-hero-banner-root {
    height: auto;
  }

  .mdh-home-hero-banner-wrapper {
    aspect-ratio: 4 / 5;
  }

  .mdh-home-hero-slide img {
    object-fit: cover;
  }
}
/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {
  .mdh-home-hero-banner-wrapper {
    aspect-ratio: 3 / 4;
  }
}

/* =========================================
   MDH HOME – BRAND STORY (CLEAN GRID FIX)
========================================= */

#mdh-home-brandstory-root {
  padding: 80px 6vw;
  background: #ffffff;
}

/* HEADER */
.mdh-home-brandstory-header {
  text-align: center;
  margin-bottom: 60px;
}

.mdh-home-brandstory-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #9c9c9c;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.mdh-home-brandstory-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  color: #444;
  margin: 0;
}

/* ================= DESKTOP ================= */

.mdh-home-brandstory-content {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px) 1fr;
  align-items: center;
  gap: 60px;
}

.mdh-home-brandstory-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.mdh-home-brandstory-editorial {
  text-align: center;
}

.mdh-home-brandstory-text {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
  margin-bottom: 22px;
}

.mdh-home-brandstory-text em {
  font-style: normal;
  font-weight: 500;
}

.mdh-home-brandstory-text-muted {
  color: #666;
}

.mdh-home-brandstory-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 32px;
  border: 1px solid #444;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: 0.3s ease;
}

.mdh-home-brandstory-btn:hover {
  background: #444;
  color: #ffffff;
}

/* ================= MOBILE FIX ================= */

@media (max-width: 768px) {

  #mdh-home-brandstory-root {
    padding: 60px 5vw;
  }

  .mdh-home-brandstory-content {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left right"
      "text text";
    gap: 30px;
  }

  .mdh-home-brandstory-image-left {
    grid-area: left;
  }

  .mdh-home-brandstory-image-right {
    grid-area: right;
  }

  .mdh-home-brandstory-editorial {
    grid-area: text;
    text-align: center;
  }

}

@media (max-width: 480px) {

  .mdh-home-brandstory-content {
    gap: 20px;
  }

  .mdh-home-brandstory-title {
    font-size: 26px;
  }

  .mdh-home-brandstory-text {
    font-size: 14px;
  }

  .mdh-home-brandstory-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

}


/* =========================================
   MDH HOME – FIXED BACKGROUND CTA
========================================= */

#mdh-home-fixedcta-root {
  position: relative;
  min-height: 80vh;
  width: 100%;
  background-image: url("./../img/fixedcta/fixedcta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mdh-home-fixedcta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.mdh-home-fixedcta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 6vw;
}

.mdh-home-fixedcta-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 36px;
}

.mdh-home-fixedcta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #c08a3e;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mdh-home-fixedcta-btn:hover {
  background: #a7742f;
  transform: translateY(-2px);
}

/* =====================
   MOBILE FALLBACK
===================== */
/* Fixed backgrounds are unstable on iOS */
@media (max-width: 768px) {
  #mdh-home-fixedcta-root {
    background-attachment: scroll;
    min-height: 70vh;
  }
}

#mdh-home-fixedcta-root {
  opacity: 0;
  transition: opacity 1.2s ease;
}

#mdh-home-fixedcta-root.mdh-home-fixedcta-visible {
  opacity: 1;
}


/* =========================================
   MDH HOME – INDIA REACH SECTION
========================================= */

#mdh-home-indiareach-root {
  padding: 140px 6vw;
  background: #ffffff;
  text-align: center;
}

.mdh-home-indiareach-header {
  margin-bottom: 70px;
}

.mdh-home-indiareach-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #9c9c9c;
  margin-bottom: 12px;
}

.mdh-home-indiareach-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: #444;
}

.mdh-home-indiareach-visual {
  max-width: 1100px;
  margin: 0 auto 50px;
}

.mdh-home-indiareach-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.mdh-home-indiareach-caption {
  max-width: 760px;
  margin: 0 auto;
}

.mdh-home-indiareach-caption p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  #mdh-home-indiareach-root {
    padding: 100px 6vw;
  }
}

#mdh-home-indiareach-root {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

#mdh-home-indiareach-root.mdh-home-indiareach-visible {
  opacity: 1;
  transform: translateY(0);
}



/* =========================================
   MDH HOME – HOW WE WORK SECTION
========================================= */

#mdh-home-workflow-root {
  padding: 140px 6vw;
  background: #ffffff;
}

.mdh-home-workflow-header {
  text-align: center;
  margin-bottom: 50px;
}

.mdh-home-workflow-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #9c9c9c;
}

.mdh-home-workflow-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: #444;
  margin-top: 10px;
}

/* Steps */
.mdh-home-workflow-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.mdh-home-workflow-step {
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  padding: 10px 14px;
  position: relative;
}

.mdh-home-workflow-step-active {
  color: #444;
  border-bottom: 2px solid #444;
}

/* Content */
.mdh-home-workflow-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mdh-home-workflow-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 20px;
}

.mdh-home-workflow-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

.mdh-home-workflow-next-btn {
  margin-top: 30px;
  padding: 14px 36px;
  border: 1px solid #444;
  background: none;
  color: #444;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.mdh-home-workflow-next-btn:hover {
  background: #444;
  color: #ffffff;
}

.mdh-home-workflow-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .mdh-home-workflow-content {
    grid-template-columns: 1fr;
  }

  .mdh-home-workflow-image {
    order: -1;
  }
}






/* =========================================
   MDH – LUXURY PROJECTS EXPERIENCE (REFINED)
========================================= */

/* SECTION */
#mdh-home-projects-root {
  padding: 180px 6vw 160px;
  background: #ffffff;
  text-align: center;
}

/* EYEBROW */
.mdh-home-projects-eyebrow {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #9c9c9c;
  display: inline-block;
  margin-bottom: 16px;
}

/* TITLE */
.mdh-home-projects-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 300;
  margin: 0 0 28px;
  color: #2e2e2e;
}

/* DESCRIPTION */
.mdh-home-projects-description {
  max-width: 760px;
  margin: 0 auto 90px;
  font-size: 16px;
  line-height: 1.85;
  color: #555;
}

/* =========================================
   DESKTOP PREVIEW GRID (UNCHANGED LOGIC, REFINED)
========================================= */

.mdh-home-projects-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto 80px;
}

.mdh-home-projects-preview img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1);
  transition: transform 1.6s ease, opacity 0.8s ease;
}

.mdh-home-projects-preview img:hover {
  transform: scale(1.04);
  opacity: 1;
}

/* CTA */
.mdh-home-projects-cta button {
  padding: 16px 46px;
  border: 1px solid #333;
  background: transparent;
  color: #333;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
}

.mdh-home-projects-cta button:hover {
  background: #111;
  color: #fff;
}

/* =========================================
   FULLSCREEN GALLERY (DESKTOP EXPERIENCE)
========================================= */

#mdh-projects-gallery-root {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10000;
  display: none;
  flex-direction: column;
}

#mdh-projects-gallery-root.active {
  display: flex;
}

/* HEADER */
.mdh-projects-gallery-header {
  padding: 48px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mdh-projects-gallery-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #666;
}

.mdh-projects-gallery-header button {
  background: none;
  border: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  cursor: pointer;
  color: #444;
}

/* ASYMMETRIC LUXURY GRID */
.mdh-projects-gallery-content {
  padding: 100px 6vw 140px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 120px 48px;
  overflow-y: auto;
}

/* IMAGES */
.mdh-projects-gallery-content img {
  width: 100%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  animation: mdhFadeUp 1.4s ease forwards;
}

/* Staggered entrance */
.mdh-projects-gallery-content img:nth-child(odd) {
  grid-column: 1 / span 7;
  animation-delay: 0.1s;
}

.mdh-projects-gallery-content img:nth-child(even) {
  grid-column: 6 / span 7;
  animation-delay: 0.25s;
}

/* Hover zoom (desktop only) */
@media (hover: hover) {
  .mdh-projects-gallery-content img:hover {
    transform: scale(1.03);
  }
}

/* =========================================
   IMAGE FOCUS (FULL VIEW)
========================================= */

#mdh-projects-image-focus {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
}

#mdh-projects-image-focus.active {
  display: flex;
}

#mdh-projects-image-focus-img {
  max-width: 92%;
  max-height: 92%;
  animation: mdhImageReveal 0.8s ease;
}

/* =========================================
   MOBILE & TABLET — EDITORIAL SCROLL
========================================= */

@media (max-width: 1024px) {

  /* PREVIEW → TWO COLUMN ONLY FOR TABLET */
  .mdh-home-projects-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  /* FULL GALLERY → ONE IMAGE AT A TIME */
  .mdh-projects-gallery-content {
    grid-template-columns: 1fr;
    gap: 120px;
    padding: 80px 8vw 120px;
  }

  .mdh-projects-gallery-content img {
    grid-column: auto !important;
    width: 100%;
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* MOBILE — PURE LUXURY LIST */
@media (max-width: 640px) {

  .mdh-home-projects-preview {
    grid-template-columns: 1fr;
  }

  .mdh-home-projects-preview img {
    height: 320px;
  }

  .mdh-projects-gallery-content {
    gap: 140px;
    padding: 70px 7vw 140px;
  }

  .mdh-projects-gallery-content img {
    margin: 0 auto;
  }
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes mdhFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mdhImageReveal {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* =========================================
   MDH CATEGORY PAGE – LUXURY EXPERIENCE
========================================= */

/* INTRO */
#mdh-catpage-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 9rem) 1.5rem 5rem;
  text-align: center;
}

.mdh-catpage-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 1.2rem;
}

.mdh-catpage-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2.2rem;
  color: #111;
}

.mdh-catpage-description {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.7);
}

/* =========================================
   GRID WRAPPER
========================================= */

#mdh-catpage-grid-wrapper {
  padding: 2rem 1.5rem clamp(5rem, 8vw, 7rem);
}

/* GRID */
.mdh-catpage-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3rem, 5vw, 4.5rem);
}

/* CARD */
.mdh-catpage-card {
  cursor: pointer;
  transition: transform 0.5s ease;
}

.mdh-catpage-card:hover {
  transform: translateY(-8px);
}

/* IMAGE */
.mdh-catpage-image {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #f4f3ef;
}

.mdh-catpage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.mdh-catpage-card:hover img {
  transform: scale(1.06);
}

/* TITLE */
.mdh-catpage-card-title {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #111;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {
  .mdh-catpage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #mdh-catpage-intro {
    padding: 4.5rem 1.25rem 3.5rem;
  }

  .mdh-catpage-title {
    font-size: 2.1rem;
  }

  .mdh-catpage-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .mdh-catpage-image {
    height: 300px;
  }
}

/* Subtle entrance */
.mdh-catpage-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mdh-catpage-card.mdh-catpage-visible {
  opacity: 1;
  transform: translateY(0);
}











/* =========================================
   MDH – SIGNATURE CTA (UNFINISHED SPACE)
========================================= */

#mdh-cta-reveal-root {
  position: relative;
  height: 80vh;
  min-height: 520px;
  background: #f6f5f2;
  overflow: hidden;
  cursor: grab;
}

/* BASE IMAGE (SUBTLE, ALWAYS VISIBLE) */
.mdh-cta-base-image {
  position: absolute;
  inset: 0;
  background-image: url("./../img/projects/project1.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.9) brightness(0.85);
  opacity: 0.45;   /* 🔑 increased for visibility */
}

/* REVEAL TRACK */
.mdh-cta-reveal-track {
  position: absolute;
  inset: 0;
}

/* REVEAL MASK (CRISP IMAGE) */
.mdh-cta-reveal-mask {
  position: absolute;
  inset: 0;
  width: 0%;
  background-image: url("assets/img/projects/project1.png");
  background-size: cover;
  background-position: center;
  transition: width 0.18s linear;
}
/* CONTENT */
.mdh-cta-reveal-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* TEXT */
.mdh-cta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 18px;
}

.mdh-cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 300;
  color: #111;
  margin-bottom: 26px;
}

.mdh-cta-subtext {
  max-width: 520px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

/* DRAG HINT */
.mdh-cta-hint {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 46px;
}

/* CTA BUTTON */
.mdh-cta-button {
  align-self: center;
  padding: 16px 52px;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.4s ease, color 0.4s ease;
}

#mdh-cta-reveal-root {
  position: relative;
  height: 80vh;
  min-height: 520px;
  background: #f6f5f2;
  overflow: hidden;
  cursor: grab;

  /* ✅ allow vertical scroll, block horizontal */
  touch-action: pan-y;
  user-select: none;
}
.mdh-cta-button:hover {
  background: #111;
  color: #fff;
}

/* MOBILE */
@media (max-width: 768px) {
  #mdh-cta-reveal-root {
    height: 70vh;
  }

  .mdh-cta-base-image,
  .mdh-cta-reveal-mask {
    background-position: center top;
  }
}
