/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --blue: #1B4B8A;
  --blue-dark: #0D2B5A;
  --blue-light: #2560B0;
  --green: #8DC63F;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --text-dark: #1A1A1A;
  --text-mid: #555555;
  --text-light: #888888;
  --border: #E2E8F0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== SHARED ===== */
.section-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

.link-cta {
  display: inline-block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1.5px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.link-cta:hover { opacity: 0.75; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  height: 72px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-logo img { height: 50px; width: auto; }

/* Always show colored logo */
.logo-dark { display: block; }
.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color var(--transition);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  padding-bottom: 4px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.nav-active {
  color: var(--text-dark);
  position: relative;
}
.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--green);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--white);
  padding-top: 72px;
  overflow: hidden;
  text-align: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 24px 0;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.hero-subtitle {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 17px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
}
.hero-house {
  max-width: 728px;
  margin: 0 auto;
}
.hero-house img {
  width: 100%;
  display: block;
}

/* ===== FOUNDATION ===== */
.foundation {
  padding: 80px 0;
  background: var(--white);
}
.foundation-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.foundation-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.foundation-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.foundation-text p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.foundation-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  padding: 10px 20px;
  transition: all var(--transition);
}
.btn-outline-sm:hover { background: var(--blue); color: var(--white); }

/* ===== PROJECTS SLIDER ===== */
.projects {
  padding: 80px 0 0;
  background: var(--white);
}
.projects-header {
  margin-bottom: 36px;
}
.projects-header h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.projects-subtitle {
  color: var(--text-mid);
  font-size: 0.88rem;
}
.projects-slider-wrap {
  overflow: hidden;
  padding: 16px 0 48px;
  background: var(--white);
}
.projects-slider {
  display: flex;
  gap: 20px;
  padding: 0 calc((100vw - 1200px) / 2) 0 calc((100vw - 1200px) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  background: var(--white);
  align-items: center;
}
.projects-slider::-webkit-scrollbar { display: none; }
.projects-slider.grabbing { cursor: grabbing; }
.project-card {
  flex: 0 0 320px;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.project-card.active {
  transform: scale(1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 20px;
}

/* ===== AMENITIES ===== */
.amenities {
  padding: 80px 0;
  background: var(--white);
}
.amenities-header {
  margin-bottom: 48px;
}
.amenities-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.amenities-subtitle {
  color: var(--text-mid);
  font-size: 0.88rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  min-height: 260px;
}
/* Corner brackets */
.amenity-card::before,
.amenity-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
}
.amenity-card::before {
  top: 0; left: 0;
  border-top: 1.5px solid var(--blue);
  border-left: 1.5px solid var(--blue);
}
.amenity-card::after {
  bottom: 0; right: 0;
  border-bottom: 1.5px solid var(--blue);
  border-right: 1.5px solid var(--blue);
}
.amenity-card .corner-tr,
.amenity-card .corner-bl {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
}
.amenity-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%);
}
.amenity-body {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
}
.amenity-icon {
  display: block;
  margin-bottom: 20px;
}
.amenity-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.amenity-body p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ===== TRUST — white bg, image right ===== */
.trust {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.trust-content {
  padding: 80px 48px 80px 24px;
}
.trust-content h2 {
  color: var(--text-dark);
  margin-bottom: 36px;
}
.trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}
.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 6px;
  flex-shrink: 0;
}
.trust-image {
  overflow: hidden;
}
.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== PEOPLE — dark bg overlay ===== */
.people {
  position: relative;
  overflow: hidden;
}
.people-bg {
  position: relative;
  background: url('./Assets/f8ceb0a141046bb94778bc048dd8968e88b8a00e.jpg') center center / 100% auto no-repeat;
  background-color: #0f141e;
  padding: 100px 0;
}
.people-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 30, 0.48);
}
.people-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
}
.people-left {
  flex: 1;
}
.people-right {
  flex: 1;
}
.people-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-top: 28px;
}
.people-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0;
}
.people-inner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== APPROVED ===== */
.approved {
  position: relative;
  overflow: hidden;
}
.approved-top {
  background: url('./Assets/Approved.png') center bottom / 100% auto no-repeat;
  text-align: center;
  padding: 130px 40px 156px;
  position: relative;
}
.approved-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
}
.approved-top h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.approved-top p {
  position: relative;
  z-index: 1;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}
