/* Fix hero width collapse */
html {
    scroll-behavior: auto !important;
}

/* ==========================================================================
   Hero / banner parity (matches original HTML: 100vw × 100vh, cover backgrounds)
   ========================================================================== */

.hero,
section.about,
section.contact,
section.blog-hero,
section.press,
section.land-hero,
section.career-hero,
section.career-listing-hero,
section.testimonial-hero,
section.leadership-hero,
section.media-asset-hero,
.about-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
}

/* Swiper fills the hero shell (multi-slide heroes only) */
.hero .heroSwiper,
.about .heroSwiper,
.about-hero .heroSwiper {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
}

.hero .heroSwiper .swiper-wrapper,
.about .heroSwiper .swiper-wrapper,
.about-hero .heroSwiper .swiper-wrapper {
    height: 100%;
}

.hero .heroSwiper .swiper-slide,
.about .heroSwiper .swiper-slide,
.about-hero .heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Single-slide static layout (no Swiper JS — matches original HTML banners) */
.hero-banner-static {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

/* MEDIA LAYER */
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* TEXT LAYER — home / generic hero sliders */
.hero .heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    width: 90%;
    max-width: 100%;
    color: #fff;
    pointer-events: none;
}

/* About-style banner title (original HTML) */
section.about .banner-title,
.about-hero .banner-title {
    z-index: 5;
    pointer-events: none;
}

.hero .heading h1,
.hero .heading p,
.hero .main-button,
.hero .home-explore-ani {
    pointer-events: auto;
}

.hero .heading h1,
.hero .heading p,
.hero  .main-button,
.hero  .home-explore-ani {
    pointer-events: auto;
}


.home-explore-ani a {
    display: inline-block;
    pointer-events: auto;
}
/* #mainNavbar {
    position: relative;
    z-index: 99999999 !important;
    pointer-events: auto !important;
} */
#logo, #logo * {
    pointer-events: auto !important;
}
#logo img {
    pointer-events: none !important;
}
.indian-sales .sales-card img {
  max-width: 100%;
}

/* OPTIONAL: DARK OVERLAY FOR BETTER TEXT VISIBILITY */
.hero .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.40);
    z-index: 2;
}

#scrollsmoother-container,
#smooth-wrapper,
#smooth-content {
    width: 100% !important;
    max-width: 100% !important;
}

.home-explore-ani {
	z-index:6;
}
.swiper-button-next::after, .swiper-button-prev::after {
	color: var(--primary-color);
	z-index: 5;
	position: relative;
}
.swiper-button-next, .swiper-button-prev {
	z-index: 999;
}

/* Stacked section headings (Who <br> We <br> Are) — matches original HTML */
.who-we-are h1 {
    display: block;
    white-space: normal;
    word-break: normal;
}

.about-vision {
    margin-top: 60px;
}

.vision .col-md-6,
.vision .col-md-7 {
    overflow: hidden;
}

/* About vision zoom scroll (GSAP ScrollTrigger — opt-in via .parallax on .zoom-img) */
.vision .zoom-img.parallax,
.vision .zoom-img[data-parallax] {
    display: block;
    width: 100%;
    height: auto;
    transform-origin: center center;
    will-change: transform;
}

/* ScrollSmoother parallax: opt-in via [data-parallax], .parallax-enabled, .home-parallax (main.js) */

/* Inner pages: disable scroll parallax on media only (do NOT reset Swiper slide transforms) */
body:not([data-scroll-effects="home"]) .hero-image,
body:not([data-scroll-effects="home"]) .hero-media,
body:not([data-scroll-effects="home"]) .hero-video {
    transform: none !important;
    will-change: auto !important;
}

/* Legacy overrides for sections that must not receive scroll transforms */
.media-hero,
.blog-list img,
.indian-sales img {
    transform: none !important;
    will-change: auto !important;
}

/* Fix Bootstrap modal stacking with GSAP / transformed wrappers */
.modal {
    z-index: 999999 !important;
}

.modal-backdrop {
    z-index: 999998 !important;
}

body.modal-open #smooth-content,
body.modal-open #scrollsmoother-container {
    transform: none !important;
}


.indian-sales .sales-card * {
    transform: none !important;
}

.indian-sales {
    transform: none !important;
}

