/*
Theme Name: TCA Landing page
Author: Muhammed SIraj
Description: A custom theme for the landing page project.
Version: 1.2
*/

:root {
  --color-bg: #ffffff;
  --color-surface: #f9f9f9;
  --color-text: #1a1a1a;
  --color-muted: #555555;
  --color-accent: #17233b;
  --color-accent-hover: #17233b;
  --font-primary: "Inter", sans-serif;
  --spacing-section: 8rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #17233b;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Global Layout Utilities */
.tca-section {
  padding: 4rem 0;
  width: 100%;
}
@media (max-width: 768px) {
  .tca-section {
    padding: 2rem 0;
  }
  .tca-container {
    padding: 0 1.5rem;
  }
}
.tca-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
  transition: padding 0.4s ease;
}

.site-header.is-scrolled {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header.is-scrolled .header-inner {
  padding: 1rem 3rem;
}

.site-header.is-scrolled .logo-box {
  border-color: var(--color-text);
  color: var(--color-text);
}

.site-header.is-scrolled .nav-link {
  color: var(--color-text);
}

.site-header.is-scrolled .mobile-menu-toggle span {
  background-color: var(--color-text);
}

/* Logo Box */
.logo {
  display: block;
}

.logo-box {
  border: 2px solid #fff;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Amenities Section - Split Layout */
.amenities-split-section {
  background-color: #fbfbfb;
  padding: 6rem 3rem;
}

.amenities-header {
  text-align: center;
  margin-bottom: 5rem;
}

.amenities-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1a3c4b;
  font-weight: 300;
  line-height: 1.3;
  max-width: 450px;
  margin: 0 auto;
}

.amenities-layout {
  display: flex;
  margin: 0 auto 5rem;
  gap: 5rem;
  align-items: stretch;
}

.amenities-layout.row-reverse {
  flex-direction: row-reverse;
}

.amenities-layout:last-child {
  margin-bottom: 0;
}

.amenities-images {
  flex: 1 1 50%;
  position: relative;
  border-radius: 20px;
}

.amenities-images img.amenity-main-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.amenities-images img.amenity-sub-img {
  position: absolute;
  bottom: -5%;
  right: -10%;
  width: 55%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 10px solid #fbfbfb;
}

.amenities-layout.row-reverse .amenities-images img.amenity-sub-img {
  right: auto;
  left: -10%;
}

.amenities-list {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amenity-list-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eaeaea;
}

.amenity-list-item:first-child {
  border-top: 1px solid #eaeaea;
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.amenity-text {
  font-size: 0.95rem;
  color: #444;
  font-weight: 300;
}

.amenities-header {
  margin-bottom: 3rem;
}

/* Floor Plans Section */
.floor-plans-section {
  background-color: #fff;
}

.floor-plans-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 3rem;
}

.floor-plans-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1a3c4b;
  font-weight: 300;
  line-height: 1.2;
}

.floor-plans-filters {
  display: flex;
  gap: 0.5rem;
  background-color: #f4f4f4;
  padding: 0.5rem;
  border-radius: 8px;
}

.fp-filter-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.fp-filter-btn.active,
.fp-filter-btn:hover {
  background-color: #fff;
  color: #1a3c4b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.floor-plans-nav {
  display: flex;
  gap: 0.5rem;
}

.fp-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f4f4f4;
  border: none;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
  transition: background-color 0.3s;
}

.fp-nav-btn:hover {
  background-color: #e4e4e4;
}

