:root {
  --primary-color: #003962;
  --secondary-color: #dd0130;
  --light-color: #f9f9f9;
  --dark-color: #222;

  --font-family-main: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: var(--font-family-main);
}
.navbar {
  background-color: #ffffffbb !important;
  transition: slideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
    backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
}
.navbar.scrolled {
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  50% {
    opacity: 0.7;
    backdrop-filter: blur(10px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
    backdrop-filter: blur(20px);
  }
}

/* Contact Button */
.contact-btn {
  background: #000;
  color: #fff !important;
  border-radius: 20px;
  padding: 10px 24px;
  font-size: 14px;
  transition: 0.3s;
  white-space: nowrap;
}
.contact-btn:hover {
  background: var(--primary-color);
  color: #fff !important;
}

/* ==== Nav Link Animations ==== */
.navbar-nav .nav-link {
  position: relative;

  color: var(--primary-color);

  opacity: 0;
  transform: translateY(-10px);

  position: relative;
  text-transform: capitalize;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 8px 8px;
  animation: fadeInUp 0.5s forwards;
}

/* Stagger animation on each link */
.navbar-nav .nav-item:nth-child(1) .nav-link {
  animation-delay: 0.2s;
}
.navbar-nav .nav-item:nth-child(2) .nav-link {
  animation-delay: 0.3s;
}
.navbar-nav .nav-item:nth-child(3) .nav-link {
  animation-delay: 0.4s;
}
.navbar-nav .nav-item:nth-child(4) .nav-link {
  animation-delay: 0.5s;
}
.navbar-nav .nav-item:nth-child(5) .nav-link {
  animation-delay: 0.6s;
}
.navbar-nav .nav-item:nth-child(6) .nav-link {
  animation-delay: 0.7s;
}
.navbar-nav .nav-item:nth-child(7) .nav-link {
  animation-delay: 0.8s;
}

.para-effect {
  position: sticky !important;
  top: 0;
  transition: all 0.2s ease-in-out;
}

/* Hover underline effect */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-item {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease-in-out;
}

/* Zoom effect */
.carousel-item.active img {
  transform: scale(1.15);
}

/* Controls moved outward */
.carousel-control-prev,
.carousel-control-next {
  width: 8%;
}

.carousel-control-prev {
  left: 0%;
}

.carousel-control-next {
  right: 0%;
}

/* Text Overlay */
.carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Enhanced Split Text Container */
.split-text {
  position: absolute;
  bottom: 10%;
  left: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.7);
  height: 150px;
}

