@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&family=Marcellus+SC&display=swap');

:root {
  /* Color Palette */
  --primary-color: #1a1a1a;
  --accent-color: #D71920;
  /* Krishna Red */
  --accent-hover: #b5151a;
  --text-dark: #222222;
  --text-light: #555555;
  --bg-white: #ffffff;
  --bg-soft: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.85);

  /* Typography */
  --font-serif: 'Montserrat', sans-serif;
  /* Using Montserrat for a modern brand look */
  --font-sans: 'Montserrat', sans-serif;

  /* Spacing & Borders */
  --spacing-lg: 40px;
  --spacing-md: 40px;
  --spacing-sm: 20px;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #faf5f0;
  overflow-x: hidden;
}

p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: var(--font-serif);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

section {
  padding-bottom: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Header & Navigation */
/* Hero Section (Landing Page Style) */
.hero {
  height: 120vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  /* Aligned to top */
  color: white;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgb(100 10 0 / 0%) 0%, rgb(0 0 0 / 71%) 100%);
  /* Radial gradient to make the center branding pop */
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  /* Ensure it spans the 120vh */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Branding top, form at bottom */
  align-items: flex-start;
  padding-top: 60px;
  /* Moved down slightly as requested */
  padding-bottom: 0;
}

.hero-inline-form {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  margin-top: 0;
  background: var(--accent-color);
  padding: 10px 31px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 120px;
  gap: 30px;
  align-items: center;
  border-radius: 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  /* Shadow moves top since it's at bottom */
  max-width: 100vw;
}

.hero-field label {
  display: block;
  text-align: left;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hero-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 2px 0 4px;
  font-size: 12px;
  outline: none;
}

.hero-field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.hero-phone-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 4px;
}

.hero-phone-wrap input {
  border: none;
  padding: 0;
}

.hero-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 4px 6px;
  border-radius: 4px;
}

.hero-submit {
  background: #ffffff;
  color: var(--accent-color);
  border: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 10px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 2px;
  align-self: center;
  height: 32px;
}

.hero-submit:hover {
  background: #fdf0f0;
}

@media (max-width: 768px) {
  .hero-bg {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .hero-inline-form {
    display: none !important;
    /* Hide full form on mobile */
  }
}



/* Modal Content Improvements */
.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 450px;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
  margin-bottom: 30px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: var(--text-light);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  /* Enable scrolling for tall content */
  padding: 20px;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 35px 22px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
  .modal-content {
    padding: 25px 20px 80px 20px !important;
    /* Extra bottom padding to clear chat widgets */
    width: 95%;
  }

  .modal-header {
    margin-bottom: 15px;
  }

  .modal-header h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .modal {
    align-items: flex-start !important;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #777;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--accent-color);
  text-decoration: none;
}

/* Hero Layout Styles */
.hero-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 25vh;
  /* Center headline on the building */
  padding-bottom: 40px;
  /* Space for the fixed form if needed */
  width: 100%;
}

.hero-main-content .hero-banner-btn {
  align-self: center;
  background: var(--accent-color);
  color: white;
  padding: 16px 45px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(215, 25, 32, 0.3);
  margin-top: 0px;
}

.hero-main-content .hero-banner-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(215, 25, 32, 0.4);
}

.hero-top-branding {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  animation: fadeInDown 1s ease-out forwards;
  /* padding-top: px;*/
}

/* LEFT side: PREMIUM RESIDENCES + ZIRVE */
.hero-zirve-branding {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent-color);
  padding-left: 7px;
  margin-left: 0;
}

.hero-zirve-prefix {
  font-size: 11px;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
}

.hero-zirve-name {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--accent-color);
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

/* RIGHT side: PRESENTING + Logo */
.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hero-presenting-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  padding-left: 10px;
}

.hero-top-logo {
  height: 55px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

/* RIGHT side: PREMIUM RESIDENCES + ZIRVE */
.hero-zirve-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: none;
  /* Removed border since it's an image logo now */
  padding-right: 0;
  margin-left: 0;
  text-align: left;
}

.hero-zirve-brand-img {
  height: 57px;
  width: auto;
  filter: invert(1);
  /* Inverting the logo as requested */
  display: block;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20vh;
  /* This pushes the whole block upward as requested */
}

.hero-features-cards {
  display: flex;
  gap: 20px;
  position: absolute;
  bottom: -44px;
  left: 0;
  right: 0;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.8s both;
  z-index: 5;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 850px;
  padding: 0 20px 25px 20px;
}

.feature-card-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: rgb(253, 252, 252);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.05);
  color: #070707;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  flex: 1;
  border-left: 3px solid var(--accent-color);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
}


/* Removed hover animation per user request */


.feature-card-icon {
  width: 35px;
  height: 22px;
  background: rgb(225 243 241 / 9%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}


/* Removed hover icon background change per user request */


.feature-card-icon i {
  color: var(--accent-color);
  font-size: 16px;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .hero-features-cards {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0 5px 15px 5px;
    width: 100%;
    justify-content: space-between;
    overflow-x: hidden;
    bottom: 10px;
    /* Force it to be visible on mobile */
  }

  .feature-card-item {
    flex-direction: row;
    width: auto;
    flex: 1 1 0;
    padding: 6px 3px;
    text-align: left;
    gap: 4px;
    white-space: nowrap;
    justify-content: center;
  }

  .feature-card-item span {
    font-size: 7.5px;
    letter-spacing: 0;
  }

  .feature-card-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
  }

  .feature-card-icon i {
    font-size: 10px;
  }
}


.hero-main-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  margin-bottom: 17px;
}

