/* ================= GOOGLE FONT ================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* ================= BASE ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #0b2a8f 0%, #010823 60%),
    linear-gradient(180deg, #010823, #000312);
}

/* ================= HEADER ================= */
header {
  position: relative;
  text-align: center;
  padding: 70px 20px 60px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15)
  );
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 10px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

header .h2 {
  font-size: 20px;
  font-weight: 400;
  color: #dbe7ff;
  margin: 0;
}

/* Home logo */
.home-button {
  position: absolute;
  left: 25px;
  top: 25px;
  width: 110px;
}

.home-logo {
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.home-logo:hover {
  transform: scale(1.08);
}

/* ================= MAIN LAYOUT ================= */
.main {
  width: 100%;
  padding: 60px 0;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= PROFILE CARD ================= */
.profiles {
  background: linear-gradient(135deg, #004996, #1184e1);
  border-radius: 30px;
  border: 10px solid rgb(15, 12, 110);
  padding: 25px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 12px 35px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profiles:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 18px 45px rgba(0,0,0,0.6);
}

/* Profile image */
.pfp {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

/* Name / title */
.Title-Name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

/* Description */
.description {
  font-size: 15px;
  line-height: 1.65;
  color: #eef3ff;
  text-align: left;
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {
  .profile-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  header h1 {
    font-size: 36px;
  }
}

/* Phones */
@media (max-width: 600px) {
  header {
    padding: 60px 20px 45px;
  }

  header h1 {
    font-size: 30px;
  }

  header .h2 {
    font-size: 16px;
  }

  .home-button {
    left: 15px;
    top: 15px;
    width: 80px;
  }

  .profile-container {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
  }

  .pfp {
    height: 240px;
  }

  .Title-Name {
    font-size: 18px;
  }

  .description {
    font-size: 14px;
  }

  .profiles {
    padding: 20px;
    border-radius: 20px;
    border-width: 6px;
  }

  @media (max-width: 600px) {

  /* Let logo participate in layout on mobile */
  .home-button {
    position: static;
    width: 70px;
    margin: 0 auto 15px;
  }

  .home-logo {
    width: 100%;
  }

  header {
    padding-top: 40px;
  }
}

}
