* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-image: url("img/aboutus-background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 25px;
  color: #222;
}

.sub-header {
  background: #b8bcc4;
  text-align: center;
  padding: 6px;
  font-size: 12px;
}

/* SECTION TITLES */

.team-title {
  text-align: center;
  margin: 35px auto 25px;
  position: relative;
  width: min(92%, 1100px);
}

.team-title h1 {
  font-family: "Dancing Script", cursive;
  color: rgb(48, 172, 222);
  font-size: 34px;
  display: inline-block;
}

.team-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: rgb(48, 172, 222);
  margin: 8px auto 0;
  border-radius: 10px;
}


.academic-team-title  h1 {
  font-family: "Dancing Script", cursive;
  font-size: 34px;
  color: rgb(48, 172, 222);
  text-align: center;
  
}
/* MISSION */

.mission {
  background: linear-gradient(135deg, #dff6ff, #f7f9ff);
  width: min(92%, 1100px);
  height: auto;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 35px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mission h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  font-family: "Dancing Script", cursive;
  color: rgb(48, 172, 222);
  -webkit-text-stroke: 0.5px #03a2fe;
  padding-right: 0;
}

.mission .diamond-list {
  list-style: none;
  padding-left: 0;
  width: 100%;
  max-width: 850px;
}

.mission .diamond-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-family: "Dancing Script", cursive;
  font-size: 18px;
  color: #2c3e50;
  line-height: 1.6;
}

.mission .diamond-list li::before {
  content: "♦";
  position: absolute;
  left: 0;
  color: rgb(48, 172, 222);
  font-size: 14px;
}

/* CREATOR SECTION */

.creator-section {
  background: linear-gradient(135deg, #dff6ff, #f7f9ff);
  width: min(92%, 1100px);
  padding: 35px;
  border-radius: 18px;
  margin: 0 auto 35px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.creator-content {
  display: flex;
  align-items: center;
  gap: 35px;
}

.creator-image {
  flex-shrink: 0;
}

.creator-image img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  border: 5px solid white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease;
}

.creator-image img:hover {
  transform: scale(1.05);
}

.creator-text {
  flex: 1;
}

.creator-text h2 {
  font-family: "Dancing Script", cursive;
  font-size: 34px;
  color: rgb(48, 172, 222);
  margin-bottom: 20px;
  text-align: center;
}

.creator-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #2c3e50;
  margin-bottom: 15px;
  font-family: "Dancing Script", cursive;
  text-align: center;
}

/* INFO ROW */

.info-row {
  background: rgba(255, 255, 255, 0.65);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
  display: block;
}

.info-row:hover {
  background: white;
  transform: translateX(5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

/* TEAM */

.team-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(92%, 1100px);
  margin: 0 auto;
}

.creator-card {
  background: linear-gradient(135deg, #dff6ff, #f7f9ff);
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  overflow: hidden;
}

.creator-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  background: linear-gradient(135deg, #cfefff, #eef8ff);
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.profile-img {
  flex-shrink: 0;
}

.profile-img img {
  width: 140px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-img img:hover {
  transform: scale(1.1);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(48, 172, 222, 0.4);
}

.creator-card:hover .profile-img img {
  transform: scale(1.1);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, 0.25),
    0 0 15px rgba(48, 172, 222, 0.4);
}

.member-info {
  flex: 1;
}

.label {
  font-weight: bold;
  color: rgb(48, 172, 222);
  display: block;
  margin-bottom: 5px;
}

.info-box {
  padding: 5px 0;
  color: #2c3e50;
  line-height: 1.6;
  font-family: "Dancing Script", cursive;
  font-size: 18px;
}

/* CONTACT */

.contact-section {
  background: linear-gradient(135deg, #dff6ff, #f7f9ff);
  width: min(92%, 1100px);
  padding: 30px;
  margin: 40px auto 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.contact-section h1 {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  color: rgb(48, 172, 222);
  margin-bottom: 20px;
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-label {
  background: #b8bcc4;
  padding: 10px 15px;
  font-size: 12px;
  border-radius: 8px;
  width: 160px;
  text-align: center;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-box {
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
  flex: 1;
  max-width: 500px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  .mission,
  .creator-section,
  .team-container,
  .contact-section,
  .team-title {
    width: 96%;
  }

  .creator-content {
    flex-direction: column;
    text-align: center;
  }

  .creator-image img {
    width: 200px;
    height: 260px;
  }

  .creator-text h2 {
    font-size: 28px;
  }

  .creator-text p {
    font-size: 16px;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img img {
    width: 150px;
    height: 200px;
  }

  .info-row {
    text-align: left;
  }

  .label {
    width: 100%;
  }

  .contact-row {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-label {
    width: 100%;
  }

  .contact-box {
    max-width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }

  .team-title h1 {
    font-size: 28px;
  }

  .mission {
    padding: 24px 16px;
  }

  .mission h2 {
    font-size: 24px;
  }

  .mission .diamond-list li {
    font-size: 16px;
    line-height: 1.5;
  }

  .creator-section {
    padding: 24px 16px;
  }

  .creator-text h2 {
    font-size: 24px;
  }

  .creator-text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .creator-card {
    padding: 20px 16px;
  }

  .profile-img img {
    width: 130px;
    height: 180px;
  }

  .info-box {
    font-size: 16px;
  }

  .contact-section {
    padding: 24px 16px;
  }

  .contact-section h1 {
    font-size: 24px;
  }

  #backToTop {
    width: 56px;
    height: 42px;
    font-size: 16px;
    right: 12px;
    bottom: 12px;
  }
}

/* BACK TO TOP */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 75px;
  height: 50px;
  border: none;
  border-radius: 12%;
  background-color: #16a2e8;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
  background-color: #03caf7;
  transform: scale(1.1);
}