/* Base */
@font-face {
  font-family: "SF-Pro-Regular-Text";
  src: url("../assests/fonts/SF-PRO-Text/SF-Pro-Text-Regular.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF-Pro-Semi-Bold-Text";
  src: url("../assests/fonts/SF-PRO-Text/SF-Pro-Text-Semibold.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF-Pro-Bold-Text";
  src: url("../assests/fonts/SF-PRO-Text/SF-Pro-Text-Bold.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --text: #111116;
  --muted: #66717f;
  --border: #e6e8ef;
  --primary: #fb5650;
  --bg: #f7f8f9;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "SF-Pro-Regular-Text";
  color: var(--text);
  background: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.downloads-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 9;
}

.downloads-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1216px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.downloads-header .brand img {
  height: 28px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-family: "SF-Pro-Semi-Bold-Text";
}

.btn-link img {
  width: 18px;
  height: 18px;
}

/* Main */

#downloads{
  margin: 150px 0px 68px;
}
#downloads .container {
  width: 1216px;
  max-width: 100%;
  margin: 40px auto;
  padding: 0 16px;
}

#downloads h1 {
  font-family: "SF-Pro-Semi-Bold-Text";
  font-size: 40px;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

#downloads .intro {
  color: var(--muted);
  margin: 0 0 24px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.card header {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.card h2 {
  font-family: "SF-Pro-Semi-Bold-Text";
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #eef2f6;
  color: #334155;
  font-size: 12px;
  font-family: "SF-Pro-Semi-Bold-Text";
}

.card p {
  margin: 12px 0 16px 0;
  color: #3c4351;
}

.download {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: max-content;
  cursor: pointer;
  color: var(--primary);
  font-family: "SF-Pro-Semi-Bold-Text";
  font-size: 16px;
  line-height: 125%;
}

.download img {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}


/* Footer */
.downloads-footer {
  margin-top: 40px;
  background: var(--black);
  color: var(--white);
}

.downloads-footer-inner {
  width: 1216px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px;
  text-align: center;
}

.download #get-quote {
  color: var(--Primary-Base-White, var(--Primary-Base-White, #fff));
  background: var(--primary-primary, #fb5650);
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  border-radius: 10000px;
  border: none;
}
.download #get-quote img {
  height: 24px;
  width: 24px;
}
.download #get-quote img {
  z-index: 5;
  position: relative;
}
.download #get-quote span {
  z-index: 5 !important;
  position: relative;
}
.download #get-quote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-primary-d-1, #d23d37);
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  border-radius: 1000px;
  animation: HoverOut 0.5s forwards;
}
@keyframes HoverOut {
  0% {
    width: 101%;
  }
  100% {
    width: 0%;
  }
}
.download #get-quote:hover {
  color: var(--light-white, var(--Primary-Base-White, #fff));
}
.download #get-quote:hover::after {
  animation: HoverIn 0.5s forwards ease-in-out;
}
@keyframes HoverIn {
  0% {
    width: 0%;
  }
  100% {
    width: 101%;
  }
}
