@font-face {
  font-family: "Hostilica";
  src: url("https://svantabyaakruthi.com/fonts/Hostilica-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Hostilica";
  src: url("https://svantabyaakruthi.com/fonts/Hostilica-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand: #543b1c;
  --accent: #c79552;
  --sand: #e9e6d5;
  --cream: #e9e0c1;
  --deep: #4f6046;
  --olive: #7d7f59;
  --charcoal: #414042;
  --text: #414042;
  --muted: #6e6a63;
  --font: "Hostilica", "Switzer", Arial, sans-serif;
  --font-display: "Marcellus", Georgia, serif;
  --hero-desktop: url("https://svantabyaakruthi.com/images/hero1.webp");
  --hero-mobile: url("https://svantabyaakruthi.com/images/hero1.webp");

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading,
.infra-headline,
.infra-kicker,
.infra-title h3,
.section-kicker {
  font-size: 40px !important;
  text-transform: capitalize;
  line-height: 1.5em !important;
  font-weight: 400 !important;
  font-family: var(--font-display) !important;
}

.section-heading,
.infra-headline {
  font-size: 60px !important;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.navbar-brand span {
  font-weight: 600;
  letter-spacing: 0.4px;
}

.btn-brand {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.65rem 1 rem;
  border-radius: 0;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  color: #fff;
  background: #d96f14;
}

.hero {
  min-height: 72vh;
  position: relative;
  overflow: hidden;
}

.section-heading {
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  margin-bottom: 0.6rem;
  letter-spacing: 0.2px;
}

/* Uniform heading sizing */
.section-heading,
.infra-headline {
  font-size: 40px !important;
  line-height: 1.2em !important;
}

@media (max-width: 1024px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .section-heading,
  .infra-headline,
  .infra-kicker,
  .infra-title h3,
  .section-kicker,
  .gallery-title {
    font-size: 30px !important;
  }

  .btn.btn-brand,
  .btn-brand {
    font-size: 14px;
  }
}

.section-sub {
  color: var(--muted);
  max-width: 740px;
  margin: 0 auto 1.5rem auto;
}

.bg-sand { background: var(--sand); }
.bg-brand { background: var(--brand); }

.highlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* border-radius: 14px; */
  padding: 1rem 1.2rem;
  height: 100%;
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.86);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.highlight-hero img {
  width: 100%;
  /* border-radius: 16px; */
  object-fit: cover;
}

.highlight-list {
  display: grid;
  gap: 16px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-icon {
  width: 46px;
  height: 46px;
  /* border-radius: 12px; */
  background:#f5e4cb;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.highlight-text {
  font-size: 1.02rem;
  color: var(--text);
}

.animate-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.animate-show {
  opacity: 1;
  transform: translateY(0);
}

.icon-badge {
  width: 48px;
  height: 48px;
  /* border-radius: 14px; */
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.config-table {
   max-width: 1080px; 
  margin: 0 auto;
  /* padding: 10px; */
  border: 1px solid var(--brand);
  background: transparent;
  border-radius: 0;
}

.config-table thead {
  background: #2f3e22;
  color: #fff;
  font-size: 18px;
}

.config-table tbody tr:nth-child(even) {
  background: #f1f1f1;
}

.config-table table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 2px solid #2f3e22;
}

.config-table th,
.config-table td {
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

.config-table td:last-child {
  width: 180px;
}

.infra-section {
  padding: 32px 0 48px;
  background: #fff;
}

.infra-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.infra-title {
  line-height: 1.05;
}

.infra-kicker {
  margin: 0;
  font-size: 35px !important;
  font-weight: 400 !important;
  color: #0c0c0c;
}

.infra-headline {
  margin: 0;
  font-size: 40px !important;
  font-weight: 400 !important;
  letter-spacing: -0.5px;
  color: #0c0c0c;
}

.infra-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.infra-nav {
  width: 48px;
  height: 48px;
  border: none;
  /* border-radius: 10px; */
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.infra-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.infra-nav:active {
  transform: translateY(0);
}

.infra-viewport {
  overflow: hidden;
  width: 100%;
  padding-top: 8px;
}

.infra-track {
  display: flex;
  gap: var(--infra-gap, 18px);
  will-change: transform;
  transition: transform 0.45s ease;
}

.infra-card {
  flex: 0 0 calc((100% - (var(--infra-gap, 18px) * 3)) / 3.5);
  background: #ead8c4;
  /* border-radius: 2px; */
  padding: clamp(20px, 2vw, 28px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  /* gap: clamp(18px, 2.4vw, 28px); */
  color: #2f4b2b;
}

.infra-icon-slot {
  width: 80px;
  height: 60px;
  display: flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.infra-copy {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infra-card h3 {
  margin: 0;
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #2e4a2a;
}

.infra-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #314f2c;
}

@media (max-width: 1200px) {
  .infra-card {
    flex: 0 0 calc((100% - (var(--infra-gap, 18px) * 2)) / 2.5);
  }
}

@media (max-width: 992px) {
  .infra-section {
    padding: 48px 0;
  }
  .infra-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .infra-controls {
    align-self: flex-start;
  }
  .infra-card {
    flex: 0 0 100%;
    min-height: 280px;
  }
  .infra-icon-slot {
    height: 100px;
    width: 100px;
  }
}

.master-plan img {
  width: 100%;
  /* border-radius: 18px; */
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.12);
}

.legend {
  display: grid;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #a55a13;
  font-size: 18px;
}

.legend-swatch {
  width: 24px;
  height: 24px;
  /* border-radius: 2px; */
  display: inline-block;
}

.accordion-button:not(.collapsed) {
  background: rgba(191, 97, 13, 0.1);
  color: var(--text);
  box-shadow: none;
}

.location-section {
  background: linear-gradient(135deg, #f4e6d4 0%, #f7eadb 50%, #f1dfc8 100%);
  padding: clamp(48px, 8vw, 100px) 0;
}

.loc-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.loc-text {
  grid-column: span 5;
  background: #fff;
  /* border-radius: 16px; */
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.loc-kicker {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 1px;
  color: #a55a13;
}

.loc-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
}

.loc-sub {
  margin: 0 0 12px;
  color: #4b4b4b;
  font-size: 16px;
}

.loc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loc-chip {
  background: rgba(191, 97, 13, 0.12);
  color: #7a440f;
  padding: 6px 12px;
  /* border-radius: 999px; */
  font-size: 14px;
}

.loc-card {
  grid-column: span 7;
}

.loc-map {
  background: #fff;
  /* border-radius: 16px; */
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.1);
}

.location-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid #ececec;
  background: #fff;
}

.loc-title-sm {
  font-weight: 600;
  margin: 0;
}

.loc-sub-sm {
  margin: 0;
  color: #7a7a7a;
  font-size: 14px;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.loc-panel {
  background: #fff;
  /* border-radius: 16px; */
  padding: 6px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

.location-accordion .accordion-button {
  background: transparent;
  font-weight: 600;
  color: #2b2b2b;
}

.location-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #ececec;
}

.location-accordion .accordion-body {
  padding: 12px 18px 18px;
  color: #4c4c4c;
}

.location-accordion .accordion-button:not(.collapsed) {
  background: rgba(191, 97, 13, 0.08);
  color: #7a440f;
}

.location-accordion .accordion-button:focus {
  box-shadow: none;
}

@media (max-width: 992px) {
  .loc-hero {
    grid-template-columns: 1fr;
  }
  .loc-text,
  .loc-card {
    grid-column: span 12;
  }
  .loc-card {
    order: 2;
  }
  .loc-text {
    order: 1;
  }
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28vw);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.gallery-strip::-webkit-scrollbar {
  height: 10px;
}

.gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  /* border-radius: 999px; */
}

.gallery-card {
  scroll-snap-align: start;
  /* border-radius: 16px; */
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.gallery-block, .indulgence-section{
  padding: clamp(52px, 7vw, 96px) 0;
  background-image: none;
  background-repeat: no-repeat;
}

.gallery-title {
  margin-bottom: clamp(18px, 3vw, 32px);
  color: #0c0c0c;
}

.gallery-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px;
  scroll-behavior: smooth;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
}

.gallery-wrap.is-dragging {
  cursor: grabbing;
}

.indulgence-section {
  position: relative;
  padding: clamp(48px, 7vw, 86px) 0;
  overflow: hidden;
}

.indulgence-section::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: conic-gradient(from 0deg, rgba(191, 97, 13, 0.14) 0 12deg, transparent 12deg 24deg);
  mask: radial-gradient(circle at 50% 50%, transparent 54%, #000 55%);
  opacity: 0.8;
  pointer-events: none;
}

.indulgence-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.indulgence-kicker {
  margin-bottom: 6px;
}

.indulgence-title {
  font-size: clamp(36px, 4vw + 12px, 64px);
  margin: 0 0 8px;
  line-height: 1.05;
  font-weight: 500;
}

.indulgence-sub {
  max-width: 560px;
  color: #3a3a3a;
  margin: 0;
  line-height: 1.6;
}

.indulgence-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.indulgence-nav {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #0c0c0c;
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.indulgence-nav:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
}

.indulgence-slider {
  position: relative;
}

.indulgence-viewport {
  overflow: hidden;
}

.indulgence-track {
  display: flex;
  gap: 14px;
  transition: transform 0.45s ease;
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.indulgence-track.is-dragging {
  cursor: grabbing;
}

.indulgence-slide {
  position: relative;
  flex: 0 0 calc((100% - 28px) / 3);
  height: 420px;
  overflow: hidden;
  border-radius: 6px;
}

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

.indulgence-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.indulgence-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.indulgence-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .indulgence-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .indulgence-track {
    gap: 12px;
  }

  .indulgence-slide {
    flex: 0 0 100%;
    height: 380px;
  }

  .indulgence-controls {
    width: 100%;
    justify-content: center;
  }
}
.cta-banner {
  padding: clamp(32px, 6vw, 56px) 0;
  background: #f9f3ea;
  text-align: center;
}

.cta-title {
  font-size: clamp(28px, 2vw + 12px, 36px);
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.phone-field {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #d7d7d7;
  /* border-radius: 10px; */
  background: #f5f5f5;
  font-weight: 600;
  color: #0c0c0c;
  white-space: nowrap;
}

.flag-india {
  display: inline-block;
  width: 20px;
  height: 14px;
  background: linear-gradient(#ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66% 100%);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.flag-india::after {
  content: "";
  position: absolute;
  inset: 4px 8px;
  border: 1px solid #0c3c8a;
  border-radius: 50%;
}

.dial-code {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.gallery-grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
  width: max-content;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  background: #d6c3a9;
  height: 100%;
  width: auto;
}

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

.gallery-embed {
  width: 100%;
  height: 100%;
  border: none;
}

.gallery-hero {
  flex: 0 0 60vw;
  max-width: 800px;
  height: 420px;
}

.gallery-stack {
  flex: 0 0 28vw;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 420px;
}

.gallery-stack .gallery-tile {
  height: calc((420px - 18px) / 2);
}

.gallery-tall {
  flex: 0 0 22vw;
  max-width: 320px;
  height: 420px;
}

.gallery-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0c0c0c;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.gallery-play:hover {
  transform: translateY(-2px);
}

.gallery-video-link,
.gallery-play-link {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

@media (max-width: 1200px) {
  .gallery-grid {
    gap: 14px;
  }
}

@media (max-width: 992px) {
  .gallery-grid {
    flex-direction: row;
    gap: 14px;
    width: max-content;
  }
  .gallery-stack {
    min-width: 86vw;
    height: auto;
    gap: 14px;
  }
  .gallery-hero,
  .gallery-tall {
    min-width: 86vw;
    min-height: 420px !important;
  }
  .gallery-stack .gallery-tile {
    height: 220px;
  }
  .gallery-wrap {
    overflow-x: auto;
    cursor: grab;
  }
  .gallery-tile {
    flex-shrink: 0;
  }
}

.enquiry-card {
  background: #fff;
  /* border-radius: 16px; */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.footer {
  color: #fff;
  text-align: center;
  padding: 2.4rem 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Hero carousel helpers */
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}

.object-cover {
  object-fit: cover;
}

.badge-lite {
  background: rgba(191, 97, 13, 0.12);
  color: var(--brand);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* Premium slider */
.premium-slider {
  position: relative;
  isolation: isolate;
}

.slider-glow {
  position: absolute;
  inset: -10% 10%;
  background: radial-gradient(circle at 50% 40%, rgba(191, 97, 13, 0.35), transparent 40%);
  filter: blur(50px);
  opacity: 0.7;
  z-index: 0;
}

.slider-shell {
  position: relative;
  padding: 1rem 0 2.5rem;
  z-index: 1;
}

.slider-cards {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.slider-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(23%, 260px);
  transform: translateX(-50%);
  /* border-radius: 18px; */
  overflow: hidden;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.16);
  background: #fff;
  transition: transform 0.65s cubic-bezier(0.4, 0.1, 0.2, 1), opacity 0.65s ease, filter 0.65s ease, box-shadow 0.65s ease;
  opacity: 0;
  transform-origin: center center;
}

.slider-image {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
}

.slider-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 70%);
  color: #f5f5f5;
}

.slider-body h5 {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 1.02rem;
}

.slider-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.pos-center {
  transform: translate(-50%, 0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 5;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.2));
}

.pos-1-left {
  transform: translate(-140%, 10px) scale(0.94) rotate(-6deg);
  opacity: 0.8;
  z-index: 4;
}

.pos-2-left {
  transform: translate(-220%, 24px) scale(0.88) rotate(-10deg);
  opacity: 0.4;
  z-index: 3;
}

.pos-1-right {
  transform: translate(40%, 10px) scale(0.94) rotate(6deg);
  opacity: 0.8;
  z-index: 4;
}

.pos-2-right {
  transform: translate(120%, 24px) scale(0.88) rotate(10deg);
  opacity: 0.4;
  z-index: 3;
}

.pos-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 40px) scale(0.6) rotate(0deg);
  z-index: 1;
}

.leaf-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 1.5rem;
}

.leaf-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(191, 97, 13, 0.5);
  background: #fff;
  color: var(--brand);
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(191, 97, 13, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.leaf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(191, 97, 13, 0.2);
  filter: brightness(1.03);
}

.leaf-btn:active {
  transform: translateY(0);
}

.slider-count {
  font-weight: 600;
  letter-spacing: 2px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  /* pointer-events: none; */
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  z-index: 999;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.modal-dialog {
  background: #fff;
  /* border-radius: 16px; */
  padding: 1.5rem;
  width: min(480px, 92vw);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.18);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  pointer-events: auto; /* override Bootstrap's pointer-events: none so clicks stay inside the dialog */
}

.modal-dark {
  background: #1f2b17;
  color: #f4f4f4;
  width: min(800px, 94vw);
  padding: clamp(24px, 4vw, 48px);
}

.modal-overlay.show .modal-dialog {
  transform: translateY(0) scale(1);
  animation: modalPop 0.4s ease;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--text);
}

.modal-header {
  margin-bottom: 0.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-dark {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  padding-bottom: clamp(12px, 2vw, 20px);
}

.modal-open {
  overflow: hidden;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalPop {
  0% { transform: translateY(12px) scale(0.96); }
  60% { transform: translateY(-2px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

/* Enquiry header shine */
/* .modal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(191, 97, 13, 0.18) 40%, transparent 60%);
  transform: translateX(-120%);
  animation: headerShine 2.8s infinite;
} */

.modal-title-big {
  font-size: clamp(20px, 3vw + 12px, 40px);
  font-family:  Sans-serif;
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}

.modal-subtext {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(244, 244, 244, 0.86);
  font-family: "Switzer Variable", Sans-serif;
}

.modal-form-dark {
  margin-top: 8px;
}

.modal-label {
  color: rgba(244, 244, 244, 0.9);
  font-size: 14px;
  margin-bottom: 6px;
}

.modal-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 244, 244, 0.4);
  border-radius: 0;
  color: #f4f4f4;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

.modal-input:focus {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  color: #fff;
}

.modal-input::placeholder {
  color: rgba(244, 244, 244, 0.6);
}

.modal-btn {
  background: #c46812;
  color: #fff;
  border: none;
  padding: 0.75rem 1.6rem;
  font-size: 16px;
  border-radius: 0;
  min-width: 140px;
}

.modal-btn:hover {
  background: #d77416;
  color: #fff;
}

/* Contact / Enquiry section */
.contact-section {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0;
  background: url("https://svantabyaakruthi.com/images/hero3.webp") center/cover no-repeat;
  overflow: hidden;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(2px);
  z-index: 0;
}

.contact-shell {
  position: relative;
  z-index: 1;
  background: #fff;
  /* border-radius: 10px; */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  overflow: hidden;
}

.contact-left {
  grid-column: span 6;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.98);
  color: #2b2b2b;
  display: grid;
  gap: 16px;
}

.contact-heading {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw + 10px, 40px);
}

.contact-lines {
  display: grid;
  gap: 8px;
  color: #a55a13;
  font-weight: 600;
}

.contact-line i {
  margin-right: 10px;
}

.contact-social {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

.contact-social a {
  color: #a55a13;
}

.contact-brand {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}

.contact-logo {
  width: 100%;
  height: 120px;
  background: linear-gradient(140deg, #1e5c3a, #f28f1d);
  border-radius: 999px 999px 200px 200px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-text {
  font-size: 15px;
  line-height: 1.7;
  color: #303030;
}

.contact-visit {
  margin-top: 10px;
}

.contact-visit a {
  color: #a55a13;
  font-weight: 600;
}

.contact-member {
  margin-top: 8px;
  font-weight: 600;
}

.contact-credai {
  color: #1e824c;
}

.contact-right {
  grid-column: span 6;
  padding: clamp(22px, 4vw, 36px);
  background: #1f2b17;
  color: #f4f4f4;
  display: grid;
  gap: 12px;
}

.contact-form .modal-label {
  color: rgba(244, 244, 244, 0.85);
}

.contact-form .modal-input {
  border-bottom: 1px solid rgba(244, 244, 244, 0.4);
}

.contact-form .modal-input::placeholder {
  color: rgba(244, 244, 244, 0.5);
}

.contact-form .modal-btn {
  min-width: 120px;
}

@media (max-width: 992px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }
  .contact-left,
  .contact-right {
    grid-column: span 12;
  }
}

@keyframes headerShine {
  0% { transform: translateX(-120%); }
  45% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@media (max-width: 1200px) {
  .slider-card {
    width: min(26%, 260px);
  }
}

@media (max-width: 992px) {
  .navbar {
    display: none;
  }
  .hero {
    min-height: 60vh;
  }
  .slider-card {
    width: min(30%, 260px);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 55vh;
    padding: 0;
  }
  .slider-cards {
    min-height: 420px;
  }
  .slider-card {
    width: 82%;
    left: 50%;
  }
  .pos-1-left,
  .pos-2-left,
  .pos-1-right,
  .pos-2-right {
    opacity: 0;
    pointer-events: none;
  }
  .pos-hidden {
    opacity: 0;
  }
  .gallery-card img {
    height: 260px;
  }
}

.thankyou-page::after {
  z-index: 0;
}

.thankyou-main {
  z-index: 1;
}

.btn-brand::before,
.modal-btn::before {
  z-index: 2;
  pointer-events: none;
}

/* Premium editorial layer */
html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(35, 31, 32, 0.9) 0.55px, transparent 0.55px);
  background-size: 4px 4px;
}

::selection {
  color: #fffdf8;
  background: var(--brand);
}

section[id] {
  scroll-margin-top: 78px;
}

.navbar {
  transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease, transform 0.45s ease;
}

.navbar.navbar-scrolled {
  position: fixed;
  background: rgba(35, 31, 32, 0.9);
  box-shadow: 0 12px 35px rgba(35, 31, 32, 0.18);
  backdrop-filter: blur(16px) saturate(130%);
}

.navbar .nav-link {
  position: relative;
  padding-inline: 0.15rem !important;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transition: left 0.3s ease, right 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after {
  left: 0;
  right: 0;
}

.navbar-brand img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.navbar-brand:hover img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 8px 16px rgba(199, 149, 82, 0.28));
}

.hero {
  height: 100svh;
  min-height: 720px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 42%, transparent 10%, rgba(35, 31, 32, 0.12) 82%),
    linear-gradient(90deg, rgba(24, 21, 19, 0.82) 0%, rgba(35, 31, 32, 0.5) 38%, rgba(35, 31, 32, 0.05) 72%);
}

.hero::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.1) 45%, rgba(35, 31, 32, 0.6) 100%);
}

  /* .hero .carousel-item img {
transform: scale(1.02);
  filter: saturate(0.9) contrast(1.04); 
}
*/


.hero .carousel-item.active img {
  animation: hero-cinematic 9s ease-out both;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 5;
  top: auto;
  bottom: 36px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(35, 31, 32, 0.22);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero .carousel-control-prev {
  left: auto;
  right: 104px;
}

.hero .carousel-control-next {
  right: 44px;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(84, 59, 28, 0.72);
}

.hero-luxury-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding-top: 88px;
  pointer-events: none;
}

.hero-copy {
  width: min(760px, 66vw);
  color: #fffdf8;
  pointer-events: auto;
  animation: hero-copy-in 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #f0d5ad;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-eyebrow > span {
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #fffdf8;
  font-family: var(--font-display) !important;
  font-size: clamp(3.8rem, 7vw, 7.2rem) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.045em;
  text-transform: none;
  text-shadow: 0 15px 45px rgba(20, 17, 15, 0.35);
}

.hero-copy h1 em {
  color: #e1bb80;
  font-weight: 400;
  font-style: italic;
}

.hero-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-btn-primary,
.hero-btn-secondary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0.85rem 1.55rem;
  border-radius: 1px;
  font-weight: 700;
  letter-spacing: 0.035em;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-btn-primary {
  border: 1px solid var(--accent);
  color: #fff;
  background: linear-gradient(120deg, #b98542, #d0a262 52%, #b98542);
  background-size: 200% 100%;
  box-shadow: 0 16px 38px rgba(35, 31, 32, 0.24);
}

.hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-btn-primary:hover,
.hero-btn-primary:focus-visible {
  color: #fff;
  transform: translateY(-4px);
  background-position: 100% 0;
  box-shadow: 0 22px 46px rgba(35, 31, 32, 0.32), 0 0 0 1px rgba(225, 187, 128, 0.16);
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible {
  color: #fff;
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(84, 59, 28, 0.42);
}

.hero-actions i {
  transition: transform 0.35s ease;
}

.hero-actions .btn:hover i {
  transform: translate(3px, -3px);
}

.hero-actions .hero-btn-secondary:hover i {
  transform: translateY(4px);
}

.hero-proof {
  display: flex;
  align-items: stretch;
  width: fit-content;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent);
  backdrop-filter: blur(8px);
}

.hero-proof > div {
  display: grid;
  min-width: 128px;
  padding: 15px 20px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-proof > div:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: #f0d5ad;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 400;
  line-height: 1.1;
}

.hero-proof span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  right: 122px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: -100% 0 100%;
  background: var(--accent);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.btn-brand,
.modal-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(120deg, #b98542, #d1a566 52%, #b98542);
  background-size: 200% 100%;
  font-weight: 700;
  letter-spacing: 0.045em;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, background-position 0.55s ease, color 0.3s ease;
}

.btn-brand::before,
.modal-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  bottom: -40%;
  left: -45%;
  width: 32%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transition: left 0.75s ease;
}

.btn-brand:hover,
.btn-brand:focus-visible,
.modal-btn:hover,
.modal-btn:focus-visible {
  transform: translateY(-4px);
  background-position: 100% 0;
  box-shadow: 0 18px 36px rgba(84, 59, 28, 0.28), 0 0 0 1px rgba(199, 149, 82, 0.2);
}

.btn-brand:hover::before,
.btn-brand:focus-visible::before,
.modal-btn:hover::before,
.modal-btn:focus-visible::before {
  left: 120%;
}

.open-enquiry.btn-brand,
.mobile-bottom-bar .bar-btn {
  animation: cta-breathe 4.5s ease-in-out infinite;
}

.btn:focus-visible,
.nav-link:focus-visible,
.leaf-btn:focus-visible,
.infra-nav:focus-visible,
.indulgence-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.infra-headline,
.section-heading,
.indulgence-title,
.contact-heading {
  letter-spacing: -0.025em !important;
}

#overview,
#highlights,
#config,
#masterplan {
  padding-block: clamp(76px, 8vw, 118px) !important;
}

