@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 {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url(../images/bg.jpg);
    font-family: EncodeSans;
}

a {
    text-decoration: none;
}

.card {
  width: 100%;
  max-width: 650px;           /* Stays 650px max on desktop */
  container-type: inline-size;/* Enables container-width (cqw) units */
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  border: 1px solid #666;
  z-index: 1;
}

.card-body-3 {
    padding: 2.5cqw 3.4cqw;
}

.card-body-4 {
    padding: 3.4cqw;
}

.card-body-4, .card-body-3 {
  background: #ffffff;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 12px;         /* Position relative to bottom edge */
  width: 42%;           /* Shadow spans outward from center towards edges */
  height: 20%;
  max-height: 20px;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.4);
}

/* Left corner shadow - angled left */
.card::before {
  left: 10px;
  transform: rotate(-4deg);
}

/* Right corner shadow - angled right */
.card::after {
  right: 10px;
  transform: rotate(4deg);
}

.card-profile {
    width: 15.38cqw;          /* ~100px at 650px width */
    height: 18cqw;         /* ~125px at 650px width */
    border: 1px solid #666;
}

.card-name {
    font-size: 4cqw;        /* ~26px at 650px width */
    font-family: GothamNarrowBold;
}

.card-attribute {
    font-size: 3.54cqw;        /* ~23px at 650px width */
    font-family: WhitneyCond;
}

.card-line {
    background-color: #005baa;
    height: 1cqw;              /* Scaled accent line */
    display: block;
}

.card-footer-sb {
    font-family: WhitneySemibold;
}

.card-footer {
    font-size: 2.61cqw;        /* ~18px at 650px width */
    font-family: WhitneyMedium;
    white-space: nowrap;      /* Keeps table rows intact without wrapping */
}

.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;
}

.corner-logo {
    height: clamp(150px, 20vw, 300px);
    max-height: 150px;
    width: auto;
    display: block;
}

.tagline-logo {
    height: clamp(40px, 7vw, 100px);
    width: auto;
    max-height: 40px;
    display: inline-block;
}

.inst-text {
    font-size: 20px;
    font-weight: 500;
}

/* 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;
}


/* General */

.w-full {
    width: 100%;
}

.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;
}