body {
   background-color: rgb(30, 30, 84);
   padding-top: 10%;
   height: 100vh;
   display: flex;
   justify-content: center;
   align-items: center;
   font-family: 'Arial', sans-serif;
}

.virtual-contact-card {
   height: auto;
   max-width: 400px;
   padding: 20px;
   border-radius: 15px;
   background: linear-gradient(to bottom, #ffffff, #dfe9f3);
   box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
   color: #333;
   text-align: center;
   position: relative;
}

.card-header {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   position: relative;
   top: -60px;
   margin-bottom: -60px;
   /* Pulls content up without affecting the layout */
}

.sccwrp-logo {
   height: 150px;
}

.profile-pic {
   height: 150px;
   width: 150px;
   object-fit: cover;
   object-position: center top;
   border-radius: 50%;
   border: 5px solid #ffffff;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
   position: relative;
   margin-top: -100px;
}

.card-content {
   padding-top: 10px;
   /* Adjust padding to account for pulled-up profile pic */
}

.card-content h2 {
   font-size: 22px;
   margin: 10px 0;
}

.card-content .title {
   font-size: 18px;
   color: #666;
   margin-bottom: 10px;
}
/* 
.card-content .desc-container {
   text-align: center;
} */

.card-content .description {
   font-size: 14px;
   line-height: 1.6;
   color: #888;
}

.card-links {
   display: flex;
   flex-direction: column;
   margin-top: 20px;
}

.link-button {
   display: inline-block;
   padding: 10px 20px;
   margin-bottom: 10px;
   border-radius: 5px;
   background-color: rgb(0, 133, 139);
   color: #fff;
   text-decoration: none;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   transition: background-color 0.3s ease;
   text-align: center;
}

.link-button:hover {
   background-color: rgb(0, 88, 93);
}

.link-button:active {
   transform: scale(0.98);
}

/* Desktop adjustments */
@media (min-width: 500px) {

   body {
      padding-top: none;
   }

   .virtual-contact-card {
      max-width: 600px;
      padding: 40px;
   }

   .card-header {
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      align-items: center;
      position: relative;
      /* Pulls content up without affecting the layout */
   }

   .sccwrp-logo {
      height: 150px;
      background-size: cover;
      margin-top: -30px;
   }

   .profile-pic {
      height: 200px;
      width: 200px;
   }

   .card-content {
      padding-top: 60px;
      text-align: left;
   }

   .link-button {
      width: auto;
      margin: 0 10px 10px 0;
   }

   .card-links {
      flex-direction: row;
      justify-content: center;
   }
}