#crafted,
.infra-section,
.indulgence-section,
.location-section,
.gallery-block,
.contact-section {
  padding-block: clamp(82px, 8vw, 124px);
}

#overview .container,
#highlights .container,
#config .container,
.infra-section .container,
#masterplan .container,
.indulgence-section .container,
.location-section .container,
.contact-section .container {
  position: relative;
  z-index: 1;
}

.highlight-hero,
.master-plan,
.resort-club-feature,
.loc-map,
.contact-shell {
  position: relative;
}

.highlight-hero::after,
.master-plan::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: -1;
  border: 1px solid rgba(199, 149, 82, 0.58);
  transition: transform 0.55s ease;
}

.highlight-hero:hover::after,
.master-plan:hover::after {
  transform: translate(-5px, -5px);
}

.highlight-hero img,
.master-plan img {
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.75s ease;
}

.highlight-hero:hover img,
.master-plan:hover img {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.highlight-list {
  gap: 7px;
}

.highlight-item {
  position: relative;
  padding: 12px 14px 13px;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.highlight-item:hover {
  transform: translateX(8px);
  border-color: rgba(199, 149, 82, 0.35);
  background: linear-gradient(90deg, rgba(233, 224, 193, 0.52), transparent);
}

.highlight-icon {
  transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.highlight-item:hover .highlight-icon {
  color: #fff;
  background: var(--brand);
  transform: rotate(-4deg) scale(1.06);
}

.config-table {
  overflow: hidden;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 28px 70px rgba(84, 59, 28, 0.11);
}

.config-table tbody tr {
  transition: background 0.3s ease, transform 0.3s ease;
}

.config-table tbody tr:hover {
  background: rgba(233, 224, 193, 0.72);
}

.infra-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(84, 59, 28, 0.06);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, background 0.45s ease;
}

.infra-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(199, 149, 82, 0.22);
  border-radius: 50%;
  transition: transform 0.55s ease, border-color 0.55s ease;
}

.infra-card:hover {
  transform: translateY(-10px);
  background: #f0e7cb;
  box-shadow: 0 28px 55px rgba(84, 59, 28, 0.16);
}

.infra-card:hover::before {
  transform: scale(1.22);
  border-color: rgba(199, 149, 82, 0.5);
}

.infra-icon-slot {
  transition: transform 0.45s ease;
}

.infra-card:hover .infra-icon-slot {
  transform: translateY(-4px) rotate(3deg);
}

.infra-nav,
.indulgence-nav,
.leaf-btn {
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.infra-nav:hover,
.indulgence-nav:hover,
.leaf-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 30px rgba(84, 59, 28, 0.22);
}

.resort-club-feature {
  border: 1px solid rgba(199, 149, 82, 0.32);
  box-shadow: 0 32px 75px rgba(84, 59, 28, 0.16);
}

.resort-club-feature > span::after {
  /* content: "Explore the experience  ↗"; */
  display: block;
  margin-top: 9px;
  color: #f0d5ad;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.indulgence-slide {
  box-shadow: 0 20px 45px rgba(84, 59, 28, 0.11);
}

.indulgence-slide img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.7s ease;
}