/* Casagrand Style Form */
.hero-form-container {
  background: rgba(255, 255, 255, 0.85);
  /* Semi-transparent white box */
  padding: 35px 30px;
  border-radius: 4px;
  /* Less rounded for a sharper look */
  color: var(--text-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  width: 380px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.landing-form .form-group {
  margin-bottom: 18px;
  text-align: left;
}

.landing-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.landing-form input[type="text"],
.landing-form input[type="email"],
.landing-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d1d1;
  background: #fdfdfd;
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.landing-form input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.phone-input-group {
  display: flex;
  background: #fdfdfd;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.phone-input-group:focus-within {
  border-color: var(--accent-color);
}

.phone-input-group .country-code {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #f4f4f4;
  border-right: 1px solid #d1d1d1;
  font-size: 14px;
  color: #333;
}

.phone-input-group .country-code img {
  margin-right: 6px;
}

.phone-input-group input {
  border: none !important;
  flex: 1;
}

.checkbox-group {
  display: flex !important;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 25px !important;
}

.checkbox-group input {
  width: auto !important;
  margin-right: 8px;
}

.checkbox-group label {
  margin: 0 !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: #444 !important;
}

/* Radio Group Styling */
.radio-group {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.radio-group label.question-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.4;
}

.radio-options {
    display: flex;
    gap: 30px;
}

.radio-item {
    display: inline-flex !important;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    user-select: none;
    margin-bottom: 0 !important;
}

.radio-item input {
    position: absolute;
    opacity: 0 !important;
    cursor: pointer;
}

.radio-custom {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid #d1d1d1;
    transition: all 0.3s ease;
}

.radio-item:hover input ~ .radio-custom {
    background-color: #e2e2e2;
}

.radio-item input:checked ~ .radio-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.radio-custom:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-item input:checked ~ .radio-custom:after {
    display: block;
}

.radio-item .radio-custom:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

/* Legacy Section Styles */
.heritage {
  padding-top: 100px;
  /* Added desktop top spacing */
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.legacy-image {
  position: relative;
}

.legacy-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.legacy-experience-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  color: var(--primary-color);
  padding: 18px 22px;
  border-radius: 2px;
  border-left: 3px solid var(--accent-color);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: all 0.4s ease;
}

.legacy-experience-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.legacy-experience-badge .badge-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #111;
  font-weight: 300;
  line-height: 1;
}

.legacy-experience-badge .badge-text {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: left;
  margin-top: 6px;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1.3;
}

.legacy-subtitle {
  font-family: var(--font-serif);
  font-size: 44px;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.legacy-description {
  color: #555;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.legacy-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(215, 25, 32, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--accent-color);
  color: white;
  transform: translateY(-5px);
}

.feature-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.feature-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.4;
}

@media (max-width: 992px) {
  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .legacy-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .legacy-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .legacy-experience-badge {
    right: 70px;
    bottom: -84px;
  }

  .legacy-features {
    justify-content: center;
    width: 100%;
  }

  .feature-item {
    text-align: left;
  }
}

/* Simplified Mobile Action Bar - Single Button Focus */
@media (max-width: 768px) {
  .enquire-action {
    height: 60px;
    font-size: 16px;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 -5px 15px rgba(215, 25, 32, 0.2);
  }
}


/* Statistics / Milestones Section */
.stats-milestones {
  position: relative;
  padding: 100px 0;
  background: url('KrishnaGroup_Redesign/about.png') no-repeat center center/cover;
  background-attachment: fixed;
  /* Normal scroll effect as per user request */
}

.stats-milestones::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  /* More opaque for better readability */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px 42px;
  border-radius: 40px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 54px;
  /* Larger numbers */
  font-weight: 800;
  color: var(--accent-color);
  /* Matches the logo red */
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  /* Dark labels for high contrast */
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: white;
}

/* Project Cards Section */
.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title.premium-heading {
  margin-bottom: 90px;
}

.section-title.premium-heading::before {
  content: 'ESTD 1983';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  font-size: 120px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 20px;
  font-family: 'Montserrat', sans-serif;
  pointer-events: none;
}

.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  letter-spacing: 4px;
}

.section-title .divider {
  width: 80px;
  height: 2px;
  background: var(--accent-color);
  margin: 0 auto;
  position: relative;
}

.section-title .divider::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.project-card.full-width {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.full-width {
    grid-column: span 1;
  }
}

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.project-card.featured {
  height: 420px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Slightly darker normally to read title */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  background: rgba(0, 0, 0, 0.7);
  /* Darker on hover */
}

.project-content-center {
  text-align: center;
  color: white;
  padding: 30px;
  width: 100%;
}

.location-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.project-content-center h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  transition: transform 0.4s ease;
}

.project-content-center p,
.project-content-center .btn {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  margin-top: 15px;
}

.project-card:hover .project-content-center p,
.project-card:hover .project-content-center .btn {
  opacity: 1;
  transform: translateY(0);
}

/* Featured card specific sizing */
.project-card.featured .project-content-center h3 {
  font-size: 48px;
}

/* Adjust button inside grid */
.project-content-center .btn {
  display: inline-block;
  margin: 15px auto 0;
}

.project-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: white;
  padding: 7px 18px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 30px;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(215, 25, 32, 0.3);
}

.project-status.sold-out {
  background: #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Amenities Tab Interaction */
.amenities-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 25px;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--accent-color);
  color: white;
}

.tab-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tab-content.active {
  display: grid;
  /* Parent container fade */
  animation: fadeIn 0.4s ease forwards;
}

@keyframes popUpCard {
  0% {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.amenity-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-soft);
  border-radius: var(--border-radius);
  opacity: 0;
  /* Hidden initially, then animated */
}

