html, body {
    height: 100%;
}

.page-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hackathon-image {
    width: 700px;
    max-width: 100%;
    height: auto;
}

.page-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.brand {
    display: flex;
    align-items: center; /* Vertically aligns the logo and text */
    gap: 15px;           /* Space between the logo and the text */
}

.brand-text h2,
.brand-text h5 {
    margin: 0;
}

.brand-text h5 {
    margin-top: 5px;
    color: #666;
}


.services {
    max-width: 1300px;
    margin: 70px auto;
    padding: 20px;
}

.services h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
    color: #143d66;
}

.subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,.18);
}

.card h2 {
    color: #0b5fa5;
    margin-bottom: 20px;
}

.card p {
    line-height: 1.7;
}

.card ul {
    padding-left: 20px;
    line-height: 1.8;
}

.card-icon {
    width: 90px;
    display: block;
    margin: 0 auto 20px;
}

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


/* Content stays readable */
.page-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 4rem 2rem;
  padding-top: 6rem; /* adjust to navbar height */  
}

body {
    padding-top: 55px;
    display: flex;
    text-align: center;
    flex-direction: column;
}

main {
    margin: auto;
    padding: 25px;
    flex: 1 0 auto;
    max-width: 750px;
}

img {
    max-width: 100%;
}

/* Homepage */

.intro {
    transform: translateY(22vh);
}

.intro > h1 {
    color: #212121;
    font-size: 12vh;
}

.intro > h2 {
    color: #757575;
    font-size: 3vmin;
}

/* Page content */

.content {
    padding-top: 20px;
}

/* Profile picture */

.profile {
    width: 10vh;
    height: 10vh;
    border-radius: 50%;
}

/* Colored links */

a:link, a:visited {
    color: var(--accent);
}

a.icon:hover {
    text-decoration: none;
}

a:hover {
    color: var(--accent) !important;
}

/* Copyright message */

.copyright {
    margin: 15px 0;
}

/* Paginator */

.pages {
    padding: 15px 0;
}

.pages-icon {
    padding: 0 15px;
}

/* List item for posts/projects */

.item {
    padding: 10px 0;
}

.item-tag {
    background-color: var(--accent);
}

/* Navigation icons */

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

/* Colored borders at top/bottom of page */

.navbar.navbar-default {
    border-top: var(--border-width) solid var(--accent);
}

footer {
    border-bottom: var(--border-width) solid var(--accent);
}