.indulgence-slide:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.loc-map,
.loc-text {
  border: 1px solid rgba(199, 149, 82, 0.2);
  box-shadow: 0 25px 60px rgba(84, 59, 28, 0.11);
}

.location-accordion .accordion-button {
  transition: color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.location-accordion .accordion-button:hover {
  padding-left: 24px;
  color: var(--accent);
}

.gallery-wrap {
  padding-block: 18px 34px;
}

.gallery-tile {
  border: 1px solid rgba(199, 149, 82, 0.18);
  box-shadow: 0 24px 50px rgba(84, 59, 28, 0.1);
}

.contact-shell {
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 38px 90px rgba(20, 17, 15, 0.28);
}

.contact-right {
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 149, 82, 0.23), transparent 32%),
    var(--deep);
}

.modal-input {
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}

.modal-input:focus {
  padding-left: 8px;
  border-bottom-color: var(--accent);
}

.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(199, 149, 82, 0.5);
}

.footer::before {
  content: "SVĀNTĀ";
  position: absolute;
  right: -1vw;
  bottom: -0.25em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-size: clamp(7rem, 19vw, 20rem);
  letter-spacing: -0.06em;
  line-height: 0.7;
  pointer-events: none;
}

.animate-init {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.animate-init.reveal-left {
  transform: translate3d(-42px, 18px, 0) scale(0.985);
}

.animate-init.reveal-right {
  transform: translate3d(42px, 18px, 0) scale(0.985);
}

.animate-init.reveal-scale {
  transform: translate3d(0, 20px, 0) scale(0.95);
}

.animate-show,
.animate-show.reveal-left,
.animate-show.reveal-right,
.animate-show.reveal-scale {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

/* Thank-you experience */
.thankyou-page {
  min-height: 100svh;
  color: #fffdf8;
  background: #2d3528;
}

.thankyou-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 33, 25, 0.94), rgba(47, 57, 42, 0.8) 54%, rgba(35, 31, 32, 0.58)),
    url("https://svantabyaakruthi.com/images/hero3.webp") center / cover no-repeat;
}

