:root{
  /* Light Mint palette */
  --bg:#F6FBFA;            /* page background */
  --card:#FFFFFF;          /* card surfaces */
  --muted:#4E6161;         /* secondary text */
  --text:#0F1A1A;          /* primary text */

  --brand:#28C9B9;         /* mint primary */
  --brand-600:#20B6A8;     /* hover/active */
  --brand-700:#159F91;     /* deeper mint */

  --ring:rgba(40,201,185,.22);
  --shadow:0 8px 18px rgba(15,26,26,.10), 0 2px 6px rgba(15,26,26,.06);
  --radius-2xl:26px
}

* { box-sizing: border-box; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(40,201,185,.10), transparent),
    radial-gradient(900px 500px at 120% -10%, rgba(40,201,185,.08), transparent),
    linear-gradient(180deg, #F9FDFC, #F6FBFA 35%, #F4FAF8 70%, #F6FBFA);
  color:var(--text);
  display:grid; place-items:center; padding:24px; line-height:1.5;
}

.wrap{width:min(980px,100%);display:grid;gap:24px}

.card{
  position:relative; display:grid; gap:20px; padding:28px; border-radius:var(--radius-2xl);
  background: linear-gradient(180deg, rgba(40,201,185,.04), rgba(40,201,185,.02)), var(--card);
  border:1px solid rgba(15,26,26,.08);
  box-shadow: var(--shadow);
}

.row{display:grid;grid-template-columns:128px 1fr;gap:18px;align-items:center}

.avatar{
  width:128px; height:128px; border-radius:50%; object-fit:cover;
  border:2px solid rgba(40,201,185,.28);
  box-shadow:0 0 0 3px rgba(40,201,185,.08);
}

.id h1{margin:0 0 4px;font-size:clamp(22px,3vw,32px)}
.id p{margin:0;color:var(--muted)}

.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tag{
  font-size:14px; padding:6px 10px; border-radius:999px;
  background:linear-gradient(180deg, rgba(40,201,185,.12), rgba(40,201,185,.06));
  color:#0F1A1A; border:1px solid rgba(40,201,185,.22)
}

.actions{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 16px;border-radius:14px;font-weight:600;text-decoration:none;
  color:var(--text);
  background:linear-gradient(180deg, rgba(15,26,26,.02), rgba(15,26,26,.00));
  border:1px solid rgba(15,26,26,.10);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  min-height:44px;
}
.btn.primary{
  background:linear-gradient(180deg, rgba(40,201,185,.18), rgba(40,201,185,.10));
  border:1px solid rgba(40,201,185,.35);
}
.btn:hover,.btn:focus-visible{ transform:translateY(-2px); border-color:rgba(15,26,26,.20); outline:none }
.btn:active{ transform:translateY(0) scale(.98) }
.btn.primary:hover,.btn.primary:focus-visible{
  background:linear-gradient(180deg, rgba(32,182,168,.22), rgba(32,182,168,.12));
  box-shadow:0 0 0 3px var(--ring), 0 10px 22px rgba(21,159,145,.18);
  border-color:rgba(40,201,185,.55)
}

.mini{
  padding:12px;border-radius:12px;background:rgba(15,26,26,.03);
  border:1px solid rgba(15,26,26,.08);text-align:center;font-size:14px;color:#2a3a3a
}

.footer{display:flex;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:14px}

.chip{
  position:absolute; top:14px; right:14px; padding:8px 10px; border-radius:999px; font-weight:600; font-size:13px;
  border:1px solid rgba(15,26,26,.10);
  background:linear-gradient(180deg, rgba(40,201,185,.12), rgba(40,201,185,.06));
  color:#0F1A1A;
}