/* Staggered pop-up animation for cards inside an active tab */
.tab-content.active .amenity-item {
  animation: popUpCard 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.tab-content.active .amenity-item:nth-child(1) {
  animation-delay: 0.1s;
}

.tab-content.active .amenity-item:nth-child(2) {
  animation-delay: 0.2s;
}

.tab-content.active .amenity-item:nth-child(3) {
  animation-delay: 0.3s;
}

.tab-content.active .amenity-item:nth-child(4) {
  animation-delay: 0.4s;
}

.amenity-item i {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.amenity-item i:hover {
  transform: scale(1.2);
  color: var(--accent-hover);
  transition: var(--transition);
  cursor: pointer;
  background-color: var(--bg-soft);
  border-radius: var(--border-radius);
  padding: 10px;
  box-shadow: 0 5px 15px rgba(215, 25, 32, 0.3);



}

/* Footer Highlights */
footer {
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-lg) 0 55px;
  /* Lifted bottom padding for fixed form clearance */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-col h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.footer-col p {
  color: #bbb;
  margin-bottom: 0;
  line-height: 1.6;
}

.footer-col ul {
  color: #bbb;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-line i {
  margin-top: 3px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }

  /* Make Brand and Contact span full width, while Links/Hub stay side-by-side */
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: span 2 !important;
  }

  .footer-col {
    text-align: left !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Floor Plan Section Styles */
.floor-plan-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-top: 50px;
}

.floor-plan-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floor-tab {
  padding: 20px 25px;
  text-align: left;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.floor-tab.active,
.floor-tab:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.floor-plan-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.floor-plan-display {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.floor-content {
  display: none;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

.floor-content.active {
  display: block;
}

.floor-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .floor-plan-container {
    grid-template-columns: 1fr;
  }
}


/* Explore Project Section - Editorial Luxury Redesign */
.explore-project {
  background: #ffffff;
  padding: 50px 0;
  color: #111;
  text-align: center;
  position: relative;
}

.explore-header-wrap {
  margin-bottom: 80px;
}

.explore-header {
  margin-bottom: 50px;
}

.explore-header .explore-label {
  display: block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 14px;
  font-size: 11px;
  margin-right: -14px;
  /* Compensate for right tracking */
  margin-bottom: 20px;
  color: #111;
  font-weight: 800;
}

.explore-header h2 {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  text-transform: capitalize;
  letter-spacing: 2px;
  color: #1a1a1a;
  line-height: 1.1;
}

.explore-main-flex {
  display: block;
  text-align: center;
}

.explore-tabs-nav {
  display: inline-flex;
  justify-content: center;
  gap: 70px;
  margin-bottom: 60px;
  border-right: none;
  padding-right: 0;
  position: relative;
}

.explore-tab-link {
  background: none;
  border: none;
  color: #a0a0a0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.explore-tab-link span {
  display: none;
}

.explore-tab-link.active {
  color: #111;
}

.explore-tab-link:hover {
  color: #111;
}

.explore-content-wrap {
  flex: 1;
}

.explore-tab-content {
  display: none;
  animation: fadeIn 0.8s ease forwards;
}

.explore-tab-content.active {
  display: block;
}

.explore-tab-content.active .explore-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  width: 100%;
}

.gallery-grid-special {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px !important;
  max-width: 1200px;
  /* Slightly increase width for 4 columns */
  margin: 0 auto;
}

.gallery-grid-special .explore-card {
  height: 180px !important;
}

@media (max-width: 1200px) {
  .gallery-grid-special {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .gallery-grid-special {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .gallery-grid-special {
    grid-template-columns: 1fr !important;
  }
}

.explore-card {
  position: relative;
  height: 280px !important;
  /* Reduced height for a more compact and elegant look */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.explore-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.explore-card:hover img {
  transform: scale(1.08);
}

.explore-card .card-caption {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  text-align: left;
  opacity: 0;
  transition: all 0.5s ease;
}

.explore-card:hover .card-caption {
  opacity: 1;
}

.explore-card h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: white;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.explore-card:hover h4 {
  transform: translateY(0);
}

.explore-card .card-caption i {
  font-size: 32px;
  color: white;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* Gallery Lightbox Styles */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #fdf0f0;
  /* Very light accent background */
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 5px;
  border: 2px solid #fdf0f0;
}

::-webkit-scrollbar-thumb:hover {
  background: #b5151b;
  /* Darker accent on hover */
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) #fdf0f0;
}

.lightbox-modal.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  object-fit: contain;
}

#lightbox-caption {
  font-family: var(--font-serif);
  color: white;
  font-size: 28px;
  margin-top: 20px;
  font-weight: 300;
  letter-spacing: 2px;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
  line-height: 1;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.2);
}

.explore-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(197, 160, 89, 0);
  margin: 15px;
  transition: all 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.explore-card:hover::before {
  border-color: rgba(197, 160, 89, 0.3);
  inset: 0;
}

/* Auto-Scrolling Floor Plan Slider */
.auto-scroll-wrapper {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floor-plan-slider,
.gallery-slider {
  position: relative;
  width: 100%;
  height: 600px;
}

.floor-item,
.gallery-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: white;
  z-index: 1;
  cursor: pointer;
  /* Indicated interactivity */
}

.floor-item.active,
.gallery-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.floor-item img,
.gallery-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.floor-label-overlay {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 10px 30px;
  border-radius: 50px;
  border: 1px solid #eee;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .explore-main-flex {
    flex-direction: column;
  }

  .explore-tabs-nav {
    flex-basis: auto;
    flex-direction: row;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 15px;
    overflow-x: auto;
    white-space: nowrap;
    gap: 30px;
  }

  .explore-tab-link::after {
    left: 0;
    top: auto;
    bottom: -17px;
    width: 0;
    height: 3px;
  }

  .explore-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .explore-tab-link {
    font-size: 18px;
  }

  .explore-header h2 {
    font-size: 36px;
  }
}

/* Extra Premium Project Snapshot Section */
.project-snapshot {
  padding: 60px 0;
  background: #faf5f0;
  position: relative;
  overflow: hidden;
}

/* Subtle architectural lines */
.project-snapshot::before,
.project-snapshot::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

.project-snapshot::before {
  left: 15%;
}

.project-snapshot::after {
  right: 15%;
}

.snapshot-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  position: relative;
  z-index: 2;
}

.snapshot-content {
  flex: 1;
}

.snapshot-label {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-color);
  padding: 6px 15px;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 30px;
  border-radius: 2px;
}

.snapshot-title {
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--primary-color);
  margin-bottom: 30px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.snapshot-desc {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 50px;
  font-weight: 300;
  max-width: 90%;
}