/* Center divider - appears first */
.split-text .center {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  position: relative;
  z-index: 10;
  opacity: 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Left and right words - emerge from center */
.split-text .left,
.split-text .right {
  font-size: 4rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  white-space: nowrap;
  background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 5;
}

.split-text .left {
  right: 50%;
  margin-right: 2rem;
  transform: translateY(-50%) translateX(100px);
}

.split-text .right {
  left: 50%;
  margin-left: 2rem;
  transform: translateY(-50%) translateX(-100px);
}

/* Subtitle */
.split-text p {
  position: absolute;
  bottom: -1rem;
  transform: translateX(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

/* Animations triggered on active carousel item */
.carousel-item.active .split-text .center {
  animation: centerFadeIn 1s ease-out 0.1s forwards;
}

.carousel-item.active .split-text .left {
  animation: emergeLeft 1.1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s forwards,
    gradientShift 3s ease-in-out infinite 3s;
}

.carousel-item.active .split-text .right {
  animation: emergeRight 1.1s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s forwards,
    gradientShift 3s ease-in-out infinite 3s;
}

.carousel-item.active .split-text p {
  animation: subtitleFadeIn 1s ease-out 0.8s forwards;
}

/* Keyframe Animations */
@keyframes centerFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes emergeLeft {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(100px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
    filter: blur(0px);
  }
}

@keyframes emergeRight {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-100px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0px);
    filter: blur(0px);
  }
}

@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .navbar-nav .nav-item:nth-child(1) .nav-link {
    animation-delay: 0.2s;
  }
  .navbar-nav .nav-item:nth-child(2) .nav-link {
    animation-delay: 0.3s;
  }
  .navbar-nav .nav-item:nth-child(3) .nav-link {
    animation-delay: 0.4s;
  }
  .navbar-nav .nav-item:nth-child(4) .nav-link {
    animation-delay: 0.5s;
  }
  .navbar-nav .nav-item:nth-child(5) .nav-link {
    animation-delay: 0.6s;
  }
  .navbar-nav .nav-item:nth-child(6) .nav-link {
    animation-delay: 0.7s;
  }
  .navbar-nav .nav-item:nth-child(7) .nav-link {
    animation-delay: 0.8s;
  }

  .split-text .left,
  .split-text .right,
  .split-text .center {
    font-size: 2.5rem;
  }

  .split-text p {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .split-text .left {
    margin-right: 1rem;
  }

  .split-text .right {
    margin-left: 1rem;
  }
}

@media (max-width: 480px) {
  .seprateor {
    width: 1.5rem !important;
  }
  .split-text .left,
  .split-text .right,
  .split-text .center {
    font-size: 2rem;
  }

  .split-text p {
    font-size: 0.9rem;
  }

  .split-text {
    bottom: 10%;
  }
  .logo-img {
    height: 50px !important;
  }
  .contact-btn {
    margin: 0;
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* Demo background for testing */
.demo-slide {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}
.odd-sec {
  background: #f9f9f9;
}
.even-sec {
  background: #ffffff;
}
.section-subtitle {
  font-size: 1.1rem;
  line-height: 2.2rem;
  text-transform: capitalize;
  color: var(--secondary-color);
  font-weight: 400;
}
.section-title {
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}
.section-title span {
  display: inline-block;
}
.seprateor {
  width: 3rem;
  height: 1.3px;
  background-color: var(--secondary-color);
  margin: 0 10px;
  vertical-align: middle;
}
.for-paras {
  text-align: justify;

  font-size: 1rem;
  line-height: 1.8rem;
}
.shadow-box-custom {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.partition {
  border: 10px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(
    178deg,
    #ffffff,
    var(--primary-color),
    #ffffff,
    var(--primary-color),
    #ffffff,
    var(--primary-color),
    #ffffff
  );
}
.connectivity {
  margin-top: 1rem;
  padding-top: 1rem;
  border-width: 1px 0 0 !important;
}

.conectivity-card-text {
  font-size: 1.1rem;
  line-height: 1.9rem;
  color: var(--primary-color);
  text-align: center;
}
.conectivity-card-text2 {
  color: var(--secondary-color);
}
.con-img svg {
  color: var(--secondary-color); /* any color */
}
.image-hover-wrapper {
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}
.image-hover-effect {
  transition: all 0.3s ease-in-out;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.image-hover-effect:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  filter: grayscale(0%) brightness(1.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.project-highlight {
  list-style: none; /* remove default bullets */
  padding-left: 0;
  margin: 0;
}

.project-highlight li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 15px;

  color: #333;
}

.project-highlight li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
  font-size: 1rem;
}
.blurred-floor {
  max-height: 250px;
  object-fit: cover;
  filter: blur(4px);
  mix-blend-mode: multiply;
  background-color: rgba(255, 0, 0, 0.4);
  cursor: pointer;
}
.floor-section-title {
  position: relative;
  display: inline-block;
  overflow: hidden; /* Ye zaroori hai mask effect ke liye */
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.floor-section-title span {
  display: inline-block;
  will-change: transform; /* Performance ke liye */
}
@media (max-width: 991px) {
  .alternate-bhk {
    flex-direction: column-reverse;
  }
}
.floor-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1.5px;
  background: var(--secondary-color);
  border-radius: 2px;
}
/* Gallery Styles start */
.gallery-img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: auto;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

/* Item container */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff99;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  position: relative;
}

.gallery-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 10px 0px 10px 0px;
}
/* gallery  styling end */
/* Location styling start  */
.map-container iframe {
  height: 90vh;
}
.location-list {
  position: relative;
  margin-top: -80px; /* overlap with map */
  z-index: 5;
}

.loc-card {
  cursor: pointer;
  border: 2px solid #ddd;
  border-radius: 8px;
  width: 220px;
  transition: all 0.3s ease;
  background-color: white;
  color: var(--primary-color);
  text-align: center;
}

.loc-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.loc-card.active {
  background-color: var(--primary-color);
  color: #fff;
}

.loc-card img {
  max-height: 100px;
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
}

.loc-card p {
  margin-top: 8px;
  font-size: 0.85rem;
}
/* amenities section start  */
.amenity-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
  margin: 40px auto;
  position: relative;
  height: 320px;
  transition: all 0.3s ease;
}

.amenity-top {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  transition: height 0.4s ease;
}

.amenity-bottom {
  background: #fff;
  padding: 20px 20px 28px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: all 0.4s ease-in-out;
}

.amenity-title {
  font-size: 22px;
  color: var(--secondary-color);
  font-weight: 500;
  margin-top: 10px;
}

.amenity-sub {
  color: rgba(0, 0, 0, 0.7);
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 400;
}

.amenity-card:hover .amenity-top {
  height: 100%;
}

.amenity-card:hover .amenity-bottom {
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 10px 14px;
  backdrop-filter: blur(2px);
}
/* amenities section end  */
/* accordion FAQ section start */
.accordion-item {
  margin-bottom: 10px;
  border-radius: 0.3rem;
}

.accordion-button {
  background-color: #eee;
  color: #1d1d1d;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #dee2e6;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--secondary-color);
  color: white;
  /* Question text color when active */
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f7d1bc' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 8H14'/%3e%3c/svg%3e");
  transform: rotate(180deg);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23204646' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M8 2V14M2 8H14'/%3e%3c/svg%3e");
  background-size: 1rem;
}
/* accordion FAQ section end */
/*about  Developer Section */
.developer-section {
  background: var(--primary-color);
}

/* counters */
.stat-card {
  border: 1px solid rgba(64, 164, 120, 0.35);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: var(--secondary-color);
  background: #fff;
}

.stat-number {
  line-height: 1;
  font-weight: 800;
  font-size: 3.5rem; /* tweak if you want bigger/smaller */
}

.stat-number .suffix {
  margin-left: 4px;
  font-weight: 700;
}

.stat-label {
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--secondary-color);
}
.footer-title {
  font-size: 2.5rem;
  font-weight: 400;
}
.custom-hr {
  border-top: 2.5px solid white;
  background-color: white; /* makes it white */
  margin: 20px 0; /* spacing above and below */
  opacity: 0.7s;
}
.navbar-toggler {
  color: transparent;
}
.form-close2 {
  position: absolute;
  right: -2px;
  top: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 300ms ease-in-out;
  background-color: #212529;
}
.form-close2:hover {
  background-color: var(--secondary-color);
}
.image-popup {
  background-image: url(../img/2.jpg);
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #00000077;
  background-blend-mode: multiply;
}
.custom-btn {
  width: fit-content;
  padding: 10px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.whatsappBg {
  background-color: #21d366 !important;
}
/* privacy-policy  */
.hero-section-privacy {
  background: #f8f9fa;
  padding: 60px 0;
  text-align: center;
}
.hero-section-privacy h1 {
  font-weight: 700;
  margin-bottom: 10px;
}
.breadcrumb-custom {
  list-style: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.breadcrumb-custom li {
  margin: 0 5px;
}
.breadcrumb-custom li a {
  color: var(--primary-color);
  text-decoration: none;
}
.breadcrumb-custom li::after {
  content: "/";
  margin-left: 5px;
  color: #6c757d;
}
.breadcrumb-custom li:last-child::after {
  content: "";
}
.privacy-section-heading {
  margin-top: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}
.privacy-text {
  margin-bottom: 1rem;
}