.qr-wrap{display:grid;gap:12px;place-items:center}
.qr-wrap img{width:200px;height:200px;background:#fff;padding:8px;border-radius:12px;border:1px solid rgba(15,26,26,.10)}

.qr-hint { display:none; color:var(--muted); }
@media (max-width: 560px) { .qr-hint { display:block; } }

/* Inputs */
.field{display:grid;gap:6px}
.input{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(15,26,26,.12);
  background:#fff; color:var(--text); font:inherit;
}
.input:focus{ outline:none; box-shadow:0 0 0 3px var(--ring); border-color:rgba(40,201,185,.45) }
textarea.input{ min-height:120px; resize:vertical }

.row-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px }

/* Responsive */
@media(max-width:560px){
  .row{grid-template-columns:96px 1fr}
  .avatar{width:96px;height:96px}
  .actions{grid-template-columns:1fr}
}

/* --- Hero image card (CSS-only carousel) --- */
.hero { padding: 0; overflow: hidden; }
.carousel { margin: 0; position: relative; }
.carousel .track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Hide horizontal scrollbar across browsers */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge legacy */
}
.carousel .track::-webkit-scrollbar{ width:0; height:0; }

.carousel img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: start; border-radius: inherit;
}

.carousel::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(246,251,250,.75)),
    radial-gradient(60% 60% at 50% 100%, rgba(40,201,185,.10), transparent 60%);
  pointer-events:none;
}

/* Slightly taller crop on small screens */
@media (max-width: 560px){ .carousel img{ aspect-ratio: 4 / 3; } }

/* --- Carousel affordances --- */
.carousel-dots{
  list-style:none; margin:0; padding:8px 10px;
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%);
  display:flex; gap:8px; align-items:center; justify-content:center;
  background:rgba(255,255,255,.85); border:1px solid rgba(15,17,21,.12);
  border-radius:999px; box-shadow:0 6px 14px rgba(15,17,21,.08);
}
.carousel-dots li{
  width:8px; height:8px; border-radius:50%;
  background:rgba(15,17,21,.35);
  transition:transform .15s ease, background-color .15s ease;
}
.carousel-dots li[aria-current="true"]{
  background:var(--brand-700);
  transform:scale(1.2);
}

.swipe-hint{
  position:absolute; right:12px; top:12px;
  padding:6px 10px; font-size:12px; font-weight:600;
  color:#0f1a1a; background:rgba(255,255,255,.90);
  border:1px solid rgba(15,17,21,.14); border-radius:999px;
  box-shadow:0 6px 14px rgba(15,17,21,.08);
  transition:opacity .25s ease, transform .25s ease;
}
.swipe-hint.hide{ opacity:0; transform:translateY(-4px); pointer-events:none }

.carousel-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border-radius:999px;
  border:1px solid rgba(15,17,21,.14);
  background:linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.75));
  color:#0f1a1a; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(15,17,21,.08);
  opacity:0; pointer-events:none; transition:opacity .15s ease, transform .15s ease;
}
.carousel-nav.prev{ left:12px }
.carousel-nav.next{ right:12px }
.hero:hover .carousel-nav,
.carousel-nav:focus-visible{ opacity:1; pointer-events:auto }
.carousel-nav:active{ transform:translateY(-50%) scale(.98) }
@media (hover:none){ .carousel-nav{ display:none } }

/* --- Video carousel (16:9) --- */
.video-carousel .video-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: start;
  border-radius: inherit;
  overflow: hidden;
  background: #000;
}
.video-carousel .video-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-carousel::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0) 65%, rgba(246,251,250,.65)),
    radial-gradient(60% 60% at 50% 100%, rgba(40,201,185,.08), transparent 60%);
  pointer-events:none;
}

/* Remove fade overlay on the video carousel */
.video-carousel::after{
  content: none !important;
  background: none !important;
}


/* A11y utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0;
}

/* Center the contact form submit button */
#contactForm{
  display: grid;
  gap: 12px;              /* keep spacing consistent */
}

#send-btn{
  justify-self: center;   /* centers inside the grid */
  min-width: 220px;       /* optional: nicer touch target */
  margin-top: 6px;        /* small breathing room */
}

