/* ===========================
   2tr — Design System
   Aesthetic: Refined Dark Navy | Teal Glow | Gold Accent
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:      #0d1b2a;
  --navy-mid:  #132338;
  --navy-card: #1a2e44;
  --teal:      #2ec4b6;
  --teal-dim:  #1a8f86;
  --gold:      #f4a825;
  --gold-dim:  #c98b1e;
  --white:     #f0f4f8;
  --muted:     #8baab8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 28px rgba(46,196,182,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --bg:     #0d1b2a;
  --card:   #1a2e44;
  --border: rgba(255,255,255,0.09);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
}

/* Radial gradient bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(46,196,182,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(244,168,37,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(19,35,56,0.95) 0%, var(--navy) 100%);
  pointer-events: none;
}

/* Animated grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(46,196,182,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,196,182,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridDrift 25s linear infinite;
}

@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ── Sticky Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(13,27,42,0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,196,182,0.12);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--teal);
  background: rgba(46,196,182,0.1);
  text-decoration: none;
}
.nav-links a.btn-signup {
  color: var(--navy);
  background: var(--teal);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.nav-links a.btn-signup:hover {
  background: var(--teal-dim);
  color: var(--navy);
}

/* ── Notification bell ── */
.notif-bell {
  position: relative;
  display: flex !important;
  align-items: center;
  padding: 7px 10px !important;
}
.notif-icon { font-size: 1rem; line-height: 1; }
.notif-badge {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.58rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ── Notification cards ── */
.notif-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--navy-card);
  border: 1px solid rgba(46,196,182,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.notif-card:hover {
  border-color: rgba(46,196,182,0.35);
  background: rgba(46,196,182,0.04);
  text-decoration: none;
  color: var(--white);
}
.notif-card.notif-unread {
  border-color: rgba(244,168,37,0.4);
  background: rgba(244,168,37,0.05);
}
.notif-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.notif-card-body { flex: 1; }
.notif-card-msg { margin: 0 0 4px; font-size: 0.92rem; font-weight: 500; color: var(--white); }
.notif-card-meta { font-size: 0.76rem; color: var(--muted); }

/* ── Page wrapper ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 65px);
  padding: 48px 32px 72px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Typography ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
}
h1 .teal { color: var(--teal); }
h1 .gold { color: var(--gold); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
}

h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p { color: var(--muted); line-height: 1.75; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 20px 64px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(244,168,37,0.1);
  border: 1px solid rgba(244,168,37,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 30px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 500px;
  margin: 22px auto 0;
}

/* ── Home Cards ── */
.home-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--navy-card);
  border: 1px solid rgba(46,196,182,0.12);
  color: var(--white);
  padding: 44px 28px 36px;
  min-height: 220px;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,196,182,0.07), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(46,196,182,0.4);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  text-decoration: none;
  color: var(--white);
}
.card-icon {
  font-size: 2.2rem;
  line-height: 1;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,196,182,0.12);
  border: 1px solid rgba(46,196,182,0.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover .card-icon { transform: scale(1.08); }
.card.gold-card .card-icon {
  background: rgba(244,168,37,0.12);
  border-color: rgba(244,168,37,0.25);
}
.card-label { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.card-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  max-width: 200px;
}

.card.teal-card {
  border-color: rgba(46,196,182,0.45);
  background: linear-gradient(160deg, rgba(46,196,182,0.09) 0%, var(--navy-card) 55%);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(46,196,182,0.14);
}
.card.teal-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-dim), var(--teal));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card.teal-card::before {
  background: linear-gradient(135deg, rgba(46,196,182,0.12), transparent 55%);
  opacity: 0.6;
}
.card.teal-card:hover {
  border-color: rgba(46,196,182,0.7);
  box-shadow: var(--shadow-card), 0 0 36px rgba(46,196,182,0.28);
}
.card.teal-card:hover::before { opacity: 1; }

.card.gold-card {
  border-color: rgba(244,168,37,0.45);
  background: linear-gradient(160deg, rgba(244,168,37,0.09) 0%, var(--navy-card) 55%);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(244,168,37,0.14);
}
.card.gold-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card.gold-card::before {
  background: linear-gradient(135deg, rgba(244,168,37,0.1), transparent 55%);
  opacity: 0.6;
}
.card.gold-card:hover {
  border-color: rgba(244,168,37,0.7);
  box-shadow: var(--shadow-card), 0 0 36px rgba(244,168,37,0.28);
}
.card.gold-card:hover::before { opacity: 1; }


