@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-400.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto-500.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/roboto-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #f9f9f9;
  font-family: "Roboto", sans-serif;
  color: #111111;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 40px;
}

/* Card */
.card {
  background-color: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 720px;
  padding: 32px 24px;
  gap: 0;
}

/* Logo column */
.col-logo {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 24px;
}

.logo {
  display: block;
  width: 175px;
  height: auto;
}

/* Info column */
.col-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #8a8a8a;
  padding-left: 24px;
  gap: 0;
}

/* Name + Designation grouped tightly */
.myId {
  margin-bottom: 18px;
}

.myName {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: #111111;
}

.myDesignation {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  color: #111111;
  margin-top: 2px;
}

/* Contact info */
.contactInfo {
  margin-bottom: 18px;
}

.contactInfo p {
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #7a7a7a;
  margin: 0;
}

.contactInfo a { color: #7a7a7a; text-decoration: none; }
.contactInfo a:hover { text-decoration: underline; }

/* vCard button */
.btn-vcard {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-vcard:hover { opacity: 0.8; }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000000;
  border-radius: 3px;
  padding: 3px 5px;
}

.btn-vcard svg {
  width: 12px;
  height: 12px;
  fill: #000000;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  body { padding: 24px 12px; }
  .card { flex-direction: column; padding: 24px 16px; }
  .col-logo { flex: 0 0 auto; width: 100%; padding-right: 0; padding-bottom: 16px; justify-content: flex-start; }
  .col-info { border-left: none; border-top: 1px solid #8a8a8a; padding-left: 0; padding-top: 16px; }
}

/* 404 page: single-column card variant (no logo to the left, so no divider). */
.col-info.not-found {
  border-left: none;
  padding-left: 0;
  width: 100%;
}