.thankyou-main {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.thankyou-main::before,
.thankyou-main::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(225, 187, 128, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.thankyou-main::before {
  top: -260px;
  right: -200px;
  width: 620px;
  height: 620px;
}

.thankyou-main::after {
  bottom: -280px;
  left: -220px;
  width: 540px;
  height: 540px;
}

.thankyou-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.thankyou-nav img {
  width: clamp(160px, 18vw, 230px);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.thankyou-nav a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

.thankyou-nav a:last-child:hover {
  color: #f0d5ad;
  transform: translateX(-4px);
}

.thankyou-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 64px 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.thankyou-copy {
  animation: thankyou-in 0.95s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.thankyou-mark {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(225, 187, 128, 0.72);
  border-radius: 50%;
  color: #f0d5ad;
  font-size: 2rem;
}

.thankyou-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(225, 187, 128, 0.18);
  border-radius: 50%;
  animation: thankyou-ring 2.8s ease-in-out infinite;
}

.thankyou-kicker {
  margin: 0 0 12px;
  color: #e1bb80;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.thankyou-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #fffdf8;
  font-size: clamp(3.3rem, 6vw, 6.4rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.045em;
  text-transform: none;
}

.thankyou-copy h1 em {
  color: #e1bb80;
  font-weight: 400;
  font-style: italic;
}

.thankyou-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.thankyou-actions .btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.thankyou-call {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.thankyou-call:hover {
  color: #fff;
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(84, 59, 28, 0.42);
}

.thankyou-next {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 32px 80px rgba(20, 17, 15, 0.28);
  backdrop-filter: blur(18px) saturate(120%);
  animation: thankyou-in 0.95s 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.thankyou-next::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 34px;
  width: 76px;
  height: 2px;
  background: var(--accent);
}

.thankyou-next h2 {
  margin: 0 0 24px;
  color: #fffdf8;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  line-height: 1.1 !important;
  text-transform: none;
}

.thankyou-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.thankyou-step:first-of-type {
  border-top: 0;
}

.thankyou-step > span {
  color: #e1bb80;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.thankyou-step strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
}

.thankyou-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.55;
}

.thankyou-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

@keyframes hero-cinematic {
  from { transform: scale(1.02); }
  to { transform: scale(1.095); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(34px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes scroll-line {
  0% { transform: translateY(-20%); }
  65%, 100% { transform: translateY(210%); }
}

@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 9px 24px rgba(84, 59, 28, 0.16); }
  50% { box-shadow: 0 13px 34px rgba(199, 149, 82, 0.32); }
}

@keyframes thankyou-in {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes thankyou-ring {
  0%, 100% { transform: scale(0.94); opacity: 0.45; }
  50% { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-copy {
    width: min(720px, 78vw);
  }

  .hero-proof > div {
    min-width: 112px;
    padding-inline: 16px;
  }

  .thankyou-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .thankyou-next {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(24, 21, 19, 0.44) 0%, rgba(35, 31, 32, 0.48) 38%, rgba(24, 21, 19, 0.88) 100%);
  }

  .hero-luxury-content {
    align-items: flex-end;
    padding: 120px 0 94px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-eyebrow {
    align-items: flex-start;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .hero-eyebrow > span {
    margin-top: 0.48em;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.5rem) !important;
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    min-height: 50px;
  }

  .hero-proof {
    display: grid;
    width: 100%;
    margin-top: 24px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-proof > div {
    min-width: 0;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-proof > div:nth-child(2) {
    border-right: 0;
  }

  .hero-proof strong {
    font-size: 1.1rem;
  }

  .hero-proof span {
    font-size: 0.62rem;
  }

  .hero-scroll-cue,
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    display: none;
  }

  #overview,
  #highlights,
  #config,
  #masterplan,
  #crafted,
  .infra-section,
  .indulgence-section,
  .location-section,
  .gallery-block,
  .contact-section {
    padding-block: 72px !important;
  }

  .highlight-hero::after,
  .master-plan::after {
    inset: 9px -8px -8px 9px;
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    width: 18px;
  }

  .thankyou-nav,
  .thankyou-content,
  .thankyou-footer {
    width: min(100% - 32px, 1180px);
  }

  .thankyou-nav {
    padding-block: 14px;
  }

  .thankyou-nav img {
    width: 148px;
    height: 48px;
  }

  .thankyou-nav a:last-child span {
    display: none;
  }

  .thankyou-content {
    padding: 54px 0;
  }

  .thankyou-mark {
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
  }

  .thankyou-copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem) !important;
  }

  .thankyou-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .thankyou-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-init {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Svanta brand theme */
body {
  background: #fffdf8;
  letter-spacing: 0.01em;
}

.section-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.navbar {
  z-index: 30;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.72), rgba(35, 31, 32, 0));
}

.navbar .container {
  max-width: 1400px;
}

.navbar-brand img {
  display: block;
  width: 180px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.navbar .nav-link {
  color: #fff8eb;
  font-weight: 600;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #f3d6a7;
}

.hero {
  min-height: 92vh;
  background: var(--deep);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(35, 31, 32, 0.2), transparent 55%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 2;
}

.btn-brand,
.modal-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 9px 24px rgba(84, 59, 28, 0.16);
}

.btn-brand:hover,
.btn-brand:focus,
.modal-btn:hover,
.modal-btn:focus {
  background: var(--brand);
  color: #fff;
}

#overview {
  position: relative;
  overflow: hidden;
}

#overview::before,
#overview::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(199, 149, 82, 0.28);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
  pointer-events: none;
}

#overview::before {
  left: -105px;
  top: -90px;
}

#overview::after {
  right: -110px;
  bottom: -90px;
}

#overview .section-sub {
  max-width: 1000px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

#crafted {
  background: #7d7f59;
}

#crafted .slider-glow {
  background: radial-gradient(circle at 50% 40%, rgba(199, 149, 82, 0.42), transparent 43%);
}

