@font-face {
  font-family: EncodeSansCondensed;
  src: url(../fonts/EncodeSansCondensed-Regular.ttf);
}

@font-face {
  font-family: EncodeSans;
  src: url(../fonts/EncodeSans.ttf);
}

@font-face {
  font-family: GothamNarrowBold;
  src: url(../fonts/GothamNarrowBold.otf);
}

@font-face {
  font-family: WhitneyCond;
  src: url(../fonts/WhitneyCond-Medium.otf);
}

@font-face {
  font-family: WhitneyMedium;
  src: url(../fonts/Whitney-Medium.ttf);
}

@font-face {
  font-family: WhitneySemibold;
  src: url(../fonts/Whitney-Semibold.ttf);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    min-height: 100dvh; /* Mobile browser URL bar fix */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url(../images/bg.jpg);
    font-family: EncodeSans;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

.app-wrapper {
    flex: 1 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 15px;
    padding-bottom: 15px;
}

.card {
  width: 100%;
  max-width: 650px;
  container-type: inline-size;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  border: 1px solid #c7c7c7;
  z-index: 1;

  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body-4 {
    padding: 3.4cqw;

    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mt-auto-pinned {
    margin-top: auto;
    padding-top: 50px;
}

.footer-logo {
    max-width: 100%;
    height: 34.42cqw;
    object-fit: contain;
    display: block; 
    margin: 0 auto; /* Centers the image if it's smaller than the container */
}

.card-profile {
    width: 36.13cqw;          /* ~250px at 650px width */
    height: 42.93cqw;         /* ~297px at 650px width */
    border: 1px solid #666;
}

.card-name {
    font-size: 6.77cqw;        /* ~44px at 650px width */
    font-family: GothamNarrowBold;
}

.card-attribute {
    font-size: 5.23cqw;        /* ~34px at 650px width */
    font-family: EncodeSansCondensed;
    font-weight: 500;
}

.contact-icon {
    height: 14px;
}

.contact-icon_2 {
    width: 20px;
    height: 18px;
}

.contact-icon_3 {
    width: 18px;
}

.box-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ececec;
    border: 1px solid #c7c7c7;
    border-radius: 5px;
    padding: 8px 24px;
    color: #000;
    font-weight: 600;
    width: 84.62cqw; /* ~550px at 650px width */
    margin-top: 10px;

    font-size: clamp(12px, 3.5cqw, 20px); 
    white-space: nowrap;
    overflow: hidden;
}

/* Special Treatment */
a.phone-link,
a[href^="tel"] {
    color: inherit !important;          /* Inherits body text color (or set #000000 explicitly) */
    text-decoration: none !important;  /* Removes underline */
}

/* Fix for state changes when tapped/focused */
a.phone-link:hover,
a.phone-link:focus,
a.phone-link:active,
a.phone-link:visited {
    color: inherit !important;
    text-decoration: none !important;
}

a.phone-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none !important;  /* Stops mobile tap actions completely */
    cursor: default;
}

.custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    padding: 12px 50px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background-color: #005baa;
}


/* General */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.vertical-top {
    vertical-align: top;
}

.vertical-bottom {
    vertical-align: bottom;
}

.my-60 {
    margin-top: 60px;
    margin-bottom: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}


.mr-30 {
    margin-right: 12px;
}

/* Animation */
@keyframes slideFadeFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-down {
    animation: slideFadeFromTop 0.8s ease-out forwards;
}

.animate-slide-down {
    animation: slideFadeFromTop 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}