:root {
  --primary-blue: rgb(0, 102, 255);
  --accent-teal: rgb(0, 172, 203);
  --dark-charcoal: rgb(33, 37, 41);
  --light-bg: rgb(247, 247, 255);
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--dark-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll from animations */
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.btn {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

.bg-light-blue {
  background-color: var(--light-bg);
}

/* ... existing navbar code ... */
/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 1px;
}

.sub-brand {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--accent-teal);
}

.nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0 10px;
}

.btn-primary {
  background-color: var(--primary-blue);
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Base Animation Class (Hidden state) */
.animate-on-scroll {
  opacity: 0;
  will-change: opacity, transform;
}

/* Animation Modifiers */
.animate-on-scroll.is-visible.fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-on-scroll.is-visible.fade-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-on-scroll.is-visible.fade-right {
  animation: fadeInRight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-on-scroll.is-visible.zoom-in {
  animation: zoomIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Stagger Delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  background: url("assets/header.webp?v=2.1") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero-section h1 {
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-section p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-weight: 500;
  color: #fff;
}

.text-accent {
  color: var(--accent-teal);
}

.btn-accent {
  background-color: var(--accent-teal);
  color: white;
  padding: 10px 25px;
  font-weight: 600;
}

.lead-form-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

/* Section Title */
.section-title {
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 2px;
}

#about .section-title::after {
  left: 0;
  transform: none;
}

/* 3D Expand / Accordion */
.ux_expand {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.45s ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.ux_expand:hover {
  transform: translateY(-10px) rotateX(4deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.ux_expand i {
  font-size: 2.5rem;
  color: var(--primary-blue);
}

.ux_expand_body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ux_expand.open .ux_expand_body {
  max-height: 200px;
  margin-top: 1rem;
}

.ux_expand.open .ux_expand_header i {
  color: var(--accent-teal);
}

/* Pricing Cards */
.apartment_section_row {
  margin-bottom: 1.5rem;
  border-radius: 14px;
  transition: 0.3s;
}

.apartment_section_row:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.badge {
  padding: 8px 15px;
  font-weight: 500;
}

@media (max-width: 991px) {
  .hero-section {
    height: auto;
    padding: 100px 0;
  }
}

/* Modal Styling */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: var(--primary-blue);
  color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modal-body {
  padding: 2rem;
}

.modal-body .form-label {
  font-weight: 600;
  color: var(--dark-charcoal);
  font-size: 0.9rem;
}

.modal-body .form-control {
  background: var(--light-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 15px;
  border-radius: 8px;
}

.modal-body .form-control:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  border-color: var(--primary-blue);
}

/* Connectivity Items */
.connectivity-item {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.connectivity-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--accent-teal);
}

.connectivity-item i {
  font-size: 2rem;
  color: var(--accent-teal);
  transition: 0.3s;
}

.connectivity-item:hover i {
  transform: scale(1.1);
}

/* Achievements Section */
.achievements-section {
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  position: relative;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--accent-teal);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 172, 203, 0.1);
  color: var(--accent-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

/* Master Plan Section */
/* Blurred Floor Plans */
.blurred-plan {
  filter: blur(15px);
  transition: filter 0.5s ease;
}

.blurred-plan.revealed {
  filter: blur(0);
}

.position-relative .reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.reveal-overlay.d-none {
  display: none !important;
}

.btn-reveal {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-reveal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
  background: var(--accent-teal);
}

.btn-reveal i {
  margin-right: 5px;
}

.master-plan-container {
  background: white;
  padding: 15px;
  transition: transform 0.3s ease;
}

.master-plan-container:hover {
  transform: scale(1.02);
}

.master-plan-container img {
  cursor: zoom-in;
}

/* Gallery Swiper */
.gallery-swiper {
  width: 100%;
  height: auto;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: 900;
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--primary-blue);
  opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Disclaimer Section */
.disclaimer-text {
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.5;
  text-align: justify;
}

.disclaimer-text strong {
  color: var(--dark-charcoal);
}