.snapshot-highlight {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.snapshot-highlight i {
  color: var(--accent-color);
  font-size: 28px;
  margin-top: 5px;
}

.snapshot-highlight span {
  font-weight: 400;
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  font-family: var(--font-serif);
}

.snapshot-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  flex: 0 0 450px;
}

/* snap-stat-item */
.snap-stat-item {
  background: transparent;
  padding: 20px 0 0 0;
  text-align: left;
  border-top: 3px solid #eee;
  position: relative;
  opacity: 1;
  transform: none;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.js-ready .snap-stat-item {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .snap-stat-item.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.snap-stat-item:hover {
  border-top-color: var(--accent-color);
}

.snap-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: #111;
  margin-bottom: 10px;
  line-height: 1;
}

.snap-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .snapshot-title {
    font-size: 52px;
  }

  .snapshot-flex {
    gap: 50px;
  }
}

@media (max-width: 992px) {
  .snapshot-flex {
    flex-direction: column;
    gap: 50px;
  }

  .snapshot-desc {
    max-width: 100%;
  }

  .snapshot-stats {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .section-title h2 {
    font-size: 26px !important;
    white-space: normal !important;
  }

  .legacy-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
  }

  .legacy-content * {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title.premium-heading {
    margin-bottom: 60px;
    text-align: center !important;
  }

  .section-title.premium-heading::before {
    font-size: 50px;
    top: 55%;
    letter-spacing: 12px;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-title h2 {
    font-size: 32px;
    letter-spacing: 3px;
  }

  .legacy-subtitle {
    font-size: 28px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .legacy-description {
    font-size: 15px !important;
    text-align: center !important;
  }

  .snapshot-stats {
    display: grid !important;
    /* Ensure it is a grid */
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 in a row */
    gap: 20px !important;
    text-align: center !important;
    /* Centered statistics */
  }

  .snap-stat-item {
    text-align: center !important;
    /* Added centering */
  }

  .snap-val {
    font-size: 32px !important;
  }

  .snap-label {
    font-size: 10px !important;
  }

  /* Floor Plan Section Grid Conversion (Mobile Only) */
  .floor-plan-container {
    height: auto !important;
    min-height: auto !important;
    background: transparent !important;
    padding: 20px 0 !important;
  }

  /* Unified Section Padding Reduction (Mobile Only) */
  section,
  .project-snapshot,
  .explore-project,
  .detailed-specs,
  .location-advantages,
  .heritage,
  .project-location {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }

  .floor-plan-slider {
    height: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    position: static !important;
  }

  .floor-item {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    padding: 10px !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Center the 3rd item (last child of odd count) */
  .floor-item:last-child:nth-child(odd) {
    grid-column: span 2 !important;
    width: 100% !important;
    /* Robust full width */
    margin: 0 auto !important;
  }

  .floor-item img {
    max-height: 180px !important;
    /* Reduced from 250px for safety */
    width: 100% !important;
    object-fit: contain !important;
    margin-top: 5px !important;
    /* Smaller gap */
  }

  .floor-label-overlay {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    font-size: 11px !important;
    padding: 8px 10px !important;
    background: #f8f8f8 !important;
    /* Subtle header background */
    border-radius: 4px !important;
    box-shadow: none !important;
    white-space: normal !important;
    /* Allow wrapping */
    line-height: 1.2 !important;
  }

  /* Chatbot Positioning & Modal Heading Refinements */
  .modal-header h3 {
    font-size: 18px !important;
    white-space: nowrap !important;
    /* Single line */
  }

  /* Move Tawk.to chatbot up to clear sticky bar & enquire form */
  iframe#tawk-chat-container,
  .tawk-min-container,
  div[id^="tawk"] {
    bottom: 120px !important;
  }
}

/* Horizontal Amenities Section (Architectural Blueprint Style) */
.amenities-horizontal-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 30px;
  position: relative;
  border: 1px solid #f0f0f0;
  background: #ffffff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.explore-tab-content.active .amenities-horizontal-container {
  opacity: 1;
  transform: translateY(0);
}

.amenities-horizontal-container::before,
.amenities-horizontal-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  pointer-events: none;
  z-index: 5;
}

.amenities-horizontal-container::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.amenities-horizontal-container::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

.amenity-horizontal-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.row-header {
  flex: 0 0 160px;
  border-right: 1px solid #eee;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.row-header h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.amenity-row-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.h-amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 12px;
  text-align: center;
  border: 1px solid #f0f0f0;
  background: white;
  position: relative;
  min-height: 170px;
  /* Maintain height even when icons are removed */
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.h-amenity-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Global dark overlay for all amenity cards to pop the text */
.h-amenity-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* Elegant transparent overlay */
  z-index: 1;
  transition: all 0.4s ease;
}

.h-amenity-item:hover::before {
  background: rgba(0, 0, 0, 0.55);
}

.h-amenity-item span,
.h-amenity-item .amenity-pic-wrap {
  position: relative;
  z-index: 2;
}

.h-amenity-item .amenity-pic-wrap {
  display: none !important;
  /* Remove only the icons as requested */
}

/* Add a red overlay to make text clearly visible over background images */
.h-amenity-item[id]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
  z-index: 1;
}

#amenity-table-tennis {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/1.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-table-tennis .amenity-pic-wrap,
#amenity-table-tennis span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-table-tennis span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-table-tennis .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-table-tennis .amenity-pic-wrap i {
  color: white;
}

#amenity-car-park {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/2.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-car-park .amenity-pic-wrap,
#amenity-car-park span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-car-park span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-car-park .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-car-park .amenity-pic-wrap i {
  color: white;
}

#amenity-16-pax-lifts {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/3.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-16-pax-lifts .amenity-pic-wrap,
#amenity-16-pax-lifts span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-16-pax-lifts span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-16-pax-lifts .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-16-pax-lifts .amenity-pic-wrap i {
  color: white;
}