.slider-card {
  border: 1px solid rgba(233, 224, 193, 0.35);
  background: var(--cream);
}

.leaf-btn {
  border-color: rgba(199, 149, 82, 0.8);
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(35, 31, 32, 0.16);
}

#highlights {
  background: #fffdf8;
}

.highlight-hero {
  overflow: hidden;
  background: var(--cream);
}

.highlight-hero img {
  aspect-ratio: 4 / 3;
}

.highlight-icon {
  background: var(--cream);
  color: var(--brand);
  border: 1px solid rgba(199, 149, 82, 0.28);
}

.highlight-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(84, 59, 28, 0.12);
}

.config-table {
  border-color: var(--brand);
  box-shadow: 0 18px 40px rgba(84, 59, 28, 0.08);
}

.config-table thead {
  background: var(--brand);
}

.config-table table {
  border-color: var(--brand);
}

.config-table tbody tr:nth-child(even) {
  background: rgba(233, 224, 193, 0.38);
}

.infra-section {
  background: #fffdf8;
}

.infra-card {
  background: var(--cream);
  color: var(--brand);
  border-top: 4px solid var(--accent);
}

.infra-card:nth-child(n + 8) {
  display: none;
}

.infra-card .infra-copy span {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.2;
}

.infra-card p {
  color: var(--charcoal);
}