/* ── Page header ── */
.page-header { margin-bottom: 36px; }
.page-header h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.page-header h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(46,196,182,0.3), transparent);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(46,196,182,0.09);
  border: 1px solid rgba(46,196,182,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

/* ── Filters ── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.filters select {
  appearance: none;
  background: var(--navy-card);
  color: var(--white);
  border: 1px solid rgba(46,196,182,0.2);
  padding: 10px 40px 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232ec4b6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.filters select:hover { border-color: rgba(46,196,182,0.5); }
.filters select:focus { outline: none; border-color: var(--teal); }
.filters select option { background: var(--navy-card); }

/* ── Profile Grid ── */
#profiles, .profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}
#profiles > p {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
}

.profile-card {
  background: var(--navy-card);
  border: 1px solid rgba(46,196,182,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.profile-card:hover { transform: translateY(-5px); border-color: rgba(46,196,182,0.3); }
.profile-card:hover::before { opacity: 1; }

.profile-img {
  width: 86px; height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(46,196,182,0.25);
  margin-bottom: 14px;
  background: var(--navy-mid);
}
.profile-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.profile-card p { font-size: 0.83rem; color: var(--muted); margin-bottom: 4px; }
.profile-card p strong { color: var(--teal); font-weight: 500; }

/* ── Form ── */
.form-wrap {
  max-width: 500px;
  margin: 0 auto;
}
.form-card {
  background: var(--navy-card);
  border: 1px solid rgba(46,196,182,0.12);
  padding: 40px 38px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="file"],
textarea,
select {
  width: 100%;
  background: rgba(13,27,42,0.65);
  color: var(--white);
  border: 1px solid rgba(46,196,182,0.18);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  margin: 0;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,0.12);
}
textarea { resize: vertical; min-height: 100px; }
input[type="file"] { color: var(--muted); cursor: pointer; padding: 10px; }
select { appearance: none; cursor: pointer; }
select option { background: var(--navy); }
select[multiple] { height: 140px; padding: 8px; }
select[multiple] option { padding: 6px 10px; border-radius: 4px; }
select[multiple] option:checked {
  background: rgba(46,196,182,0.2);
  color: var(--teal);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(46,196,182,0.28);
  margin-top: 8px;
}
.btn:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(46,196,182,0.38); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  box-shadow: none;
}
.btn-outline:hover {
  background: rgba(46,196,182,0.08);
  opacity: 1;
  box-shadow: none;
}

.card.btn-outline {
  background: rgba(46,196,182,0.22);
  border: 1.5px solid rgba(46,196,182,0.7);
  box-shadow: 0 4px 18px rgba(46,196,182,0.12);
  color: var(--white);
}
.card.btn-outline .card-desc { color: rgba(255,255,255,0.75); }
.card.btn-outline:hover {
  background: rgba(46,196,182,0.32);
  border-color: var(--teal);
  box-shadow: 0 0 28px rgba(46,196,182,0.28);
  color: var(--white);
}
.card.gold-card.btn-outline {
  background: rgba(244,168,37,0.22);
  border-color: rgba(244,168,37,0.7);
  box-shadow: 0 4px 18px rgba(244,168,37,0.12);
}
.card.gold-card.btn-outline:hover {
  background: rgba(244,168,37,0.32);
  border-color: rgba(244,168,37,0.9);
  box-shadow: 0 0 32px rgba(244,168,37,0.28);
}

/* ── Messages ── */
#message {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.95rem;
  min-height: 24px;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 40px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.back-link:hover {
  color: var(--teal);
  border-color: rgba(46,196,182,0.3);
  background: rgba(46,196,182,0.06);
  text-decoration: none;
}