#amenity-elite-gym {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/4.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-elite-gym .amenity-pic-wrap,
#amenity-elite-gym span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-elite-gym span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-elite-gym .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-elite-gym .amenity-pic-wrap i {
  color: white;
}

#amenity-solar-lighting {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/5.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-solar-lighting .amenity-pic-wrap,
#amenity-solar-lighting span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-solar-lighting span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-solar-lighting .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-solar-lighting .amenity-pic-wrap i {
  color: white;
}

#amenity-wtp-plant {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/18.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-wtp-plant .amenity-pic-wrap,
#amenity-wtp-plant span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-wtp-plant span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-wtp-plant .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-wtp-plant .amenity-pic-wrap i {
  color: white;
}

#amenity-intercom {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/6.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-intercom .amenity-pic-wrap,
#amenity-intercom span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-intercom span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-intercom .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-intercom .amenity-pic-wrap i {
  color: white;
}

#amenity-staff-toilets {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/19.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-staff-toilets .amenity-pic-wrap,
#amenity-staff-toilets span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-staff-toilets span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-staff-toilets .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-staff-toilets .amenity-pic-wrap i {
  color: white;
}

#amenity-backup {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/backup.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-backup .amenity-pic-wrap,
#amenity-backup span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-backup span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-backup .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-backup .amenity-pic-wrap i {
  color: white;
}

#amenity-fire-safety {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/8.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-fire-safety .amenity-pic-wrap,
#amenity-fire-safety span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-fire-safety span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-fire-safety .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-fire-safety .amenity-pic-wrap i {
  color: white;
}


#amenity-multipurpose-hall {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/multipurposehall.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-multipurpose-hall .amenity-pic-wrap,
#amenity-multipurpose-hall span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-multipurpose-hall span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-multipurpose-hall .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-multipurpose-hall .amenity-pic-wrap i {
  color: white;
}

#amenity-stp-plant {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/13.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-stp-plant .amenity-pic-wrap,
#amenity-stp-plant span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-stp-plant span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-stp-plant .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-stp-plant .amenity-pic-wrap i {
  color: white;
}

#amenity-cctv-security {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/15.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-cctv-security .amenity-pic-wrap,
#amenity-cctv-security span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-cctv-security span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-cctv-security .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-cctv-security .amenity-pic-wrap i {
  color: white;
}

#amenity-dth-connection {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/17.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-dth-connection .amenity-pic-wrap,
#amenity-dth-connection span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-dth-connection span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-dth-connection .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-dth-connection .amenity-pic-wrap i {
  color: white;
}

#amenity-terrace-paint {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/16.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-terrace-paint .amenity-pic-wrap,
#amenity-terrace-paint span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-terrace-paint span {
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#amenity-terrace-paint .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-terrace-paint .amenity-pic-wrap i {
  color: white;
}


#amenity-rwh-system {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/7.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-rwh-system .amenity-pic-wrap,
#amenity-rwh-system span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-rwh-system span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-rwh-system .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-rwh-system .amenity-pic-wrap i {
  color: white;
}



#amenity-terrace {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/24.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-terrace .amenity-pic-wrap,
#amenity-terrace span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-terrace span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-terrace .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-terrace .amenity-pic-wrap i {
  color: white;
}

#amenity-piped-gas {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/25.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-piped-gas .amenity-pic-wrap,
#amenity-piped-gas span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-piped-gas span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-piped-gas .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-piped-gas .amenity-pic-wrap i {
  color: white;
}

#amenity-paver-blocks {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/paverblock.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-paver-blocks .amenity-pic-wrap,
#amenity-paver-blocks span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-paver-blocks span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-paver-blocks .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-paver-blocks .amenity-pic-wrap i {
  color: white;
}

#amenity-video-door-phone {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/14.svg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-video-door-phone .amenity-pic-wrap,
#amenity-video-door-phone span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-video-door-phone span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-video-door-phone .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-video-door-phone .amenity-pic-wrap i {
  color: white;
}

#amenity-terrace {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/24.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-terrace .amenity-pic-wrap,
#amenity-terrace span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-terrace span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-terrace .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-terrace .amenity-pic-wrap i {
  color: white;
}

#amenity-piped-gas {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/25.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-piped-gas .amenity-pic-wrap,
#amenity-piped-gas span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-piped-gas span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-piped-gas .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-piped-gas .amenity-pic-wrap i {
  color: white;
}

#amenity-indoor-games {
  background-color: #333 !important;
  background-image: url('KrishnaGroup_Redesign/Amenities/22.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: white !important;
  border: none !important;
}

#amenity-indoor-games .amenity-pic-wrap,
#amenity-indoor-games span {
  position: relative;
  z-index: 2;
  color: white !important;
}

#amenity-indoor-games span {
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#amenity-indoor-games .amenity-pic-wrap {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#amenity-indoor-games .amenity-pic-wrap i {
  color: white;
}

.js-ready .h-amenity-item {
  opacity: 0;
  transform: translateY(20px);
}

.js-ready .h-amenity-item.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.h-amenity-item i {
  font-size: 22px;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.amenity-pic-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* Modern circular look for icons */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdfdfd;
  border: 1px solid #eee;
  transition: all 0.4s ease;
  margin-bottom: 10px;
}

