/* Bricks and Mortar Investments – UAE & Bali Real Estate */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #5c6b5a;
  --primary-dark: #3d4a3c;
  --accent: #a67c52;
  --accent-dark: #8b6845;
  --heading: #2d3530;
  --text: #1a1a2e;
  --muted: #555;
}

* { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  line-height: 1.6;
  background: #1a2838 url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1920&q=80') center center fixed;
  background-size: cover;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, rgba(45,53,48,0.38) 0%, rgba(30,36,32,0.48) 100%);
  z-index: 0;
  pointer-events: none;
}

body > header, body > nav, body > main, body > div[class], body > footer { position: relative; z-index: 1; }

header {
  background: linear-gradient(180deg, rgba(61,74,60,0.96) 0%, rgba(45,53,48,0.94) 100%);
  color: white;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

header h1 {
  margin: 0 0 8px 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  color: white;
}

.page-home header h1 {
  color: #e8d4a8;
}
header .brand-tagline { margin: 0; opacity: 0.95; font-size: 0.98rem; font-weight: 500; }
header .brand-quote {
  margin: 12px 0 0 0;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.92;
  font-weight: 500;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.emirates-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  margin: 16px 0 0 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.98);
}
.emirates-banner span { white-space: nowrap; }
.emirates-banner .em-sep { opacity: 0.6; font-weight: 400; }
header p { margin: 0; opacity: 0.95; font-size: 0.98rem; font-weight: 500; }

nav {
  background: rgba(92,107,90,0.96);
  padding: 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

nav .nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 16px;
}

nav a {
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

nav a:hover { background-color: rgba(255,255,255,0.2); }

main { max-width: 1000px; margin: 0 auto; padding: 28px 24px; }

section {
  padding: 32px 28px;
  margin: 24px 0;
  background-color: rgba(255,252,248,0.97);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
}

h1, h2, h3 { color: var(--heading); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
ul, ol { padding-left: 24px; }

.page-title { margin-top: 0; }

/* Property grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.property-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.property-card h3 {
  margin: 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}

.property-info { padding: 20px; }
.property-info p { margin: 10px 0; font-size: 0.95rem; color: #444; }
.property-meta { font-size: 0.85rem !important; font-weight: 600; color: var(--primary-dark) !important; }
.property-card-link { text-decoration: none; color: inherit; display: block; }
.property-card-link .property-info p:last-child { margin-bottom: 0; }

.partner-intro {
  background: linear-gradient(135deg, rgba(92,107,90,0.08) 0%, rgba(166,124,82,0.05) 100%);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 24px 0 32px 0;
  border-left: 4px solid var(--accent);
}
.partner-intro h2 { margin-top: 0; }
.partner-intro .btn-primary { margin-top: 12px; }

.property-hot { position: relative; }
.hot-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #c41e3a 0%, #a01830 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(196,30,58,0.4);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white !important;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(166,124,82,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(166,124,82,0.45);
  color: white !important;
}

/* Home hero */
.home-hero-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  z-index: 2;
}

.home-hero-brand {
  color: #e8d4a8;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  text-transform: none;
}

.home-hero-headline {
  color: #fff;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  max-width: 22ch;
}

.home-hero-quote {
  color: rgba(255,255,255,0.95);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}

.home-hero-sub {
  color: rgba(255,255,255,0.96);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
  font-weight: 500;
}

/* Path cards */
.home-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 36px 0;
}

.path-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(92,107,90,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(92,107,90,0.15);
}