.infra-icon-slot svg [fill="black"] {
  fill: var(--brand);
}

.infra-icon-slot svg [stroke="black"] {
  stroke: var(--brand);
}

.infra-nav,
.indulgence-nav {
  background: var(--brand);
}

#masterplan {
  background: var(--sand);
}

.legend-item {
  color: var(--brand);
}

.legend-swatch {
  border: 1px solid rgba(84, 59, 28, 0.22);
}

.master-plan img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(84, 59, 28, 0.18);
}

.indulgence-section {
  background: #fffdf8;
  background-image: none;
}

.indulgence-section::after {
  background: conic-gradient(from 0deg, rgba(199, 149, 82, 0.16) 0 12deg, transparent 12deg 24deg);
}

.resort-club-feature {
  position: relative;
  display: block;
  height: clamp(320px, 50vw, 620px);
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 24px 50px rgba(84, 59, 28, 0.14);
}

.resort-club-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(35, 31, 32, 0.64));
}

.resort-club-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.resort-club-feature:hover img {
  transform: scale(1.025);
}

.resort-club-feature > span {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 42px);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
}

.amenities-heading {
  margin: clamp(42px, 7vw, 72px) 0 24px;
}

.amenities-heading h3 {
  margin: 0;
}

.indulgence-slide {
  border-radius: 0;
  background: var(--cream);
}

.indulgence-slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(35, 31, 32, 0.72));
  pointer-events: none;
}

.indulgence-caption {
  z-index: 1;
}

.location-section {
  background: var(--sand);
}

.location-heading {
  margin-bottom: 32px;
}

.loc-hero {
  align-items: start;
}

.loc-text,
.loc-map,
.loc-panel {
  background: #fffdf8;
}

.loc-kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-accordion .accordion-button:not(.collapsed) {
  background: rgba(233, 224, 193, 0.58);
  color: var(--brand);
}

.location-accordion .accordion-button {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.connectivity-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(84, 59, 28, 0.1);
  line-height: 1.35;
}

.connectivity-item:last-child {
  border-bottom: 0;
}

.connectivity-item strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.gallery-block {
  background: #fffdf8;
  background-image: none;
}

.gallery-tile {
  background: var(--cream);
}

.gallery-tile img {
  transition: transform 0.55s ease;
}

.gallery-tile:hover img {
  transform: scale(1.035);
}

.contact-section {
  background: url("https://svantabyaakruthi.com/images/hero3.webp") center / cover no-repeat;
}

.contact-overlay {
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.48), rgba(84, 59, 28, 0.58));
}

.contact-left {
  background: rgba(255, 253, 248, 0.98);
}

.contact-right,
.modal-dark {
  background: var(--deep);
}

.contact-lines,
.contact-social a,
.contact-visit a {
  color: var(--brand);
}

.footer.bg-brand {
  background: var(--brand);
}

.mobile-bottom-bar {
  background: var(--brand);
  border-top: 2px solid var(--accent);
}

@media (max-width: 992px) {
  .navbar {
    display: block;
    background: rgba(35, 31, 32, 0.78);
    backdrop-filter: blur(10px);
  }

  .navbar-brand img {
    width: 138px;
    height: 42px;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 14px;
    background: rgba(35, 31, 32, 0.92);
  }

  .navbar-nav {
    margin: 0 !important;
  }

  .hero {
    min-height: 68vh;
  }

  .loc-card {
    order: 1;
  }

  .loc-text {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 62vh;
  }

  .resort-club-feature {
    height: 340px;
  }

  .connectivity-item {
    font-size: 0.92rem;
  }

  .contact-brand {
    grid-template-columns: 1fr;
  }

  .contact-brand > img {
    width: 150px;
    height: auto !important;
  }
}

