.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #283b66; /* initial */
  transition: background-color 0.3s ease;
  z-index: 1000;
}

/* Change color on scroll */
.navbar.scrolled {
  background-color: rgba(40, 59, 102, 0.9);
}

/* Logo */
.navbar .logo {
  height: 60px;
}

.main-page {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .main-page {
    padding-top: 80px;
  }
}

@media (max-width: 375px) {
  .main-page {
    padding-top: 90px;
  }
}

/* Base card styling */
/* Base card styling */
.card {
  position: relative;
  background-color: var(--card-bg, #fff);
  border-radius: 12px;
  padding: 40px 20px 20px; /* add more top padding for icons/text */
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  /* overflow: hidden; */
}

/* Top accent border - sits above content */
.card-top-border {
  position: absolute;
  top: 0; /* stick to very top */
  left: 0;
  right: 0;
  height: 8px;
  background-color: #b88e23;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 0;
}

/* Number badge */
.card-number {
  position: absolute;
  top: -16px; /* floats above border */
  left: 40%;
  background-color: #b88e23;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 2;
  font-size: larger;
}

/* Font Awesome icons */
.card-icon {
  font-size: 28px;
  color: #b88e23;
  margin-bottom: 10px; /* spacing under icon */
}

/* Hover effect */
.card:hover {
  transform: translateY(-6px);
}

.hyphenate {
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/Libre_Baskerville/LibreBaskerville-BoldItalic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DM_Sans/static/DMSans-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