/* ── About ── */
.about-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--navy-card);
  border: 1px solid rgba(46,196,182,0.12);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-card);
}
.about-card h2 { margin-bottom: 20px; }
.about-card p  { margin-bottom: 16px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(46,196,182,0.06);
  border: 1px solid rgba(46,196,182,0.14);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--white);
}
.contact-row .icon { font-size: 1.2rem; }
.contact-row a { color: var(--teal); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,196,182,0.2), transparent);
  margin: 32px 0;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(46,196,182,0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 24px rgba(46,196,182,0.08);
  padding: 48px 32px 28px;
  margin-top: 60px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,196,182,0.3) 30%, rgba(46,196,182,0.3) 70%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
}
.footer-brand .footer-logo span { color: var(--teal); }
.footer-brand p {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted);
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-popia {
  max-width: 1100px;
  margin: 0 auto 20px;
  font-size: 0.75rem;
  color: rgba(139,170,184,0.55);
  line-height: 1.65;
}
.footer-popia a { color: rgba(46,196,182,0.7); text-decoration: none; }
.footer-popia a:hover { color: var(--teal); }
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(139,170,184,0.5);
  border-top: 1px solid rgba(46,196,182,0.08);
  padding-top: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(46,196,182,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--teal); }
.faq-question .faq-icon {
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── How It Works ── */
.how-section {
  max-width: 920px;
  margin: 72px auto 0;
  padding-top: 8px;
}
.how-header {
  text-align: center;
  margin-bottom: 48px;
}
.how-header h2 {
  font-size: 1.9rem;
  margin: 8px 0 0;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 40px;
}
.how-divider {
  background: var(--border);
}
.how-col-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}
.how-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.how-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(46,196,182,0.12);
  border: 1px solid rgba(46,196,182,0.3);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.how-step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 3px;
}
.how-step p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .site-nav { padding: 12px 16px; }
  .page-wrapper { padding: 28px 18px 60px; }
  .home-buttons { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .how-divider { display: none; }
  .about-card, .form-card { padding: 28px 24px; }
  .filters { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 36px 18px 24px; }
}

/* ════════════════════════════════════
   SLIDESHOW — index.html only
   ════════════════════════════════════ */

.slideshow {
  position: fixed;
  inset: 0;
  z-index: -1;          /* sits behind everything */
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 15%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* ── Loading spinner ── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(46,196,182,0.18);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 64px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Mobile hamburger nav ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .site-nav { position: relative; flex-wrap: wrap; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13,27,42,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(46,196,182,0.15);
    z-index: 200;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 16px; font-size: 0.95rem; }
  .nav-links a.btn-signup { margin-top: 4px; text-align: center; }
}

/* Dark overlay so text stays readable over the photos */
.slideshow-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.62);
  z-index: 1;
}

.profile-detail-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); gap: 16px; } .profile-detail-row:last-child { border-bottom: none; } .detail-label { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); min-width: 120px; padding-top: 2px; } .profile-detail-row span:last-child { text-align: right; }

/* ── Job / Bid row lists (my-jobs.html, my-bids.html) ── */
.job-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.job-row-info          { flex: 1; min-width: 200px; }
.job-row-info h4       { margin: 0 0 6px; font-size: 1rem; }
.job-row-info p        { margin: 0; font-size: 0.84rem; color: var(--muted); }
.job-row-actions       { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.bid-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 14px;
}
.bid-row h4            { margin: 0 0 6px; font-size: 1rem; }
.bid-row p             { margin: 0 0 4px; font-size: 0.84rem; color: var(--muted); }
.bid-row .bid-note     { font-style: italic; margin-top: 8px; font-size: 0.83rem; color: var(--muted); }
.phone-reveal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  margin-top: 10px;
  font-size: 0.88rem;
  display: inline-block;
}
.phone-reveal strong   { color: var(--teal); }
.badge-open     { background: #d4edda; color: #155724; border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 600; }
.badge-closed   { background: #f8d7da; color: #721c24; border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 600; }
.badge-pending  { background: #fff3cd; color: #856404; border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 600; }
.badge-accepted { background: #d4edda; color: #155724; border-radius: 20px; padding: 3px 12px; font-size: 0.78rem; font-weight: 600; }
.bid-count      { font-size: 0.82rem; color: var(--muted); }
.btn-sm         { font-size: 0.85rem; padding: 7px 16px; }
.empty-jobs, .empty-bids { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-jobs a, .empty-bids a { color: var(--teal); text-decoration: none; font-weight: 600; }