.path-card h3 { color: var(--primary-dark); margin: 0 0 12px 0; font-size: 1.22rem; }
.path-card p { color: #444; margin: 0 0 20px 0; font-size: 0.96rem; line-height: 1.55; }

.path-card .path-link {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.path-card .path-link:hover { color: var(--primary-dark); }
.path-card .path-link::after { content: " →"; }

.bank-logos-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 20px 0 12px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bank-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-bottom: 20px;
}
.bank-logos img {
  height: 36px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
}
.bank-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.bank-logos-single img {
  height: auto;
  max-height: 120px;
  max-width: 100%;
}

/* Why invest blocks */
.home-why-block {
  background: linear-gradient(135deg, rgba(92,107,90,0.07) 0%, rgba(166,124,82,0.04) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 36px 0 28px 0;
}

.home-why-block h3 { margin: 0 0 14px 0; color: var(--primary-dark); font-size: 1.18rem; }
.home-why-block p { margin: 0; color: #333; line-height: 1.65; font-size: 1rem; }
.home-why-block a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.home-why-block a:hover { text-decoration: underline; }

.home-why-block-bali { border-left-color: #0d9488; }
.home-why-block-bali h3 { color: #0f766e; }

.home-trust { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 24px 0 16px 0; line-height: 1.5; }
.home-cta-wrap { text-align: center; margin: 28px 0 16px 0; }

/* Partners */
.partners { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
.partners a { padding: 14px 28px; border-radius: 12px; font-weight: 600; text-decoration: none; color: white !important; }
.partners a:hover { transform: translateY(-2px); color: white !important; }

.partners.partner-buttons { flex-direction: column; align-items: center; }
.partner-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  margin: 12px 0;
  cursor: pointer;
  font-weight: 600;
  border: none;
  font-size: 1rem;
  min-width: 280px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(166,124,82,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.partner-button:hover { transform: translateY(-2px); }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  padding-top: 60px;
}
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 28px;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.modal-content .close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; }
.modal-content .close:hover { color: black; }
.modal-content form { display: flex; flex-direction: column; }
.modal-content label { margin-top: 10px; }
.modal-content input, .modal-content select, .modal-content button { margin-top: 5px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.modal-content button {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
}
.modal-content button:hover { transform: translateY(-1px); }

/* Register form */
.register-form { display: flex; flex-direction: column; max-width: 520px; margin-top: 24px; }
.register-form label { margin-top: 16px; margin-bottom: 4px; font-weight: 600; color: #333; }
.register-form .required { color: #c00; }
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form textarea {
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}
.register-form textarea { resize: vertical; min-height: 80px; }
.register-form .services-fieldset {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8fafc;
}
.register-form .services-fieldset legend { font-weight: 600; color: var(--primary-dark); padding: 0 8px; }
.register-form .fieldset-hint { margin: 4px 0 12px 0; font-size: 0.9rem; color: #666; font-weight: normal; }
.register-form .checkbox-label { display: block; margin: 10px 0; font-weight: normal; cursor: pointer; }
.register-form .checkbox-label input { margin-right: 10px; }
.register-form button[type="submit"] {
  margin-top: 24px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(166,124,82,0.35);
}
.register-form button[type="submit"]:hover { transform: translateY(-2px); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.register-note { margin-top: 20px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.note { font-style: italic; color: var(--muted); margin-top: 20px; }
.section-intro { color: var(--muted); margin: -8px 0 16px 0; font-size: 0.95rem; line-height: 1.5; }
.anchor-link { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.anchor-link:hover { text-decoration: underline; }

/* Thank-you page */
.thank-you-section p { line-height: 1.6; margin-bottom: 1em; }
.thank-you-section a:not(.btn-primary) { color: var(--accent-dark); font-weight: 600; }
.thank-you-section a:not(.btn-primary):hover { text-decoration: underline; }
.thank-you-cta { margin-top: 28px !important; margin-bottom: 0 !important; }

footer {
  background: linear-gradient(180deg, rgba(61,74,60,0.95) 0%, rgba(45,53,48,0.92) 100%);
  color: white;
  text-align: center;
  padding: 24px 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
footer p { margin: 0; font-size: 0.9rem; opacity: 0.95; }

@media (max-width: 600px) {
  .home-hero-wrap { min-height: 220px; }
  .home-hero-headline { max-width: none; }
  .home-paths { gap: 16px; }
}
