html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

#main {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: calc(74px);
  background:
      radial-gradient(circle at 8% 12%, rgba(243, 90, 90, 0.08), transparent 34%),
      radial-gradient(circle at 90% 18%, rgba(44, 82, 130, 0.08), transparent 36%),
      linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

@media (min-width: 992px) {
  #main {
    padding-top: 104px;
   }
}

@font-face {
    font-family: "Student Website Font";
    src:
    url("fonts/jaapokkisubtract-regular.a43215bfbbea.woff") format("woff"),
    url("fonts/Jaapokkisubtract-Regular.4944fa5d5956.otf") format("opentype");
}

.navbar-brand {
    font-family: "Student Website Font";
}

.hs-bg-primary{
    background-color: #f35a5a;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
    border-bottom: 2px solid transparent;
    transition: border-bottom .2s, color .2s;
}

#mainNav .navbar-nav li.nav-item a.nav-link:hover {
    color: #f35a5a;
    border-color: #f35a5a;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active {
    background: none;
    color: white;
    border-color: #f35a5a;
}

#mainNav .navbar-nav li.nav-item a.nav-link.active:hover {
    background: none;
    color: #f35a5a;
}

.masthead .masthead-avatar {
    width: 170px;
    height: 170px;
}

@media (min-width: 992px) {
    .masthead {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.masthead {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-image: url("../img/cover.b966962cbf0e.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.pro-page,
.pro-dashboard {
    flex: 1;
}

.pro-page-header h1 {
    color: #1f2f4a;
    font-weight: 700;
}

.pro-stat-card {
    background: #fff;
    border: 1px solid #dde5f0;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(31, 47, 74, 0.08);
}

.pro-stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.pro-stat-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1f2f4a;
}

.surface-card {
    background: #fff;
    border: 1px solid #dde5f0;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(31, 47, 74, 0.08);
    padding: 18px;
}

.surface-card-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.surface-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebf0f7;
}

.surface-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.surface-list li {
    padding: 9px 0;
    border-bottom: 1px solid #edf2f8;
    color: #334155;
}

.surface-list li:last-child {
    border-bottom: 0;
}

.surface-list small {
    color: #8a97aa;
}

.surface-link {
    color: #1f2f4a;
    text-decoration: none;
    font-weight: 600;
}

.surface-link:hover {
    color: #f35a5a;
}

.prose-content {
    color: #334155;
    line-height: 1.7;
}

.pro-page .table th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.pro-page .table td {
    color: #334155;
}

.pro-page form p {
    margin-bottom: 0.9rem;
}

.pro-page input,
.pro-page select,
.pro-page textarea {
    width: 100%;
    border: 1px solid #ced9e8;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
}

.pro-page input:focus,
.pro-page select:focus,
.pro-page textarea:focus {
    outline: none;
    border-color: #8ba7d3;
    box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.15);
}

@media (max-width: 991.98px) {
    .pro-stat-value {
        font-size: 1.35rem;
    }
}