/* ===== Base ===== */
:root {
  --primary: #084f8c;        /* Dark blue from logo */
  --accent: #14b8a6;         /* Teal from arrow */
  --accent-light: #22c55e;   /* Green from arrow */
  --accent-warm: #f97316;    /* Orange from logo T */
  --bg-light: #f5f7fb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #111827;
  line-height: 1.6;
}

/* ===== Layout Helpers ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.bg-light {
  background: var(--bg-light);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}

/* ===== Header & Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  font-size: 1.05rem;   /* add this to enlarge “THRUMYBROKER” text */
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
}

nav a {
  text-decoration: none;
  font-size: 0.96rem;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.22s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.55);
}

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

/* ===== Hero ===== */
.hero-section {
  padding-top: 40px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #eef2ff 35%, #ffffff 75%);
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0;       /* add this so content is pushed down slightly */
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--primary);
  color: #084f8c;
}

.hero-text p {
  max-width: 480px;
  color: var(--text-muted);
  margin-bottom: 22px;
  color: #6b7280;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
  background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(20, 184, 166, 0.55);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(20, 184, 166, 0.7);
}

.secondary-btn {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(148, 163, 184, 0.5);
}

.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tertiary-btn {
  background: rgba(8, 79, 140, 0.06);
  color: var(--primary);
  border-color: transparent;
}

.tertiary-btn:hover {
  background: rgba(8, 79, 140, 0.12);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stat {
  min-width: 110px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero side card */
.hero-card {
  justify-self: stretch;
}

.hero-card-inner {
  background: #ffffff;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 26px;
  position: relative;
  overflow: hidden;
}

.hero-card-inner::before {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at top right, rgba(20, 184, 166, 0.3), transparent 55%);
  top: -40%;
  right: -40%;
  opacity: 0.7;
}

.hero-card-inner h3 {
  position: relative;
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.hero-location {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.hero-price {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-warm);
  margin-bottom: 12px;
}

.hero-features {
  position: relative;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ===== About ===== */
.about-highlights {
  display: grid;
  gap: 16px;
}

.highlight-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.highlight-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card h3 {
  position: relative;
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.service-card p {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-card:hover::before {
  opacity: 1;
}

/* ===== Property cards ===== */
.property-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.property-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
}

.property-image {
  height: 190px;
  background-size: cover;
  background-position: center;
}

.property-body {
  padding: 16px 18px 18px;
}

.property-body h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.property-location {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.property-price {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.property-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.property-btn {
  display: inline-flex;
  font-size: 0.86rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  text-decoration: none;
  color: var(--primary);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.property-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: transparent;
  color: #ffffff;
}

/* ===== Contact ===== */
.contact-container {
  align-items: flex-start;
}

.contact-details {
  list-style: none;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-details li + li {
  margin-top: 4px;
}

.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 20px 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 0.84rem;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.2);
}

.full-width {
  width: 100%;
}

/* ===== Footer ===== */
footer {
  background: #020617;
  color: #e5e7eb;
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.contact-details .footer-img {
  width: 300px; /* Adjust this value (e.g., 80px, 150px) to control the logo's width */
  height: auto; /* Ensures the image maintains its aspect ratio */
  margin-bottom: 12px; /* Adds a little space below the logo before the text starts */
}

.back-to-top {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.84rem;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-container,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-container {
    padding-top: 30px;
  }

  .hero-section {
    padding-top: 70px;
  }

  .hero-card {
    order: -1;
  }

  nav ul {
    position: absolute;
    inset: 60px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 16px 20px 10px;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  nav ul.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-stats {
    gap: 12px;
  }
}