.blog-feature {
  position: relative;
  z-index: 99;
}
.blog-list .img-fluid.w-100,
.blog-feature img.w-100 {
  border-radius: 3%;
}

/* ============================
   MULTIGEN PREMIUM PAGINATION
   Matches view-btn style
============================ */

.premium-pagination {
    display: inline-flex;
    gap: 12px;
    padding: 0;
    list-style: none;
}

/* Individual page buttons */
.premium-pagination .page-link {
    position: relative;
    min-width: 48px;
    height: 48px;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;

    border-radius: 40px;
    border: 2px solid #7c38ff;
    background: #fff;
    color: #7c38ff;

    overflow: hidden;
    cursor: pointer;

    transition: all 0.3s ease;
}

/* Double-span animation */
.premium-pagination .page-link span {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform .35s ease;
}

/* Top layer */
.premium-pagination .page-link span:nth-child(1) {
    transform: translateY(0%);
}

/* Slide up on hover */
.premium-pagination .page-link:hover span:nth-child(1) {
    transform: translateY(-100%);
}

/* Bottom layer (slides into view) */
.premium-pagination .page-link span:nth-child(2) {
    transform: translateY(100%);
}

.premium-pagination .page-link:hover span:nth-child(2) {
    transform: translateY(0%);
}

/* ACTIVE page */
.premium-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #a86df7, #6f44c5);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(124, 56, 255, 0.35);
}

/* DISABLED */
.premium-pagination .page-item.disabled .page-link {
    background: #eae7f5;
    border-color: #cfc3ed;
    color: #9b8bc9;
    cursor: not-allowed;
}

.premium-pagination .page-item.disabled .page-link:hover span {
    transform: none;
}

/* ARROWS - slightly narrower */
.premium-pagination .page-link[data-text="‹"],
.premium-pagination .page-link[data-text="›"] {
    min-width: 42px;
    padding: 0 14px;
    font-size: 20px;
    font-weight: 700;
}

/* Hover glow */
.premium-pagination .page-link:hover {
    box-shadow: 0 6px 18px rgba(124, 56, 255, 0.25);
    border-color: #7c38ff;
}

