@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p, button, span {
  font-family: 'poppins', sans-serif;
}



/* =============================================
   PAGE — building photo background
============================================= */
.smba-card {
  width: 100vw;
  min-height: 100vh;
  background-image: 
   linear-gradient(rgba(0, 0, 0, 71%), rgba(0, 0, 0, 71%)), 
   url('/wp-content/uploads/2026/03/image-6-2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 40px;
}

/* =============================================
   CARD WRAPPER
============================================= */
.smba-wrapper {
  width: 300px;
  /*background: #1a2233;*/
  border-radius: 20px;
  overflow: visible;
  isolation: isolate;
transform: translateZ(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 0;
}

/* =============================================
   TOP BAR — orange block with logo
============================================= */
.smba-top-bar {
  width: 100%;
  height: 190px;
  /*background: #ff4500;*/
  color: rgba(255,255,255,0.75);
  /*border-radius: 20px 20px 0 0;*/
  position: relative;
  display: flex;
  /*justify-content: flex-end;*/
  /*align-items: flex-start;*/
  /*padding: 14px 14px 0 0;*/
}

.orange{
    background: #ff4500;
    width: 55%;
    border-top-left-radius: 20px;
    
}

.smba-logo{
    width:45%;
    background: #2E343D;
    border-top-right-radius: 20px;
}

.smba-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-left: 15px;
  margin-top: 10px;
  /*filter: brightness(0) invert(1);*/
}

/* =============================================
   CIRCULAR PHOTO — sits over the orange/dark boundary
============================================= */
.smba-photo {
  width: 70%;
  height: 100%;
  max-height: 180px;
  border-radius: 80px;
  overflow: hidden;
  border: 4px solid #fff;
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #ccc;
}

/* Black and white filter to match Figma */
.smba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}

/* =============================================
   NAME BLOCK — left aligned, below photo space
============================================= */

.top-shelf{
    background: #2E343D;
    width: 100%;
}
.smba-name {
  width: 100%;
  padding: 80px 25px 0;
  margin-top: 35px;
  color: #fff;
  text-align: left;
}

.smba-last-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2px;
}

.smba-first-name {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
  font-family: 'poppins', sans-serif;
}

.smba-divider {
  width: 100%;
  height: 1px;
  background: #fff;
  margin-bottom: 8px;
}

.smba-company {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}

.smba-job-title {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   ABOUT ME
============================================= */
.smba-about {
  width: 100%;
  padding: 14px 25px 10px;
}

.smba-about-pill {
  display: inline-block;
  background: #ff4500;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 22px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-family: 'poppins', sans-serif;
}

.smba-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.smba-location i {
  color: #ff4500;
  font-size: 10px;
}

.smba-location span {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
}

.smba-bio {
  font-size: 9.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* =============================================
   SOCIAL ICONS
============================================= */
.smba-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  padding: 10px 20px;
  width: 100%;
}

.smba-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.smba-social:hover {
  transform: scale(1.12);
}

.smba-social a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
}

