/* ==========================================================
   NATURAL ASILIA — AGENTS PAGE STYLES (agent.css)
   ========================================================== */

:root{
  --brand: #652b7b;
  --brand-dark: #4b1f5b;
  --gold: #d6b24b;
  --bg-soft: #faf6ef;
}

body{ font-family:'Poppins', sans-serif; color:#333; }

/* ---------- Page hero ---------- */
.agent-hero{
  position: relative;
  width: 100%;
  padding: 70px 20px 90px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(214,178,75,0.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.08), transparent 40%),
    var(--brand);
}
.agent-hero h1{
  color:#fff;
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size: clamp(30px, 4.5vw, 52px);
  margin-bottom: 12px;
}
.agent-hero p{
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 17px;
}

.btn-whatsapp-hero{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: #25D366;
  color:#fff;
  font-weight:700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 40px;
  text-decoration:none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: background .2s ease, transform .2s ease;
}
.btn-whatsapp-hero:hover{ background:#1ebd5a; color:#fff; transform: translateY(-2px); }
.btn-whatsapp-hero i{ font-size: 19px; }

/* ---------- Quick facts strip ---------- */
.facts-strip{
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(101,43,123,0.12);
  margin-top: -55px;
  position: relative;
  z-index: 5;
  padding: 10px;
}
.fact-item{ text-align:center; padding: 22px 16px; }
.fact-item .fact-num{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color: var(--brand);
  font-size: 30px;
  line-height:1;
  margin-bottom:6px;
}
.fact-item .fact-label{
  font-size: 13px;
  color:#666;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* ---------- Section shell ---------- */
.section{ padding: 70px 0; }
.section-head .eyebrow,
.eyebrow{
  display:inline-block;
  color: var(--gold);
  font-weight:700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}
.section-head h2,
.section-title{
  font-family:'Playfair Display', serif;
  color: var(--brand);
  font-weight:700;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}
.lead-text{ color:#555; font-size:16px; line-height:1.8; }

/* ==========================================================
   AGENT SEARCH BAR
   ========================================================== */
.agent-search-bar{
  background:#fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(101,43,123,0.08);
  padding: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.search-input-group,
.search-select-group{
  display:flex;
  align-items:center;
  gap:10px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px 16px;
}
.search-input-group{ flex: 2 1 260px; }
.search-select-group{ flex: 1 1 200px; }
.search-input-group i,
.search-select-group i{ color: var(--brand); font-size: 16px; }
.agent-search-bar input,
.agent-search-bar select{
  border:0;
  background:transparent;
  width:100%;
  font-size: 14.5px;
  color:#333;
  font-family:'Poppins', sans-serif;
}
.agent-search-bar input:focus,
.agent-search-bar select:focus{ outline:none; }
.agent-search-bar select{ cursor:pointer; }

.agent-no-results{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 40px 20px;
  text-align:center;
  color:#777;
}
.agent-no-results i{ font-size: 28px; color: var(--gold); }
.agent-no-results p{ margin:0; font-size: 14.5px; }

/* ==========================================================
   AGENTS TABLE
   ========================================================== */
.agent-table-card{
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 35px rgba(101,43,123,0.1);
}

.agent-table{
  width:100%;
  border-collapse: collapse;
  margin:0;
}
.agent-table thead th{
  background: var(--brand);
  color:#fff;
  font-weight:700;
  font-size: 13px;
  text-transform:uppercase;
  letter-spacing:.6px;
  padding: 18px 22px;
  text-align:left;
  white-space: nowrap;
}
.agent-table tbody td{
  padding: 16px 22px;
  font-size: 14.5px;
  color:#444;
  border-bottom: 1px solid #f0eaf5;
}
.agent-table tbody tr:nth-child(even){ background: var(--bg-soft); }
.agent-table tbody tr:hover{ background: #f3e9f7; }
.agent-table tbody tr:last-child td{ border-bottom:0; }

.region-pill{
  display:inline-block;
  background: var(--bg-soft);
  color: var(--brand-dark);
  font-weight:700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 30px;
}

.phone-link{
  color: var(--brand);
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
}
.phone-link:hover{ color: var(--brand-dark); text-decoration: underline; }
.phone-link i{ color: var(--gold); }

.table-note{
  text-align:center;
  color:#666;
  font-size: 14px;
  margin: 22px 0 0;
}
.table-note i{ color: var(--gold); margin-right:4px; }
.table-note a{ color: var(--brand); font-weight:600; text-decoration:none; }
.table-note a:hover{ text-decoration:underline; }

/* ==========================================================
   BECOME AN AGENT (recruitment band)
   ========================================================== */
.become-agent-band{
  background: var(--brand);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 15px 40px rgba(101,43,123,0.18);
}

.become-agent-img{
  width:100%;
  height:100%;
  min-height: 280px;
  overflow:hidden;
}
.become-agent-img img{
  width:100%;
  height:100%;
  min-height: 280px;
  max-height: 420px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.become-agent-body{
  padding: 44px 44px 44px 40px;
  color:#fff;
}
.eyebrow-light{ color: var(--gold); }
.become-agent-body h3{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 8px 0 16px;
}
.become-agent-body p{
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  line-height:1.8;
  margin-bottom: 20px;
}
.become-agent-list{
  list-style:none;
  padding:0;
  margin: 0 0 28px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.become-agent-list li{
  font-size: 14.5px;
  color: rgba(255,255,255,0.92);
  display:flex;
  align-items:center;
  gap:8px;
}
.become-agent-list li i{ color: var(--gold); font-size:15px; }

.become-agent-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-brand-light{
  display:inline-flex;
  align-items:center;
  background:#fff;
  color: var(--brand);
  font-weight:700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration:none;
  transition: background .2s ease, transform .2s ease;
}
.btn-brand-light:hover{ background: var(--gold); color:#fff; transform: translateY(-2px); }

.btn-whatsapp-outline{
  display:inline-flex;
  align-items:center;
  background: transparent;
  color:#fff;
  font-weight:700;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.6);
  text-decoration:none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-whatsapp-outline:hover{ background:#25D366; border-color:#25D366; color:#fff; transform: translateY(-2px); }

/* ==========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================== */
.whatsapp-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background:#25D366;
  color:#fff;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  text-decoration:none;
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); color:#fff; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 767px){
  .agent-table-card{ background:transparent; box-shadow:none; overflow:visible; }
  .agent-table thead{ display:none; }

  .agent-table,
  .agent-table tbody{ display:block; width:100%; }

  /* Two agent cards per row on phones (Android/iOS) */
  .agent-table tbody{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .agent-table tbody tr{
    display:block;
    background:#fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(101,43,123,0.08);
    border-bottom:0;
  }

  .agent-table tbody td{
    display:block;
    width:100%;
    border-bottom:0;
    padding: 5px 0;
    font-size: 13px;
    word-break: break-word;
  }
  .agent-table tbody td::before{
    content: attr(data-label);
    display:block;
    font-size: 10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
    color: var(--gold);
    margin-bottom: 2px;
  }

  .region-pill{ font-size: 11px; padding: 4px 10px; }
  .phone-link{ font-size: 13px; white-space: normal; }

  .agent-search-bar{ flex-direction: column; }
  .search-input-group,
  .search-select-group{ flex: 1 1 100%; }

  .become-agent-img img{ min-height: 220px; max-height: 260px; }
  .become-agent-body{ padding: 32px 24px; }
  .become-agent-list{ grid-template-columns: 1fr; }
  .become-agent-actions{ flex-direction: column; }
  .become-agent-actions a{ width:100%; justify-content:center; }
}

/* Single column on very narrow phones so cards stay readable */
@media (max-width: 400px){
  .agent-table tbody{ grid-template-columns: 1fr; }
}