/* MOBILE */
@media (max-width: 576px) {
    .premium-pagination {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
}


.career-filter .dropdown-item-custom {
	width: 100%;
	display: block;
	color: #333;
	text-decoration: none;
}


/* =========================
   HERO RESPONSIVE SWITCH
========================= */

/* Default: desktop visible */
.hero-desktop { display: block; }
.hero-mobile  { display: none; }

/* Mobile breakpoint */
@media (max-width: 768px) {
    .hero-desktop.hide-on-mobile {
        display: none !important;
    }

    .hero-mobile.show-on-mobile {
        display: block !important;
    }
}



/* ===============================
   TESTIMONIAL SKELETON
================================ */
.skeleton-card {
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.skeleton-img {
    height: 220px;
    background: linear-gradient(
        90deg,
        #eee 25%,
        #ddd 37%,
        #eee 63%
    );
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

.skeleton-text {
    height: 40px;
    margin: 15px;
    border-radius: 4px;
    background: #e0e0e0;
}

@keyframes skeleton-loading {
    0% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.hidden {
  display: none;
}
.slide-menu {
    position: fixed;
    z-index: 100000000 !important;
}

.slide-menu * {
    pointer-events: auto !important;
}
.menu-overlay {
    z-index: 99999999 !important;
}
.slide-menu,
.menu-overlay {
    transform: none !important;
}

#banner-pin {
    /* background-attachment: fixed breaks inside ScrollSmoother (transformed content) */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* GSAP pin sets transform on this element; .hero uses translateZ(0) !important which breaks pin */
    transform: none !important;
    will-change: auto !important;
}

.featured {
    position: relative;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: background-image 0.6s ease;
}

.featured .container {
    position: relative;
    z-index: 2;
}

.mul-ft-text.active {
  display: block;
}

.ft-toggle-btn.active img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.contact.hero .swiper-slide.swiper-slide-active::after,
.about.hero .swiper-slide.swiper-slide-active::after,
.leadership-hero.hero .swiper-slide.swiper-slide-active::after {
  background: transparent;
}

/* Static about banner: use original gradient from style.css (.about::after) */
section.about:not(.hero) .hero-banner-static::after,
section.about .swiper-slide::after {
    display: none;
}

section.about.hero .swiper-slide::after,
section.about:not(.hero) .swiper-slide::after {
    display: none;
}

/* --------------------------------------------------------------------------
   Form validation (global – Multigen form-handler.js)
   -------------------------------------------------------------------------- */
.error-msg,
.invalid-feedback.d-block {
  display: block;
  color: #dc3545 !important;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 0.35rem;
  min-height: 0;
}

.error-msg:empty,
.invalid-feedback:empty {
  display: none !important;
  margin-top: 0;
}

.error-msg:not(:empty),
.invalid-feedback:not(:empty) {
  display: block !important;
}

.form-control.is-invalid,
.form-select.is-invalid,
select.is-invalid,
textarea.is-invalid,
.input-error,
.iti__tel-input.is-invalid,
.iti__tel-input.input-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.18) !important;
}

.form-control.is-invalid:focus,
.input-error:focus,
.iti__tel-input.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.has-field-error .form-control,
.has-field-error .form-select,
.has-field-error .iti__tel-input {
  border-color: #dc3545 !important;
}

.form-check-input.is-invalid {
  border-color: #dc3545 !important;
}

.form-container .error-msg,
.resident-visit .error-msg,
.land-form .error-msg,
.channel-partner-contact .error-msg,
.career-inner-modal .invalid-feedback {
  color: #dc3545 !important;
}

.form-group.phone-group .error-msg,
.input-group + .error-msg {
  width: 100%;
}

/* Nested slide-menu items */
.slide-menu .menu-items .menu-sub {
  list-style: none;
  padding-left: 1.25rem;
  margin: 0.35rem 0 0.5rem;
}
.slide-menu .menu-items li.active > a,
.slide-menu .menu-items a.active {
  opacity: 1;
  font-weight: 600;
}

/* Static content pages (investor / legal) */
/* Footer navigation */
.ft-main .ft-list-link.active,
.ft-main .ft-list-link[aria-current="page"] {
    color: var(--primary-color, #1a5276);
    font-weight: 600;
}

.ft-main .ft-contact-link {
    color: inherit;
    text-decoration: none;
}

.ft-main .ft-contact-link:hover {
    color: var(--primary-color, #1a5276);
}

.copy-right {
    flex-wrap: wrap;
    text-align: center;
    row-gap: 0.35rem;
}

.copy-right-sep {
    color: #999;
    user-select: none;
}

.copy-right-text {
    font-family: 'gen', sans-serif;
    color: var(--dark-color);
}

@media (max-width: 991px) {
    .ft-main .ft-row > [class*="col-"] {
        margin-bottom: 1.25rem;
    }
}

.static-page-preview-bar {
  background: #d97706;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.static-page-preview-bar a {
  color: #fff;
  text-decoration: underline;
}
.static-page-breadcrumbs {
  padding: 1rem 0 0;
}
.static-page-breadcrumbs .breadcrumb {
  background: transparent;
  margin-bottom: 0;
  font-size: 0.875rem;
}
.static-page-hero {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.static-page-body {
  padding: 3rem 0 4rem;
}
.static-page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.static-page-updated {
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.static-page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-color, #333);
}
.static-page-content h2,
.static-page-content h3,
.static-page-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.static-page-content p {
  margin-bottom: 1rem;
}
.static-page-content ul,
.static-page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.static-page-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}
.static-page-content table th,
.static-page-content table td {
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.75rem;
}
.static-page-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}
.static-page-content blockquote {
  border-left: 4px solid var(--primary-color, #c9a227);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #555;
}
@media (max-width: 767px) {
  .static-page-body {
    padding: 2rem 0 3rem;
  }
}

/* Clubs slide — optional CMS subtitle + full-card link */
.clubs-card-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}
.clubs-card-subtitle {
  color: var(--light-color);
  position: absolute;
  bottom: 16%;
  left: 5%;
  z-index: 1;
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
/* ==========================================================================
   Blog detail page — matches html2 blog detail source (blog-hero + blog-prose)
   ========================================================================== */

#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold, #c9a227);
  width: 0;
  z-index: 9999;
  transition: width 0.1s linear;
}

.blog-preview-banner {
  background: #d97706;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.blog-breadcrumbs {
  padding: 0.75rem 0;
  background: #f6f3ee;
}

.blog-breadcrumbs .breadcrumb {
  font-size: 0.875rem;
  margin: 0;
}

.blog-breadcrumbs .breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.blog-breadcrumbs .breadcrumb-item.active {
  color: #6b7280;
}

/* Detail hero title. The static source renders an <h4> inside .banner-title;
   we use an <h1> for correct document semantics on the detail page and mirror
   the .banner-title h4 styling so the visual matches exactly. */
.blog-hero .banner-title h1 {
  font-family: 'gen', sans-serif;
  letter-spacing: 1px;
}

.blog-hero .banner-title h1::after {
  content: '';
  position: absolute;
  bottom: 04px;
  left: 0;
  width: 0%;
  height: 1.6px;
  background: white;
  animation: border-expand 4s ease-in-out infinite;
}

/* Meta row above the article body (category badge + date + reading + author). */
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-detail-meta .blog-category-badge,
.blog-detail-meta .heart-btn {
  position: static;
  animation: none;
}

.blog-detail-date,
.blog-detail-reading {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-detail-author {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Table of contents block (verbatim from the static detail inline style). */
.blog-toc {
  background-color: #F6F3EE;
  border-radius: 24px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-toc .blog-toc-title {
  font-family: 'gen', sans-serif;
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-toc ol {
  list-style: none;
  counter-reset: toc;
  padding-left: 0;
  margin: 0;
}

.blog-toc ol li {
  counter-increment: toc;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-toc ol li:last-child {
  border-bottom: none;
}

.blog-toc ol li::before {
  content: counter(toc, decimal-leading-zero) ". ";
  color: var(--yellow-stroke);
  font-family: 'gen', sans-serif;
  font-weight: 600;
  margin-right: 0.5rem;
}

.blog-toc ol li a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-toc ol li a:hover {
  color: var(--yellow-stroke);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
  font-family: 'read', serif;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-prose p {
  margin-bottom: 1.25rem;
}

.blog-prose ul,
.blog-prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.blog-prose a {
  color: var(--yellow-stroke, #b8860b);
  text-underline-offset: 3px;
}

.blog-inner-tags-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: 'gen', sans-serif;
}

.blog-tag-link {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.35rem 0.75rem;
  background: #f6f3ee;
  border-radius: 30px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-tag-link:hover {
  background: var(--gold);
}

.blog-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.blog-share a {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.blog-author-box {
  background: #f6f3ee;
  border: none !important;
  border-radius: 16px;
}

.blog-sidebar {
  top: 100px;
}

.blog-sidebar-heading {
  font-family: 'gen', sans-serif;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-sidebar-list li {
  margin-bottom: 0.5rem;
}

.blog-sidebar-list a {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.blog-sidebar-list a:hover {
  color: var(--yellow-stroke, #b8860b);
}

.blog-sidebar-count {
  color: #9ca3af;
  font-size: 0.85rem;
}

.blog-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.blog-inner-related {
  padding-top: 0 !important;
}

.blog-inner-related-title {
  font-family: 'gen', sans-serif;
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .blog-sidebar {
    position: static !important;
    margin-top: 2rem;
  }
}

/* ==========================================================================
   LEGAL PAGES ONLY — Privacy Policy & Terms of Use
   Scoped strictly to body[data-page="privacy-policy" | "terms-of-use"].
   No other page carries these data-page values; global navbar, header
   partials and all other static pages are untouched.
   ========================================================================== */

/* Solid legal-page navbar: in document flow so it no longer overlays the
   breadcrumb. :not(.scrolled) keeps the global .navbar.scrolled (fixed +
   purple) behaviour intact when scrolling. Purple matches the site's own
   scrolled-header design so the white logo, hamburger icon and Menu text
   stay visible on the white page background. */
body[data-page="privacy-policy"] #mainNavbar:not(.scrolled),
body[data-page="terms-of-use"] #mainNavbar:not(.scrolled) {
  position: relative !important;
}

body[data-page="privacy-policy"] #mainNavbar,
body[data-page="terms-of-use"] #mainNavbar {
  background: var(--purple);
}

/* Breathing room between the legal-page navbar and the breadcrumb. */
body[data-page="privacy-policy"] .static-page-breadcrumbs,
body[data-page="terms-of-use"] .static-page-breadcrumbs {
  padding-top: 1.5rem;
}