/* Mobile topbar */
.mobile-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateY(-110%);
  transition: transform 0.35s ease;
  z-index: 20;
}

.mobile-topbar.show {
  transform: translateY(0);
}

.mobile-topbar-inner .brand-mark {
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text);
}

/* Mobile bottom bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: var(--brand);
  display: none;
  z-index: 20;
  overflow: hidden;
}

.mobile-bottom-bar .bar-btn {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.mobile-bottom-bar .bar-btn + .bar-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.mobile-bottom-bar .shine {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: shine 2.8s infinite;
}

@keyframes shine {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

@media (max-width: 992px) {
  .mobile-topbar,
  .mobile-bottom-bar {
    display: flex;
  }
}

/* Final mobile overrides for uniform heading sizing */
@media (max-width: 768px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .section-heading,
  .infra-headline,
  .infra-kicker,
  .infra-title h3,
  .section-kicker,
  .gallery-title,
  .contact-heading,
  .indulgence-title {
    font-size: 30px !important;
    line-height: 1.2em !important;
  }
}

/* Final premium precedence fixes */
.btn-brand::before,
.modal-btn::before {
  z-index: 2;
  pointer-events: none;
}

.hero::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.08) 42%, rgba(35, 31, 32, 0.62) 100%);
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 5;
}

.btn-brand,
.modal-btn {
  background: linear-gradient(120deg, #b98542, #d1a566 52%, #b98542);
  background-size: 200% 100%;
}

.btn-brand:hover,
.btn-brand:focus-visible,
.modal-btn:hover,
.modal-btn:focus-visible {
  background: linear-gradient(120deg, #a77538, #c79552 52%, #a77538);
  background-size: 200% 100%;
  background-position: 100% 0;
}

.resort-club-feature {
  border: 1px solid rgba(199, 149, 82, 0.32);
  box-shadow: 0 32px 75px rgba(84, 59, 28, 0.16);
}

@media (max-width: 768px) {
  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero .carousel-control-prev,
  .hero .carousel-control-next,
  .hero-scroll-cue {
    display: none;
  }
}

.thankyou-page::after {
  z-index: 0;
}

.thankyou-main {
  z-index: 1;
}

/* Interaction and responsive fixes — kept last to win the theme cascade. */
.gallery-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.gallery-grid,
.gallery-hero,
.gallery-tall,
.gallery-stack {
  height: 420px;
}

.gallery-tile,
.gallery-tile img {
  min-height: 0;
  max-height: 100%;
}

.mobile-bottom-bar {
  z-index: 900;
  isolation: isolate;
}

.mobile-bottom-bar .bar-btn.open-enquiry {
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.mobile-bottom-bar .shine {
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  body:not(.thankyou-page) .navbar {
    display: none !important;
  }

  .gallery-grid,
  .gallery-hero,
  .gallery-tall,
  .gallery-stack {
    height: 420px;
    min-height: 0 !important;
  }

  .gallery-stack {
    min-width: 86vw;
  }

  .gallery-stack .gallery-tile {
    height: calc((420px - 14px) / 2);
  }
}

/* Reliable native Resort Club amenities carousel */
.indulgence-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.indulgence-viewport::-webkit-scrollbar {
  display: none;
}

.indulgence-track {
  transform: none !important;
  transition: none !important;
}

.indulgence-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Theme Bootstrap consent checkbox */
.form-check .form-check-input[type="checkbox"] {
  width: 1.08em;
  height: 1.08em;
  border: 1px solid rgba(199, 149, 82, 0.82);
  background-color: rgba(199, 149, 82, 0.12);
  accent-color: var(--accent);
  box-shadow: none;
  cursor: pointer;
}

.form-check .form-check-input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fffdf8' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check .form-check-input[type="checkbox"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(199, 149, 82, 0.24);
}

.form-check .form-check-input[type="checkbox"]:active {
  filter: brightness(0.96);
}

/* Mobile viewport containment */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
iframe,
video {
  max-width: 100%;
}

.premium-slider,
.slider-shell,
.slider-cards,
.infra-viewport,
.indulgence-slider,
.indulgence-viewport,
.gallery-wrap,
.config-table,
.table-responsive,
.contact-shell,
.loc-hero,
.loc-card,
.loc-text {
  min-width: 0;
  max-width: 100%;
}

.phone-field,
.phone-field .form-control {
  min-width: 0;
}

.phone-field .form-control {
  width: 1%;
  flex: 1 1 auto;
}

.contact-line,
.contact-text,
.contact-member,
.modal-subtext,
.form-check-label {
  overflow-wrap: anywhere;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 767.98px) {
  .hero {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
  }

  body > section,
  body > nav,
  body > footer {
    max-width: 100%;
    overflow-x: clip;
  }

  .container,
  .container-fluid,
  .row > *,
  .contact-left,
  .contact-right,
  .contact-brand,
  .contact-text,
  .location-map-footer > div {
    min-width: 0;
  }

  .loc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .location-map-footer {
    gap: 12px;
  }

  .location-map-footer > div {
    flex: 1 1 150px;
  }

  .location-map-footer .btn {
    flex: 0 0 auto;
  }

  .contact-social {
    flex-wrap: wrap;
    column-gap: 14px;
  }

  .modal-dialog,
  .modal-dark {
    max-width: calc(100% - 20px);
    margin-inline: auto;
  }
}

/* Final thank-you page desktop alignment and theme */
.thankyou-page {
  min-height: 100svh;
  background: #1f2a1d;
  color: #fffdf8;
}

.thankyou-page::after {
  z-index: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 149, 82, 0.22), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(84, 59, 28, 0.36), transparent 34%),
    linear-gradient(135deg, rgba(31, 42, 29, 0.98), rgba(79, 96, 70, 0.96) 52%, rgba(84, 59, 28, 0.94)),
    url("https://svantabyaakruthi.com/images/hero3.webp") center / cover no-repeat;
}

.thankyou-main {
  z-index: 1;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow-x: clip;
}

.thankyou-main::before,
.thankyou-main::after {
  opacity: 0.7;
}

.thankyou-nav {
  width: min(1180px, calc(100% - 64px));
  padding: 22px 0;
  border-bottom-color: rgba(233, 224, 193, 0.2);
}

.thankyou-content {
  width: min(1080px, calc(100% - 64px));
  margin: 36px auto;
  padding: clamp(36px, 5vw, 58px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 4.5vw, 60px);
  align-self: center;
  align-items: stretch;
  border: 1px solid rgba(233, 224, 193, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(35, 31, 32, 0.42), rgba(79, 96, 70, 0.72)),
    rgba(31, 42, 29, 0.78);
  box-shadow: 0 36px 95px rgba(20, 17, 15, 0.34);
  backdrop-filter: blur(16px) saturate(118%);
}