.smba-social.phone     { background: #058114; }
.smba-social.instagram { background: #E1306C; }
.smba-social.linkedin  { background: #0077B5; }
.smba-social.facebook  { background: #0C6BE8; }
.smba-social.globe     { background: #7B2FBE; }
.smba-social.share     { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); }

/* =============================================
   ACTION BUTTONS
============================================= */
.smba-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 20px 18px;
  width: 100%;
  background: #fff;
  /*border-radius: 0;*/
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.smba-add-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ff4500;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: 'poppins', sans-serif;
}

.smba-add-contact:hover {
  background: #e03d00;
}

.smba-add-contact i {
  font-size: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smba-icon-btn {
  width: 30px;
  height: 30px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ff4500;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.smba-icon-btn a {
  color: #ff4500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.smba-icon-btn:hover {
  background: #e8e8e8;
}

/* =============================================
   CONNECT BUTTON
============================================= */
.smba-connect {
  width: 100%;
  padding: 16px 20px 12px;
  display: flex;
  justify-content: center;
}

.smba-connect-btn {
  width: 60%;
  padding: 13px;
  background: #ff4500;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'poppins', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255,69,0,0.35);
}

.smba-connect-btn:hover {
  background: #e03d00;
  transform: translateY(-1px);
}

/* =============================================
   TOTAL CONTACTS — single centred pill
============================================= */
.smba-count {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 20px 20px;
}

.smba-count span {
  background: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  color: rgba(0,0,0,0.5);
  font-size: 10px;
  font-family: 'poppins', sans-serif;
  font-weight: 600;
}

/* =============================================
   SHARE + CONNECT POPUPS — reuse global styles
   (these are already in inch-hub-card.css but
    since each brand loads its own CSS we include
    the popup styles here too)
============================================= */
.popup-container {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: scale(1.1);
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-container:target {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.popup-content {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  width: 280px;
  position: relative;
}

.popup-content h3 {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  font-family: 'poppins', sans-serif;
}

.popup-content a.close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #aaa;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.qr-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.qr-share img {
  width: 190px;
  height: 190px;
  border-radius: 10px;
}

.qr-share button {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 12px;
  color: #000;
  cursor: pointer;
  font-family: 'poppins', sans-serif;
}

.connect-popup-container {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.connect-popup-container.popup-visible {
  opacity: 1;
}

.connect-popup-content {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  width: 90%;
  max-width: 320px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.connect-popup-container.popup-visible .connect-popup-content {
  transform: translateY(0);
}

.connect-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 14px;
  font-family: 'poppins', sans-serif;
}

.connect-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
}

.connect-form input,
.connect-form textarea {
  width: 100%;
  margin-bottom: 10px;
  font-size: 12px;
  padding: 10px 14px;
  border: 1.5px solid #eee;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: 'poppins', sans-serif;
}

.connect-form input:focus,
.connect-form textarea:focus {
  border-color: #ff4500;
}

.connect-form textarea {
  resize: vertical;
  min-height: 80px;
}

.send-btn {
  width: 100%;
  padding: 11px;
  background: #ff4500;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'poppins', sans-serif;
}

.send-btn:hover { background: #e03d00; }

.connect-success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  text-align: center;
  padding: 14px;
}

.connect-success-message p { font-size: 12px; }


/* =============================================
   SMALL MOBILE — up to 374px
   e.g. iPhone SE, older small Androids
============================================= */
@media (max-width: 374px) {
  .smba-wrapper { width: 260px; }
  .smba-top-bar { height: 160px; }
  .smba-photo { width: 68%; max-height: 200px; top: 45px; }
  .smba-name { padding: 70px 16px 0; margin-top: 20px; }
  .smba-first-name { font-size: 30px; }
  .smba-last-name { font-size: 11px; }
  .smba-about { padding: 10px 16px 8px; }
  .smba-bio { font-size: 9px; }
  .smba-socials { padding: 8px 12px; gap: 5px; }
  .smba-social { width: 25px; height: 25px; font-size: 9px; }
  .smba-actions { padding: 12px 14px; }
  .smba-add-contact { font-size: 8px; padding: 6px 10px; }
  .smba-icon-btn { width: 26px; height: 26px; font-size: 9px; }
  .smba-connect-btn { font-size: 12px; padding: 10px; width: 65%; }
}

/* =============================================
   REGULAR MOBILE — 375px to 767px
   e.g. iPhone 12/13/14, most Androids
============================================= */
@media (min-width: 375px) and (max-width: 767px) {
  .smba-wrapper { width: 300px; }
  .smba-top-bar { height: 180px; }
  .smba-photo { width: 72%; max-height: 220px; top: 50px; }
  .smba-name { padding: 78px 18px 0; margin-top: 22px; }
  .smba-first-name { font-size: 34px; }
  .smba-socials { padding: 8px 16px; gap: 6px; }
  .smba-social { width: 28px; height: 28px; }
  .smba-actions { padding: 14px 16px; }
  .smba-connect-btn { font-size: 13px; }
}

/* =============================================
   TABLET — 768px to 1023px
============================================= */
@media (min-width: 768px) and (max-width: 1023px) {
  .smba-card { padding: 40px 20px; }
  .smba-wrapper { width: 300px; }
  .smba-top-bar { height: 195px; }
  .smba-photo { width: 60%; max-height: 190px; top: 56px; }
  .smba-name { padding: 82px 25px 0; margin-top: 26px; }
  .smba-first-name { font-size: 36px; }
}

/* =============================================
   DESKTOP — 1024px and above
============================================= */
@media (min-width: 1024px) {
  .smba-card { padding: 40px 20px; }
  .smba-wrapper { width: 300px; }
  .smba-top-bar { height: 200px; }
  .smba-photo { width: 70%; max-height: 215px; top: 58px; }
  .smba-logo img { height: 40px; }
  .smba-name { padding: 85px 27px 0; margin-top: 55px; }
  .smba-first-name { font-size: 42px; }
  .smba-last-name { font-size: 14px; }
  .smba-company, .smba-job-title { font-size: 12px; }
  .smba-about { padding: 16px 27px 12px; }
  .smba-bio { font-size: 10px; }
  .smba-socials { padding: 12px 22px; }
  .smba-social { width: 32px; height: 32px; font-size: 12px; }
  .smba-actions { padding: 20px 22px; }
  .smba-add-contact { font-size: 10px; padding: 8px 16px; }
  .smba-icon-btn { width: 32px; height: 32px; font-size: 12px; }
  .smba-connect-btn { font-size: 15px; padding: 14px; }
  .smba-count span { font-size: 11px; padding: 11px 24px; }
}

/* =============================================
   LARGE DESKTOP — 1440px and above
============================================= */
@media (min-width: 1440px) {
  .smba-wrapper { width: 300px; }
  .smba-top-bar { height: 210px; }
  .smba-photo { width: 76%; max-height: 260px; top: 62px; }
  .smba-first-name { font-size: 46px; }
}