.amenity-pic-wrap i {
  font-size: 20px;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.h-amenity-item:hover .amenity-pic-wrap i {
  color: rgb(241, 6, 6);
  transform: scale(1.1);
}

.h-amenity-item span {
  font-size: 11px;
  color: #555;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Hover effects removed per user request for a cleaner, steady look */

/* Red Drawing Borders (Previously on hover, now removed) */
.h-amenity-item::before,
.h-amenity-item::after {
  display: none;
  /* Borders removed */
}

@media (max-width: 1100px) {
  .amenity-row-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .amenity-horizontal-row {
    flex-direction: column;
  }

  .row-header {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    width: 100%;
    flex: none;
  }
}

@media (max-width: 600px) {
  .amenity-row-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Video Experience Section */
.video-experience {
  padding: 50px 0;
  background: #faf5f0;
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  z-index: 2;
}

.video-inner {
  position: relative;
  width: 100%;
  height: 450px;
  /* Reduced Height */
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.drone-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.video-inner:hover img {
  transform: scale(1.05);
}

.video-custom-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 40px rgba(215, 25, 32, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-custom-play i {
  margin-left: 5px;
  /* Visual centering of the play triangle */
}

.video-custom-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
  color: var(--accent-color);
}

.video-inner:hover .video-custom-play {
  box-shadow: 0 0 60px rgba(215, 25, 32, 0.6);
}

/* Pulse animation */
@keyframes videoPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

.video-custom-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: videoPulse 2s infinite;
  pointer-events: none;
}

.video-inner.playing .video-custom-play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-accent-border {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-top: 4px solid var(--primary-color);
  border-right: 4px solid var(--primary-color);
  z-index: -1;
  opacity: 0.5;
}

/* Animations... */
/* Specifications Section */
.specifications {
  padding: 50px 0;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

/* Common Amenities (Updated Section) */
.amenities-horizontal-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  position: relative;
}

.amenity-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

/* Dotted Separators */
.amenity-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80px;
  width: 1px;
  border-right: 1.5px dotted #ccc;
}

.amenity-icon {
  font-size: 48px;
  /* High-end large icons */
  color: #1a1a1a;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.amenity-col:hover .amenity-icon {
  transform: translateY(-5px) scale(1.05);
  color: var(--accent-color);
}

.amenity-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  max-width: 180px;
}

@media (max-width: 992px) {
  .amenities-horizontal-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .amenity-col {
    flex: 0 0 45%;
  }

  .amenity-col:not(:last-child)::after {
    display: none;
    /* Remove separators on wrap */
  }
}

@media (max-width: 600px) {
  .amenity-col {
    flex: 0 0 100%;
  }
}

/* Project Location Section */
/* Project Specifications - Premium Editorial Layout */
/* ============================================
   PROJECT SPECIFICATIONS — SPLIT BUILDING LAYOUT
   ============================================ */

.detailed-specs {
  display: flex;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── LEFT PANEL ── */
.spec-left-panel {
  position: relative;
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
  /* Fallback if image fails */
  background: linear-gradient(160deg, #c0141a 0%, #8a0a0f 50%, #1a0505 100%);
}

.spec-building-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.detailed-specs:hover .spec-building-img {
  transform: scale(1);
}

/* Red layered overlay — stronger so image blends into brand red */
.spec-left-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(215, 25, 32, 0.5) 0%,
      rgba(140, 10, 15, 0.55) 40%,
      rgba(30, 5, 5, 0.75) 100%);
  z-index: 1;
}



/* Content over image */
.spec-left-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 50px;
}

.spec-left-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 28px;
  width: fit-content;
}

.spec-left-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.spec-left-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}

.spec-left-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.7;
  max-width: 520px;
}

.spec-left-info p {
  margin: 0;
}

.spec-left-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 4px;
}

.spec-left-metric {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-metric-val {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.spec-metric-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

/* Stats row */
.spec-left-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.spec-lstat {
  text-align: center;
}

.spec-lstat-val {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.spec-lstat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

.spec-lstat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Vertical decorative text */
.spec-vert-text {
  position: absolute;
  bottom: 50px;
  right: -28px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
}

/* ── RIGHT PANEL ── */
.spec-right-panel {
  flex: 1;
  background: #faf5f0;
  display: flex;
  align-items: flex-start;
  padding: 0;
  position: relative;
  overflow-y: auto;
}

/* Subtle red accent stripe */
.spec-right-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-color) 0%, transparent 100%);
  z-index: 1;
}

/* ── SPEC BOXES (Always Visible 2-col grid) ── */
.spec-boxes-wrap {
  width: 100%;
  padding: 40px 40px 40px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

.spec-box-item {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
  /* Always visible — animation is progressive enhancement */
  opacity: 1;
  transform: none;
}

/* Staggered entrance animation via keyframes */
.spec-box-item:nth-child(1) {
  animation: specFadeUp 0.6s ease 0.05s both;
}

.spec-box-item:nth-child(2) {
  animation: specFadeUp 0.6s ease 0.15s both;
}

.spec-box-item:nth-child(3) {
  animation: specFadeUp 0.6s ease 0.25s both;
}

.spec-box-item:nth-child(4) {
  animation: specFadeUp 0.6s ease 0.35s both;
}

.spec-box-item:nth-child(5) {
  animation: specFadeUp 0.6s ease 0.45s both;
}

.spec-box-item:nth-child(6) {
  animation: specFadeUp 0.6s ease 0.55s both;
}

@keyframes specFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Red top accent line */
.spec-box-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #ff6b6b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 12px 12px 0 0;
}

.spec-box-item:hover {
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 20px 50px rgba(215, 25, 32, 0.15);
  transform: translateY(-10px);
}

.spec-box-item:hover::before {
  transform: scaleX(1);
}

/* Header row: icon + number + title */
.spec-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.spec-box-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-color), #a01218);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-box-item:hover .spec-box-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.40);
}

.spec-box-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-box-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 3px;
  font-family: var(--font-serif);
  line-height: 1;
}

.spec-box-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.spec-box-item:hover .spec-box-title {
  color: var(--accent-color);
}

/* Points list */
.spec-box-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 4px;
  border-top: 1px solid #f5f5f5;
  padding-top: 12px;
}

.spec-box-list li {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  font-family: var(--font-sans);
  transition: color 0.2s ease;
}

.spec-box-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.6;
}

.spec-box-item:hover .spec-box-list li {
  color: #333;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .detailed-specs {
    flex-direction: column;
    min-height: auto;
  }

  .spec-left-panel {
    width: 100%;
    min-height: 360px;
  }

  .spec-left-content {
    padding: 60px 40px;
  }

  .spec-vert-text {
    display: none;
  }

  .spec-boxes-wrap {
    padding: 30px 24px;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .spec-left-panel {
    min-height: 280px;
  }

  .spec-left-content {
    padding: 36px 22px;
  }

  .spec-boxes-wrap {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }
}