.floor-plans-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 2rem; /* space for scrollbar */
  max-width: 1400px;
  margin: 0 auto;
}
/* Hide scrollbar completely to remove the bars */
.floor-plans-grid::-webkit-scrollbar {
  display: none;
}
.floor-plans-grid {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.floor-plan-card {
  flex: 0 0 calc(33.333% - 1.333rem);
  max-width: 420px;
  scroll-snap-align: start;
  min-width: 300px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.floor-plan-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.fp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.fp-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.fp-tag {
  display: inline-block;
  background-color: #f4f4f4;
  color: #555;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.fp-expand-btn {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}

.fp-expand-btn:hover {
  color: #1a1a1a;
}

.fp-card-image {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  min-height: 200px;
}

.fp-card-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.fp-image-placeholder {
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
}

.fp-card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #eaeaea;
}

.fp-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.fp-stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fp-stat-label {
  font-size: 0.8rem;
  color: #888;
}

.fp-stat-value {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 500;
}

.btn-check-availability {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #1a3c4b;
  color: #fff;
  padding: 0.8rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-check-availability:hover {
  background-color: #0b141d;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .floor-plans-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .floor-plans-filters {
    flex-wrap: wrap;
    width: 100%;
  }
  .floor-plans-nav {
    align-self: flex-start;
    margin-top: -0.5rem;
  }
}

/* Payment Plan Section */
.payment-plan-section {
  background-color: #f8fafc;
}

.payment-plan-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.pp-left {
  flex: 1 1 40%;
}

.pp-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1a3c4b;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.pp-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.pp-right {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
}

.pp-ratio-box {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

.pp-milestone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea;
}

.pp-m-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pp-m-icon {
  display: flex;
  align-items: center;
}

.pp-m-title {
  font-size: 1.1rem;
  color: #333;
}

.pp-m-right {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.pp-m-percent {
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
}

.pp-m-label {
  font-size: 0.8rem;
  color: #888;
}

.pp-action {
  margin-top: 2rem;
  text-align: left;
}

.btn-request-breakdown {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-request-breakdown:hover {
  border-color: #333;
  background-color: #f9f9f9;
}

/* Location Section */
.location-section {
  background-color: #fff;
}

.location-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}

.location-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #1a3c4b;
  font-weight: 300;
  line-height: 1.3;
}

.btn-explore-area {
  background-color: #f4f4f4;
  color: #1a3c4b;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-explore-area:hover {
  background-color: #e4e4e4;
}

.location-layout {
  display: flex;
  gap: 4rem;
  align-items: stretch;
}

.loc-left {
  flex: 1 1 35%;
  padding-right: 2rem;
  border-right: 1px solid #eaeaea;
}

.loc-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.loc-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

.loc-desc p {
  margin-bottom: 1rem;
}

.loc-right {
  flex: 1 1 65%;
}

.loc-map-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .loc-map-container {
    min-height: 300px;
  }
  .site-footer {
    padding: 3rem 1.5rem;
  }
  .gallery-item {
    flex: 0 0 85%;
    height: 350px;
  }
}

.loc-map-container iframe {
  width: 100%;
  min-height: 450px;
  border: none;
  border-radius: 12px;
}

/* Contact Section (Footer) */
.site-footer {
  background-color: #111;
  color: #fff;
  padding: 6rem 3rem;
  border-top: none;
}

.contact-container {
  max-width: 500px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #fff;
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1.1rem;
  color: #999;
  line-height: 1.6;
}

/* Contact Form 7 Overrides (Dark Minimal) */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form label {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel {
  width: 100%;
  padding: 0.8rem 0;
  border: none;
  border-bottom: 1px solid #444;
  border-radius: 0;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: transparent;
  color: #fff;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus {
  outline: none;
  border-color: #fff;
  box-shadow: none;
  background: transparent !important;
}

/* Override browser autofill styles */
.wpcf7-text:-webkit-autofill,
.wpcf7-email:-webkit-autofill,
.wpcf7-tel:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s !important;
  background-color: transparent !important;
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder {
  color: #555;
}

.wpcf7-submit {
  background-color: transparent;
  color: #ffffff !important;
  border: 1px solid #ffffff;
  padding: 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1.5rem;
}

.wpcf7-submit:hover {
  background-color: #b5cedb;
  color: #17233b !important;
  border-color: #b5cedb;
}

.wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #dc3232;
  margin-top: 0.5rem;
  display: block;
}

/* intl-tel-input Overrides */
.iti {
  width: 100%;
  display: block;
}
.iti__country-list {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
.iti__country.iti__highlight {
  background-color: #444;
}
.iti__divider {
  border-bottom: 1px solid #444;
}
.iti__selected-dial-code {
  color: #ccc;
  margin-left: 6px;
}
.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent !important;
}
.iti--separate-dial-code .iti__selected-flag:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-only {
  display: none;
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
  background-color: transparent;
  color: var(--color-accent) !important;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid var(--color-accent);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: #fff !important;
}

.btn-light {
  background-color: transparent;
  color: #ffffff !important;
  padding: 0.8rem 2.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid #ffffff;
  cursor: pointer;
}

.btn-light:hover {
  background-color: #b5cedb;
  color: #17233b !important;
  border-color: #b5cedb;
}

/* Hero Section - Card Style */
.hero-section {
  min-height: 100vh;
  padding: 8rem 3rem 4rem;
  background-color: #3b6e7a; /* Teal background */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-container {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.project-top-logo {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

.project-top-logo h2 {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-hero-logo-img {
  height: 60px; /* Base height for hero logo */
  max-width: 300px;
  object-fit: contain;
}

.hero-card-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-card-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

/* General Section Styles */
.section {
  padding: 4rem 0;
  width: 100%;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }
}

.section-header {
  margin-bottom: 5rem;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  display: block;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  max-width: 800px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
}

/* Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.2, 0, 0, 1),
    transform 1s cubic-bezier(0.2, 0, 0, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Intro Text Section */
.intro-section {
  background-color: #3b6e7a; /* Matches hero teal background */
  color: #fff;
  padding: 2rem 3rem 8rem;
  text-align: center;
}

.intro-container {
  max-width: 900px;
  margin: 0 auto;
}

.intro-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.intro-large-text {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.6;
  font-weight: 300;
  color: #fff;
}

/* Project Info Section - Dark Style (Default) */
.project-info-section.dark-style {
  background: transparent;
  color: #fff;
}

/* Project Info Section - Light Style */
.project-info-section.light-style {
  background-color: #f6f6f6;
  color: #1a3c4b; /* Dark teal */
}

.project-info-section.light-style .info-title {
  color: #1a3c4b;
  font-weight: 400;
}

.project-info-section.light-style .info-desc {
  color: #556b75;
}

.project-info-section {
  /* Handled by .section */
}

.info-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.info-left {
  flex: 1 1 65%;
}

.info-location-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.info-title {
  font-size: clamp(2rem, 5vw, 2.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 500;
}

.info-desc {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 800px;
}

.info-right {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3rem;
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #aaaaaa;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
}

.light-style .stat-label {
  color: #666666;
}

.light-style .stat-value {
  color: #1a3c4b;
}

.btn-download {
  display: inline-block;
  background-color: #0099ff;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-download:hover {
  background-color: #007acc;
  transform: translateY(-2px);
}

/* Light Style Specific Actions */
.light-action {
  align-items: flex-end;
  gap: 1rem;
}

.light-action-text {
  font-size: 0.8rem;
  color: #8899a1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
  text-align: right;
}

.btn-download-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #1a3c4b;
  padding: 1rem 2rem;
  border: 1px solid #1a3c4b;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-download-outline:hover {
  background-color: #1a3c4b;
  color: #fff;
}

.logo-box {
  border: 2px solid #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 1.2rem;
  color: #fff;
  transition: all 0.3s ease;
}

.developer-logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.site-header.scrolled .logo-box {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.site-header.scrolled .developer-logo-img {
  filter: brightness(0);
}

/* Project Logo in Header */
.project-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.project-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.site-header.scrolled .project-logo-img {
  filter: brightness(0);
}

/* Image Gallery Section */
.gallery-section {
  padding: 2rem 0 6rem 0;
  background-color: #f6f6f6; /* Or #fff depending on what it follows */
}

.gallery-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 3rem 2rem 3rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.gallery-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.gallery-item {
  flex: 0 0 calc(33.333% - 1rem);
  height: 450px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

/* Responsive */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: inline-block;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  .site-header .header-inner {
    padding: 1rem 1.5rem;
  }
  .site-header.is-scrolled .header-inner {
    padding: 1rem 1.5rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    opacity: 0;
    pointer-events: none;
  }

  .main-nav.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .nav-link {
    color: var(--color-text);
    font-size: 1.25rem;
  }

  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--color-text);
  }
  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--color-text);
  }

  .hero-section {
    padding: 6rem 1rem 2rem;
  }

  .hero-card-title {
    font-size: 2.5rem;
  }

  .intro-section {
    padding: 2rem 1.5rem;
  }

  .project-info-section {
    /* handled by global .section */
  }
  .info-layout {
    flex-direction: column;
    gap: 2.5rem;
  }
  .info-right {
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
  }
  .info-stats {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .btn-download {
    width: 100%;
    text-align: center;
  }
  .light-action {
    align-items: flex-start;
    width: 100%;
  }
  .light-action-text {
    text-align: left;
  }
  .btn-download-outline {
    width: 100%;
    justify-content: center;
  }

  .gallery-container {
    padding: 1rem 1.5rem 2rem 1.5rem;
  }
  .gallery-item {
    flex: 0 0 92%;
    height: 60vh;
    min-height: 400px;
    border-radius: 16px;
  }

  .amenities-split-section {
    /* handled by .tca-section now */
  }
  .amenities-header {
    margin-bottom: 1.5rem;
  }
  .amenities-layout {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .amenities-images,
  .amenities-list {
    width: 100%;
    flex: none;
  }
  .amenities-images img.amenity-sub-img {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100%;
    border: none;
    margin-top: 1rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .floor-plans-section {
    /* handled by .tca-section now */
  }
  .floor-plans-header-wrapper {
    margin-bottom: 1.5rem;
  }
  .floor-plans-header {
    /* handled by .tca-container now */
  }
  .floor-plans-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1.5rem 2rem 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .floor-plans-grid::-webkit-scrollbar {
    display: none;
  }
  .floor-plan-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
  }

  .payment-plan-section {
    /* handled by .tca-section now */
  }
  .payment-plan-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .pp-left,
  .pp-right {
    width: 100%;
    flex: none;
  }
  .pp-action {
    text-align: left;
  }
  .btn-request-breakdown {
    width: 100%;
    text-align: center;
  }

  .location-section {
    /* handled by .tca-section now */
  }
  .location-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .location-layout {
    flex-direction: column;
    gap: 3rem;
  }
  .loc-left {
    padding-right: 0;
    border-right: none;
  }
  .loc-map-container {
    min-height: 400px;
  }

  .site-footer {
    padding: 4rem 1.5rem;
  }
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* Brochure Modal */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background-color: #0b141d; /* Dark theme matching screenshot */
  border-radius: 12px;
  padding: 3rem 2rem;
  z-index: 10000;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #aaa;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
  color: #fff;
}

.modal-title {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.modal-desc {
  color: #a0aec0;
  font-size: 1.1rem;
}

.modal-body.contact-form-wrapper {
  background: transparent;
  padding: 0;
  box-shadow: none;
  .section {
    padding: 5rem 1.5rem;
  }
}

/* Layout Details Modal */
.layout-modal-style .modal-content {
  background-color: #fff;
  color: #0b141d;
  max-width: 900px;
  padding: 2.5rem;
}

.layout-modal-header {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.layout-modal-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.layout-modal-split {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.layout-modal-left {
  flex: 1;
  min-width: 300px;
}

.layout-modal-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-modal-main-title {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

.layout-modal-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.layout-modal-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .layout-modal-split {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  .layout-modal-style .modal-content {
    padding: 1.5rem;
  }
  .layout-modal-right img {
    max-width: 80%;
  }
}

/* Light Theme Overrides for Form in Layout Modal */
.layout-modal-style .wpcf7-text,
.layout-modal-style .wpcf7-email,
.layout-modal-style .wpcf7-tel {
  color: #1a1a1a;
  border-bottom-color: #ccc;
}

.layout-modal-style .wpcf7-text:focus,
.layout-modal-style .wpcf7-email:focus,
.layout-modal-style .wpcf7-tel:focus {
  border-bottom-color: #000;
}

.layout-modal-style .wpcf7-text:-webkit-autofill,
.layout-modal-style .wpcf7-email:-webkit-autofill,
.layout-modal-style .wpcf7-tel:-webkit-autofill {
  -webkit-text-fill-color: #1a1a1a !important;
}

.layout-modal-style .wpcf7-text::placeholder,
.layout-modal-style .wpcf7-email::placeholder,
.layout-modal-style .wpcf7-tel::placeholder {
  color: #777;
}

.layout-modal-style .wpcf7-form label {
  color: #555;
}

.layout-modal-style .iti__selected-dial-code {
  color: #1a1a1a; /* For the country code dial text if any */
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.95);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 2;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

.lightbox-content {
  max-width: 80%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.lightbox-thumbnails {
  display: flex;
  gap: 10px;
  max-width: 80%;
  overflow-x: auto;
  padding: 10px 0;
}
.lightbox-thumbnails::-webkit-scrollbar {
  display: none;
}
.lightbox-thumb {
  width: 80px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.3s,
    border-color 0.3s;
  border: 2px solid transparent;
}
.lightbox-thumb.active {
  opacity: 1;
  border-color: #fff;
}
.lightbox-counter {
  color: #fff;
  font-size: 0.9rem;
}
.gallery-item img {
  cursor: pointer;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0b141d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99; /* Below modals, above normal content */
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.sticky-bottom-bar.visible {
  transform: translateY(0);
}
.sticky-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sticky-left,
.sticky-right {
  flex: 1;
}
.sticky-right {
  text-align: right;
}
.sticky-logo {
  flex: 0 0 auto;
  text-align: center;
}
.sticky-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.sticky-logo span {
  color: #fff;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .sticky-bar-inner {
    padding: 0 1.5rem;
  }
  .sticky-left {
    display: none;
  }
  .sticky-logo img {
    height: 30px;
  }
  .btn-sticky-enquire {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}


/* Privacy Policy Template Styles */
body {
  background-color: var(--color-surface, #f9f9f9);
}
.site-header-solid {
  background: #fff !important;
  padding: 1.5rem 3rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  border-bottom: none;
}
.site-header-solid .logo {
  color: #000;
}
.page-section {
  padding-top: 10rem;
  padding-bottom: 4rem;
  min-height: 100vh;
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.page-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #111;
  text-align: center;
}
.page-container h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}
.page-container p,
.page-container li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}
.page-container ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}
.page-container strong {
  color: #333;
}

/* Hero Text Glassmorphism Box */
.hero-text-box {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 1000px;
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 10;
  text-align: center;
}
.hero-card-title,
.hero-card-subtitle {
  color: #ffffff !important;
  text-shadow: none;
}
.hero-card-subtitle {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Hero Stats List Design (SEO Optimized) */
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #fff;
  flex-wrap: wrap;
}
.hero-stat-item {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero-stat-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}
.hero-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #ffffff;
  font-weight: 400;
}
.hero-stat-value {
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
}
.hero-scroll-indicator {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .hero-text-box {
    padding: 1.5rem 1rem;
    width: 92%;
    bottom: 1.5rem;
  }
  .hero-card-subtitle {
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .hero-stat-item:not(:first-child)::before {
    display: none;
  }
  .hero-stat-value {
    font-size: 1.2rem;
  }
}




/* Custom Logo */
.custom-logo { max-height: 45px; width: auto; }