.thankyou-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.thankyou-mark {
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  color: #fffdf8;
  border-color: rgba(199, 149, 82, 0.86);
  background: linear-gradient(135deg, #b98542, #d7b06f);
  box-shadow: 0 18px 40px rgba(84, 59, 28, 0.28);
}

.thankyou-mark::after {
  border-color: rgba(199, 149, 82, 0.35);
}

.thankyou-copy h1 {
  max-width: 680px;
  font-size: clamp(3.1rem, 4.7vw, 5.1rem) !important;
  letter-spacing: 0;
}

.thankyou-lead {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.78);
}

.thankyou-next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
  border-color: rgba(199, 149, 82, 0.28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(233, 224, 193, 0.11), rgba(35, 31, 32, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.08);
}

.thankyou-next h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.25rem) !important;
  letter-spacing: 0;
}

.thankyou-step {
  border-top-color: rgba(233, 224, 193, 0.16);
}

.thankyou-footer {
  width: min(1180px, calc(100% - 64px));
  border-top-color: rgba(233, 224, 193, 0.18);
  color: rgba(255, 253, 248, 0.62);
}

@media (max-width: 991.98px) {
  .thankyou-nav,
  .thankyou-content,
  .thankyou-footer {
    width: min(100% - 32px, 720px);
  }

  .thankyou-content {
    margin: 26px auto;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
}

@media (max-width: 767.98px) {
  .thankyou-main {
    min-height: 100svh;
    overflow-y: auto;
  }

  .thankyou-content {
    padding: 28px 22px;
  }

  .thankyou-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem) !important;
  }
}

/* Plain banner carousel and master-plan legend */
.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.hero .carousel-item img,
.hero .carousel-item.active img {
  animation: none !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

#masterplan .legend {
  gap: 12px;
}

#masterplan .legend-item {
  gap: 12px;
  font-weight: 600;
}

#masterplan .legend-swatch {
  flex: 0 0 44px;
  width: 44px;
  height: 20px;
  border-color: rgba(84, 59, 28, 0.12);
}

#masterplan .legend-item:last-child .legend-swatch {
  background-image: radial-gradient(rgba(84, 59, 28, 0.16) 0.7px, transparent 0.7px) !important;
  background-size: 4px 4px !important;
}

/* Touch-enabled Resort Club amenities carousel */
.indulgence-viewport {
  touch-action: pan-x pan-y;
}

.indulgence-track {
  touch-action: auto;
  cursor: auto;
  user-select: none;
  -webkit-user-select: none;
}

.indulgence-slide,
.indulgence-slide img {
  -webkit-user-drag: none;
}

/* Gated master-plan preview */
#masterplan .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.master-plan-heading {
  width: min(100%, 860px);
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.master-plan-heading .infra-headline {
  margin-bottom: 14px;
}

.master-plan-heading .text-muted {
  margin: 0;
  line-height: 1.75;
}

.master-plan-preview {
  position: relative;
  width: min(100%, 1080px);
  overflow: hidden;
  border: 1px solid rgba(199, 149, 82, 0.38);
  background: var(--cream);
  box-shadow: 0 28px 70px rgba(84, 59, 28, 0.18);
}

.master-plan-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(35, 31, 32, 0.18);
}

.master-plan-image {
  overflow: hidden;
}

.master-plan-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: blur(7px) brightness(0.82);
  transform: scale(1.035);
}

.master-plan-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
}

.master-plan-cta {
  min-width: min(280px, 80vw);
  padding: 15px 30px;
  font-size: 1.05rem;
}

@media (max-width: 767.98px) {
  .master-plan-image img {
    aspect-ratio: 4 / 3;
    filter: blur(5px) brightness(0.8);
  }

  .master-plan-cta {
    min-width: min(240px, 76vw);
    padding: 13px 22px;
  }
}

/* Project Highlights: deep green brand treatment */
#highlights .section-heading {
  color: var(--deep);
}

#highlights .highlight-hero::after {
  border-color: rgba(79, 96, 70, 0.5);
}

#highlights .highlight-icon {
  color: var(--deep);
  border-color: rgba(79, 96, 70, 0.28);
  background: rgba(79, 96, 70, 0.12);
}

#highlights .highlight-item {
  border-bottom-color: rgba(79, 96, 70, 0.18);
}

#highlights .highlight-item:hover {
  border-color: rgba(79, 96, 70, 0.35);
  background: linear-gradient(90deg, rgba(79, 96, 70, 0.12), transparent);
}

#highlights .highlight-item:hover .highlight-icon {
  color: #fff;
  background: var(--deep);
}

#highlights .btn-brand {
  background: var(--deep);
  box-shadow: 0 9px 24px rgba(79, 96, 70, 0.2);
}

#highlights .btn-brand:hover,
#highlights .btn-brand:focus-visible {
  background: #3f4f38;
  box-shadow: 0 14px 30px rgba(79, 96, 70, 0.3);
}

/* Unified deep-green CTA treatment */
.btn.btn-brand,
.btn.modal-btn,
.hero-btn-primary,
.mobile-bottom-bar,
.mobile-bottom-bar .bar-btn.open-enquiry {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--deep) !important;
  background-image: none !important;
  box-shadow: 0 9px 24px rgba(79, 96, 70, 0.2);
}

.btn.btn-brand:hover,
.btn.btn-brand:focus-visible,
.btn.modal-btn:hover,
.btn.modal-btn:focus-visible,
.hero-btn-primary:hover,
.hero-btn-primary:focus-visible,
.mobile-bottom-bar .bar-btn.open-enquiry:hover,
.mobile-bottom-bar .bar-btn.open-enquiry:focus-visible {
  color: #fff;
  background: #3f4f38 !important;
  background-image: none !important;
  box-shadow: 0 14px 30px rgba(79, 96, 70, 0.3);
}

/* Sand Get in Touch section */
.contact-section {
  background: var(--sand) !important;
  background-image: none !important;
}

.contact-overlay {
  display: none;
  background: none;
  backdrop-filter: none;
}

/* Deep-green footer with white typography */
.footer.bg-brand {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.2);
  background: var(--deep) !important;
}

.footer h5,
.footer p,
.footer a {
  color: inherit;
}

.footer::before {
  content: "SVANTA";
  color: rgba(255, 255, 255, 0.035);
}

/* Device-specific responsive hero banners */
.hero {
  height: auto;
  min-height: 0;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: auto !important;
}

.hero-picture {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: fill;
  object-position: center center;
}

@media (max-width: 767.98px) {
  .hero-picture,
  .hero-banner-image {
    width: 100vw;
    height: auto;
  }
}