/* Location Advantages Section - Premium Redesign */
.location-advantages {
  padding: 50px 0;
  background-color: #fafafa;
  position: relative;
  overflow: hidden;
}

/* Subtle background decorative element */
.location-advantages::before {
  content: 'LOCATION';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-serif);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.location-item {
  background: white;
  padding: 50px 30px;
  border-radius: 4px;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;

  /* Initial state for entrance animation */
  opacity: 1;
  transform: none;

  /* Premium Shimmer/Glint Initial State */
  background-image: linear-gradient(120deg, transparent 30%, rgba(215, 25, 32, 0.03) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -200% 0;
}

.js-ready .location-item {
  opacity: 0;
  transform: translateY(40px);
}

.location-item.reveal-active,
.js-ready .location-item.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Premium Full Border Drawing Animation */
.location-item::before,
.location-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  box-sizing: border-box;
  border: 2px solid transparent;
  z-index: 10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.location-item::before {
  top: 0;
  left: 0;
}

.location-item::after {
  bottom: 0;
  right: 0;
}

.location-item:hover::before {
  width: 100%;
  height: 100%;
  border-top-color: var(--accent-color);
  border-right-color: var(--accent-color);
}

.location-item:hover::after {
  width: 100%;
  height: 100%;
  border-bottom-color: var(--accent-color);
  border-left-color: var(--accent-color);
}

.location-item:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.25);
  background-position: 200% 0;
  /* Drives the glint effect */
  border-color: rgba(215, 25, 32, 0.2);
}

.location-icon {
  width: 60px;
  height: 60px;
  background: #fdfdfd;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #333;
  margin-bottom: 30px;
  transition: all 0.5s ease;
  position: relative;
}

.location-item:hover .location-icon {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 25px rgba(215, 25, 32, 0.3);
}

.location-time {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.location-time::before,
.location-time::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-color);
  opacity: 0.3;
}

.location-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: 0.5px;
  transition: color 0.4s ease;
}

.location-item:hover .location-name {
  color: var(--accent-color);
}

@media (max-width: 992px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .location-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .location-item {
    padding: 25px 15px !important;
  }

  .location-time {
    font-size: 10px !important;
  }

  .location-name {
    font-size: 12px !important;
  }
}

.project-location {
  padding: 40px 0;
  background: #fff;
}