.approved-bar {
  background: #2b2b2b;
  display: flex;
  justify-content: center;
  gap: 0;
}
.approved-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 48px;
  border-right: 1px solid rgba(255,255,255,0.1);
  flex: 1;
  max-width: 340px;
}
.approved-item:last-child {
  border-right: none;
}
.approved-item span {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--white);
}
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq-left h2 {
  color: var(--text-dark);
  margin-bottom: 24px;
}
.accordion { display: flex; flex-direction: column; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--blue); }
.accordion-icon {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform var(--transition);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel.open { max-height: 200px; padding-bottom: 16px; }
.accordion-panel p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.8; }

/* ===== PREMIUM DESIGNS GALLERY ===== */
.designs {
  padding: 80px 0;
  background: var(--white);
}
.designs-header {
  text-align: center;
  margin-bottom: 40px;
}
.designs-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.designs-header p {
  color: #666;
  font-size: 0.95rem;
}
.designs-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
  grid-template-rows: 260px 260px;
  gap: 10px;
}
.designs-cell {
  overflow: hidden;
  border-radius: 14px;
}
.designs-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.designs-cell:hover img {
  transform: scale(1.04);
}
.designs-tall-left  { grid-column: 1; grid-row: 1 / 3; }
.designs-top-1      { grid-column: 2; grid-row: 1; }
.designs-top-2      { grid-column: 3; grid-row: 1; }
.designs-top-3      { grid-column: 4; grid-row: 1; }
.designs-tall-right { grid-column: 5; grid-row: 1 / 3; }
.designs-bottom-wide { grid-column: 2 / 4; grid-row: 2; }
.designs-bottom-right { grid-column: 4; grid-row: 2; }

/* ===== TESTIMONIALS — carousel ===== */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}
.testimonials-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.testimonials-header p {
  color: #666;
  font-size: 0.95rem;
}
.tcarousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.tcarousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.tcard {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 32px 28px;
  min-width: 136px;
  flex-shrink: 0;
}
.tcard-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.tcard p {
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.tcard-author {
  display: block;
  font-size: 0.82rem;
  color: #555;
  font-style: italic;
}
.tcarousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.tcarousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: border-color 0.2s, background 0.2s;
}
.tcarousel-btn:hover {
  border-color: var(--text-dark);
  background: var(--text-dark);
  color: white;
}

/* ===== FOOTER — medium blue ===== */
.footer {
  background: var(--blue);
}
.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.footer-logo-wrap .footer-logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal-left {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  line-height: 1.8;
}
.footer-legal-left span { margin-right: 8px; }
.footer-legal-left a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  font-size: 0.8rem;
}
.footer-legal-left a:hover { color: var(--white); }
.sep { margin: 0 6px; color: rgba(255,255,255,0.4); }
.footer-rights { display: block; margin-top: 2px; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--white);
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.25); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .foundation-container { grid-template-columns: 1fr; gap: 40px; }
  .foundation-image img { height: 320px; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-image { height: 320px; }
  .trust-content { padding: 60px 24px; }
  .faq-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonial-single { grid-template-columns: 1fr; }
  .testimonial-image { width: 100%; height: 240px; }
  .footer-main { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 24px; color: var(--text-mid) !important; font-size: 0.95rem; }
  .hamburger { display: flex; }

  .hero-title { font-size: 2.2rem; }
  .projects-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .mosaic-card.mosaic-tall { grid-row: 1 / 2; grid-column: 1 / 3; }
  .mosaic-card.mosaic-wide { grid-column: 1 / 3; }

  .footer-nav { gap: 20px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .projects-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .mosaic-card { height: 220px; }
  .mosaic-card.mosaic-tall { grid-row: auto; grid-column: auto; }
  .mosaic-card.mosaic-wide { grid-column: auto; }
  .testimonial-text { padding: 28px; }
}
