/*-------------------------------
  HOME SECTION
--------------------------------*/
#home {
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#home h1 {
  font-size: 40px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  #home h1 {
    font-size: 60px;
  }
}

/*-------------------------------
  SCROLL INDICATOR
--------------------------------*/
.scroll {
  position: absolute;
  top: calc(100vh - 120px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.scroll-text {
  display: inline-block;
  padding-bottom: 10px;
  color: #ddd;
  font-size: 12px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  white-space: nowrap;
  margin: 0 5px;
  z-index: 2;
}

.scroll-line {
  position: relative;
  width: 2px;
  height: 100px;
  background: #ddd;
  margin: 0 5px;
  overflow: hidden;
  z-index: 1;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #444;
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% { transform: translate(0, -100%); }
  100% { transform: translate(0, 100%); }
}

/*-------------------------------
  SERVICES SECTION
--------------------------------*/
#services {
  margin: 150px auto;
  max-width: 1200px;
  width: 90%;
}

.service-card {
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 450px;
}

.service-card:last-child {
  margin-bottom: 0;
}

.service-card__img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-info {
  padding: 40px 30px;
}

.service-info h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #333;
  display: inline-block;
}

.service-info p {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

@media screen and (min-width: 768px) {
  #services {
    width: 80%;
  }
}

@media screen and (min-width: 992px) {
  .service-card {
    flex-direction: row;
    height: 400px;
  }

  .service-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .service-card__img {
    width: 50%;
    height: 100%;
  }

  .service-info {
    width: 50%;
    justify-content: center;
    padding: 40px 50px;
  }

  .service-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .service-info p {
    font-size: 16px;
  }
}

/*-------------------------------
  MEMBERS SECTION
--------------------------------*/
.members-inner {
  padding: 80px 0;
  width: 100%;
}

.members-section {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.members {
  margin-bottom: 80px;
}

.members h2 {
  font-size: 28px;
  margin-bottom: 80px;
  color: #ddd;
  text-align: center;
}

.members h3 {
  font-size: 24px;
  color: #ddd;
  margin-bottom: 16px;
}

.member-title {
  color: #ddd;
  padding-left: 6px;
}

.member-affiliation {
  font-size: 12px;
  color: #ddd;
}

.member-info-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.member-details-wrapper__personal-record h4 {
  color: #ddd;
  padding-bottom: 6px;
  padding-left: 6px;
}

.member-details-wrapper__personal-record p {
  color: #ddd;
  padding-left: 6px;
  line-height: 1.6;
}

@media screen and (min-width: 768px) {
  .members-section {
    width: 80%;
  }
  
  .members h3 {
    font-size: 22px;
    text-decoration: underline;
  }
}

@media screen and (min-width: 992px) {
  .members h2 {
    text-align: left;
  }

  .members-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .members {
    flex: 1;
    max-width: 500px;
  }
}

/*-------------------------------
  CONTACT SECTION
--------------------------------*/
.contact-inner {
  padding: 100px 0;
  width: 100%;
}

.contact-section p {
  text-align: center;
  color: #ddd;
}

.contact-button {
  display: flex;
  justify-content: center;
}

.contact-button img {
  width: 40px;
  background-color: rgba(68, 68, 68, 0.9);
  padding-left: 10px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.contact-button a {
  display: inline-block;
  padding: 14px 10px;
  color: #ddd;
  background-color: rgba(68, 68, 68, 0.9);
  text-decoration: none;
  font-weight: bold;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