.map-container {
  position: relative;
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.map-inner {
  width: 100%;
  height: 500px;
  background: #f0f0f0;
}

.map-overlay-card {
  position: absolute;
  bottom: 50px;
  left: 53px;
  background: white;
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  max-width: 220px;
  z-index: 10;
  border-left: 9px solid var(--primary-color);
}

.map-overlay-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.map-overlay-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.map-overlay-card p i {
  color: var(--primary-color);
  margin-right: 8px;
}

@media (max-width: 768px) {
  .map-overlay-card {
    position: relative;
    bottom: 0;
    left: 0;
    max-width: 100%;
    margin-top: 20px;
    box-shadow: none;
    padding: 20px;
  }

  .hero-container {
    min-height: 100% !important;
    bottom: 0px !important;
    position: relative;
    z-index: 10;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    /* This will now center ONLY the main content */
    align-items: center !important;
    padding: 0 20px !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero::after {
    height: 100% !important;
  }

  .hero-main-content h1 {
    font-size: 20px !important;
  }

  .hero {
    height: 70vh !important;
    min-height: auto !important;
    color: white;
    overflow: hidden;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-top-branding {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: calc(100% - 40px);
    position: absolute !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 15 !important;
    padding-top: 0 !important;
  }

  .hero-main-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    min-height: 250px !important;
    /* Visual center focus */
    padding-top: 30vh !important;
    padding-bottom: 20px !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
    /* Removed extreme margin */
  }

  .hero-main-content .hero-banner-btn {
    padding: 12px 35px !important;
    margin-top: -15px !important;
    display: inline-block !important;
    /* Ensure visibility */
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 20 !important;
  }

  .hero-zirve-branding {
    align-items: center !important;
  }

  .hero-bg {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .hero-top-logo {
    height: 25px !important;
    /* Reverted to larger size */
    margin-top: 0px !important;
  }

  .hero-zirve-brand-img {
    height: 25px !important;
    /* Reverted to larger size */
    margin-top: 0px !important;
  }


  .explore-header .explore-label {
    letter-spacing: 4px !important;
    font-size: 10px !important;
  }

  .explore-header h2 {
    font-size: 32px !important;
  }

  .explore-tabs-nav {
    gap: 15px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .explore-tab-link {
    letter-spacing: 1px !important;
    font-size: 12px !important;
  }

  .explore-tabs-nav button {
    font-size: 15px !important;
  }


  .heritage {
    padding-top: 60px !important;
  }

  .heritage .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .legacy-grid {
    gap: 80px !important;
  }

  .legacy-features {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  /* Stacked Stats on Mobile as per provided image */
  .stats-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 30px !important;
  }

  .stat-card {
    min-width: auto !important;
    width: 100% !important;
    padding: 25px 15px !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 0 !important;
  }

  .stat-card:last-child {
    grid-column: auto !important;
  }

  .stat-number {
    font-size: 48px !important;
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
  }

  .stat-label {
    font-size: 11px !important;
    letter-spacing: 2px !important;
    color: #222 !important;
    font-weight: 700 !important;
  }

  .feature-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .feature-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    margin-bottom: 0 !important;
  }

  .feature-text h4 {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  .feature-text p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .legacy-image {
    max-width: 100% !important;
    position: relative;
    min-height: 270px !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .legacy-slider {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 270px !important;
  }

  .legacy-img.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .legacy-image img {
    display: block !important;
    width: 100% !important;
  }

  .legacy-experience-badge {
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    transform: none !important;
    left: auto !important;
    z-index: 5 !important;
    padding: 10px 12px !important;
    /* Ultra-reduced padding */
    min-width: auto !important;
  }

  .legacy-experience-badge .badge-num {
    font-size: 20px !important;
    /* Smaller number */
  }

  .legacy-experience-badge .badge-text {
    font-size: 7px !important;
    /* Smaller text */
    margin-top: 3px !important;
  }

  .legacy-experience-badge span:last-child {
    font-size: 7px !important;
    /* Est. 1983 text */
    margin-top: 2px !important;
  }

  /* Amenities Mobile Fixes */
  .amenities-horizontal-container {
    padding: 15px !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .amenity-horizontal-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .row-header {
    flex: 0 0 auto !important;
    border-right: none !important;
    border-bottom: 1px solid #eee !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .amenity-row-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .h-amenity-item {
    justify-content: flex-end !important;
    padding: 8px 8px 10px 8px !important;
    min-height: 120px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .h-amenity-item span {
    font-size: 12px !important;
  }
}

/* Explore Gallery 2-column Grid on Mobile */
@media (max-width: 640px) {

  .gallery-grid-special,
  #explore-gallery .explore-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #explore-gallery .explore-c .heritage {
    padding-top: 60px !important;
  }

  .heritage .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  .legacy-grid {
    gap: 80px !important;
  }

  .legacy-features {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  /* Stacked Stats on Mobile as per provided image */
  .stats-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0 30px !important;
  }

  .stat-card {
    min-width: auto !important;
    width: 100% !important;
    padding: 25px 15px !important;
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 0 !important;
  }

  .stat-card:last-child {
    grid-column: auto !important;
  }

  .stat-number {
    font-size: 48px !important;
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
  }

  .stat-label {
    font-size: 11px !important;
    letter-spacing: 2px !important;
    color: #222 !important;
    font-weight: 700 !important;
  }

  .feature-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .feature-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    margin-bottom: 0 !important;
  }

  .feature-text h4 {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  .feature-text p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .legacy-image {
    max-width: 100% !important;
    position: relative;
    min-height: 270px !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .legacy-slider {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 270px !important;
  }

  .legacy-img.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .legacy-image img {
    display: block !important;
    width: 100% !important;
  }

  .legacy-experience-badge {
    position: absolute !important;
    right: 15px !important;
    bottom: 15px !important;
    transform: none !important;
    left: auto !important;
    z-index: 5 !important;
    padding: 10px 12px !important;
    /* Ultra-reduced padding */
    min-width: auto !important;
  }

  .legacy-experience-badge .badge-num {
    font-size: 20px !important;
    /* Smaller number */
  }

  .legacy-experience-badge .badge-text {
    font-size: 7px !important;
    /* Smaller text */
    margin-top: 3px !important;
  }

  .legacy-experience-badge span:last-child {
    font-size: 7px !important;
    /* Est. 1983 text */
    margin-top: 2px !important;
  }

  /* Amenities Mobile Fixes */
  .amenities-horizontal-container {
    padding: 15px !important;
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .amenity-horizontal-row {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .row-header {
    flex: 0 0 auto !important;
    border-right: none !important;
    border-bottom: 1px solid #eee !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .amenity-row-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .h-amenity-item {
    padding: 15px 10px !important;
    min-height: 110px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .h-amenity-item span {
    font-size: 12px !important;
  }
}

/* Explore Gallery 2-column Grid on Mobile */
@media (max-width: 640px) {

  .gallery-grid-special,
  #explore-gallery .explore-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  #explore-gallery .explore-card {
    height: 140px !important;
    /* Fixed height for 2-column alignment */
  }

  #explore-gallery .explore-card img {
    height: 100% !important;
    object-fit: cover !important;
  }

}

/* Reveal only hides content when JS has confirmed it's running */
.reveal {
  opacity: 1;
  transform: none;
  transition: all 0.8s ease-out;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
}

.js-ready .reveal.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Drone Video Experience */
.video-experience {
  padding: 100px 0;
  background: #fff;
}

.video-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 50px auto 0;
}

.video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.video-custom-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 40px rgba(215, 25, 32, 0.4);
}

.video-custom-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent-hover);
  box-shadow: 0 0 60px rgba(215, 25, 32, 0.6);
}

.video-custom-play i {
  margin-left: 5px;
}

.video-accent-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  z-index: 1;
  opacity: 0.2;
}

@media (max-width: 768px) {
  .video-experience {
    padding: 60px 0;
  }

  .video-wrapper {
    margin-top: 30px;
    padding-right: 15px;
    /* Account for accent border */
  }

  .video-accent-border {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
  }
}

/* Multi-Platform Floating Buttons */
.whatsapp-float {
  position: fixed;
  bottom: 87px;
  right: 15px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none !important;
  transition: all 0.3s ease-out;
  z-index: 10000;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  color: white !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Ensure Chat Bot (Zoho/SalesIQ) and Floating Actions have high priority */
#zsiq_float,
.zsiq_floatmain,
#zsiq_chatctl {
  z-index: 10001 !important;
}

@media (max-width: 768px) {

  /* Match Zoho SalesIQ widget size. */
  .whatsapp-float {
    bottom: 71px !important;
    right: 9px !important;
    left: auto !important;
    width: 55px !important;
    height: 55px !important;
    font-size: 30px !important;
    z-index: 10001 !important;
  }

  /* Responsive Drone Footage Play Button */
  .video-custom-play {
    width: 60px !important;
    height: 60px !important;
    font-size: 22px !important;
    box-shadow: 0 0 25px rgba(215, 25, 32, 0.4) !important;
  }

  .video-custom-play i {
    margin-left: 3px !important;
  }

  /* Fix for Submit Box appearing White / Broken at the bottom */
  .hero-main-content .hero-banner-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    background: var(--accent-color) !important;
    color: #ffffff !important;
    width: auto !important;
    min-width: 200px !important;
    text-align: center !important;
    margin-top: 25px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    border: none !important;
    display: inline-block !important;
    z-index: 20 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
  }
}